Plot of the magnetic field $$B$$ inside and outside a current-carrying cylindrical conductor with radius $$R$$. Inside the current-carrying cylinder, the magnetic flux density $$B$$ increases linearly with the distance $$r$$ from the cylinder axis. Outside the cylinder, however, $$B$$ decreases with $$1/r$$.