In short
An electric current creates a magnetic field. Around a long straight wire, the field lines are circles, given by a right-hand grip rule, with strength . A current in an external field feels a force . Combining the two, parallel wires carrying currents in the same direction attract, and opposite currents repel.
What you need to know
- Describe and calculate the magnetic field of a long straight current-carrying wire.
- Use the right-hand grip rule for the direction of the field around a current.
- Calculate the force on a current-carrying wire in a magnetic field.
- Explain and calculate forces between parallel currents.
Currents make fields
In 1820 Hans Christian Ørsted noticed a compass needle twitch when a nearby wire carried current: the first evidence that electricity and magnetism are linked. Moving charges, in a wire or anywhere else, create magnetic fields. Around a long straight wire the field lines are circles centred on the wire. Grip the wire with your right hand, thumb along the current: your fingers curl in the direction of .
Example. At 5.0 cm from a wire carrying 10 A, T, similar to Earth's field, which is why a compass near household wiring can be disturbed. Coiling a wire into a long solenoid concentrates the field into a nearly uniform region inside, the basis of electromagnets. Adding an iron core multiplies the field many times, because the solenoid's field aligns the iron's domains, as in topic 12.1. Electromagnets lift scrap metal, ring doorbells and run the relays that switch large currents with small ones.
Force on a current in a field
A current is a stream of moving charges, so a wire carrying current in a field feels the sum of all their magnetic forces. For a straight length at angle to the field, , with the direction from the same right-hand rule, using the current direction in place of . Example. A 0.50 m wire carrying 2.0 A perpendicular to a 0.30 T field feels N. A wire parallel to the field feels nothing. Electric motors use this force: current in a coil within a magnetic field produces forces in opposite directions on the two sides, turning the coil.
Parallel wires
Each of two parallel wires sits in the other's field. Working through the right-hand rules shows that currents in the same direction attract and currents in opposite directions repel, the reverse of the rule for charges. The force per metre is . Example. Two wires 0.10 m apart each carrying 10 A experience N per metre. By Newton's third law the two forces are equal and opposite, even if the currents differ.
Key terms
- Right-hand grip rule
- Thumb along the current, fingers curl in the direction of the magnetic field around it.
- Permeability of free space
- T·m/A.
- Force on a current
- on a straight wire of length L in field B.
- Solenoid
- A long coil of wire that produces a nearly uniform magnetic field inside.
- Electromagnet
- A solenoid, often with an iron core, whose field can be switched on and off.
Common mistakes
Drawing the field of a straight wire as lines along the wire.
The field circles around the wire.
Saying parallel currents in the same direction repel.
They attract; opposite currents repel.
Forgetting sin θ for a wire at an angle to the field.
Only the component of the wire perpendicular to B feels a force.
How this topic is tested
- Decide which right-hand rule you need before using it: making a field or feeling a force.
- For two wires, find the field of one at the other, then the force on the other.
- Use ratios: B ∝ I/r.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · SP 2 · Mathematical Routines
What is the magnetic field 5.0 cm from a long wire carrying 10 A?
Question 2 · SP 2 · Mathematical Routines
A 0.50 m wire carries 2.0 A perpendicular to a 0.30 T field. What is the force on it?
Question 3 · SP 1 · Creating Representations
Two long parallel wires carry currents in the same direction. What do they do?
Question 4 · SP 2 · Mathematical Routines
The distance from a long straight wire is doubled. What happens to the field?
Question 5 · SP 3 · Scientific Questioning and Argumentation
A current-carrying wire lies parallel to a uniform magnetic field. What force acts on it?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Free response (calculator) · 4 points
Two long parallel wires 0.10 m apart carry currents of 10 A and 20 A in opposite directions.
- (a) Calculate the magnetic field produced by the 10 A wire at the location of the 20 A wire.
- (b) Calculate the force per metre on the 20 A wire and state whether it is attractive or repulsive.
- (c) A student claims the 10 A wire feels half this force because its current is half as large. Evaluate the claim.
Scoring guide: one point for each of the following
Part (a)
- T.
Part (b)
- N/m.
- Repulsive, because the currents are in opposite directions.
Part (c)
- The claim is wrong: the forces are a Newton's third law pair, so the 10 A wire also feels 4.0 × 10⁻⁴ N/m (the 20 A wire makes a field twice as strong at its location).
Connected topics
Frequently asked questions
Who discovered the link between electricity and magnetism?
Hans Christian Ørsted observed it in 1820, and André-Marie Ampère soon measured forces between currents.
How do electric motors work?
Forces on the current in a coil within a magnetic field produce a torque, and a commutator or alternating current keeps it turning.
Is the force between household wires noticeable?
Normally no; it matters only for very large currents, such as in power systems and lightning.