
Remember when we were looking at electric fields inside and outside charged spherical shells? We used Gauss' Law to show that the field inside the shell was zero, and outside the shell the electric field was the same as the field from a point charge with a charge equal to the charge on the shell and placed at the center of the shell.
The analagous situation for Ampere's Law is a long cylindrical shell carrying a uniformlydistributed current I. Inside the hollow part of the cylinder the magnetic field is zero (an amperian loop encloses no current) and outside the cylinder the magnetic field is the same as that from a long straight wire placed on the axis of the cylinder:
B  = 

The most interesting case is the field inside the solid part of the shell. Let's say the shell has an inner radius a and an outer radius b. What is the field in the region a < r < b?
First we need the current density, J, the current per unit area. The area of the shell is:
A = πb^{2}  πa^{2}
Therefore  J  = 

= 

Apply Ampere's Law to an amperian loop of radius r in the solid part of the cylindrical shell.
∫ B • dl = ∫ B dl = B ∫ dl = μ_{o} I_{enc}
The lefthand side of the equation is easy to calculate.
B ∫ dl = B 2πr
The righthand side is a little trickier. How much current is enclosed by the loop?
The area enclosed is:
A_{enc} = πr^{2}  πa^{2}
The enclosed current is then I_{enc} = J A_{enc}
I_{enc}  =  J (πr^{2}  πa^{2})  = 

Putting all the pieces of Ampere's Law together gives:
B 2πr  = 

B  = 

in the region a < r < b 