cmo2978
- 1
- 0
Homework Statement
A thick slab in the region 0 \leq z \leq a, and infinite in xy plane carries a current density \vec{J} = Jz\hat{x}. Find the magnetic field as a function of z, both inside and outside the slab.
Homework Equations
Ampere's Law: \oint \vec{B} \cdot d\vec{l} = \mu_0 I_{\text{enc}}=\mu_0\int_S\vec{J}\cdot d\vec{a}
Biot-Savart Law: \vec{B}(\vec{r}) = \frac{\mu_0}{4\pi}I\int_C d\vec{l}'\times\frac{\vec{r}-\vec{r}'}{\left|\vec{r}-\vec{r}'\right|^3}
The Attempt at a Solution
My first approach was to start with the Ampere's Law. If the current density was uniform (\vec{J}=J\hat{x}), by symmetry we would have B=0 at z=\frac{a}{2} and find the magnetic field:
Bl=\mu_0l(z-a/2)J \quad \Rightarrow \quad \vec{B_{\text{in}}} = -\mu_0J(z-a/2)\hat{y}
\dots
In this case though, with a non-uniform current density, I can't see any symmetry or a way to find a proper Amperian loop to use. Am I missing something here?
Next I thought about using Biot-Savart Law,
\vec{B}(\vec{r})\stackrel{?}{=}\frac{\mu_0}{4\pi}\int_V \vec{J}d\tau'\times\frac{\vec{r}-\vec{r}'}{\left|\vec{r}-\vec{r}'\right|^3}
which I think is a bit of a ...stretch, since V is infinite.