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.]
SOLUTION
The z-axis carries an infinitely long straight wire with current I along +z.
At a point with position vector r=xi^+yj^ in the xy-plane its magnetic field is
B=2πrμ0Iϕ^,r=x2+y2
For current in +z, ϕ^=−sinϕi^+cosϕj^, where tanϕ=xy.
With x variable and constant y=a (our path), we have
sinϕ=ra,cosϕ=rx
Hence
B=2πrμ0I(−rai^+rxj^)=2πr2μ0I(−ai^+xj^)
The required line integral is taken along the straight segment
from P1(−3a,a,0) to P2(a,a,0).
Along this segment y=a,z=0 and x varies, so