NivaarExam PrepOfficial exam papers ↗

04-BS-9 · May 2017

Question 7 of 8: Charge Density Distribution That Produces a Given Quadratic Field Inside a Slab

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Exams — May 2017 — 04-BS-9 Basic Electromagnetics. Three-hour, closed-book exam (approved Casio/Sharp calculator only). Aids given: $\varepsilon_0=8.85\times10^{-12}$ F/m, $\mu_0=4\pi\times10^{-7}$ H/m, $e=1.6\times10^{-19}$ C. Format: eight questions offered; any five constitute a complete paper and only the first five appearing in the answer book are marked. All eight are solved below for completeness.

Reference texts: Sadiku, Elements of Electromagnetics / Hayt & Buck, Engineering Electromagnetics — Gauss's law and spherical surface-layer charge distributions, Ampère's law for coaxial current sheets, Biot–Savart on-axis loop fields, Faraday's law and rotating-coil EMF, capacitance with a dielectric and breakdown field, 1-D charge density from a given field profile; Young & Freedman, University Physics with Modern Physics — Snell's law and apparent position of a submerged object viewed obliquely.

Question 7: Charge Density Distribution That Produces a Given Quadratic Field Inside a Slab (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Check: the field-expression numerator is read as the standard textbook notation $\rho_0d/\varepsilon_0$, using the reference density $\rho_0=1$ C/m$^3$ given separately in the same sentence. This reading is confirmed self-consistent below: the derived $\rho_v(x)$ evaluates to exactly $\pm\rho_0$ at the slab edges $x=\pm d/2$, matching the given reference value.

Given.

QuantityValue
Field inside the slab$E(x)=\dfrac{\rho_0d}{\varepsilon_0}\left[\left(\dfrac{x}{d}\right)^2-\dfrac14\right]$, $|x|\le d/2$
Field outside the slab$E=0$, $|x|>d/2$
Slab half-thickness parameter $d$$10^{-6}$m
Reference density $\rho_0$$1$ C/m$^3$

Find. The volume charge density $\rho_v(x)$ inside the slab.

x field / density slab, |x|≤d/2 E(x): downward parabola, 0 at edges ρ_v(x): linear, −ρ₀ to +ρ₀ −d/2 +d/2
Given field $E(x)$ (downward parabola, vanishing at both slab faces) and the derived linear charge density $\rho_v(x)=2\rho_0x/d$ that produces it.

Approach. In one dimension, Gauss's law reduces to $dE/dx=\rho_v(x)/\varepsilon_0$. Differentiate the given $E(x)$ directly.

  1. Differentiate $E(x)$. $$\frac{dE}{dx}=\frac{\rho_0d}{\varepsilon_0}\cdot\frac{2x}{d^2}=\frac{2\rho_0x}{\varepsilon_0d}$$
  2. Apply the 1-D Gauss's-law relation $\rho_v=\varepsilon_0\,dE/dx$. $$\rho_v(x)=\varepsilon_0\cdot\frac{2\rho_0x}{\varepsilon_0d}=\boxed{\frac{2\rho_0}{d}\,x,\qquad|x|\le d/2}$$ a charge density that varies LINEARLY across the slab, zero at the centre.
  3. Consistency check at the slab edges. At $x=\pm d/2$: $$\rho_v\!\left(\pm\frac{d}{2}\right)=\frac{2\rho_0}{d}\left(\pm\frac{d}{2}\right)=\boxed{\pm\rho_0=\pm1\ \text{C/m}^3}$$ matching the given reference density exactly — confirming the reading of the field expression — and the odd symmetry ($\rho_v(-x)=-\rho_v(x)$) integrates to zero net charge, consistent with $E=0$ outside the (electrically neutral) slab.
QuantityResult
Charge density $\rho_v(x)$$\dfrac{2\rho_0}{d}x=2\times10^6\,x\ \text{C/m}^3$ (with $x$ in m), for $|x|\le d/2$
$\rho_v$ at $x=+d/2$$+1$ C/m$^3$
$\rho_v$ at $x=-d/2$$-1$ C/m$^3$
Net charge in slab (per unit area)$0$ (odd/antisymmetric distribution)