Biot Savart law states that If there is a current carrying wire and a point
P close to it, then the intensity of the magnetic field produced at that point, due to a very small part of the wire is given by
dB=μ04π×Idlsinθr2
Here μ0 is the magnetic permeability of air or vacuum, I is the current, dl is the small part, r is the line joining the dl and the P, and θ is the smaller angle between dl and r.
Using this law we can derive an expression for the intensity of magnetic field at the centre of a current carrying circular loop on its basis.
B=∫dB=μ04π×∫Idlsinθr2
Since all elements on the parts (like dl) of the loop are perpendicular to r, θ is 90O everywhere. ∴sinθ=1 everywhere.
The r and I being constants, the come out of the integral.
∴B=μ0I4πr2×∫dl
Here∫dl is =2πr
Hence ∴B=μ0I×2πr4πr2
This is the final equation.
Please note that cancelling r, 2 and π is not recommended, because that will make situations complicated.