Magnetic Field and Field Lines
Why does a compass needle get deflected when brought near a bar magnet?
A compass needle is a small bar magnet that is free to rotate. It has its own magnetic field with a north pole and a south pole.
When brought near a bar magnet, the compass needle experiences a force due to the magnetic field of the bar magnet.
The north pole of the compass needle is attracted towards the south pole of the bar magnet and repelled by the north pole. Similarly, the south pole of the compass needle is attracted towards the north pole of the bar magnet.
This torque (turning force) causes the compass needle to deflect and align itself along the direction of the magnetic field of the bar magnet at that point.
Answer: The compass needle gets deflected because it is a small magnet itself, and it experiences a force due to the magnetic field of the bar magnet, causing it to align along the field direction.
