One of the four Maxwell’s equations, Gauss’s law for magnetism states that the net magnetic flux out of any closed surface is zero. This is expressed mathematically as \(\oint_S \vec{B} \cdot d\vec{A} = 0\). This law is a statement of the experimental observation that magnetic monopoles (isolated north or south poles) have never been detected. Magnetic field lines always form closed loops.





