The value of the magnetic field at a distance x from along straight current-carrying conductor is proportional to :
Magnetic field due to a long straight current carrying wire at a distance x =
Hence magnetic field is inversely proportional to the distance x from the wire