
According to Biot-Savart’s law, magnetic field due to a current element is given by
vector dB = (μ0 Idl x r)/(4πr2) where r = √(x2 + a2)
∴ dB = (μ0 Idl sin 90°)/(4π)(x2 + c2)
And direction of vector dB is ⊥ to the plane containing I vector dl and vector r.
Resolving vector dB along the x – axis and y – axis.
dBx = dB sin θ
dBy = dB cos θ
taking the contribution of whole current loop we get
Bx = ∮dBx = ∮dBsin θ =

For centre x = 0
∴ |vector B0| = (μ0 2Iπa2)/ (4πa3) = μ0(1/2a) in the direction of vector m