Skip to main content

Electric and Magnetic Fields — Diagnostic Tests

Unit Tests

UT-1: Superposition of Electric Fields from Multiple Charges

Question:

Three point charges are placed on the xx-axis: q1=+4.0μCq_1 = +4.0\,\mu\text{C} at x=0x = 0, q2=3.0μCq_2 = -3.0\,\mu\text{C} at x=0.10mx = 0.10\,\text{m}, and q3=+2.0μCq_3 = +2.0\,\mu\text{C} at x=0.20mx = 0.20\,\text{m}. Take k=8.99×109Nm2C2k = 8.99 \times 10^9\,\text{N}\,\text{m}^2\,\text{C}^{-2}.

(a) Calculate the net electric field at x=0.15mx = 0.15\,\text{m}.

(b) Calculate the force on a test charge q0=1.0μCq_0 = -1.0\,\mu\text{C} placed at x=0.15mx = 0.15\,\text{m}.

(c) Determine the approximate position (if any) where the net electric field is zero.

Solution:

(a) At x=0.15mx = 0.15\,\text{m}:

Field from q1q_1 (+4.0μC+4.0\,\mu\text{C}, distance =0.15m= 0.15\,\text{m}, direction: away from q1q_1, i.e. +x+x):

E1=kq1r12=8.99×109×4.0×1060.0225=1.598×106Vm1 (in +x direction)E_1 = \frac{kq_1}{r_1^2} = \frac{8.99 \times 10^9 \times 4.0 \times 10^{-6}}{0.0225} = 1.598 \times 10^6\,\text{V}\,\text{m}^{-1}\text{ (in } +x \text{ direction)}

Field from q2q_2 (3.0μC-3.0\,\mu\text{C} at x=0.10x = 0.10, distance =0.05m= 0.05\,\text{m}, direction: towards q2q_2, i.e. x-x):

E2=8.99×109×3.0×1060.0025=1.079×107Vm1 (in x direction)E_2 = \frac{8.99 \times 10^9 \times 3.0 \times 10^{-6}}{0.0025} = 1.079 \times 10^7\,\text{V}\,\text{m}^{-1}\text{ (in } -x \text{ direction)}

Field from q3q_3 (+2.0μC+2.0\,\mu\text{C} at x=0.20x = 0.20, distance =0.05m= 0.05\,\text{m}, direction: away from q3q_3, i.e. x-x):

E3=8.99×109×2.0×1060.0025=7.19×106Vm1 (in x direction)E_3 = \frac{8.99 \times 10^9 \times 2.0 \times 10^{-6}}{0.0025} = 7.19 \times 10^6\,\text{V}\,\text{m}^{-1}\text{ (in } -x \text{ direction)}

Net field (taking +x+x as positive):

Enet=E1E2E3=1.598×1061.079×1077.19×106=1.638×107Vm1E_{\text{net}} = E_1 - E_2 - E_3 = 1.598 \times 10^6 - 1.079 \times 10^7 - 7.19 \times 10^6 = -1.638 \times 10^7\,\text{V}\,\text{m}^{-1}

The field is 1.64×107Vm11.64 \times 10^7\,\text{V}\,\text{m}^{-1} in the x-x direction.

(b) Force on q0=1.0μCq_0 = -1.0\,\mu\text{C}:

F=q0Enet=(1.0×106)×(1.638×107)=16.4NF = q_0 E_{\text{net}} = (-1.0 \times 10^{-6}) \times (-1.638 \times 10^7) = 16.4\,\text{N}

The force is in the +x+x direction (the negative charge is attracted towards the region of stronger negative field contribution).

(c) For x>0.20mx \gt 0.20\,\text{m}, all positive charges push in the +x+x direction and the negative charge pulls in the +x+x direction. The net field cannot be zero.

For x<0x \lt 0, q1q_1 pushes in the x-x direction, q2q_2 attracts in the +x+x direction, q3q_3 attracts in the +x+x direction. We need:

k×4.0×106x2=k×3.0×106(x0.10)2+k×2.0×106(x0.20)2\frac{k \times 4.0 \times 10^{-6}}{x^2} = \frac{k \times 3.0 \times 10^{-6}}{(x - 0.10)^2} + \frac{k \times 2.0 \times 10^{-6}}{(x - 0.20)^2}

This requires numerical solution. Let x=ax = -a where a>0a \gt 0:

4.0a2=3.0(a+0.10)2+2.0(a+0.20)2\frac{4.0}{a^2} = \frac{3.0}{(a + 0.10)^2} + \frac{2.0}{(a + 0.20)^2}

By trial: for a=0.10a = 0.10: LHS =400= 400, RHS =75+22.2=97.2= 75 + 22.2 = 97.2 (LHS too large)

For a=0.40a = 0.40: LHS =25= 25, RHS =12+5.56=17.6= 12 + 5.56 = 17.6 (LHS still too large)

For a=0.80a = 0.80: LHS =6.25= 6.25, RHS =3.70+2.0=5.70= 3.70 + 2.0 = 5.70

For a=1.0a = 1.0: LHS =4.0= 4.0, RHS =2.48+1.39=3.87= 2.48 + 1.39 = 3.87

For a=1.2a = 1.2: LHS =2.78= 2.78, RHS =1.78+1.02=2.80= 1.78 + 1.02 = 2.80

The solution is approximately x=1.2mx = -1.2\,\text{m}.


UT-2: Field Lines and Equipotentials

Question:

(a) Explain why electric field lines can never cross, using the definition of the electric field.

(b) A uniform electric field of strength 500Vm1500\,\text{V}\,\text{m}^{-1} points in the +x+x direction. Calculate the potential difference between the points (2,0)(2, 0) and (5,3)(5, 3) (coordinates in metres).

(c) A student claims that "the electric field is zero wherever the potential is zero." Construct a counterexample to show this is false.

Solution:

(a) The electric field at any point has a unique direction and magnitude. If two field lines crossed at a point PP, the field at PP would have two different directions simultaneously, which is impossible because a test charge placed at PP can only experience a force in one direction.

More formally: the electric field E=V\vec{E} = -\nabla V is the gradient of a scalar function VV. The gradient of a scalar function is unique at every point where VV is differentiable. Therefore E\vec{E} cannot have two different directions at the same point.

(b) The potential difference depends only on the displacement in the direction of the field:

ΔV=EΔr=(500i^)(3i^+3j^)=1500V\Delta V = -\vec{E} \cdot \Delta\vec{r} = -(500\hat{i}) \cdot (3\hat{i} + 3\hat{j}) = -1500\,\text{V}

The yy-displacement does not contribute because the field has no yy-component. The point (5,3)(5, 3) is at a lower potential than (2,0)(2, 0).

(c) Counterexample: Two equal positive charges +q+q separated by distance dd. The midpoint between them has zero electric field (by symmetry, the fields cancel). However, the potential at the midpoint is V=2kq/(d/2)=4kq/d0V = 2kq/(d/2) = 4kq/d \neq 0.

This shows that zero field does not imply zero potential. The field depends on the gradient of the potential, not its absolute value. The converse is also instructive: on the perpendicular bisector of a dipole, the potential is zero everywhere, but the field is non-zero (except at infinity).


UT-3: Magnetic Force Perpendicularity and Circular Motion

Question:

An electron (charge e=1.6×1019C-e = -1.6 \times 10^{-19}\,\text{C}, mass me=9.11×1031kgm_e = 9.11 \times 10^{-31}\,\text{kg}) moves with velocity v=(3.0×106i^+4.0×106j^)ms1\vec{v} = (3.0 \times 10^6\hat{i} + 4.0 \times 10^6\hat{j})\,\text{m}\,\text{s}^{-1} in a uniform magnetic field B=0.50k^T\vec{B} = 0.50\hat{k}\,\text{T}.

(a) Calculate the magnetic force on the electron.

(b) Calculate the radius of the circular path and the period of revolution.

(c) Explain why the magnetic force does no work on the electron, and calculate the speed of the electron at any time during its motion.

Solution:

(a) F=qv×B\vec{F} = q\vec{v} \times \vec{B}

v×B=(3.0×106i^+4.0×106j^)×0.50k^\vec{v} \times \vec{B} = (3.0 \times 10^6\hat{i} + 4.0 \times 10^6\hat{j}) \times 0.50\hat{k}

=3.0×106×0.50(i^×k^)+4.0×106×0.50(j^×k^)= 3.0 \times 10^6 \times 0.50(\hat{i} \times \hat{k}) + 4.0 \times 10^6 \times 0.50(\hat{j} \times \hat{k})

=1.5×106(j^)+2.0×106(i^)= 1.5 \times 10^6(-\hat{j}) + 2.0 \times 10^6(\hat{i})

=2.0×106i^1.5×106j^= 2.0 \times 10^6\hat{i} - 1.5 \times 10^6\hat{j}

F=(1.6×1019)(2.0×106i^1.5×106j^)\vec{F} = (-1.6 \times 10^{-19})(2.0 \times 10^6\hat{i} - 1.5 \times 10^6\hat{j})

=(3.2×1013i^+2.4×1013j^)N= (-3.2 \times 10^{-13}\hat{i} + 2.4 \times 10^{-13}\hat{j})\,\text{N}

(b) The speed: v=v=(3.0×106)2+(4.0×106)2=9+16×106=5.0×106ms1v = |\vec{v}| = \sqrt{(3.0 \times 10^6)^2 + (4.0 \times 10^6)^2} = \sqrt{9 + 16} \times 10^6 = 5.0 \times 10^6\,\text{m}\,\text{s}^{-1}

Force magnitude: F=F=1.6×1019×5.0×106×0.50=4.0×1013NF = |\vec{F}| = 1.6 \times 10^{-19} \times 5.0 \times 10^6 \times 0.50 = 4.0 \times 10^{-13}\,\text{N}

Radius: r=meveB=9.11×1031×5.0×1061.6×1019×0.50r = \frac{m_e v}{eB} = \frac{9.11 \times 10^{-31} \times 5.0 \times 10^6}{1.6 \times 10^{-19} \times 0.50}

r=4.555×10248.0×1020=5.69×105m=56.9μmr = \frac{4.555 \times 10^{-24}}{8.0 \times 10^{-20}} = 5.69 \times 10^{-5}\,\text{m} = 56.9\,\mu\text{m}

Period: T=2πmeeB=2π×9.11×10311.6×1019×0.50=5.724×10308.0×1020=7.16×1011sT = \frac{2\pi m_e}{eB} = \frac{2\pi \times 9.11 \times 10^{-31}}{1.6 \times 10^{-19} \times 0.50} = \frac{5.724 \times 10^{-30}}{8.0 \times 10^{-20}} = 7.16 \times 10^{-11}\,\text{s}

(c) The magnetic force is always perpendicular to the velocity (F=qv×B\vec{F} = q\vec{v} \times \vec{B}, and the cross product is perpendicular to v\vec{v}). Since power =Fv=0= \vec{F} \cdot \vec{v} = 0, the magnetic force does no work. The kinetic energy and therefore the speed remain constant.

Speed at any time: v=5.0×106ms1v = 5.0 \times 10^6\,\text{m}\,\text{s}^{-1} (unchanged).

Integration Tests

IT-1: Charged Particle in Crossed Electric and Magnetic Fields (with Kinematics)

Question:

A proton (mass 1.67×1027kg1.67 \times 10^{-27}\,\text{kg}, charge +1.6×1019C+1.6 \times 10^{-19}\,\text{C}) enters a region with crossed electric and magnetic fields. E=2.0×104Vm1\vec{E} = 2.0 \times 10^4\,\text{V}\,\text{m}^{-1} in the y-y direction and B=0.10T\vec{B} = 0.10\,\text{T} in the z-z direction. The proton enters with velocity v=v0i^\vec{v} = v_0\hat{i}.

(a) Calculate the value of v0v_0 for which the proton passes through undeflected (velocity selector condition).

(b) If the proton enters at v=1.5v0v = 1.5v_0, calculate the radius of curvature of its path.

(c) If the proton enters at v=0.5v0v = 0.5v_0, describe qualitatively the path and determine whether it is deflected towards the positive or negative yy-plate.

Solution:

(a) For undeflected motion, the electric and magnetic forces balance:

qE=qv0BqE = qv_0B

v0=EB=2.0×1040.10=2.0×105ms1v_0 = \frac{E}{B} = \frac{2.0 \times 10^4}{0.10} = 2.0 \times 10^5\,\text{m}\,\text{s}^{-1}

(b) At v=1.5v0=3.0×105ms1v = 1.5v_0 = 3.0 \times 10^5\,\text{m}\,\text{s}^{-1}, the magnetic force exceeds the electric force. The net force (perpendicular to the velocity):

Fnet=qvBqE=qB(vv0)=1.6×1019×0.10×1.0×105=1.6×1015NF_{\text{net}} = qvB - qE = qB(v - v_0) = 1.6 \times 10^{-19} \times 0.10 \times 1.0 \times 10^5 = 1.6 \times 10^{-15}\,\text{N}

Radius: r=mvqBeffr = \frac{mv}{qB_{\text{eff}}}

The net force provides the centripetal force:

r=mvqvBqE=1.67×1027×3.0×1051.6×1015=5.01×10221.6×1015=3.13×107mr = \frac{mv}{qvB - qE} = \frac{1.67 \times 10^{-27} \times 3.0 \times 10^5}{1.6 \times 10^{-15}} = \frac{5.01 \times 10^{-22}}{1.6 \times 10^{-15}} = 3.13 \times 10^{-7}\,\text{m}

(c) At v=0.5v0=1.0×105ms1v = 0.5v_0 = 1.0 \times 10^5\,\text{m}\,\text{s}^{-1}, the electric force exceeds the magnetic force.

Electric force on the proton (in y-y direction): FE=qE=1.6×1019×2.0×104=3.2×1015NF_E = qE = 1.6 \times 10^{-19} \times 2.0 \times 10^4 = 3.2 \times 10^{-15}\,\text{N} (downward, since EE is in y-y and qq is positive)

Magnetic force: FB=qvB=1.6×1019×1.0×105×0.10=1.6×1015NF_B = qvB = 1.6 \times 10^{-19} \times 1.0 \times 10^5 \times 0.10 = 1.6 \times 10^{-15}\,\text{N}

Using the right-hand rule for positive charge: v=vi^\vec{v} = v\hat{i}, B=Bk^\vec{B} = -B\hat{k}, so v×B=vB(i^×(k^))=vBj^\vec{v} \times \vec{B} = vB(\hat{i} \times (-\hat{k})) = vB\hat{j}. Force =qvBj^= qvB\hat{j}, i.e. in the +y+y direction.

Net force: Fnet=FE+FB=3.2×1015j^+1.6×1015j^=1.6×1015j^NF_{\text{net}} = F_E + F_B = -3.2 \times 10^{-15}\hat{j} + 1.6 \times 10^{-15}\hat{j} = -1.6 \times 10^{-15}\hat{j}\,\text{N}

The proton is deflected in the y-y direction (towards the negative yy-plate).


IT-2: Electromagnetic Induction with a Moving Loop (with Energy)

Question:

A rectangular conducting loop of width w=0.10mw = 0.10\,\text{m} and length L=0.20mL = 0.20\,\text{m} and resistance R=2.0ΩR = 2.0\,\Omega is pulled with constant velocity v=5.0ms1v = 5.0\,\text{m}\,\text{s}^{-1} out of a region of uniform magnetic field B=0.50TB = 0.50\,\text{T} directed into the page. The field region has width 0.30m0.30\,\text{m}.

At t=0t = 0, the loop is entirely within the field region with its leading edge at the right boundary of the field.

(a) Calculate the induced EMF and current as the loop exits the field.

(b) Calculate the force required to maintain constant velocity and the power dissipated.

(c) Show that the work done by the external force equals the energy dissipated in the resistor.

Solution:

(a) As the loop exits, the area within the field decreases. Flux: Φ=BA\Phi = BA where A=w×xinsideA = w \times x_{\text{inside}}.

Rate of change of area: dAdt=wv=0.10×5.0=0.50m2s1\frac{dA}{dt} = -wv = -0.10 \times 5.0 = -0.50\,\text{m}^2\,\text{s}^{-1}

Induced EMF (magnitude): ε=B×w×v=0.50×0.10×5.0=0.25V\varepsilon = B \times w \times v = 0.50 \times 0.10 \times 5.0 = 0.25\,\text{V}

By Lenz's law, the induced current opposes the decrease in flux, so it creates a field into the page inside the loop. By the right-hand rule, the current flows clockwise.

Current: I=ε/R=0.25/2.0=0.125AI = \varepsilon/R = 0.25/2.0 = 0.125\,\text{A}

(b) The current-carrying conductor in the magnetic field experiences a force opposing the motion (Lenz's law):

F=BIw=0.50×0.125×0.10=6.25×103NF = BIw = 0.50 \times 0.125 \times 0.10 = 6.25 \times 10^{-3}\,\text{N}

This opposes the motion, so the external force must equal 6.25×103N6.25 \times 10^{-3}\,\text{N} to maintain constant velocity.

Power dissipated: P=I2R=0.1252×2.0=0.03125WP = I^2R = 0.125^2 \times 2.0 = 0.03125\,\text{W}

Power supplied by external force: P=Fv=6.25×103×5.0=0.03125WP = Fv = 6.25 \times 10^{-3} \times 5.0 = 0.03125\,\text{W}

(c) Work done by external force to move the loop a distance dd:

Wext=Fd=(BIw)dW_{\text{ext}} = Fd = (BIw)d

Energy dissipated in the resistor during the same time:

WR=P×t=I2R×dv=(Bwv)2R×dRv×R=B2w2v2R×dv=B2w2vdRW_R = P \times t = I^2R \times \frac{d}{v} = \frac{(Bwv)^2}{R} \times \frac{d}{Rv} \times R = \frac{B^2w^2v^2}{R} \times \frac{d}{v} = \frac{B^2w^2vd}{R}

Check: F=B2w2vR=0.25×0.01×5.02.0=6.25×103NF = \frac{B^2w^2v}{R} = \frac{0.25 \times 0.01 \times 5.0}{2.0} = 6.25 \times 10^{-3}\,\text{N}

So Wext=Fd=B2w2vdR=WRW_{\text{ext}} = Fd = \frac{B^2w^2vd}{R} = W_R.

The work done by the external force equals the energy dissipated as Joule heating in the resistor, confirming energy conservation.


IT-3: Potential Divider with Capacitor and Inductor (with Current Electricity)

Question:

A circuit contains a 12V12\,\text{V} battery with negligible internal resistance, a resistor R=100ΩR = 100\,\Omega, and an inductor L=0.50HL = 0.50\,\text{H} in series. A switch is closed at t=0t = 0.

(a) Calculate the time constant of the circuit and the current at t=5.0mst = 5.0\,\text{ms}.

(b) Calculate the voltage across the inductor and the voltage across the resistor at t=5.0mst = 5.0\,\text{ms}.

(c) Explain why the total voltage across RR and LL equals 12V12\,\text{V} at all times, and calculate the energy stored in the inductor at tt \to \infty.

Solution:

(a) Time constant: τ=L/R=0.50/100=5.0×103s=5.0ms\tau = L/R = 0.50/100 = 5.0 \times 10^{-3}\,\text{s} = 5.0\,\text{ms}

Current growth: I(t)=VR(1et/τ)=12100(1et/τ)=0.12(1et/τ)I(t) = \frac{V}{R}(1 - e^{-t/\tau}) = \frac{12}{100}(1 - e^{-t/\tau}) = 0.12(1 - e^{-t/\tau})

At t=5.0ms=τt = 5.0\,\text{ms} = \tau:

I=0.12(1e1)=0.12×0.632=0.0759AI = 0.12(1 - e^{-1}) = 0.12 \times 0.632 = 0.0759\,\text{A}

(b) Voltage across resistor: VR=IR=0.0759×100=7.59VV_R = IR = 0.0759 \times 100 = 7.59\,\text{V}

Voltage across inductor: VL=VVR=127.59=4.41VV_L = V - V_R = 12 - 7.59 = 4.41\,\text{V}

Alternatively: VL=LdIdt=L×VRτet/τ=0.50×12100×0.005×e1=0.50×24×0.368=4.41VV_L = L\frac{dI}{dt} = L \times \frac{V}{R\tau}e^{-t/\tau} = 0.50 \times \frac{12}{100 \times 0.005} \times e^{-1} = 0.50 \times 24 \times 0.368 = 4.41\,\text{V}

(c) By Kirchhoff's voltage law: V=VR+VLV = V_R + V_L at all times. This is a direct consequence of energy conservation around the loop. The battery supplies energy; some is dissipated in RR and some is stored in the magnetic field of LL.

At tt \to \infty: IV/R=0.12AI \to V/R = 0.12\,\text{A} and VL0V_L \to 0.

Energy stored in inductor:

E=12LImax2=12×0.50×0.122=12×0.50×0.0144=3.6×103J=3.6mJE = \frac{1}{2}LI_{\max}^2 = \frac{1}{2} \times 0.50 \times 0.12^2 = \frac{1}{2} \times 0.50 \times 0.0144 = 3.6 \times 10^{-3}\,\text{J} = 3.6\,\text{mJ}