Magnet and compass – exploring magnetic fields

Integrated ScienceElectricity & MagnetismAges 12–13Virtual lab

Use with my class

Drag a bar magnet, rotate it with the angle slider, then use a compass and a field meter to explore the magnetic field around it: the compass has inertia and swings before settling along the field like a real compass, while the meter reads the field strength, its components and its angle at any point, even inside the magnet. Turn on Earth mode to see why a compass needle always points north–south: a giant magnet lies inside the planet, with its south pole near the geographic North Pole. On the Materials screen, bring a bar magnet to an iron nail, a steel paper clip, nickel, cobalt, aluminium foil, copper wire, a plastic ruler and a wooden pencil to sort magnetic from non-magnetic materials, and to a second magnet on round pencils that is attracted or pushed away depending on which poles face each other. Based on the "Magnet and Compass" simulation by PhET Interactive Simulations, University of Colorado Boulder (CC BY 4.0); rewritten.

Lesson: Magnetic fields; magnetic and non-magnetic materials

What it shows

Every magnet has a north pole N and a south pole S, and a magnetic field around it that is strongest near the poles. Here the field outside the magnet comes from two point poles by the inverse-square law, and inside the magnet it is taken as uniform. A compass needle swings and then settles along the field, and the Earth itself acts like a giant magnet. On the Materials screen a bar magnet is brought to everyday objects to sort magnetic from non-magnetic materials, and to a second magnet that is attracted or pushed away depending on which poles face each other.

How to use

Drag the compass slowly around the magnet and watch its needle, then move the field meter and read B while you change Magnet angle and Magnet strength. Turn on Earth and press Flip Earth. On the Materials screen, choose an Object on the bench, make a prediction, press Bring the magnet closer, then Take the magnet away and test the next object; with magnet B, also use Turn your magnet round and Turn magnet B round.

Parameters you can change

  • Magnet strength 0–100 %
  • Show field vector grid
  • Show field inside the magnet
  • Show Earth
  • Show compass
  • Show field meter
  • Display units Gauss (G), Tesla (T)
  • Screen Magnet and compass, Materials
  • Object on the bench (Materials screen) Iron nail, Steel paper clip, Nickel strip, Cobalt piece, Aluminium foil ball, Copper wire, Plastic ruler, Wooden pencil, Bar magnet B
  • End of your magnet facing the object N (north pole), S (south pole)
  • End of magnet B facing your magnet N (north pole), S (south pole)

Questions to explore

  1. Where is the magnetic field stronger: near the poles or at the middle of the magnet's side, and how can the meter show it?
  2. How does the direction of the field inside the magnet compare with its direction outside, near the poles?
  3. Why does the N end of a compass needle point towards the Earth's geographic North Pole?
  4. Which of the eight materials does a magnet attract, and does it matter which pole you use?
  5. What does magnet B do when the ends facing each other have the same letter, and when they differ?