Magnetic field lines are invisible highways that show the direction and relative strength of a magnetic field. They always start at the north pole of a magnet and curve around to end at the south pole.
Think of the field lines like invisible roads that a compass needle would naturally follow. The closer the filings or the needle is to the magnet, the steeper the “road” becomes.
Mathematically, the force on a moving charge in a magnetic field is given by the cross‑product:
\$\,\vec{F}=q\,\vec{v}\times\vec{B}\,\$
where \$q\$ is the charge, \$v\$ its velocity, and \$B\$ the magnetic field.
A compass needle is a tiny bar magnet that freely rotates. It aligns itself with the local magnetic field, pointing towards magnetic north.
Example: Place a straight wire carrying current upward. The compass will rotate to point perpendicular to the wire, following the right‑hand rule.
Block formula for the magnetic field around a long straight wire:
\$B=\frac{\mu_0 I}{2\pi r}\$
Here \$I\$ is the current, \$r\$ the distance from the wire, and \$\mu_0\$ the permeability of free space.
| Magnetic Field Direction | Compass Needle Orientation |
|---|---|
| North → South (around a bar magnet) | Needle points from its south pole to the magnet’s north pole |
| Perpendicular to a current‑carrying wire (right‑hand rule) | Needle rotates to align with the field, pointing to the right of the wire if current flows upward |