This is an old revision of the document!
Putting Ampere's Law together
Now, that we have built the two sides of the equation let's review and put everything together to find the magnetic field outside of a long straight wire. This model of a long straight wire is usually pretty good for many situations where you want to determine the magnetic field near the wire. When you start to get farther from it, the ends of the wire become problematic and we might have to develop a new model.
Outside a long straight wire
Consider a long straight wire with a uniform current Itot.
add figure
Left-hand side
As we have argued, the magnetic field curls around the wire. So long as the wire has a uniform steady current, that magnitude of that magnetic field will constant at any fixed distance from the wire. This lead us to derive the left-hand side of Ampere's Law for an Amperian loop of radius R centered on the wire,
∮B⋅dl=B∮dl=B2πR.
For the purposes of this page, we will assume that R is greater than the radius of the wire.
Right-hand side
Given that our Amperian loop is larger than the radius of the wire, the total enclosed current is just Itot. So the left hand side of Ampere's Law is simply,
μ0Ienc=μ0Itot.
Put it together
Combining the two sides of Ampere's law, we can find the magnitude of the magnetic field produced by the wire at a distance R from the center of the wire.
∮B⋅dl=mu0Ienc
This is exactly the result we obtained with Biot-Savart for a very long wire, but by doing a much more complicated integral.
What is the direction of this field? It circulates around the as dictated by the right-hand rule.
What happens inside the wire? That is the subject of the example below.
Example
* Magnetic field inside a wire