Q. Inside a long straight uniform wire of round cross-section there is a long round cylindrical cavity whose axis is parallel to the axis of the wire and displaced from latter by a distance . If a direct current of density flows along the wire, then magnetic field inside the cavity will be

 2080  218 Moving Charges and Magnetism Report Error

Solution:

image
From Ampere’s law,
Inside the conductor at a distance from its axis


Vectorially,
Now, conductor has a cavity so we can assume that current in it is the superposition of positive current and negative current (in place of cavity).
Required magnetic field at point =Magnetic field at due to whole conductor - Magnetic field at due to cavity shaped conductor