📘 CodingMarble Learn

Electricity and Magnetism

Electric charge and magnets are two sides of one idea. Rubbed objects hold static charge; magnets have poles and a field; a current makes a magnetic field; and a changing magnetic field makes a current (electromagnetic induction). Motors, generators and transformers all use these four steps.

🎬 Step-by-step story

  1. Here is a plastic rod and some paper bits. The rod is not charged yet, so nothing happens.
  2. We rub the rod. Electrons move onto it, so it holds charge (blue dots). Now it pulls the paper bits up. This is static electricity.
  3. Now a bar magnet. Small compass needles line up with its field: they leave the red north pole and go round to the blue south pole.
  4. Now a wire with current. Compass needles near the wire turn into a circle around it. A current makes a magnetic field!
  5. The other way round. Move a magnet in and out of a coil and the lamp glows. A changing magnetic field makes a current. This is electromagnetic induction. Stop the magnet and the lamp goes out.
  6. Free play: choose a station and use the slider. Rub more, turn the magnet, reverse the current, or move the magnet fast and slow.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why do the paper bits jump up to a charged rod, though they are not charged?

The rod pulls the opposite charge in each paper bit a little closer and pushes the same charge away. The pull on the nearer charge is stronger, so the paper is attracted. Watch it rise as you rub more.

Does a magnet attract everything?

No. It attracts only a few materials: iron, steel, nickel and cobalt. Paper, wood, plastic and copper are not pulled.

Why does a compass needle move when I bring it near a wire with current?

The current makes its own magnetic field in circles round the wire. The needle lines up with the sum of this field and the Earth's field. Make the current bigger and the needles turn more.

What happens if I reverse the current?

The magnetic field circles the other way, and the needles swing the opposite way. Use the slider in free play and go below zero.

Why does the lamp need the magnet to MOVE?

A voltage is made only when the magnetic field through the coil changes. A magnet that stays still gives no change, so no emf and no light.

Are electricity and magnetism the same thing?

They are two sides of one force, electromagnetism. A moving charge makes a magnetic field, and a changing magnetic field pushes charges. Try all four stations to see it.

Static electricity

All matter has tiny charges: positive protons and negative electrons. Usually they balance, so the object is neutral. When two different materials are rubbed together, electrons move from one to the other. The one that gains electrons becomes negative; the one that loses them becomes positive. The charge stays on the object (it is static) because plastic and glass do not let it flow away.

Two rules: like charges repel, unlike charges attract. A charged rod also attracts a neutral piece of paper, because it pulls the opposite charge in the paper a little closer.

Coulomb's law gives the force between two small charges: F = k q₁ q₂ / r², with k = 9 × 10⁹ N m²/C². Double the distance and the force becomes four times smaller. Charge is measured in coulomb (C); one electron has charge 1.6 × 10⁻¹⁹ C.

Conductors (metals) let charge flow; insulators (plastic, glass, dry air) do not. Uses and dangers: photocopiers, paint sprays and dust filters use static charge; lightning is a huge discharge, and a lightning conductor on a tall building carries it safely to the ground.

Magnetism

A magnet attracts iron, nickel and cobalt. Its pull is strongest at the two ends, the poles: north (N) and south (S). Like poles repel, unlike poles attract. You can never get a single pole: cut a magnet in two and each piece has both poles.

The space around a magnet where its force is felt is the magnetic field. We draw it with field lines: they leave the north pole, go round, and enter the south pole. Lines close together mean a strong field. A compass is a tiny magnet that lines up with the field; it points north because the Earth itself is a big magnet.

Materials: magnetic (iron, steel, nickel, cobalt) are pulled; copper, wood, plastic are not. Soft iron becomes magnetic easily and loses it quickly (good for electromagnets); steel keeps it (good for permanent magnets).

Current and magnetism

In 1820 Hans Christian Ørsted saw a compass needle turn near a wire with current. So moving charge makes a magnetic field.

Electromagnetic induction

In 1831 Michael Faraday found the reverse: a changing magnetic field makes a voltage. Move a magnet into a coil and a small voltage (emf) appears, so a current flows in a closed circuit. Hold the magnet still and nothing happens.

Faraday's law: induced emf = N × (change in magnetic flux ÷ time), or ε = N ΔΦ/Δt. To get a bigger emf: move the magnet faster, use a stronger magnet, or use more turns.

Lenz's law: the induced current flows in the direction that opposes the change that made it. (That is why it is harder to push a magnet into a closed coil: energy is being turned into electricity.)

Uses: a generator spins a coil in a field to make AC; a transformer uses a changing field in one coil to induce a voltage in another: Vs/Vp = Ns/Np; a dynamo lights a bicycle lamp; an induction cooker heats a pan by induced currents.

Try it: two small experiments

1. Static: rub a plastic pen on dry hair or wool for 20 seconds and bring it near tiny paper bits. Predict first: will a metal spoon do the same if you hold it in your hand? (It will not, because the charge flows away through you.)

2. Magnet and compass: bring a bar magnet near a compass. Turn the magnet around and watch the needle swing. Then wind a wire round a nail and connect it to a cell: can it pick up pins? Count how many more pins it picks up with twice as many turns.

Key formulas and definitions

Worked examples

1. Two small charges of 2 μC and 3 μC are 0.3 m apart in air. Find the force between them.

F = k q₁ q₂ / r² = 9 × 10⁹ × (2 × 10⁻⁶) × (3 × 10⁻⁶) ÷ (0.3)² = 9 × 10⁹ × 6 × 10⁻¹² ÷ 0.09 = 0.054 ÷ 0.09 = 0.6 N. If both are positive (or both negative) they repel.

2. A 0.3 m wire carries 4 A at right angles to a 0.5 T field. Find the force on it.

F = B I L = 0.5 × 4 × 0.3 = 0.6 N. Reverse the current and the force reverses direction.

3. A coil of 200 turns has its magnetic flux changed by 0.02 Wb in 0.5 s. Find the induced emf.

ε = N ΔΦ/Δt = 200 × 0.02 ÷ 0.5 = 8 V.

4. A transformer has 1000 turns on its primary and 50 turns on its secondary. The primary gets 230 V. What is the secondary voltage?

Vs = Vp × Ns/Np = 230 × 50/1000 = 11.5 V. It is a step-down transformer, like the one in a phone charger.

5. A vertical wire carries current upwards. Which way does the compass needle's field go round it, seen from above?

Point the right thumb up (current). The fingers curl anticlockwise when seen from above, so the field goes anticlockwise. This matches the needles in the 3D when the current is positive.

Common mistakes

Practice quiz

1. When a plastic rod is rubbed with wool, what moves?
2. Magnetic field lines outside a bar magnet go:
3. Who found that a current produces a magnetic field?
4. A lamp connected to a coil lights when a magnet is:
5. A transformer works on:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the relation between electricity and magnetism?

They are linked. A current (moving charge) makes a magnetic field, and a changing magnetic field makes an emf and current. Together they are called electromagnetism.

What is the difference between static electricity and current electricity?

Static electricity is charge that stays on an object after rubbing. Current electricity is charge flowing steadily along a conductor in a circuit.

Why does a moving magnet make a current but a still magnet does not?

A current is induced only when the magnetic flux through the coil changes. A still magnet gives a constant flux, so ΔΦ/Δt = 0 and the emf is zero.

Where this is taught

Japan高校(専門学科)1〜3年Electrical Theory
Japan高校(専門学科)1〜3年Advanced Physics

Learn first

Learn next

Related lessons

All Physics lessons