A long straight wire of circular cross-section (radius ) is carrying steady current I. The current I is uniformly distributed across this cross-section. The magnetic field is
Inside the wire for the region , the current enclosed by an Amperian loop of radius depends on the cross-sectional area:
Applying Ampere's Law for this internal region:
This shows that inside the wire.
Outside the wire for the region , the Amperian loop of radius encloses the total current:
Applying Ampere's Law for this external region:
This shows that outside the wire.
Tagged Ampere's circuital law: cylinders, solenoids and toroids. Machine-assigned, so read it as a strong shortlist rather than a verdict.