NivaarExam PrepOfficial exam papers ↗

04-BS-9 · December 2017

Question 7 of 8: Charge Distribution Producing a Linear-in- r Field That Vanishes Outside a Sphere

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

Notes on this paper

National Exams — December 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 — Coulomb's law and superposition for discrete point charges, Gauss's law for cylindrical charge distributions and coaxial capacitors, the Biot–Savart/Ampère force between parallel currents, Biot–Savart on-axis loop fields, Faraday's law for a moving loop in a spatially varying field, and the point (differential) form of Gauss's law for recovering a charge distribution from a given field; Young & Freedman, University Physics with Modern Physics — Snell's law and refracted-ray time-of-flight geometry.

Question 7: Charge Distribution Producing a Linear-in-r Field That Vanishes Outside a Sphere (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.

Given.

QuantityValue
Field inside$\vec E=(Q/\varepsilon_0)\vec r$, $r\le R$
Field outside$\vec E=0$, $r>R$
Radius $R$$10^{-3}$ m
Constant $Q$$10^{-6}$ C/m$^3$

Find. The full charge distribution (volume density inside, plus any surface charge needed) that produces this field.

uniform volume charge $\rho_v=3Q$, r≤R surface charge $\sigma=-QR$ at r=R (cancels field outside)
A uniform volume charge fills the sphere; a thin negative surface layer at $r=R$ exactly cancels the field outside, matching the given $E=0$ for $r>R$.

Approach. Inside $R$, apply the differential (point) form of Gauss's law $\nabla\cdot\vec E=\rho_v/\varepsilon_0$ directly to the given field to get the volume density. Since the field is required to be EXACTLY zero outside $R$ (not the usual $1/r^2$ falloff of an isolated charged sphere), the total charge enclosed for any $r>R$ must be zero — this forces a compensating surface charge layer exactly at $r=R$.

  1. Volume charge density from the divergence of $\vec E$ inside the sphere. With $\vec E=(Q/\varepsilon_0)\vec r$ and $\nabla\cdot\vec r=3$: $$\nabla\cdot\vec E=\frac{Q}{\varepsilon_0}\nabla\cdot\vec r=\frac{3Q}{\varepsilon_0}=\frac{\rho_v}{\varepsilon_0}$$ $$\rho_v=3Q=3(10^{-6})=\boxed{3\times10^{-6}\ \text{C/m}^3,\quad r\le R}$$
  2. Total volume charge enclosed. $$Q_{\text{vol}}=\rho_v\cdot\frac{4}{3}\pi R^3=(3\times10^{-6})\cdot\frac{4}{3}\pi(10^{-3})^3=\boxed{1.257\times10^{-14}\ \text{C}}$$
  3. Surface charge needed to cancel the field outside. For $E=0$ at $r>R$, the total enclosed charge (volume $+$ surface) beyond $R$ must be zero, so $Q_{\text{surf}}=-Q_{\text{vol}}$: $$\sigma=\frac{Q_{\text{surf}}}{4\pi R^2}=\frac{-Q_{\text{vol}}}{4\pi R^2}=-QR=-(10^{-6})(10^{-3})$$ $$\boxed{\sigma=-1\times10^{-9}\ \text{C/m}^2\ \text{(at }r=R\text{)}}$$
QuantityResult
Volume charge density, $r\le R$$\rho_v=3\times10^{-6}$ C/m$^3$ (uniform)
Total volume charge$1.257\times10^{-14}$ C
Surface charge density at $r=R$$\sigma=-1\times10^{-9}$ C/m$^2$
Total surface charge$-1.257\times10^{-14}$ C (exactly cancels the volume charge)