The correct option is C μoI(r2−r21)2πr(r22−r21)
Consider a closed path in the form of a circle of radius r.
If I′ is the current flowing through the circle of radius r, then using Ampere's law, we have
B(2πr)=μoI′
∴B=μoI′2πr ...(i)
Now, the current per unit area will be the same for all cross-sections.
∴J=Iπ(r22−r21)=I′π(r2−r21)
⇒I′=I(r2−r21)(r22−r21) ...(ii)
From (i) and (ii)
B=μoI(r2−r21)2πr(r22−r21)
Hence, option (c) is the correct answer.