Question 5 of 8: Current Density Producing a Triangular H(x) Profile
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — May 2018 — 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 Gauss's law for spherical and piecewise charge distributions, the Biot–Savart/Ampère law for finite, semi-infinite and arc-shaped conductors, Faraday's law for a loop crossing a spatially bounded field, the differential (point) form of Ampère's law, and series-layered parallel-plate capacitance; Young & Freedman, University Physics with Modern Physics — Snell's law and the geometry of apparent vs. real position across a refracting interface.
Question 5: Current Density Producing a Triangular H(x) Profile (20 marks)
Given. A piecewise-linear "tent" profile $H_z(x)$ (only a $z$-component, depending only on $x$): rising linearly from 0 at $x=-w$ to a peak $H_0$ at $x=0$, then falling linearly back to 0 at $x=+w$, and exactly zero for $|x|>w$, with $H_0=5\times10^{-3}$ A/m and $w=1\times10^{-6}$ m.
Find. The current density $\vec J(x)$ producing this static $H$ field (the exam's own "curl" aid is Ampère's law in differential form, $\nabla\times\vec H=\vec J$, valid here since the field is static).
Triangular H(x) profile (peak H₀ at x=0, zero at x=±w) and the two uniform, oppositely-directed volume-current slabs it implies via ∇×H=J.
Approach. With $\vec H=(0,0,H_z(x))$ depending only on $x$, the curl reduces to a single non-zero component: $\nabla\times\vec H=-\dfrac{\partial H_z}{\partial x}\hat y$. Differentiate each piece of $H_z(x)$ and read off $J_y$.
General reduction of the curl. Since $H_z$ depends only on $x$ (no $y$ or $z$ dependence) and $H_x=H_y=0$ everywhere:
$$\nabla\times\vec H=\left(\frac{\partial H_z}{\partial y}-0,\ 0-\frac{\partial H_z}{\partial x},\ 0-0\right)=\left(0,\ -\frac{\partial H_z}{\partial x},\ 0\right)=\vec J$$
so only $J_y=-\partial H_z/\partial x$ can be non-zero.
Differentiate each branch. For $-w<x<0$: $H_z=H_0(1+x/w)\Rightarrow \partial H_z/\partial x=H_0/w\Rightarrow J_y=-H_0/w$. For $0<x<w$: $H_z=H_0(1-x/w)\Rightarrow\partial H_z/\partial x=-H_0/w\Rightarrow J_y=+H_0/w$. For $|x|>w$: $H_z=0\Rightarrow J_y=0$.