Sections 17.2 and 17.6-17.8 in Matter and Interactions (4th edition)
Currents Make Magnetic Fields
Now that we have talked about a single moving charge and permanent magnets, the next source of magnetic fields that we are going to consider is currents (either comprised of electrons or some other charged particle). This builds on what we learned about moving charges and how they created magnetic fields - since a current is simply many moving charges through a wire. When there are many charged particles that are moving, we could calculate the net magnetic field at a point from each individual charge using superposition. However, this gets tedious very quickly. Instead, we will use an integral to add up over all the charges and the definition of current to re-write the Biot-Savart Law in terms of current and length, rather than charge and velocity. This integral description of the magnetic field is useful when the appropriate anti-derivative is known, but for some situations, we might have to resort to numerical integration (i.e., adding up the contributions of each segment of wire).
Magnetic field from Many Charges
If we consider a straight wire with a steady current, there would be many moving charges everywhere in wire that would all contribute to the magnetic field outside of the wire. If we take a “snapshot” of what the wire would look like at any given time, there would be charges moving somewhat haphazardly through the wire. We continue to use the Drude model for these charges and assume that we can model the wire with each charge moving with some average constant velocity in the wire. The magnetic field at a point would then be the sum of the magnetic fields from each moving charge, each of which would be a different distance away from Point P: →Btot=μ04πq1→v×^r1r21+μ04πq2→v×^r2r22+μ04πq3→v×^r3r23+...=Σiμ04πqi→v×^rir2i
Now we can rewrite the velocity in terms of the differential length and time: →v=d→ldt. In other words, velocity is simply the change in displacement (or length) over a change in time. →Btot=∫μ04πdq⋅d→ldt׈rr2
- The constant is the same as before (we haven't touched that)
- The current I tells you about the amount of charge per second flowing through the wire. This is a scalar number with units of Amps where A=Cs.
- The length d→l is now what we are integrating over - so we want to add up all the little bits of the wire that have current flowing through them. Since d→l originally came from the velocity vector, d→l should point in the same direction that the charges are moving in.
- The →r (and relatedly r and ˆr) is then the separation vector that point between the d→l (the source) and the observation location.
- The cross product between d→l and ˆr will still give us a direction for the magnetic field that is perpendicular to the separation vector and the direction that the charges move.
We will go into detail about how to put the pieces of this equation together in an example; however, it is important to realize that this equation doesn't really tell us anything new - we are still saying that moving charges will create magnetic fields that point in a perpendicular direction and can be calculated for every point in space around the charge. We also did not make very many assumptions in this derivation - only that we have many charges that are moving along the wire. Thus, this is a general equation that can be used for any current.
Magnetic Field from a Very Long Wire
Let's look at a particular example of finding the magnetic field a distance s away from a very long wire with some constant, steady state current I flowing from top to bottom. Since the wire is very long, we will assume for our purposes that it stretches from +∞ to −∞ in the y direction. If we start with the general magnetic field equation for a current, then we can start to fill in the pieces. →Btot=∫μ04πI⋅d→l׈rr2
Then we can write the →r as the separation vector that points from the source (the little bit of d→l) to the observation point. This works exactly the same way as before with electric field. Using →r=→robs−→rsource, we can write →robs and →rsource as →robs=⟨s,0,0⟩
Using the Pythagorean theorem then the magnitude of →r is simply: r=√y2+s2
Finally, we want to integrate from −∞ to +∞ since that is the full length of the wire. When we plug these into our magnetic field equation, we get: →Btot=μ0⋅I4π∫+∞−∞⟨0,−dy,0⟩×⟨s,−y,0⟩(y2+s2)3/2
The last step here is to take the cross product. Using the general equation for a cross product, we get: ⟨0,−dy,0⟩×⟨s,−y,0⟩=⟨(0⋅(−dy)−y⋅0),(−0⋅0+s⋅0),(0⋅(−y)−(−dy)⋅s)⟩=⟨0,0,s⋅dy⟩
Note this equation is only true for an infinitely long, straight wire with a constant current because of the assumptions we made when setting up the problem. Although, it can work reasonably well as a model for a wire that is long compared to the distance from the wire at which you want to know the magnetic field. The direction of the magnetic field is inherently assuming a positively charge current because I is the conventional current.
Examples
-
- Video Example: Magnetic Field from a Current Segment
-
- Video Example: Magnetic Field from a Ring of Current