Free Physics Class 12 CBSE notes · practise this chapter with an AI quiz

← All study notes

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.

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 qq moving with velocity v⃗\vec{v} in fields E⃗\vec{E} and B⃗\vec{B} feels the Lorentz force F⃗=q(E⃗+v⃗×B⃗)\vec{F} = q(\vec{E} + \vec{v} \times \vec{B}).

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:


F⃗B=q(v⃗×B⃗),FB=qvBsin⁡θ\vec{F}_B = q(\vec{v} \times \vec{B}), \qquad F_B = qvB\sin\theta

- Zero when the charge is at rest or moves parallel to B⃗\vec{B}
- Maximum, qvBqvB, when v⃗\vec{v} is perpendicular to B⃗\vec{B}
- Always perpendicular to the velocity, so it does no work

Worked example. A proton moves at 2×1062 \times 10^6 m s−1^{-1} perpendicular to a 0.50.5 T field:

F=qvB=1.6×10−19×2×106×0.5=1.6×10−13 NF = qvB = 1.6 \times 10^{-19} \times 2 \times 10^6 \times 0.5 = 1.6 \times 10^{-13} \text{ N}

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 qvBqvB provides the centripetal force; its radius is r=mvqBr = \dfrac{mv}{qB} and its period is T=2πmqBT = \dfrac{2\pi m}{qB}, which does not depend on speed.

Derivation:


qvB=mv2r⇒r=mvqB,T=2πrv=2πmqBqvB = \frac{mv^2}{r} \Rightarrow r = \frac{mv}{qB}, \qquad T = \frac{2\pi r}{v} = \frac{2\pi m}{qB}

Worked example. An electron of mass 9.1×10−319.1 \times 10^{-31} kg moves at 3×1073 \times 10^7 m s−1^{-1} perpendicular to a field of 10−310^{-3} T:

r=9.1×10−31×3×1071.6×10−19×10−3=2.73×10−231.6×10−22≈0.17 mr = \frac{9.1 \times 10^{-31} \times 3 \times 10^7}{1.6 \times 10^{-19} \times 10^{-3}} = \frac{2.73 \times 10^{-23}}{1.6 \times 10^{-22}} \approx 0.17 \text{ m}

At an angle to the field. The velocity component along B⃗\vec{B} is unchanged, while the perpendicular component produces circular motion, so the path is a helix with pitch v∥Tv_{\parallel}T.

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 ll carrying current II in a uniform field BB feels F⃗=Il⃗×B⃗\vec{F} = I\vec{l} \times \vec{B}, of magnitude IlBsin⁡θIlB\sin\theta, because the magnetic forces on all its drifting electrons add up.

Derivation.
The conductor holds nAlnAl free electrons, each drifting at vdv_d and feeling evdBev_dB:

F=(nAl)(evdB)=(neAvd)lB=IlBF = (nAl)(ev_dB) = (neAv_d)lB = IlB

In vector form, F⃗=Il⃗×B⃗\vec{F} = I\vec{l} \times \vec{B}, with l⃗\vec{l} along the current; Fleming's left-hand rule gives the direction.

Worked example. A 0.20.2 m wire carries 55 A at 30∘30^\circ to a 0.40.4 T field:

F=5×0.2×0.4×sin⁡30∘=0.2 NF = 5 \times 0.2 \times 0.4 \times \sin 30^\circ = 0.2 \text{ N}

Balancing weight. A horizontal wire can hover in a horizontal field when IlB=mgIlB = mg. For m=10m = 10 g, l=0.5l = 0.5 m and B=0.2B = 0.2 T:

I=mglB=0.01×9.80.5×0.2=0.98 AI = \frac{mg}{lB} = \frac{0.01 \times 9.8}{0.5 \times 0.2} = 0.98 \text{ A}

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 sin⁡0∘=0\sin 0^\circ = 0.

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 dB=μ04πI dlsin⁡θr2dB = \dfrac{\mu_0}{4\pi}\dfrac{I\,dl\sin\theta}{r^2}, and adding these around a circular loop of radius RR gives B=μ0IR22(x2+R2)3/2B = \dfrac{\mu_0 IR^2}{2(x^2 + R^2)^{3/2}} on its axis and B=μ0I2RB = \dfrac{\mu_0 I}{2R} at its centre.

The law in vector form:


dB⃗=μ04πI dl⃗×r^r2,μ0=4π×10−7 T m A−1d\vec{B} = \frac{\mu_0}{4\pi}\frac{I\,d\vec{l} \times \hat{r}}{r^2}, \qquad \mu_0 = 4\pi \times 10^{-7} \text{ T m A}^{-1}

Circular loop, on its axis. Every element is x2+R2\sqrt{x^2 + R^2} from a point on the axis. The components perpendicular to the axis cancel in pairs and the axial components add:

B=μ0IR22(x2+R2)3/2B = \frac{\mu_0 IR^2}{2(x^2 + R^2)^{3/2}}

At the centre, x=0x = 0, so B=μ0I2RB = \dfrac{\mu_0 I}{2R}; for NN turns, multiply by NN.

Worked example. A coil of 100100 turns and radius 0.10.1 m carries 11 A. At its centre:

B=Nμ0I2R=100×4π×10−7×12×0.1=2π×10−4≈6.28×10−4 TB = \frac{N\mu_0 I}{2R} = \frac{100 \times 4\pi \times 10^{-7} \times 1}{2 \times 0.1} = 2\pi \times 10^{-4} \approx 6.28 \times 10^{-4} \text{ T}

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 1r2\dfrac{1}{r^2}, but the magnetic field is perpendicular to both the current element and r^\hat{r}.
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: F⃗=q(E⃗+v⃗×B⃗)\vec{F} = q(\vec{E} + \vec{v} \times \vec{B}); the magnetic part does no work
- Circular motion: r=mvqBr = \dfrac{mv}{qB} and T=2πmqBT = \dfrac{2\pi m}{qB}, independent of speed
- Velocity selector: v=EBv = \dfrac{E}{B}
- Force on a wire: F=IlBsin⁡θF = IlB\sin\theta
- Loop field: μ0I2R\dfrac{\mu_0 I}{2R} at the centre; μ0IR22(x2+R2)3/2\dfrac{\mu_0 IR^2}{2(x^2 + R^2)^{3/2}} on the axis

The trap. Ignoring the sign of the charge. A negative charge feels a force opposite to the direction of v⃗×B⃗\vec{v} \times \vec{B}.
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.
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.
Key takeaways

What must you be able to do from this part?

- Oersted and Lorentz: currents produce magnetic fields; F⃗=q(E⃗+v⃗×B⃗)\vec{F} = q(\vec{E} + \vec{v} \times \vec{B}), with the magnetic part doing no work
- Circular motion: r=mvqBr = \dfrac{mv}{qB} and T=2πmqBT = \dfrac{2\pi m}{qB}; an electron at 3×1073 \times 10^7 m s−1^{-1} in 10−310^{-3} T circles with r≈0.17r \approx 0.17 m
- Force on a conductor: F=IlBsin⁡θF = IlB\sin\theta, such as 0.20.2 N in the example
- Biot-Savart law: loop field μ0NI2R\dfrac{\mu_0 NI}{2R} at the centre, about 6.28×10−46.28 \times 10^{-4} T for 100100 turns, 11 A and 0.10.1 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?

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Moving Charges and Magnetism — Part 1Create a free account
← Back to all articles