The magnetic field inside a solenoid is uniform and strong, while outside the solenoid, the magnetic field lines resemble that of a bar magnet. Below is a ray diagram showing the magnetic lines of force for a current-carrying solenoid.
The magnetic lines inside the solenoid are parallel and equidistant, indicating a uniform magnetic field. Outside the solenoid, the lines spread out and curve, forming closed loops. The solenoid behaves like a bar magnet, with distinct north and south poles.
% Topic - Magnetism: Magnetic Field due to a Current Carrying Solenoid
\vspace{0.5cm}
\hrule
\vspace{0.5cm}
4.