• Foundation
  • About 15 min
  • 5 practice questions

Magnetic field of a current in a straight wire

Describe Oersted's discovery, draw the circular magnetic field around a straight wire carrying current, find its direction with the right-hand thumb rule, and state how its strength changes.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Describe how a current-carrying wire deflects a compass needle.
  • Draw the field lines around a straight wire and find their direction with the right-hand thumb rule.
  • State how the field depends on the current and on the distance from the wire.

In 1820 the Danish scientist Hans Christian Oersted noticed that a compass needle moved when a current flowed in a nearby wire. This showed for the first time that an electric current produces a magnetic field. The unit of magnetic field strength in one older system, the oersted, is named after him.

A compass near a wire

Lay a straight copper wire in a north-south line and hold a compass just below it. With no current, the needle points north along the wire. When the current is switched on, the needle deflects to one side. If the direction of the current is reversed, the needle deflects the other way. If the current is increased, the deflection increases. So the wire has a magnetic field whose direction depends on the direction of the current.

The pattern of the field

Pass a thick wire vertically through the centre of a horizontal card, sprinkle iron filings on the card and switch on a current. The filings form concentric circles centred on the wire. The field lines around a long straight wire are circles in planes perpendicular to the wire.

Field around a long straight current-carrying wire

  • Shape
    • Concentric circles centred on the wire
    • In planes perpendicular to the wire
  • Direction
    • Given by the right-hand thumb rule
    • Reverses if the current reverses
  • Strength
    • Increases when the current increases
    • Decreases with distance from the wire

Right-hand thumb rule

Right-hand thumb rule: hold the current-carrying wire in your right hand with the thumb pointing in the direction of the current; your curled fingers then point in the direction of the magnetic field lines.

This rule is also called Maxwell's corkscrew rule in some books, because a screw turned so that it moves along the current turns in the direction of the field.

Worked example 1: a vertical wire

A long wire is held vertically and carries current upwards. What is the direction of the field lines when seen from above? Working: point the right thumb upwards (along the current). Looking down on the hand from above, the fingers curl anticlockwise. So the field lines are anticlockwise circles when viewed from above. If the current flowed downwards, they would be clockwise.

Worked example 2: a compass below a wire

A horizontal wire runs north-south above a compass and carries current towards the north. Which way does the compass needle's north pole deflect? Working: grip the wire with the right thumb pointing north. Below the wire, the fingers point towards the west, so the field just below the wire points west and the north pole of the needle swings towards the west. If the compass were placed above the wire instead, the field there points east and the needle would swing east.

Worked example 3: changing the strength

A student measures a compass deflection 2 cm from a wire. Predict two ways to make the deflection larger. Working: the field near a straight wire is stronger when the current is larger and when the point is closer to the wire. So she can increase the current (for example with a rheostat set to less resistance or more cells) or move the compass closer to the wire.

Key takeaways: a current in a wire produces a magnetic field, as Oersted discovered. Around a straight wire the field lines are concentric circles in planes perpendicular to the wire. The right-hand thumb rule gives their direction: thumb along the current, fingers along the field. The field is stronger for a larger current and weaker farther from the wire, and it reverses when the current reverses.

Check your understanding

  1. 1. The magnetic field lines around a long straight wire carrying current are

    1. straight lines parallel to the wire
    2. concentric circles centred on the wire
    3. straight lines going out from the wire
    4. absent
    Show answer

    Answer: B. Iron filings and compasses show the field lines as concentric circles centred on the wire, in planes perpendicular to it.

  2. 2. A vertical wire carries current downwards. Seen from above, the field lines around it are

    1. clockwise circles
    2. anticlockwise circles
    3. straight lines pointing north
    4. straight lines pointing up
    Show answer

    Answer: A. Point the right thumb downwards along the current. Seen from above, the curled fingers go clockwise, so the field lines are clockwise.

  3. 3. What happens to the deflection of a compass near a straight wire if the current through the wire is reversed?

    1. It becomes zero
    2. It doubles
    3. It stays the same
    4. It reverses direction
    Show answer

    Answer: D. Reversing the current reverses the direction of the magnetic field, so the needle deflects to the opposite side.

  4. 4. At which point is the magnetic field due to a straight current-carrying wire the strongest?

    1. 20 cm from the wire
    2. 10 cm from the wire
    3. 2 cm from the wire
    4. It is the same at all these points
    Show answer

    Answer: C. The field of a straight wire decreases as the distance from the wire increases, so it is strongest at the nearest point, 2 cm away.

  5. 5. Assertion (A): A compass needle placed near a wire deflects when current flows in the wire.
    Reason (R): A current-carrying wire produces a magnetic field around it.

    1. Both A and R are true, and R is the correct explanation of A
    2. Both A and R are true, but R is not the correct explanation of A
    3. A is true, but R is false
    4. A is false, but R is true
    Show answer

    Answer: A. Both are true. The needle is a small magnet, and it deflects because the wire's current creates a magnetic field around it; R explains A.

Privacy · Terms · Refunds · Delivery