Magnetic Fields of
Current-Carrying Wires
Discover how electric currents create magnetic fields, master the Biot-Savart Law, and learn to calculate \( \vec{B} \) for real-world configurations.
What Is a Magnetic Field?
A magnetic field \( \vec{B} \) is a vector field that describes the magnetic influence on moving charges, currents, and magnetic materials. It is measured in Tesla (T) in SI units.
A Current Creates Circular Field Lines
The Right-Hand Rule
To find the direction of \( \vec{B} \) around a straight current-carrying wire, use the right-hand rule: point your right thumb in the direction of the conventional current \( I \), and your fingers curl in the direction of \( \vec{B} \).
The Biot-Savart Law
The Biot-Savart Law gives the magnetic field \( d\vec{B} \) produced by a small current element \( Id\vec{l} \) at a point \( P \):
Biot-Savart Geometry
\( \vec{B} \) for an Infinite Straight Wire
Integrating the Biot-Savart Law along an infinitely long straight wire carrying current \( I \), at a perpendicular distance \( r \):
Biot-Savart vs. Ampère's Law
| Biot-Savart Law | Ampère's Law | |
|---|---|---|
| Formula | \( d\vec{B} = \frac{\mu_0}{4\pi}\frac{I\,d\vec{l}\times\hat{r}}{r^2} \) | \( \oint \vec{B}\cdot d\vec{l} = \mu_0 I_{\text{enc}} \) |
| Best For | Any current geometry | High-symmetry cases |
| Approach | Sum contributions from each \( d\vec{l} \) | Use a closed Amperian loop |
| Analogy | Like Coulomb's Law for \( \vec{E} \) | Like Gauss's Law for \( \vec{E} \) |
How to Apply the Biot-Savart Law
Example 1: Infinite Wire
A long straight wire carries a current of \( I = 5 \;\text{A} \). Find the magnetic field at a perpendicular distance \( r = 0.10 \;\text{m} \).
Example 2: Two Parallel Wires
Two parallel wires separated by \( d = 0.20 \;\text{m} \) carry currents \( I_1 = 3 \;\text{A} \) and \( I_2 = 3 \;\text{A} \) in the same direction. Find \( B \) at the midpoint between them.
Example 3: Center of a Circular Loop
A circular loop of radius \( R = 0.05 \;\text{m} \) carries current \( I = 2 \;\text{A} \). Find \( B \) at its center.
\( B \) vs. \( r \): the Inverse Relationship
Force Between Parallel Wires
Two parallel current-carrying wires exert magnetic forces on each other. The force per unit length between them is:
Common Mistakes
Key Formulas Summary
| Configuration | Formula for \( B \) | Direction |
|---|---|---|
| Biot-Savart (element) | \( dB = \frac{\mu_0}{4\pi}\frac{I\,dl\,\sin\theta}{r^2} \) | From \( d\vec{l}\times\hat{r} \) |
| Infinite straight wire | \( \frac{\mu_0 I}{2\pi r} \) | Right-hand rule |
| Center of circular loop | \( \frac{\mu_0 I}{2R} \) | Perpendicular to loop |
| Force between wires | \( \frac{\mu_0 I_1 I_2}{2\pi d} \) per meter | Attract (same) / Repel (opp.) |
Question 1 of 5
A long straight wire carries a current of 10 A. What is the magnetic field at a distance of 0.20 m from the wire?
Question 2 of 5
A current flows to the right in a horizontal wire. Using the right-hand rule, what is the direction of \( \vec{B} \) directly above the wire?
Question 3 of 5
In the Biot-Savart Law, when the current element \( d\vec{l} \) is parallel to the displacement vector \( \hat{r} \), what is \( dB \)?
Question 4 of 5
Two parallel wires carry currents in opposite directions. The wires will:
Question 5 of 5
The magnetic field at the center of a circular loop of radius \( R \) carrying current \( I \) is \( B = \frac{\mu_0 I}{2R} \). If the radius is doubled while keeping \( I \) constant, the field at the center: