AP Physics 2 · Unit 12 · Topic 12.3

    12.3 Magnetism and Current-Carrying Wires

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    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 B=μ0I2πrB = \frac{\mu_0I}{2\pi r}. A current in an external field feels a force F=ILBsin⁡θF = ILB\sin\theta. 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 B⃗\vec{B}.

    The field circles the wire and weakens with distance.
    B=μ0I2πr,μ0=4π×10−7 T\cdotpm/AB = \frac{\mu_0 I}{2\pi r}, \qquad \mu_0 = 4\pi \times 10^{-7}\ \text{T·m/A}

    Example. At 5.0 cm from a wire carrying 10 A, B=(4π×10−7)(10)2π(0.050)=4.0×10−5B = \frac{(4\pi \times 10^{-7})(10)}{2\pi(0.050)} = 4.0 \times 10^{-5} 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

    F=ILBsin⁡θF = ILB\sin\theta

    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 LL at angle θ\theta to the field, F=ILBsin⁡θF = ILB\sin\theta, with the direction from the same right-hand rule, using the current direction in place of v⃗\vec{v}. Example. A 0.50 m wire carrying 2.0 A perpendicular to a 0.30 T field feels (2.0)(0.50)(0.30)=0.30(2.0)(0.50)(0.30) = 0.30 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 FL=μ0I1I22πd\frac{F}{L} = \frac{\mu_0I_1I_2}{2\pi d}. Example. Two wires 0.10 m apart each carrying 10 A experience (4π×10−7)(10)(10)2π(0.10)=2.0×10−4\frac{(4\pi \times 10^{-7})(10)(10)}{2\pi(0.10)} = 2.0 \times 10^{-4} 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
    μ0=4π×10−7\mu_0 = 4\pi \times 10^{-7} T·m/A.
    Force on a current
    F=ILBsin⁡θF = ILB\sin\theta 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.

    1. Question 1 · SP 2 · Mathematical Routines

      What is the magnetic field 5.0 cm from a long wire carrying 10 A?

    2. 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?

    3. Question 3 · SP 1 · Creating Representations

      Two long parallel wires carry currents in the same direction. What do they do?

    4. Question 4 · SP 2 · Mathematical Routines

      The distance from a long straight wire is doubled. What happens to the field?

    5. 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.

    1. (a) Calculate the magnetic field produced by the 10 A wire at the location of the 20 A wire.
    2. (b) Calculate the force per metre on the 20 A wire and state whether it is attractive or repulsive.
    3. (c) A student claims the 10 A wire feels half this force because its current is half as large. Evaluate the claim.

    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.

    How this shows up on the exam42 multiple-choice questions and 4 free-response questions. See what each FRQ type asks you to do.

    Free Unit 12 cheat sheet

    Every topic in Unit 12: Magnetism and Electromagnetism on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Physics 2 practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Physics 2 practice examsUnit 12 is one of 7 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 12: Magnetism and Electromagnetism

    1. 12.1 Magnetic Fields
    2. 12.2 Magnetism and Moving Charges
    3. 12.3 Magnetism and Current-Carrying Wires
    4. 12.4 Electromagnetic Induction and Faraday's Law

    Other units in AP Physics 2

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.