Skip to content

Virtual practical· Cambridge IGCSE

Magnetic Field of a Wire and a Solenoid

Compasses round a wire show circular field lines that follow the right-hand grip rule, and one compass shows the field weakening with distance and growing with current. A solenoid acts like a bar magnet whose poles swap when the current reverses. Spot compasses upset by an iron stand base.

Cambridge IGCSE: Syllabus experiment (Core)
Loading simulation…

Compasses round a wire show circular field lines that follow the right-hand grip rule, and one compass shows the field weakening with distance and growing with current. A solenoid acts like a bar magnet whose poles swap when the current reverses. Spot compasses upset by an iron stand base.

Cambridge IGCSE: Syllabus experiment (Core)

In short

How do you map the magnetic field around a wire with compasses?

Set plotting compasses in a ring round a vertical wire through a card and switch on a large current: the needles line up along circles centred on the wire, pointing the way the right-hand grip rule gives. The field weakens with distance and strengthens with current: at 6 A one compass turned 72° from north at 2 cm but 38° at 8 cm. Here you also reverse the current and map a solenoid, whose field matches a bar magnet's.

Aim

To find the shape and direction of the magnetic field made by a current in a straight wire and in a solenoid, to see what reversing the current does, and to compare the strength of the field at different distances, currents and numbers of turns.

Equipment

  • a thick copper wire, held upright by a clamp stand (a wooden clamp is best)
  • a horizontal card with a hole for the wire, marked with north
  • eight small plotting compasses, and a protractor
  • a solenoid wound through slots in a second card
  • a current-limited low-voltage d.c. supply, with an ammeter, a switch and leads
  • optional: iron filings in a shaker

Variables

TypeIn this practical
ChangedThe direction of the current; to compare strengths, the current, the distance from the wire or the number of turns, one at a time
RecordedWhich way each needle points, and how many degrees a single compass turns away from north
ControlThe card flat with north up it, the same compasses, no magnets or iron close by, the current on only while reading

Most of this practical maps a pattern rather than measuring a quantity. The turn of a compass from north is a way of comparing the wire's field with the Earth's, which stays the same; it is not a measurement of the field itself.

Method

Straight wire

  1. Push the wire upright through the middle of the card and set the card level, with its north mark facing north.
  2. Put the compasses in a ring about 4 cm from the wire. Before switching on, check that every needle points north. If one does not, something magnetic is close to it: move it away.
  3. Switch on a current of several amps, note which way each needle points, then switch off.
  4. Exchange the two connections at the supply, which reverses the current, and read the needles again.
  5. Supplement (strength): put one compass due south of the wire. Switch on and measure how far the needle turns from north with a protractor. Take three readings at each distance from 2 cm to 8 cm, then three at each current at one distance.
  6. Optional: take the compasses away, sprinkle iron filings thinly on the card, switch on and tap the card gently.

Solenoid

  1. Set the card so the solenoid's axis runs east–west, and check the compass points north with the current off.
  2. Put the compass on the axis just beyond one end, switch on and record which way the needle turns. Repeat beyond the other end and beside the middle of the coil.
  3. Reverse the current and repeat.
  4. Supplement (strength): with the compass 3 cm beyond the right-hand end, take three readings of its turn from north at each current, then at each number of turns.

In the virtual lab above, Switch on and read switches on, reads the compasses and switches off again. The stand's iron base starts beside the card: switch off Iron stand base beside the card once you have seen what it does.

Risk assessment

HazardRiskControl
Large current in a thick wireThe wire and leads become hot enough to burnKeep the supply’s voltage low and its current limited, close the switch just for each reading, and keep your fingers off the wire
Supply left onThe wire overheats and the supply is overloadedSwitch off between readings
Iron filingsFine pieces in the eyesSprinkle them thinly, keep your hands away from your face, and wash them when you finish

Analysing the results

  • Pattern. The needles round the wire lie along circles centred on the wire, so the field lines are circles in the plane of the card. Outside a solenoid the pattern matches a bar magnet's; inside, iron filings show straight, parallel lines.
  • Direction. The north-seeking end of each needle gives the field's direction. For the wire, apply the right-hand grip rule: close your right hand round the wire with the thumb lying along the conventional current, and the fingers curl in the field’s direction. For a solenoid, wrap your right fingers in the sense the current circulates; the thumb then marks the N end.
  • Strength (Supplement). The single compass sits where the field under test is at right angles to the Earth's. The needle lines up with the two fields together, so a bigger turn from north means a stronger field. The angle grows more slowly than the field does, so it shows which field is stronger but not by how much.

A reading where a needle did not point north before the current was switched on is an anomaly: something else was turning it. Leave it out and read again once the cause has been removed.

Typical results

Results from the virtual lab, ring 4 cm from the wire:

ReadingCurrent / ADirectionNeedles pointNot north before switching on
16up ⊙not all the same way6, 7 and 8 (anomaly)
26up ⊙anticlockwisenone
36down ⊗clockwisenone
42up ⊙not all the same waynone

Reading 1 was taken with the clamp stand's iron base next to the card: compass 7 was already turned 17° from north before the current was switched on. With the base moved away, every needle pointed anticlockwise round the wire for current coming up out of the card, and clockwise when it was reversed, as the grip rule predicts. At only 2 A, the wire's field 4 cm away is about half the Earth's, so five needles were pulled round towards north.

One compass due south of the wire, 6 A, three readings at each distance:

Distance / cm2345678
Mean turn from north / °72.064.357.351.346.342.038.3

Each mean is ± 0.5°. The turn falls steadily with distance, so the field is weaker further from the wire. At 3 cm the turn rose from 35.3° at 2 A to 74.0° at 10 A: a bigger current gives a stronger field.

For the solenoid (80 turns, 0.5 A, current entering at the left-hand end), the needle turned 51° east beyond both ends, and 23–24° west beside the middle: the right-hand end is N. Reversing the current made every needle turn the other way, so the poles swapped.

At the right-hand end, with 80 turns:

Current / ATurn 1 / °Turn 2 / °Turn 3 / °Mean turn / °
0.2531313231.3 ± 0.5
0.5051515151.0 ± 0.5
0.7562626262.0 ± 0.5
1.00(54)686868.0 ± 0.5

The first reading at 1.00 A is 14° below the others: the needle stuck on its pivot before it had finished turning, so it is left out. With 0.5 A and 40, 80, 120 and 160 turns the means were 30.5°, 51.0°, 62.0° and 68.3°: more turns, stronger field.

Evaluation

The Earth's field. A compass responds to the total field, so far from the wire, or with a small current, the needles turn towards north. Use a large current for a short time, or keep the compasses close.

Iron and steel. A stand base, a clamp or a steel bench frame turns the needles even with no current. Checking that every needle points north first catches this.

Heating. Several amps heat the wire and the leads. Switching off between readings protects you and keeps the current steady.

Compass size. Each compass is 2 cm across, and close to the wire the field changes direction across that width, so smaller compasses give a truer picture.

Sticking needles. A needle can catch on its pivot. Tap the compass gently before reading; three readings show up one that stuck.

Comparing strengths. The angle only compares fields fairly if the tested field is at right angles to the Earth's at the compass. The angle obeys tan θ = B(wire) ÷ B(Earth), which is beyond the courses.

How the practical is examined

Exam-style questions

1. Describe how plotting compasses can be used to find the direction of the magnetic field round a straight wire carrying a current. (4 marks)

2. Before the current is switched on, one compass near the base of the clamp stand points 15° away from north while the others point north. Explain why, and state what the student should do. (2 marks)

3. (Supplement) A compass is 3 cm from a wire. State and explain what happens to how far it turns from north when the current is made larger. (2 marks)

4. Looking at one end of a solenoid, the current flows anticlockwise round the turns. Name that end's pole and state what happens to it when the current is reversed. (2 marks)

In your course

The same idea in your syllabus, with its own words, symbols and exam questions.

Next step

Now explore magnetic field around a wire and solenoid freely

The full simulation lets you change any setting and see what happens, beyond what the practical allows.