An infinitely long wire, located on the z-axis, carries a current I along the +z-direction and produces the magnetic field B. The magnitude of the line integral ∫B⋅dl along a straight line from the point (−3a,a,0) to (a,a,0) is given by
[μ0 is the magnetic permeability of free space.]
Answer and worked solution
Official answer: A
For a long straight wire on the z-axis, B=2πrμ0Iϕ^, so B⋅dl=2πμ0Idϕ. The line integral depends only on the change in azimuthal angle.
The start (−3a,a) is at ϕ=150∘ and the end (a,a) at ϕ=45∘. The straight segment y=a does not encircle the wire, so ∣Δϕ∣=105∘=127π.