Ampere's law elegantly handles cylindrical conductor problems. For a solid cylinder of radius R carrying uniform current I: inside (r<R), B=μ0Ir/(2πR2) — linearly increasing because the enclosed current grows as r2 while the circumference grows as r. Outside (r>R), B=μ0I/(2πr) — identical to a wire. Maximum field occurs at the surface: Bmax=μ0I/(2πR).
For a hollow cylinder (inner radius a, outer radius b): in the hollow region (r<a), B=0 (no enclosed current). Between walls (a<r<b): B=2πr(b2−a2)μ0I(r2−a2) — the enclosed current fraction is (r2−a2)/(b2−a2). Outside (r>b): same as a thin wire, B=μ0I/(2πr).
The B vs. r graph is a signature JEE question: linear rise inside solid conductors, $1/rdecayoutside,zeroinsidehollowregions.Foracoaxialcable(innerconductor+outersheathcarryingreturncurrent):B = 0outsidebothconductors,non−zeroonlybetweenthem.Thisprincipleunderlieselectromagneticshieldingincoaxialcables.