Return to Currents make Magnetic Fields notes

Magnetic Field from a Current Segment

The notes outline how to find the magnetic field from a very long wire of current. Now, what is the magnetic field from a single segment? Suppose we have the configuration shown below. Your observation point is at the origin, and the segment of current I runs in a straight line from L,0,0 to 0,L,0.

Segment of Current

Facts

Lacking

Approximations & Assumptions

Representations

B=μ04πIdl×rr3

Solution

Below, we show a diagram with a lot of pieces of the Biot-Savart Law unpacked. We show an example dl, and a separation vector r. Notice that dl is directed along the segment, in the same direction as the current. The separation vector r points as always from source to observation.

Segment of Current

For now, we write dl=dx,dy,0

We write the y-component with a negative sign so that dy can be positive. For the separation vector, we write r=robsrsource=0,0,0x,y,0=x,y,0

Notice that we can rewrite y as y=xL. This equation comes from the equation for a straight line, y=mx+b, where the slope of the line (or wire in this case) is m=1 and the y-intercept of the wire is at b=L. An alternate solution to this example could also be to rotate the coordinate system so that the x or y axis lines up with wire. If finding y is troublesome, it may be helpful to rotate your coordinate axes.

Breakdown of dl-vector

We can use geometric arguments to say that dy=dx. See the diagram above for an insight into this geometric argument. We can now plug in to express dl and r in terms of x and dx: dl=dx,dx,0

r=x,L+x,0
Now, we can take the cross product and find the magnitude of the r: dl×r=0,0,dx(L+x)(dx)(x)=0,0,Ldx=Ldxˆz
r3=(x2+(L+x)2)3/2
The last thing we need is the bounds on our integral. Our variable of integration is x, since we chose to express everything in terms of x and dx. (Earlier we could have equally have chosen to write everything in terms of y and dy though.) We know that our segment begins at x=L, and ends at x=0, so these will be the limits on our integral. Below, we write the integral all set up, and then we evaluate using some assistance some Wolfram Alpha. B=μ04πIdl×rr3=0Lμ04πILdx(x2+(L+x)2)3/2ˆz=μ02πILˆz

You can try to do this by adjusting your x-y coordinate system as well (this is in the example video), and you will get the exact same solution. This is a great way to get some practice solving these problems and it gives you other solutions to check your answer with.