01 / 21

Magnetism and
Current-Carrying Wires

Explore how electric currents create magnetic fields, how wires experience forces in external fields, and master the right-hand rules that connect them.

AP Physics 2

What Is a Magnetic Field?

A magnetic field (\(\vec{B}\)) is a vector field that describes the magnetic influence on moving charges, electric currents, and magnetic materials. It is measured in tesla (T) in SI units.

Source
Moving charges and currents produce magnetic fields
Direction
Determined by the right-hand rule for currents
Units
\(1 \text{ T} = 1 \frac{\text{kg}}{\text{A} \cdot \text{s}^2}\)

Field Around a Straight Wire

\(I\) \(\vec{B}\) \(r\) \(r\)

A current \(I\) flowing through a long straight wire creates concentric circular magnetic field lines around it. The field strength decreases with distance \(r\) from the wire.

Why Does Current Create \(\vec{B}\)?

The connection between electric current and magnetism was discovered by Oersted in 1820. Two key laws quantify this relationship:

Biot-Savart Law
Gives the \(\vec{B}\) field due to an infinitesimal current element. General but often complex to integrate.
Ampere's Law
Relates the line integral of \(\vec{B}\) around a closed loop to the enclosed current: \(\oint \vec{B} \cdot d\vec{l} = \mu_0 I_{\text{enc}}\)

The Core Formula

B
Magnetic field magnitude at distance \(r\) from the wire (in tesla, T)
\(\mu_0\)
Permeability of free space: \(\mu_0 = 4\pi \times 10^{-7} \text{ T}\cdot\text{m/A}\)
I
Current through the wire (in amperes, A)
r
Perpendicular distance from the wire to the point of interest (in meters, m)

Force on a Wire in a \(\vec{B}\) Field

\(\vec{B}\) \(I\) \(\vec{F}\) (in) \(L\)

A wire of length \(L\) carrying current \(I\) in an external magnetic field \(\vec{B}\) experiences a force. The angle \(\theta\) is between the current direction and \(\vec{B}\). Maximum force when \(\theta = 90^\circ\); zero force when parallel.

Right-Hand Rule for Force

\(I\) (fingers point) \(\vec{B}\) (curl) \(\vec{F}\) (thumb)
1
Point fingers in the direction of conventional current \(I\)
2
Curl fingers toward the \(\vec{B}\) field direction
3
Thumb points in the direction of force \(\vec{F}\) on the wire

Creating vs. Experiencing a Field

Wire Creates \(\vec{B}\) Wire in External \(\vec{B}\)
Formula \(B = \frac{\mu_0 I}{2\pi r}\) \(F = BIL\sin\theta\)
What you find Magnetic field magnitude Force on the wire
Right-Hand Rule Thumb = \(I\), fingers curl = \(\vec{B}\) Fingers = \(I\), curl = \(\vec{B}\), thumb = \(\vec{F}\)
Depends on \(I\) and \(r\) \(B\), \(I\), \(L\), and \(\theta\)
Key insight \(B \propto 1/r\) Max when \(\vec{I} \perp \vec{B}\)

Force Between Parallel Wires

\(I_1\) \(I_2\) \(d\) Attract \(\vec{F}\) \(\vec{F}\)

Same-direction currents attract; opposite-direction currents repel. This is the basis for defining the ampere in SI units.

Parallel-current comparison

This separate long-wire model uses 5 A in each wire, 0.05 m spacing and 0.50 m active length. Like-direction currents attract; opposite currents repel. Supports balance the mutual forces.

Parallel 5 A currents over 0.5 m at 0.05 m attract with 50 µN force on each wire.
Equal parallel currents attract; reversing one current produces repulsion. The equal and opposite mutual forces are balanced by supports.
Same outgoing dot currents attract; outgoing/incoming dot-cross currents repel.
Cross sections compare mutual forces and support forces.

Inside a Solenoid

\(\vec{B}\) (uniform) \(n = N/L\) turns per meter \(I\)

Inside a long solenoid, the field is uniform and parallel to the axis. Outside, it is approximately zero. Here \(n\) is the number of turns per unit length, \(N\) is total turns, and \(L\) is the solenoid length.

How to Solve Problems

1
Identify the scenario: Is the wire creating a field, or is a wire in an external field experiencing a force?
2
Choose the formula: Use \(B = \frac{\mu_0 I}{2\pi r}\) for field creation. Use \(F = BIL\sin\theta\) for force on a wire.
3
Apply the right-hand rule: Determine the direction of \(\vec{B}\) or \(\vec{F}\) before calculating magnitude.
4
Substitute and solve: Plug in values with consistent SI units. Remember \(\mu_0 = 4\pi \times 10^{-7}\).
5
Check your answer: Verify units (T for field, N for force) and that the direction makes physical sense.

Example 1: Field from a Wire

A long straight wire carries a current of \(I = 5\) A. Find the magnetic field at a distance \(r = 0.10\) m from the wire.

Example 2: Force on a Wire

A wire of length \(L = 0.50\) m carries \(I = 3.0\) A perpendicular to a uniform field \(B = 0.20\) T. What is the force?

Example 3: Two Parallel Wires

Two parallel wires separated by \(d = 0.05\) m carry currents \(I_1 = 4\) A and \(I_2 = 6\) A in the same direction. Find the force per unit length.

Common Mistakes

✕ Wrong Hand
Using the left hand instead of the right hand. The right-hand rule only works with your right hand for conventional current.
✕ Mixing Formulas
Using \(F = BIL\sin\theta\) when asked for the field created by a wire, or using \(B = \frac{\mu_0 I}{2\pi r}\) when asked for force.
✕ Forgetting \(\sin\theta\)
Assuming \(\theta = 90°\) always. When the wire is not perpendicular to \(\vec{B}\), you must include \(\sin\theta\). Parallel wires: \(F = 0\).
✕ Unit Errors
Forgetting to convert cm to m before plugging into formulas. The constant \(\mu_0\) requires SI units throughout.

Summary of Key Formulas

Scenario Formula Key Variable
Field from long wire \(B = \frac{\mu_0 I}{2\pi r}\) \(r\) = distance
Force on wire \(F = BIL\sin\theta\) \(\theta\) = angle
Two parallel wires \(\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}\) \(d\) = separation
Solenoid \(B = \mu_0 n I\) \(n\) = turns/length
Permeability \(\mu_0 = 4\pi \times 10^{-7}\) T·m/A

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 wire carrying 4.0 A is placed in a uniform magnetic field of 0.50 T. The wire is 0.30 m long and oriented at 30° to the field. What is the force?

Question 3 of 5

Two parallel wires carry currents in opposite directions. The force between them is:

Question 4 of 5

A solenoid has 500 turns over a length of 0.25 m and carries a current of 2.0 A. What is the magnetic field inside?

Question 5 of 5

A current-carrying wire is placed parallel to a uniform external magnetic field. The force on the wire is: