184_notes:b_current

Sections 17.2 and 17.6-17.8 in Matter and Interactions (4th edition)

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 on point P from many moving charges in a wire

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πq1v×^r1r21+μ04πq2v×^r2r22+μ04πq3v×^r3r23+...=Σiμ04πqiv×^rir2i

Since we have many small charges that we are adding the field contributions from, we can turn the summation into an integral and the individual charges qi into dq: Btot=μ04πdqv׈rr2
Again this equation just says that we are going to add together the magnetic field contributions at a point from every charge (dq) that is moving in the wire.

Now we can rewrite the velocity in terms of the differential length and time: v=dldt. In other words, velocity is simply the change in displacement (or length) over a change in time. Btot=μ04πdqdldt׈rr2

Since dt represents a small amount of time, dl represents a small amount of length, and dq represents a small amount of charge, we will treat these as independent and rewrite (much to the chagrin of our mathematician friends): dqdldt=dqdldt=dqdtdl
So our magnetic field equation then becomes: Btot=μ04πdqdtdl׈rr2
We can now use the definition of current as the amount of charge passing a point per second (I=dqdt) to give the Biot-Savart Law in terms of current instead of charge: Btot=μ04πIdl׈rr2
Note that I here is the conventional current, not the electron current. Otherwise many of the pieces of this equation would be what you expected:

B field contribution of a little bit of length (dl) on point P
  • 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 dl 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 dl originally came from the velocity vector, dl 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 dl (the source) and the observation location.
  • The cross product between dl 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.

Problem set up to find the magnetic field at a point 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πIdl׈rr2

We will plug in the ˆr=rr definition and pull the constants (including I) out of the integral: Btot=μ0I4πdl×rr3
The dl is a little bit of length in the y-direction (just like what we did with electric field) but now it has a direction. Since the current goes from top to bottom, we would say the direction of the dl is down. So we can rewrite the dl as: dl=0,dy,0

Then we can write the r as the separation vector that points from the source (the little bit of dl) to the observation point. This works exactly the same way as before with electric field. Using r=robsrsource, we can write robs and rsource as robs=s,0,0

rsource=0,y,0
r=s,0,00,y,0=s,y,0
We denote the rsource with a variable y since the position of dl can change depending on where in the wire you are.

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=μ0I4π+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)y0),(00+s0),(0(y)(dy)s)=0,0,sdy

So the final set up for our magnetic field is: Btot=μ0I4π+sdy(y2+s2)3/2ˆz
If we plug this into Wolfram Alpha to do the integral, we get: Btot=μ0I4π2ss2ˆz
Blongwire=μ0I2πsˆz
Now we can check the direction of our solution using the right hand rule. If you point your fingers on your right hand in the direction of dl (aka down) and curl them in the direction of the r, your thumb will be pointing out of the page, which is positive ˆz. If P was on the left of the wire instead of the right, we would get the magnetic field pointing into the page (or a ˆz) rather than out of the page. Try to confirm this using the right hand rule.

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.

  • 184_notes/b_current.txt
  • Last modified: 2021/07/07 15:29
  • by schram45