An infinitely long wire, located on the -axis, carries a current along the -direction and produces the magnetic field . The magnitude of the line integral along a straight line from the point to is given by [ is the magnetic permeability of free space.] [2024]
(1)
From figure,
Magnetic field,

or,
Here,

and
Putting the values of and in Eq. (i),
or,