Magnetism and Electromagnetism
Learn magnets, magnetic fields, electromagnets, the force on a current-carrying wire and the d.c. motor, with worked O Level examples and practice questions.
Reviewed by Independent AI model review on 2026-11-16
Watch the worked example
Magnets attract some metals and push on other magnets without touching them. The region where this happens is the magnet's magnetic field. An electric current also produces a magnetic field, and this link between electricity and magnetism lets us build electromagnets and electric motors.
Key ideas
- A magnet has two poles, a north pole and a south pole. Like poles repel and unlike poles attract.
- Only a few metals are magnetic: iron, steel, cobalt and nickel. Copper, aluminium and plastics are not.
- Repulsion is the only sure test for a magnet. A magnet attracts unmagnetised iron too, so attraction alone proves nothing.
- A magnetic field is a region where a magnetic material feels a force. Its direction at a point is the direction a north pole would be pushed.
- Field lines outside a magnet leave the north pole and enter the south pole. Where the lines are closer together, the field is stronger.
- Soft iron is easily magnetised and demagnetised, so it is used for electromagnets. Steel is harder to magnetise but keeps its magnetism, so it is used for permanent magnets.
Magnetic fields
You can show the shape of a field with a plotting compass or iron filings. The needle of a compass points along the field line, with its north end pointing to the south pole of the magnet it is near.
Electromagnets
A current in a wire produces a magnetic field around it. For a straight wire the field lines are circles around the wire. To find their direction, grip the wire with your right hand with your thumb pointing along the conventional current: your fingers curl in the direction of the field. Winding the wire into a coil called a solenoid makes the fields of the turns add up, giving a field like that of a bar magnet.
An electromagnet is a solenoid with a soft iron core. It can be switched on and off, and its strength can be changed. It is made stronger by:
- increasing the current,
- increasing the number of turns,
- adding or using a soft iron core.
The poles reverse if the direction of the current is reversed. Electromagnets are used in scrap-yard cranes, electric bells, relays and circuit breakers.
To find the direction of the field, grip the solenoid with your right hand so your fingers curl in the direction of the current. Your thumb then points to the north pole end.
The motor effect
A wire carrying a current in a magnetic field experiences a force. This is the motor effect. The wire must not be parallel to the field. The force is greatest when the wire is at right angles to the field, and it is larger for a bigger current, a stronger field and a longer length of wire in the field.
Fleming's left-hand rule gives its direction. Hold the thumb and first two fingers of your left hand at right angles to each other:
- the first finger points along the Field (from north to south),
- the seCond finger points along the Current (the conventional current, from positive to negative),
- the thuMb points in the direction of the force (the Motion).
The simple d.c. motor
A rectangular coil sits between the poles of a magnet. The current flows down one side of the coil and back up the other, so the forces on the two sides are in opposite directions and the coil turns. A split-ring commutator reverses the current in the coil every half turn so that the forces keep turning it in the same direction. A larger current, a stronger magnet or more turns on the coil gives a greater turning force on the coil.
Worked example 1: direction of the force
A wire carries a current into the page. It lies between the north pole of a magnet on the left and the south pole on the right. What is the direction of the force on the wire?
The field runs from north to south, so it points from left to right. Point your first finger to the right and your second finger into the page. Your thumb points down. The force on the wire is downwards.
Worked example 2: changing the setup
For the wire in worked example 1, what is the direction of the force if (a) the current is reversed, (b) the magnets are swapped so that the field is reversed, (c) both are reversed?
(a) The current is now out of the page. The force reverses, so it is upwards.
(b) The field now runs right to left. The force reverses, so it is upwards.
(c) Two reversals cancel, so the force is downwards again.
Worked example 3: identifying a magnet
The same end of bar A is brought near each end of bar B, and it attracts both ends. The same end of bar A is brought near one end of bar C, and it repels it. Which bars are magnets?
Bar A repels bar C, and repulsion only happens between two magnets, so A and C are both magnets. The same end of A attracts both ends of B. If B were a magnet, one of its ends would repel that end of A. So B is not a magnet: it is unmagnetised iron (or steel, cobalt or nickel), which a magnet attracts at either end.
Worked example 4: strengthening an electromagnet
An electromagnet picks up 12 paper clips. Give three ways to make it pick up more.
Increase the current (use a larger supply voltage), wind more turns of wire on the coil, and use a soft iron core if there is not one already. Each change makes the magnetic field stronger.
More worked problems
These three exam-style problems are worked out step by step in the video "Magnetism and Electromagnetism: Practice Problems Solved" at the top of this page. Each solution is written out below, after the three problems. You can try new problems in "Try it yourself" afterwards.
Problem 1: force on a wire. A straight wire carries a current into the page. It lies in a magnetic field that points up the page. Find (a) the direction of the force on the wire. (b) Reverse the current and find the new direction of the force. (c) Turn the wire so that it is parallel to the field and say what happens. (d) Give three ways to increase the size of the force.
Problem 2: a crane electromagnet. A solenoid is used as an electromagnet in a scrap-yard crane. Viewed from the left end, the current goes clockwise round the coil. (a) Find which end is the north pole. (b) Say what happens when the current is reversed. (c) Give three ways to make the electromagnet stronger. (d) Explain why its core should be soft iron and not steel.
Problem 3: a d.c. motor. A simple d.c. motor has a rectangular coil between the poles of a magnet. (a) Explain why the two long sides of the coil are pushed in opposite directions. (b) Explain what the split-ring commutator does, and why the motor would not keep turning without it. (c) Give two ways to increase the turning force on the coil.
Solutions to the worked problems
Problem 1.
(a) Use Fleming's left-hand rule. Point the first finger up the page (the field) and the second finger into the page (the current). The thumb points to the right, so the force is to the right.
(b) The current is now out of the page. Reversing the current reverses the force, so the force is to the left.
(c) The motor effect needs the wire to cross the field. A wire parallel to the field is not at right angles to it, so there is no force.
(d) Use a larger current, a stronger magnetic field, or a longer length of wire in the field (at right angles to it).
Problem 2.
(a) Use the right-hand grip rule: curl the fingers of the right hand in the direction of the current, and the thumb points to the north pole. A clockwise current seen from the left end makes that end the south pole, so the right end is the north pole.
(b) Reversing the current swaps the poles: the left end becomes the north pole and the right end the south pole.
(c) Increase the current, wind more turns of wire, and use a soft iron core.
(d) Soft iron is easily magnetised and demagnetised. When the current is switched off the core loses its magnetism, so the crane can release the scrap. Steel would stay magnetised, so the crane could not release it.
Problem 3.
(a) The current flows one way along one side of the coil and the opposite way along the other side, and the magnetic field is in the same direction for both. By Fleming's left-hand rule the forces on the two sides are in opposite directions, so the coil turns.
(b) After half a turn the two sides have swapped places, so without any change the forces would turn the coil back the other way. The split-ring commutator reverses the current in the coil every half turn, so the forces keep turning the coil in the same direction.
(c) Use a larger current or a stronger magnet. More turns on the coil would also increase the turning force.
Try it yourself
These problems are not worked out in the videos.
Problem A. A wire carries a current to the right across the page. It lies in a magnetic field that points into the page. Find the direction of the force on the wire.
Problem B. The north end of bar X attracts one end of bar Y and repels the other end of bar Y. Is each bar a magnet? Explain.
Problem C. (a) Name one device that uses an electromagnet and explain why it needs an electromagnet rather than a permanent magnet. (b) Viewed from the right end of the coil, the current goes anticlockwise. Which end is the north pole?
Check your answers. A: up the page. B: Both are magnets, because repulsion only happens between two magnets. C: (a) for example an electric bell, a relay, a circuit breaker or a scrap-yard crane, because an electromagnet can be switched on and off; (b) the right end.
Common mistakes
- Saying a magnet attracts all metals. Only iron, steel, cobalt and nickel are magnetic.
- Testing for a magnet by attraction. Use repulsion. Attraction also happens with unmagnetised iron.
- Using the wrong hand. For the motor effect use Fleming's left-hand rule. The right-hand grip rule is for the field direction around a wire or a solenoid.
- Getting the field direction wrong. Field lines go from north to south outside the magnet.
- Using steel for the core of an electromagnet. Steel keeps its magnetism, so it cannot be switched off properly.
Quick summary
- Like poles repel, unlike poles attract. Only repulsion proves a magnet.
- Field lines run from north to south outside a magnet and are closest where the field is strongest.
- An electromagnet is a coil with a soft iron core. It is stronger with more current and more turns.
- A current in a magnetic field gives a force. Fleming's left-hand rule: Field, Current, Motion.
- The d.c. motor uses this force with a split-ring commutator to keep a coil turning.
Practice questions
Choose an answer to see whether you are right and why.
1. The north pole of one magnet is brought near the north pole of another magnet. What happens?
2. Why is soft iron used as the core of an electromagnet?
3. A wire carrying a current in a magnetic field experiences a force. What happens to the direction of the force if the current is reversed and the field is unchanged?
4. Which change makes an electromagnet stronger?
5. In Fleming's left-hand rule, what does the second finger represent?
Make your own study set
Upload your class notes, a PDF or a revision video and CampusBadge builds notes, flashcards and quizzes for you to practise with.
This lesson is a study guide, not the syllabus. Check what is examined in the official O Level Physics syllabus (5054) for your exam year.