Why a Compass Needle Swings Near a Current-Carrying Wire
See how Oersted's experiment links electricity and magnetism, find the force on a moving charge in magnetic and electric fields, work out the radius and period of circular motion in a magnetic field, derive the force on a current-carrying wire, and use the Biot-Savart law for a circular loop.
How are electricity and magnetism connected?
A compass placed near a wire carrying current swings away from north. That simple observation shows that moving charges produce magnetic fields and feel magnetic forces — the basis of electric motors, loudspeakers and particle accelerators.
This part covers Oersted's experiment and the force on moving charges, circular motion in a magnetic field, the force on a current-carrying conductor, and the Biot-Savart law.
This part covers Oersted's experiment and the force on moving charges, circular motion in a magnetic field, the force on a current-carrying conductor, and the Biot-Savart law.
What does Oersted's experiment show, and what force acts on a moving charge in magnetic and electric fields?
**Oersted's experiment shows that a current-carrying wire deflects a nearby compass needle, so electric currents produce magnetic fields; a charge moving with velocity in fields and feels the Lorentz force .
The experiment. A compass needle below a straight wire points north-south. When current flows, the needle turns; reversing the current turns it the other way; moving the needle above the wire also reverses the deflection. The magnetic field forms circles around the wire.
Magnetic force:**
- Zero when the charge is at rest or moves parallel to
- Maximum, , when is perpendicular to
- Always perpendicular to the velocity, so it does no work
Worked example. A proton moves at m s perpendicular to a T field:
An everyday example. A compass held close to thick household wiring carrying current can point the wrong way, showing the magnetic field of the current.
The substance. A magnetic force can change a charge's direction but never its speed, because it does no work.
The experiment. A compass needle below a straight wire points north-south. When current flows, the needle turns; reversing the current turns it the other way; moving the needle above the wire also reverses the deflection. The magnetic field forms circles around the wire.
Magnetic force:**
- Zero when the charge is at rest or moves parallel to
- Maximum, , when is perpendicular to
- Always perpendicular to the velocity, so it does no work
Worked example. A proton moves at m s perpendicular to a T field:
An everyday example. A compass held close to thick household wiring carrying current can point the wrong way, showing the magnetic field of the current.
The substance. A magnetic force can change a charge's direction but never its speed, because it does no work.
How does a charged particle move in a uniform magnetic field, and how do you find its radius and period?
**A charge moving perpendicular to a uniform magnetic field follows a circle, because the magnetic force provides the centripetal force; its radius is and its period is , which does not depend on speed.
Derivation:**
Worked example. An electron of mass kg moves at m s perpendicular to a field of T:
At an angle to the field. The velocity component along is unchanged, while the perpendicular component produces circular motion, so the path is a helix with pitch .
An everyday example. The glowing lights seen in polar skies come from charged particles spiralling along Earth's magnetic field lines into the upper atmosphere.
The substance. The period does not depend on speed — faster particles move in bigger circles but take the same time per revolution, the principle behind the cyclotron.
Derivation:**
Worked example. An electron of mass kg moves at m s perpendicular to a field of T:
At an angle to the field. The velocity component along is unchanged, while the perpendicular component produces circular motion, so the path is a helix with pitch .
An everyday example. The glowing lights seen in polar skies come from charged particles spiralling along Earth's magnetic field lines into the upper atmosphere.
The substance. The period does not depend on speed — faster particles move in bigger circles but take the same time per revolution, the principle behind the cyclotron.
How do you derive the force on a current-carrying conductor in a uniform magnetic field?
**A straight conductor of length carrying current in a uniform field feels , of magnitude , because the magnetic forces on all its drifting electrons add up.
Derivation.** The conductor holds free electrons, each drifting at and feeling :
In vector form, , with along the current; Fleming's left-hand rule gives the direction.
Worked example. A m wire carries A at to a T field:
Balancing weight. A horizontal wire can hover in a horizontal field when . For g, m and T:
An everyday example. A loudspeaker cone moves in and out because the varying current in its coil feels a changing force in the field of a permanent magnet.
The substance. A wire lying parallel to the field feels no force, since .
Derivation.** The conductor holds free electrons, each drifting at and feeling :
In vector form, , with along the current; Fleming's left-hand rule gives the direction.
Worked example. A m wire carries A at to a T field:
Balancing weight. A horizontal wire can hover in a horizontal field when . For g, m and T:
An everyday example. A loudspeaker cone moves in and out because the varying current in its coil feels a changing force in the field of a permanent magnet.
The substance. A wire lying parallel to the field feels no force, since .
What does the Biot-Savart law state, and how do you find the magnetic field of a circular current loop?
**The Biot-Savart law gives the field of a small current element as , and adding these around a circular loop of radius gives on its axis and at its centre.
The law in vector form:**
Circular loop, on its axis. Every element is from a point on the axis. The components perpendicular to the axis cancel in pairs and the axial components add:
At the centre, , so ; for turns, multiply by .
Worked example. A coil of turns and radius m carries A. At its centre:
An everyday example. The coil inside an electric bell produces a concentrated magnetic field at its centre whenever current flows, just as this result predicts.
The substance. The Biot-Savart law is the magnetic partner of Coulomb's law — both fall as , but the magnetic field is perpendicular to both the current element and .
The law in vector form:**
Circular loop, on its axis. Every element is from a point on the axis. The components perpendicular to the axis cancel in pairs and the axial components add:
At the centre, , so ; for turns, multiply by .
Worked example. A coil of turns and radius m carries A. At its centre:
An everyday example. The coil inside an electric bell produces a concentrated magnetic field at its centre whenever current flows, just as this result predicts.
The substance. The Biot-Savart law is the magnetic partner of Coulomb's law — both fall as , but the magnetic field is perpendicular to both the current element and .
Exam tip
What earns full marks on magnetic force and the Biot-Savart law?
Draw the velocity or current and the field on your diagram, and state the direction of every force using a hand rule.
- Lorentz force: ; the magnetic part does no work
- Circular motion: and , independent of speed
- Velocity selector:
- Force on a wire:
- Loop field: at the centre; on the axis
The trap. Ignoring the sign of the charge. **A negative charge feels a force opposite to the direction of .**
- Lorentz force: ; the magnetic part does no work
- Circular motion: and , independent of speed
- Velocity selector:
- Force on a wire:
- Loop field: at the centre; on the axis
The trap. Ignoring the sign of the charge. **A negative charge feels a force opposite to the direction of .**
Did you know
How do hospital MRI scanners use magnetic fields?
An MRI scanner surrounds the patient with a very strong magnetic field produced by large coils carrying current, often cooled so that the current flows with almost no resistance.
The field lines up tiny magnetic properties of hydrogen nuclei in the body's water. Radio pulses then tip them, and as they relax they give off signals that a computer turns into detailed images of soft tissue.
The whole machine rests on the idea from this lesson that currents in coils create magnetic fields — here, fields many thousands of times stronger than Earth's.
The field lines up tiny magnetic properties of hydrogen nuclei in the body's water. Radio pulses then tip them, and as they relax they give off signals that a computer turns into detailed images of soft tissue.
The whole machine rests on the idea from this lesson that currents in coils create magnetic fields — here, fields many thousands of times stronger than Earth's.
Exam relevance
How are magnetic force, circular motion and the Biot-Savart law tested in JEE Main and NEET?
Moving Charges and Magnetism is a unit in both JEE Main and NEET Physics, and these results are among its most used.
What gets asked. Radius, period and frequency of charged particles in a magnetic field, helical paths, velocity selectors, forces on straight and bent current-carrying wires, and fields at the centre of circular arcs and loops. JEE Advanced combines magnetic forces with electric fields and energy.
Question types. Numerical questions in both exams, and statement or assertion-reason questions on the properties of magnetic force in NEET.
The trap that costs marks. Thinking a magnetic field can speed up a charge — it only changes the direction of motion.
What gets asked. Radius, period and frequency of charged particles in a magnetic field, helical paths, velocity selectors, forces on straight and bent current-carrying wires, and fields at the centre of circular arcs and loops. JEE Advanced combines magnetic forces with electric fields and energy.
Question types. Numerical questions in both exams, and statement or assertion-reason questions on the properties of magnetic force in NEET.
The trap that costs marks. Thinking a magnetic field can speed up a charge — it only changes the direction of motion.
Key takeaways
What must you be able to do from this part?
- Oersted and Lorentz: currents produce magnetic fields; , with the magnetic part doing no work
- Circular motion: and ; an electron at m s in T circles with m
- Force on a conductor: , such as N in the example
- Biot-Savart law: loop field at the centre, about T for turns, A and m
A proton and an alpha particle enter the same magnetic field at equal speeds. Which moves in the larger circle, and by what factor?
- Circular motion: and ; an electron at m s in T circles with m
- Force on a conductor: , such as N in the example
- Biot-Savart law: loop field at the centre, about T for turns, A and m
A proton and an alpha particle enter the same magnetic field at equal speeds. Which moves in the larger circle, and by what factor?