Magnetostatics is the study of the magnetic effects of electric currents.
Biot-Savart law is used to determine the magnetic field produced by a steady current.
The law is given by the equation: $ \mathbf{B} = \frac{{\mu_0}}{{4\pi}} \int \frac{{\mathbf{I} \times \mathbf{r}}}{{r^3}} dl $
Here, $ \mathbf{B} $ is the magnetic field, $ \mu_0 $ is the magnetic constant, $ \mathbf{I} $ is the current, $ \mathbf{r} $ is the position vector, and $ dl $ is the infinitesimal length element.
Let us solve an example to understand Biot-Savart law.
Consider a straight wire carrying a current of magnitude $ I $ .
We want to calculate the magnetic field at a point $ \mathbf{P} $ located at a distance $ r $ from the wire.
We can use the Biot-Savart law to determine the magnetic field.
The wire can be divided into small infinitesimal length elements $ dl $ .
The magnetic field produced by each element $ dl $ at point $ \mathbf{P} $ is given by: $ d\mathbf{B} = \frac{{\mu_0}}{{4\pi}} \frac{{\mathbf{I} \times \mathbf{r}}}{{r^3}} dl $
The magnetic field $ \mathbf{B} $ at point $ \mathbf{P} $ can be obtained by integrating $ d\mathbf{B} $ over the entire wire.
Integrating $ d\mathbf{B} $ over the entire wire, we get: $ \mathbf{B} = \frac{{\mu_0}}{{4\pi}} \int \frac{{\mathbf{I} \times \mathbf{r}}}{{r^3}} dl $
Since the wire is straight, $ \mathbf{I} $ and $ \mathbf{r} $ are parallel.
Therefore, $ \mathbf{I} \times \mathbf{r} = 0 $ and the cross product term becomes zero.
Simplifying the equation, we obtain: $ \mathbf{B} = \frac{{\mu_0 I}}{{4\pi}} \int \frac{{dl}}{{r^2}} $
The integration over $ dl $ gives us the length of the wire, denoted by $ L $ .
Substituting this value, we get: $ \mathbf{B} = \frac{{\mu_0 I}}{{4\pi r^2}} \int dl = \frac{{\mu_0 I L}}{{4\pi r^2}} $
Finally, the magnitude of the magnetic field at point $ \mathbf{P} $ is given by: $ B = \frac{{\mu_0 I}}{{4\pi r^2}} $
This equation represents the magnetic field produced by a straight wire at a point located at a distance $ r $ from the wire.
The direction of the magnetic field can be determined using the right-hand rule.
Wrap your right-hand fingers around the wire in the direction of the current.
The direction in which the thumb points gives the direction of the magnetic field.
The magnetic field lines form concentric circles around the wire.
Now let’s consider a circular loop carrying a current of magnitude $ I $ .
We want to calculate the magnetic field at a point $ \mathbf{P} $ located on the axis of the loop.
The magnetic field at $ \mathbf{P} $ can be determined using the Biot-Savart law.
The loop can be divided into small infinitesimal current elements $ d\mathbf{I} $ .
The magnetic field produced by each element $ d\mathbf{I} $ at point $ \mathbf{P} $ is given by: $ d\mathbf{B} = \frac{{\mu_0}}{{4\pi}} \frac{{d\mathbf{I} \times \mathbf{r}}}{{r^3}} $
The magnetic field $ \mathbf{B} $ at point $ \mathbf{P} $ is obtained by integrating $ d\mathbf{B} $ over the entire loop.
Integrating $ d\mathbf{B} $ over the entire loop, we get: $ \mathbf{B} = \frac{{\mu_0}}{{4\pi}} \int \frac{{d\mathbf{I} \times \mathbf{r}}}{{r^3}} $
Since the loop is symmetric, the direction of $ d\mathbf{B} $ due to each element cancels out.
Thus, only the magnitude of the magnetic field at point $ \mathbf{P} $ needs to be calculated.
Simplifying the equation, we obtain: $ \mathbf{B} = \frac{{\mu_0 I}}{{4\pi}} \int \frac{{d\mathbf{l} \times \mathbf{r}}}{{r^3}} $
The integration is performed over the length $ d\mathbf{l} $ of the element.
The magnetic field $ \mathbf{B} $ is calculated by summing the contributions from all the elements of the loop.
The magnetic field lines are confined to the plane of the loop and form concentric circles around the axis.
Consider a circular ring carrying a current $ I $ .
We want to calculate the magnetic field at a point $ \mathbf{P} $ located on the axis of the ring.
The magnetic field at $ \mathbf{P} $ can be determined using the Biot-Savart law.
The ring can be divided into small infinitesimal current elements $ d\mathbf{I} $ .
The magnetic field produced by each element $ d\mathbf{I} $ at point $ \mathbf{P} $ is given by: $ d\mathbf{B} = \frac{{\mu_0}}{{4\pi}} \frac{{d\mathbf{I} \times \mathbf{r}}}{{r^3}} $
The magnetic field $ \mathbf{B} $ at point $ \mathbf{P} $ is obtained by integrating $ d\mathbf{B} $ over the entire ring.
Integrating $ d\mathbf{B} $ over the entire ring, we get: $ \mathbf{B} = \frac{{\mu_0}}{{4\pi}} \int \frac{{d\mathbf{I} \times \mathbf{r}}}{{r^3}} $
Since the ring is symmetric, the direction of $ d\mathbf{B} $ due to each element cancels out.
Thus, only the magnitude of the magnetic field at point $ \