Skip to content

Magnetism

Syllabus mapping

PY-11-03 — explains electric and magnetic field interactions. Focus area: Electricity and magnetism — Magnetism. NESA content:

  • Identify that magnetic field lines are continuous and used to represent the strength and direction of magnetic fields
  • Use field line diagrams to analyse the magnetic field around a bar magnet, current-carrying wire and current-carrying loop
  • Calculate the strength of the magnetic field produced by a current-carrying wire using \(B = \dfrac{\mu_0 I}{2\pi r}\)
  • Describe the structure of a simple solenoid
  • Account for the shape and direction of the magnetic field produced by a direct current passing through a solenoid
  • Calculate the strength of the uniform magnetic field inside a solenoid using \(B = \dfrac{\mu_0 NI}{L}\)
  • Conduct a secondary-source investigation to assess the choice of materials used in the core of electromagnets
  • Conduct a practical investigation to examine the factors affecting the strength of an electromagnet

Copied word for word from the Physics 11–12 Syllabus (2025) — Electricity and magnetism. Physics 11–12 Syllabus © NSW Education Standards Authority (NESA) for and on behalf of the Crown in right of the State of New South Wales, 2025.

This page covers the steady magnetic fields made by steady currents. Motors, generators, transformers and electromagnetic induction are Year 12 content.

You need to know: what magnetic field lines show, how to draw the field around a bar magnet, a straight wire, a loop and a solenoid (with the right-hand grip rules), how to calculate the field near a wire and inside a solenoid, and how the core material and other factors affect the strength of an electromagnet.

Workbook: Section 3

This page is Section 3 of the Electricity and Magnetism workbook (PDF): space for your own notes and diagrams, the practical, and practice questions with answers. Print just this section, or the whole book from the unit overview.

Assumed knowledge check

Before this page makes sense, you should be comfortable with:

Core

Magnetic field lines

A magnetic field is a region where a magnet, a magnetic material (like iron) or a moving charge feels a magnetic force. We show it with field lines:

  • The direction of a field line is the way the north pole of a small compass would point. Outside a magnet, lines run from the north pole to the south pole.
  • The strength of the field is shown by how close together the lines are: closer lines, stronger field.
  • Field lines are continuous: they form closed loops with no start or end. Outside a magnet they run N → S; inside it they carry on S → N to complete the loop.
  • Field lines never cross.

Drawing current into and out of the page. In diagrams where a wire points straight at you or away from you:

  • ⊙ (a dot) means current coming out of the page, towards you: you're seeing the tip of an arrow.
  • ⊗ (a cross) means current going into the page, away from you: you're seeing the tail feathers of an arrow.

Four panels. (1) A bar magnet: field lines leave the north pole, curve around outside and enter the south pole, continuing inside the magnet back to north. (2) A straight wire seen end-on, current out of the page: the field lines are anticlockwise circles, further apart further from the wire. (3) A current loop seen edge-on, current out of the page at the top and into the page at the bottom: the lines circle each side and run straight through the middle, like a short bar magnet. (4) The right-hand grip rule: thumb along the current, fingers curl the way the field goes.

Every line is a closed loop, and no two lines cross. The lines are closest together where the field is strongest: at the poles of the magnet, and close to the wires.

  • Bar magnet: lines emerge from the north pole, curve around outside and enter the south pole. The field is strongest at the poles, where the lines crowd together.
  • Straight wire: the field is a set of circles around the wire, centred on it. The circles get further apart further from the wire, because the field gets weaker.
  • Current loop: each side of the loop has circles around it, and in the middle they all point the same way, so the field through the centre is strong and roughly uniform. A loop behaves like a short, flat bar magnet.

Right-hand grip rule (straight wire): point your right thumb in the direction of the conventional current. Your fingers curl the way the magnetic field goes around the wire. For current out of the page (⊙) the field is anticlockwise; for current into the page (⊗) it's clockwise.

Common misconception

Wrong idea: a north pole is like a positive charge, and a south pole is like a negative charge.

Actually: magnetic poles and electric charges are different things. Hold a charged balloon near a magnet: it's attracted equally to the north end, the south end and the middle, just as it's attracted to any uncharged object. A magnet doesn't push or pull on a charge that's sitting still. Magnetic forces act on magnets, magnetic materials and moving charges. Also, you can have a positive charge on its own, but you can never get a north pole on its own: cut a magnet in half and you get two smaller magnets, each with a north and a south pole.

Field strength around a current-carrying wire

\[ B = \frac{\mu_0I}{2\pi r} \]

where \(B\) is the magnetic field strength in teslas (T), \(I\) is the current, \(r\) is the distance from the wire and \(\mu_0\) is the magnetic permeability constant, \(4\pi\times10^{-7}\ \text{N A}^{-2}\) (on your data sheet).

So the field is stronger with more current, and weaker further from the wire: double the distance, half the field.

Worked example

Find the magnetic field strength \(0.02\ \text{m}\) from a wire carrying \(5\ \text{A}\). What is it at \(0.04\ \text{m}\)?

\[ B = \frac{(4\pi\times10^{-7})(5)}{2\pi(0.02)} = 5\times10^{-5}\ \text{T} \]

At \(0.04\ \text{m}\) (double the distance), the field halves: \(2.5\times10^{-5}\ \text{T}\).

Common misconception

Wrong idea: the magnetic field of a wire follows an inverse square law, like the electric field of a point charge.

Actually: around a long straight wire, \(B \propto \dfrac{1}{r}\), not \(\dfrac{1}{r^2}\). Double the distance and the field halves; it doesn't drop to a quarter. Check which formula you're using before scaling.

Solenoids

Structure. A solenoid is a long coil of insulated wire wound in a tight spiral (a helix), often around a tube or a core. It has \(N\) turns spread over a length \(L\), and its two ends are connected to a power supply so a current flows around every turn in the same direction.

Shape and direction of the field. Each turn acts like a current loop, and their fields add together:

  • Inside, the fields of all the turns point the same way, so the field is strong and uniform: straight, parallel, evenly spaced lines.
  • Outside, the field loops around from one end to the other, just like a bar magnet's. The end the field lines come out of is the north pole.

Right-hand grip rule (coil): curl the fingers of your right hand around the coil in the direction the conventional current flows around the turns. Your thumb points along the inside of the solenoid towards its north pole.

A solenoid cut along its length: wire cross-sections along the top with current out of the page and along the bottom with current into the page. Inside, the field lines are straight, parallel and close together, pointing right. Outside, they loop back from the right-hand end (north) to the left-hand end (south).

Current flows out of the page along the top and into the page along the bottom, so it circulates around the coil. Use the grip rule: the field inside points right, so the right-hand end is north.

The field strength inside the solenoid:

\[ B = \frac{\mu_0NI}{L} \]

It increases with more turns (\(N\)), more current (\(I\)) and a shorter coil for the same number of turns (smaller \(L\)): in other words, more turns per metre. The width of the solenoid doesn't appear in the formula.

Worked example

A solenoid has \(400\) turns over a length of \(0.25\ \text{m}\), carrying a current of \(2\ \text{A}\). Find the field strength inside it.

\[ B = \frac{(4\pi\times10^{-7})(400)(2)}{0.25} \approx 4.02\times10^{-3}\ \text{T} \]

Electromagnets and their cores

An electromagnet is a solenoid used as a magnet that can be switched on and off. Its strength depends on:

  • the current (more current, stronger)
  • the number of turns (more turns, stronger)
  • how tightly the turns are packed (more turns per metre, stronger)
  • the core material inside the coil

A core of a ferromagnetic material (iron, nickel, cobalt and their alloys) makes an electromagnet hundreds or even thousands of times stronger. The coil's field magnetises the core, and the core's own field adds on top of the coil's. The formula \(B = \dfrac{\mu_0NI}{L}\) is for a coil with nothing (or air) inside; it doesn't include the core.

Choosing a core material (this is the focus of the secondary-source investigation below):

Core material Properties Good for
Soft iron Easily magnetised, giving a big increase in strength, and loses almost all of its magnetism as soon as the current is switched off Electromagnets that must switch on and off: scrapyard lifting magnets, relays, door locks, electric bells
Steel (a "hard" magnetic material) Harder to magnetise, but keeps its magnetism when the current stops Making permanent magnets; a poor choice for a switchable electromagnet
Ferrite (a magnetic ceramic) Magnetic, but doesn't conduct electricity, so little energy is wasted as heat when the current changes rapidly Electronics that use rapidly changing currents
Air or non-magnetic core No extra strength, but the field is exactly predictable and doesn't "saturate" (reach a limit) Very precise or very strong fields, e.g. the superconducting coils of MRI machines

Saturation: an iron core only helps up to a point. Once all of its tiny magnetic regions are lined up, increasing the current further adds very little extra strength.

Practical

Each practical below has two versions. Do the one your teacher chooses:

  • DIY version: simple equipment and household materials (for circuits, a small take-home kit), measured with a multimeter or a phone (phyphox). You can run most of it yourself.
  • In the lab: specialised equipment such as power packs, meters, and sensors with a data logger.

Your workbook has the same headings for both versions.

Practical 1: Factors affecting the strength of an electromagnet

Aim: to investigate how the current, the number of turns and the core material affect the strength of an electromagnet.

Predict first. For each factor, predict whether increasing it will make the electromagnet stronger or weaker.

Variable In this practical
Independent one at a time: the current, the number of turns, or the core material
Dependent the strength: paperclips lifted, or the field at a fixed distance
Controlled the other two factors; the length of the coil; the distance to the sensor

Equipment: a large iron nail; about 2 m of thin insulated wire (with the ends stripped); one to three AA batteries in holders; a box of steel paperclips; a pencil and a roll of aluminium foil (as non-iron "cores"); a phone with phyphox's Magnetometer (optional).

Method:

  1. Wind 20 turns of wire around the nail, close together. Connect the ends to one battery only while you're testing (a few seconds at a time).
  2. Dip the nail into the paperclips and count how many it lifts. Do three trials.
  3. Turns: increase to 30, 40 and 50 turns, testing each.
  4. Current: keep 50 turns, and test with one, two and three batteries in series.
  5. Core: keep 50 turns and one battery. Wind the same coil on a pencil, then on rolled-up foil, and test each.
  6. Optional: instead of paperclips, measure the field with phyphox at a fixed distance (say 5 cm) from the end of the nail. Record the reading with the coil off first, and subtract it.

Safety: the wire gets hot and the batteries drain quickly, because the coil has very low resistance. Connect only for a few seconds at a time. Use ordinary alkaline AA batteries only, and never mains power.

Equipment: a low-voltage DC power supply; an ammeter; a variable resistor; insulated wire; core rods (soft iron, steel, aluminium, wood) or a coil former with no core; steel washers or paperclips; a magnetic field sensor with a data logger (or phyphox); a switch.

Method:

  1. Wind a coil of 50 turns on the soft iron core. Connect it in series with the ammeter, variable resistor, switch and supply.
  2. Current: with the switch closed, set the current to 0.5, 1.0, 1.5 and 2.0 A. At each current, measure the field with the sensor at a fixed distance from the end of the core (or count the washers lifted). Switch off between readings.
  3. Turns: at a fixed current, repeat with 25, 50, 75 and 100 turns, keeping the coil the same length.
  4. Core: at a fixed current and number of turns, compare the core materials.

Safety: the coil gets hot at higher currents. Keep the current at or below 2 A and switch off between readings.

Results:

Factor changed Value (A, turns or material) Strength: trial 1 Strength: trial 2 Strength: trial 3 Average strength

Analysis:

  1. Plot the average strength against the current.
  2. Plot the average strength against the number of turns.
  3. Compare the core materials in a bar chart or a table. Which materials made the strongest electromagnets?

Questions:

  1. Why did the iron core make the electromagnet so much stronger than the pencil or foil?

    Answer

    Iron is ferromagnetic: the coil's field lines up the tiny magnetic regions (domains) inside the iron, so the iron becomes a strong magnet itself and adds its field to the coil's. Wood (a pencil) and aluminium aren't ferromagnetic, so they add almost nothing.

  2. Counting paperclips is a quick measure of strength. Give one limitation, and a better method.

    Answer

    Paperclips only give whole numbers, so small changes don't show up (poor resolution), and the result depends on how the nail is dipped and how the clips tangle. A magnetic field sensor (or phyphox) held at a fixed distance gives a continuous reading that can be repeated much more consistently.

Practical 2: Secondary-source investigation — choosing core materials

Research how the core material affects an electromagnet, and assess which material suits a given use. Use reliable sources (a physics textbook, a university or government science site, a manufacturer's technical data). Questions to answer:

  • How does a ferromagnetic core increase the strength of an electromagnet?
  • Compare soft iron and steel as core materials. Which would you choose for a scrapyard crane magnet, and why?
  • What does "saturation" mean for a core, and how does it limit an electromagnet?
  • Why do some devices use ferrite cores or no core at all?
  • How reliable are your sources? (Who wrote them, are they current, do they agree with each other?)

Practical 3 (optional): Measuring magnetic fields with a phone

Most phones contain a magnetometer, and the free phyphox app reads it out in microtesla (µT). First find where the sensor is in the phone (move a small magnet around it and watch for the biggest reading), and record the reading with no magnet nearby: that's mostly Earth's field, about 50 µT, which you'll need to subtract.

  • Bar magnet: measure the field at different distances from one pole. How quickly does it fall off?
  • Straight wire: tape a long straight wire to the bench and lay the phone beside it, with the sensor a fixed distance away. Measure the field for several currents and graph \(B\) against \(I\). Use \(B = \dfrac{\mu_0 I}{2\pi r}\) to predict the size of the field first: with a few amps at about a centimetre, it should be tens of µT.
Advanced

Superposition of magnetic fields. When a point is affected by more than one current-carrying wire, calculate each wire's field separately using \(B=\dfrac{\mu_0I}{2\pi r}\), find each direction with the grip rule, then combine them as vectors using the component method. Between two parallel wires carrying current the same way, their fields point in opposite directions, so there's a point where the field is zero.

Turns per metre. \(\dfrac{N}{L}\) is often written \(n\), the number of turns per metre, so \(B = \mu_0 nI\). Cutting a long solenoid in half keeps \(n\) (and so \(B\) inside) the same, even though each half has half the turns.

Combining wire and solenoid problems. E.g. finding the number of turns needed for a solenoid to match a target field strength, or the current a wire must carry to produce the same field at a given distance as a solenoid has inside it.

Extension

Beyond the syllabus for this course — won't appear in the HSC, included for interest / depth study inspiration.

📎 Depth study idea

Everything on this page is a static picture — steady currents producing steady magnetic fields. The genuinely interesting physics happens when that picture starts changing: a moving magnet, or a changing current, induces a voltage in a nearby conductor (electromagnetic induction) — the principle behind generators, transformers, and (run in reverse) motors. That's Year 12 content, not covered here, but a depth study now could research the real-world electromagnet applications this static picture already supports and does explain properly — MRI machines (extremely strong, precisely controlled electromagnets), maglev trains, industrial scrap-metal lifting magnets, or particle accelerators — as a bridge between "here's the formula" and "here's why anyone builds one of these."

Video/visual resources

  • 🖥️ PhET Simulation — Magnets and Electromagnets — bar magnet field with a movable compass, plus an electromagnet where you can change the current and number of coils
  • 🎥 Khan Academy — TODO: source a magnetic fields explainer. Must demonstrate the right-hand grip rule visually/physically (a hand actually gripping a wire), since it's a physical hand gesture that's much harder to learn from a diagram than from watching someone do it. Essential.
  • 🎥 Physics High — TODO: check for a NSW-syllabus-aligned magnetism video, ideally covering solenoids and electromagnets specifically (not just bar magnets), matching this page's emphasis and its suggested prac.

Check yourself

  1. Find the magnetic field strength \(0.05\ \text{m}\) from a wire carrying \(10\ \text{A}\).

    Answer

    \(B = \dfrac{\mu_0I}{2\pi r} = \dfrac{(4\pi\times10^{-7})(10)}{2\pi(0.05)} = 4\times10^{-5}\ \text{T}\)

  2. A solenoid with \(250\) turns over \(0.2\ \text{m}\) needs a field strength of \(3\times10^{-3}\ \text{T}\) inside it. Find the required current.

    Answer

    \(B = \dfrac{\mu_0NI}{L} \implies I = \dfrac{BL}{\mu_0N} = \dfrac{(3\times10^{-3})(0.2)}{(4\pi\times10^{-7})(250)} \approx 1.91\ \text{A}\)

  3. State three features of magnetic field lines.

    Answer

    Any three of: they point the way a compass's north pole would (N to S outside a magnet); they form closed loops (continuous, no start or end); they never cross; they're closer together where the field is stronger.

  4. A wire carries current into the page (⊗). Which way does its magnetic field go around it?

    Answer

    Clockwise. Point your right thumb into the page: your fingers curl clockwise.

  5. A student doubles the distance from a long straight wire. By what factor does the field change?

    Answer

    It halves. \(B \propto \dfrac{1}{r}\) for a straight wire (not an inverse square law).

  6. Suggest a suitable core for an electromagnet used to lift scrap cars and release them, and justify your choice.

    Answer

    Soft iron. It greatly increases the electromagnet's strength, so it can lift heavy loads, and it loses its magnetism as soon as the current is switched off, so the crane can drop the car. A steel core would stay magnetised and wouldn't let go.