Level 3 — ProductionElectromagnetism

Electromagnetism

45 minutes60 marksprintable — key stays hidden on paper

Difficulty: Level 3 (from-scratch derivations, code-from-memory, explain-out-loud) Time limit: 45 minutes Total marks: 60

Constants (use where needed): ε0=8.85×1012 F/m\varepsilon_0 = 8.85\times10^{-12}\ \text{F/m}, μ0=4π×107 T⋅m/A\mu_0 = 4\pi\times10^{-7}\ \text{T·m/A}.


Q1. (10 marks) — Field of a uniformly charged disk (from scratch). Starting from the field of a charged ring, derive from first principles the on-axis electric field of a uniformly charged disk of radius RR, surface charge density σ\sigma, at axial distance zz from its centre. (a) Set up the ring contribution and integrate to obtain E(z)E(z). (6) (b) Take the limit RR\to\infty and show you recover the infinite-plane result. (2) (c) Explain out loud (in words) why the near-field of any large flat charged sheet is uniform, referencing your result. (2)


Q2. (12 marks) — Gauss's law applications & potential. A solid non-conducting sphere of radius RR carries total charge QQ uniformly distributed through its volume. (a) Using Gauss's law, derive E(r)E(r) for r<Rr<R and r>Rr>R. (5) (b) Derive the potential V(r)V(r) for r<Rr<R, taking V()=0V(\infty)=0, and give VV at the centre. (5) (c) State why EE is continuous at r=Rr=R here, unlike at a conducting surface. (2)


Q3. (10 marks) — RC discharge, code from memory. A capacitor CC initially charged to V0V_0 discharges through resistor RR. (a) From Kirchhoff's voltage law, derive the differential equation and solve for V(t)V(t) and I(t)I(t). (5) (b) Show the energy dissipated in RR over all time equals the initial stored energy 12CV02\tfrac12 CV_0^2. (3) (c) Write a short pseudocode / Python-from-memory snippet that numerically integrates the discharge (Euler step) and reports VV at t=τt=\tau. (2)


Q4. (10 marks) — Solenoid field & inductance (Ampère + Faraday). (a) Using Ampère's circuital law with a labelled rectangular loop, derive BB inside a long solenoid with nn turns per unit length carrying current II. (4) (b) Derive the self-inductance LL of a solenoid of length \ell, cross-sectional area AA, total turns NN. (3) (c) The current is now I(t)=I0sinωtI(t)=I_0\sin\omega t. Find the induced EMF and explain the sign using Lenz's law. (3)


Q5. (10 marks) — Displacement current & speed of light. (a) State Ampère's law with Maxwell's correction (integral form) and explain, out loud, why the displacement current term is required for a charging capacitor. (4) (b) For a parallel-plate capacitor being charged with conduction current II, show the displacement current between the plates equals II. (3) (c) Starting from c=1/ε0μ0c = 1/\sqrt{\varepsilon_0\mu_0}, compute cc numerically and comment on its significance in Maxwell's theory. (3)


Q6. (8 marks) — Poynting vector. A long cylindrical resistor of radius aa, length LL, carries steady current II with voltage VV across it. (a) Find E\vec E and B\vec B at the surface of the resistor. (4) (b) Compute the Poynting vector magnitude and direction at the surface, integrate over the surface, and show the inflow equals IVIV. (4)


Answer keyMark scheme & solutions

Q1 — Charged disk

(a) Ring of radius ss, width dsds: charge dq=σ2πsdsdq = \sigma\,2\pi s\,ds. On-axis field of a ring (axial component only, by symmetry): dEz=14πε0dqz(s2+z2)3/2.dE_z = \frac{1}{4\pi\varepsilon_0}\frac{dq\, z}{(s^2+z^2)^{3/2}}. (2 for ring set-up) Integrate s:0Rs:0\to R: Ez=σz4ε00R2sds(s2+z2)3/2=σz4ε0[2s2+z2]0R.E_z = \frac{\sigma z}{4\varepsilon_0}\int_0^R \frac{2s\,ds}{(s^2+z^2)^{3/2}} = \frac{\sigma z}{4\varepsilon_0}\left[-\frac{2}{\sqrt{s^2+z^2}}\right]_0^R. (2 for integral) Ez=σ2ε0(1zz2+R2).\boxed{E_z = \frac{\sigma}{2\varepsilon_0}\left(1 - \frac{z}{\sqrt{z^2+R^2}}\right)}. (2 result)

(b) As RR\to\infty, zz2+R20\dfrac{z}{\sqrt{z^2+R^2}}\to0, so Ezσ2ε0E_z\to \dfrac{\sigma}{2\varepsilon_0} — the infinite plane field. (2)

(c) Close to a large sheet (zRz\ll R) the second term is negligible, giving a constant σ/2ε0\sigma/2\varepsilon_0 independent of zz: contributions from the far edges nearly cancel in the transverse direction and the geometry looks effectively infinite, so the field is uniform. (2)

Q2 — Uniform sphere

(a) Charge density ρ=Q43πR3\rho = \dfrac{Q}{\frac43\pi R^3}. Inside (r<Rr<R): enclosed Qenc=Qr3/R3Q_{enc}=Q\,r^3/R^3; Gauss E4πr2=Qenc/ε0E\,4\pi r^2 = Q_{enc}/\varepsilon_0: Ein=Qr4πε0R3.E_{in} = \frac{Q\,r}{4\pi\varepsilon_0 R^3}. (3) Outside (r>Rr>R): E4πr2=Q/ε0E\,4\pi r^2 = Q/\varepsilon_0: Eout=Q4πε0r2.E_{out}=\frac{Q}{4\pi\varepsilon_0 r^2}. (2)

(b) V(r)=rEdrV(r) = -\int_\infty^r E\,dr. Outside integral from \infty to RR gives V(R)=Q4πε0RV(R)=\dfrac{Q}{4\pi\varepsilon_0 R}. (2) For r<Rr<R: V(r)=V(R)RrEindr=Q4πε0RQ4πε0R3r2R22V(r)=V(R)-\int_R^r E_{in}\,dr' = \frac{Q}{4\pi\varepsilon_0 R} - \frac{Q}{4\pi\varepsilon_0 R^3}\cdot\frac{r^2-R^2}{2}: V(r)=Q8πε0R(3r2R2).V(r)=\frac{Q}{8\pi\varepsilon_0 R}\left(3-\frac{r^2}{R^2}\right). (2) Centre: V(0)=3Q8πε0RV(0)=\dfrac{3Q}{8\pi\varepsilon_0 R}. (1)

(c) The charge is spread through a volume (no surface sheet), so there is no surface charge density to produce a discontinuity; Ein(R)=Eout(R)=Q4πε0R2E_{in}(R)=E_{out}(R)=\frac{Q}{4\pi\varepsilon_0R^2}. A conductor concentrates charge on the surface giving a jump σ/ε0\sigma/\varepsilon_0. (2)

Q3 — RC discharge

(a) KVL: VC+IR=0V_C + IR = 0 with I=CdV/dtI = -C\,dV/dt (discharge). So RCdVdt=VRC\,\dfrac{dV}{dt} = -V: V(t)=V0et/RC,I(t)=V0Ret/RC.V(t) = V_0 e^{-t/RC}, \qquad I(t)=\frac{V_0}{R}e^{-t/RC}. (5) (2 DE setup, 1 sign, 2 solutions)

(b) PR=I2R=V02Re2t/RCP_R = I^2R = \frac{V_0^2}{R}e^{-2t/RC}. W=0V02Re2t/RCdt=V02RRC2=12CV02.W=\int_0^\infty \frac{V_0^2}{R}e^{-2t/RC}dt = \frac{V_0^2}{R}\cdot\frac{RC}{2}=\tfrac12 CV_0^2. (3)

(c) (2)

R,C,V0=1e3,1e-6,5.0
tau=R*C; dt=tau/1000; V=V0; t=0
while t<tau:
    V += -V/(R*C)*dt   # dV/dt = -V/RC
    t += dt
print(V)   # ~ V0*e^-1 ≈ 1.84

Q4 — Solenoid

(a) Amperian rectangle: one side length \ell inside (field BB, parallel), opposite side outside (B0B\approx0), short sides perpendicular (no contribution). Bdl=B\oint\vec B\cdot d\vec l = B\ell. Enclosed current =nI= nI\ell. Ampère: B=μ0nIB\ell=\mu_0 nI\ell: B=μ0nI.B=\mu_0 n I. (4)

(b) Flux per turn Φ=BA=μ0nIA\Phi=BA=\mu_0 nIA. Linkage NΦ=μ0nNIAN\Phi = \mu_0 n N I A with n=N/n=N/\ell: L=NΦI=μ0N2A.L=\frac{N\Phi}{I}=\frac{\mu_0 N^2 A}{\ell}. (3)

(c) E=LdIdt=LI0ωcosωt=μ0N2AI0ωcosωt.\mathcal{E} = -L\frac{dI}{dt} = -L I_0\omega\cos\omega t = -\frac{\mu_0 N^2 A}{\ell}I_0\omega\cos\omega t. Sign: while current rises, induced EMF opposes the increase (opposes change in flux) per Lenz's law; the minus sign encodes this opposition. (3)

Q5 — Displacement current

(a) Bdl=μ0(Ienc+ε0dΦEdt).\oint \vec B\cdot d\vec l = \mu_0\left(I_{enc}+\varepsilon_0\frac{d\Phi_E}{dt}\right). For a charging capacitor, no conduction current flows between the plates; a surface bounded by the same loop passing between plates carries I=0I=0. Without the displacement term Ampère's law would be inconsistent (ambiguous depending on chosen surface). The changing E\vec E flux supplies the missing term. (4)

(b) Between plates E=σ/ε0=Q/(ε0A)E=\sigma/\varepsilon_0=Q/(\varepsilon_0 A), so ΦE=EA=Q/ε0\Phi_E=EA=Q/\varepsilon_0. Id=ε0dΦEdt=ε01ε0dQdt=dQdt=I.I_d=\varepsilon_0\frac{d\Phi_E}{dt}=\varepsilon_0\cdot\frac{1}{\varepsilon_0}\frac{dQ}{dt}=\frac{dQ}{dt}=I. (3)

(c) c=1/ε0μ0=1/8.85×10124π×1073.0×108c=1/\sqrt{\varepsilon_0\mu_0}=1/\sqrt{8.85\times10^{-12}\cdot4\pi\times10^{-7}}\approx3.0\times10^8 m/s. Matching the measured speed of light showed light is an EM wave. (3)

Q6 — Poynting vector

(a) E=V/LE = V/L (along axis, driving current). At surface, Ampère: B=μ0I/(2πa)B=\mu_0 I/(2\pi a) (azimuthal). (4)

(b) S=EB/μ0=VLμ0I2πaμ0=VI2πaLS = EB/\mu_0 = \frac{V}{L}\cdot\frac{\mu_0 I}{2\pi a\mu_0}=\frac{VI}{2\pi a L}, directed radially inward (E×B\vec E\times\vec B points into the resistor). Surface area =2πaL=2\pi a L: SdA=VI2πaL2πaL=IV.\oint \vec S\cdot d\vec A = \frac{VI}{2\pi aL}\cdot 2\pi aL = IV. Energy flows in and equals dissipation IVIV. (4)

[
{"claim":"Disk field reduces to sigma/2eps0 as R->inf","code":"z,R,s,eps=symbols('z R s eps',positive=True); E=integrate(sigma:=1; s/(s**2+z**2)**Rational(3,2),(s,0,R)); Edisk=z*E; result=simplify(limit(Edisk,R,oo)-1)==0"},
{"claim":"Potential at centre of uniform sphere is 3Q/(8 pi eps0 R)","code":"Q,R,r,eps0=symbols('Q R r eps0',positive=True); Vc=Q/(8*pi*eps0*R)*(3-r**2/R**2); result=simplify(Vc.subs(r,0)-3*Q/(8*pi*eps0*R))==0"},
{"claim":"Energy dissipated in RC discharge equals half C V0^2","code":"t,Rr,C,V0=symbols('t R C V0',positive=True); W=integrate(V0**2/Rr*exp(-2*t/(Rr*C)),(t,0,oo)); result=simplify(W-Rational(1,2)*C*V0**2)==0"},
{"claim":"Poynting inflow equals IV","code":"V,L,I,a,mu0=symbols('V L I a mu0',positive=True); S=(V/L)*(mu0*I/(2*pi*a))/mu0; total=S*2*pi*a*L; result=simplify(total-I*V)==0"}
]