Magnetic Field of a Long Straight Wire
Main Idea
Mathematical Model
Imagine centering a wire of length [math]\displaystyle{ L }[/math] on the y-axis, and having a current [math]\displaystyle{ I }[/math] run through the wire in the +y direction. We are interested in finding the magnetic field at some point along the z axis, say [math]\displaystyle{ (0,0,z) }[/math].
From here, we use the Biot-Savart Law:
- [math]\displaystyle{ d\mathbf{B} = \frac{\mu_{0}}{4\pi} \frac{I d\mathbf{L} \times \mathbf{\hat r}}{r^2} }[/math]
In our case, [math]\displaystyle{ \mathbf{\hat r} }[/math] is simply a unit vector in the direction of a point along the wire [math]\displaystyle{ (0,y,0) }[/math] to a point along the z-axis [math]\displaystyle{ (0,0,z) }[/math]. This can be represented by:
- [math]\displaystyle{ \mathbf{\hat r} = \frac{\mathbf{r}}{|\mathbf{r}|} = \frac{(0,0,z) - (0,y,0)}{\left|(0,0,z) - (0,y,0) \right|} = \frac{(0,-y,z)}{\left|(0,-y,z)\right|} = \frac{(0,-y,z)}{\sqrt{y^2 + z^2}} }[/math]
In our case, [math]\displaystyle{ d\mathbf{L} }[/math] is simply a vector pointing along a length of the wire. Since our wire is solely along the y-axis, this can be reduced as follows:
- [math]\displaystyle{ d\mathbf{L} = d \Bigr[(0,y,0)\Bigr] = (0,dy,0) }[/math]
Now we can compute the absolute value of the cross product between [math]\displaystyle{ \mathbf{\hat r} }[/math] and [math]\displaystyle{ d\mathbf{L} }[/math], where [math]\displaystyle{ r = \sqrt{y^2 + z^2} }[/math]:
- [math]\displaystyle{ |d\mathbf{L} \times \mathbf{\hat r}| = \left|\begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 0 & -\frac{y}{r} & \frac{z}{r} \\ 0 & dy & 0 \end{vmatrix}\right| = \Biggr| \ \mathbf{i} \biggr[0 \times \left(- \frac{y}{r}\right) - \frac{z}{r} dy \biggr] - \mathbf{j} \biggr[0 - 0 \times \frac{z}{r} \biggr] + \mathbf{k} \biggr[0 \times dy - 0 \times \left(-\frac{y}{r}\right) \biggr] \ \Biggr| = \Biggr| \ \mathbf{i}\biggr[-\frac{z}{r}dy \biggr] - \mathbf{j}\biggr[0 \biggr] + \mathbf{k}\biggr[0 \biggr] \ \Biggr| = \Biggr| \ \left(-\frac{z}{r}dy,0,0\right) \ \Biggr| = \left(\frac{z}{r}dy, 0, 0\right) }[/math]
Thus we have:
- [math]\displaystyle{ d\mathbf{B} = \frac{\mu_{0}}{4\pi} \frac{I \left(\frac{z}{r}dy, 0, 0\right)}{r^2} = \frac{\mu_{0}}{4\pi} \frac{Iz}{r^3}dy = \frac{\mu_{0}}{4\pi} \frac{Iz}{(y^2 + z^2)^{3/2}}dy }[/math]
To find the total magnetic field at a point along the z-axis due to the wire, we integrate from one end of the wire to the other end of the wire, or in this case:
- [math]\displaystyle{ -\frac{L_0}{2} }[/math] to [math]\displaystyle{ \frac{L_{0}}{2} }[/math], since the wire is centered at the origin and along the y-axis.
The integral then is:
- [math]\displaystyle{ \int d\mathbf{B} = \int_{-L_0/2}^{L_0/2} \frac{\mu_{0}}{4\pi} \frac{Iz}{(y^2 + z^2)^{3/2}}dy = \frac{\mu_0}{4\pi} \frac{IL}{z\sqrt{z^2 + (L/2)^2}} }[/math]
Therefore, the total magnetic field [math]\displaystyle{ B }[/math] due to a wire of length [math]\displaystyle{ L }[/math] with current [math]\displaystyle{ I }[/math] at a distance [math]\displaystyle{ z }[/math] away from the wire is:
- [math]\displaystyle{ B = \frac{\mu_0}{4\pi} \frac{IL}{z\sqrt{z^2 + (L/2)^2}} }[/math]
Approximation
If it is known that [math]\displaystyle{ L \gt \gt z }[/math], then the denominator of the above formula can be approximated by:
- [math]\displaystyle{ \sqrt{z^2+(L/2)^2} \approx \frac{L}{2} }[/math]
Therefore, if you have a really long wire, and you are trying to find the magnetic field of a point relatively close to the rod, you can use the approximation:
- [math]\displaystyle{ B = \frac{\mu_0}{4\pi} \frac{2I}{\sqrt{z^2 + (L/2)^2}} }[/math] [1]
In most situations, at least in the scope of this course, it is stated in the question whether or not you can use the approximation. This can come in a few different forms: "assume z<<L," "assume the length of the wire is much longer than than the distance from the wire to the observation location," etc. However, if it is not explicitly stated, a good rule of thumb is that if the length of the wire is 100 times+ the [math]\displaystyle{ z }[/math], we can use the approximation formula. Otherwise, it is smart to just play it safe and use the full formula.
Application with a Compass
As you have already seen in lab (or you will see soon, depending on how far along the semester you are), if you run a current through a wire and place a compass near it, the needle of the compass deflects due to the magnetic field from this wire. In fact, the amount of deflection that there is from the wire can actually help you calculate the approximate magnetic field of the wire. This is because there is a particular relationship between the needle of the compass, the magnetic field of the wire, and the magnetic field of the Earth itself that looks like this:
- [math]\displaystyle{ |B_w| = |B_E| \text{tan}\theta }[/math]
The Earth itself has a magnetic field anywhere on the Earth (based on location it varies slightly, but it is easier to assume it is constant) of approximately [math]\displaystyle{ 2e^{-5} \ \text{T} }[/math]. We ourselves normally do not notice this by looking at an ordinary compass, but it is actually the reason that a compass' needle points north! In the formula above, theta is the amount of degrees that, when placed directly above or underneath, the compass needle deflects from North. This is a very useful formula to have in lab or in the real world if it is unknown how much current is running through a wire.
Computational Model
- Insert Computational Model here
Examples
Simple
The magnitude of the magnetic field [math]\displaystyle{ 50 \ \text{cm} }[/math] from a long, thin, straight wire is[math]\displaystyle{ 8.0 \ \text{μT} }[/math].
- a) What is the approximate current through the long wire?
- Using the approximation formula for a long, thin straight wire,
- [math]\displaystyle{ B = \frac{\mu_{0}}{4\pi}\frac{2I}{r} }[/math]
- we see the current needed to supply the stated magnetic field is:
- [math]\displaystyle{ I = \frac{4\pi r B}{2 \mu_{0}} = \frac{4\pi \times 0.5 \times 8.0 \times 10^{-6}}{2 \times 4\pi \times 10^{-7}} = 20 \ \text{A} }[/math]
- b) An ordinary compass that points north when not in the vicinity of a magnetic field is pointing at [math]\displaystyle{ \theta_{1} = 325^{°} }[/math]. A wire with a current is then placed directly above the compass and the needle now points at [math]\displaystyle{ \theta_{2} = 240^{°} }[/math]. What is the approximate magnitude of the magnetic field of this wire?
- Using our useful lab formula:
- [math]\displaystyle{ |B_{wire}| = |B_E| \text{tan}(\theta) }[/math]
- [math]\displaystyle{ \theta }[/math] will equal the difference between the initial angle and the final angle:
- [math]\displaystyle{ \theta = \theta_{2} - \theta_{1} = 240 - 325 = -85° }[/math]
- Therefore:
- [math]\displaystyle{ |B_w| = 2e^{-5} \times \text{tan}(-85°) }[/math]
- [math]\displaystyle{ |B_w| = 2.29e^{-4} \ \text{T} }[/math]
Middling
The current through a thin, straight wire that is [math]\displaystyle{ 2 \ \text{m} }[/math] long is [math]\displaystyle{ 74 \ \text{A} }[/math].
- a) What is the magnitude of the magnetic field at a location [math]\displaystyle{ 0.35 \ \text{m} }[/math] away and perpendicular to the center of the wire?
- Using the full formula:
- [math]\displaystyle{ B = \frac{\mu_0}{4\pi} \frac{LI}{z\sqrt{z^2+(L/2)^2}} }[/math]
- [math]\displaystyle{ B = \frac{\mu_0}{4\pi} \frac{2 \times 74}{0.35\sqrt{0.35^2+(2/2)^2}} }[/math]
- [math]\displaystyle{ B = 39.912 \ \mu \text{T} }[/math]
Difficult
There are two wires, separated by a distance of [math]\displaystyle{ 80 }[/math] meters on the x-axis. The left wire has a current running through it of [math]\displaystyle{ 5 \ \text{A} }[/math], while the right wire has a current running through it of [math]\displaystyle{ 12 \ \text{A} }[/math]. The length of the left wire is [math]\displaystyle{ 2 }[/math] meters, while the length of the right wire is [math]\displaystyle{ 3 }[/math] meters.
- a) Find the total magnetic field at a point on the x-axis directly in between the two wires.
- Using the full formula, the magnetic field due to the left wire is:
- [math]\displaystyle{ B_L = \frac{\mu_0}{4\pi} \frac{LI}{z\sqrt{z^2+(L/2)^2}} }[/math]
- [math]\displaystyle{ B_L = \frac{\mu_0}{4\pi} \frac{2 \times 5}{40\sqrt{40^2+(2/2)^2}} }[/math]
- [math]\displaystyle{ B_L = 6.25e^{-10} \ \text{T} }[/math]
- The magnetic field due to the right wire then is:
- [math]\displaystyle{ B_R = \frac{\mu_0}{4\pi} \frac{LI}{z\sqrt{z^2+(L/2)^2}} }[/math]
- [math]\displaystyle{ B_R = \frac{\mu_0}{4\pi} \frac{3 \times 12}{-40\sqrt{(-40)^2+(3/2)^2}} }[/math]
- [math]\displaystyle{ B_R = -2.25e^{-9} \ \text{T} }[/math]
- The total magnetic field will be the sum of the two magnetic fields:
- [math]\displaystyle{ B_T = B_L + B_R }[/math]
- [math]\displaystyle{ B_T = 6.25e^{-10} - 2.25e^{-9} }[/math]
- [math]\displaystyle{ B_T = -1.62e^{-9} \ \text{T} }[/math]
Connectedness
- Insert Connectedness here
History
- Insert History here
See also
Further Reading
External Links
References
In many cases, we are interested in calculating the electric field of a long, straight wire. Wires can create magnetic fields if they have a current flowing through them. If no current is flowing, then there will be no magnetic fields created. Below are steps that explain the derivation of the formula for calculating the magnetic field as well as how to calculate the direction of magnetic field. [1]
Direction of Magnetic Field
If you are simply interested in finding the direction of the magnetic field, all you have to do is use the right hand rule. Point your right thumb in the direction of the current, and your hand will curl in the direction of the magnetic field. So, for this situation, we point our thumb in the y direction and, at a point on the +z axis, we can see that our fingers curl right, or towards the +x direction. [1]
Example 1:
A wire sits directly in the z-axis with current flowing out of the page (positive z direction). In what direction is the magnetic field at a point to the right of the wire?
Solution:
If you point your thumb in the direction of the current, you can see that on the right side of your curled fingers, your fingers curl directly up, so the direction of the magnetic field is the positive y direction.
Example 2:
A wire sits directly in the x-axis with current flowing in the negative direction. In what direction is the magnetic field at a point below the wire (-y relative to the wire)?
Solution:
If you point your thumb to the right, you see that at the bottom of your curled fingers, your fingers curl directly into the page, so the direction of the magnetic field is into the page (-z direction).
Example 3:
A wire sits directly in the z-axis with current flowing out of the page (positive z direction). In what direction is the magnetic field at a point along the wire?
Solution:
This is somewhat of a trick question. You may not be able to see this by the right rule, but if we look at the actual formula of the magnetic field, the direction is based off the cross product of IL and rhat. Because they are both in the same direction the crossproduct is 0, so the magnetic field at this point is also 0.
Connectedness
I am very interested in clean energy storage and production, which typically involves long wires at some point between where the energy is generated and where the electricity is used. It is important to understand all the forces involved with an electrical current, so that if something goes wrong, you can determine where the problem is and why it might be occurring so that you can fix it.
I am an Electrical Engineering major, so all of the material within this class is vastly important, not only for the following courses required for an EE major, but also for the field once we graduate and find a job. However, this concept specifically interests me because for a while I had a very difficult time finding the direction of the magnetic field in situations such as these, so this is my way of giving back in an effort to make sure future students don't run into the same problem.
History
The magnetic field of a wire was first discovered during an experiment by Hans Christian Oersted (1777-1851) of Denmark in 1820. There are many rumors of this story that this discovery was actually an accident, but Oersted claims that it was, indeed, based off predictions that he had made beforehand. This experiment consisted of running a current through a wire and placing a compass underneath it to see if there was any effect. And the effect he found changed the world forever: he had discovered the important relationship between electricity and magnetism. Before this, the world had taken note of the similarities between electricity and magnetism but nobody had truly "proved" this relationship up until this point. Oersted then went on to write his groundbreaking scientific paper "Experiments on the effect of a current of electricity on the magnetic needle," which shocked and awed the rest of the scientific world. This was the birth of physics 2. If it had not been for Oersted, we might not be taking this very class at Georgia Tech! While this finding falls directly into the category of "Magnetic Field of a Long Straight Wire," it also may very well be the most important discovery by any physicist in history (this is up for debate but this is just my opinion on the topic; nonetheless, it is extremely crucial). To wrap up the story, the content of Oersted's paper was marvelous . . . and, thus, Emag was born!
References
[1] Matter and Interactions Vol. II
[2] OpenStax University Physics
[3] Skulls in the Stars
This page was created by Arjun Patra
This page was edited by Brandon Baker