(a) Suppose we have a conductor of length l in which current i is flowing. We need to calculate the magnetic field at a point P in vacuum. If
i→dl is one of the infinitely small current element, the magnetic field
→dB at point P is given by
→dB∝i→dl×→rr3
→dB=μ04πi→dl×→rr3
Where
μ04π is a proportionality constant.
Suppose there is a circular coil of radius R, carrying a current i. Let P be a point at the axis of the coil at a distance x from the centre, at which the field in required.
Consider a conducting element dl of the loop. The magnetic field due to dl is given by the Biot-Savart law,
dB=μ04πi|→dl×→r|r3
dB=μ04πidl(R2+x2)
The direction of dB is perpendicular to the plane formed by dl and r. It has an X-component
dBx, and a component perpendicular to X-axis,
dB⊥. When the components perpendicular to the X-axis are summed over, they cancel out and we obtain null result. Thus only the X-component survives.
So, the resultant field
→B at P given by
B=∫dB sin θ
B=μ04πir2∫dl sin θ
B=μ04πiRr3∫dl[∵sin θ=Rr]
But
∫dl=2πR and
r=(R2+x2)1/2
∴B=μ04π2πiR2(R2+x2)3/2
If the coil has N turns, then each turn will contribute equally to B. Then,
B=μ0NiR22(x2+R2)3/2
(b) According to Biot-Savart law the line integral of the magnetic field
→B around any 'closed' path is equal to
μ0 times the net current I threading through the area enclosed by the path.
i.e.
∮→B.→dl=μ0I
Where
μ0 in the permeability of free space. Ampere's circuital law in electromagnetism is analogous to Gauss' law in electrostatics.