Chapter 12. Sources of Magnetic Fields

12.2 Magnetic Field Due to a Thin Straight Wire

Learning Objectives

By the end of this section, you will be able to:

  • Explain how the Biot-Savart law is used to determine the magnetic field due to a thin, straight wire.
  • Determine the dependence of the magnetic field from a thin, straight wire based on the distance from it and the current flowing in the wire.
  • Sketch the magnetic field created from a thin, straight wire by using the second right-hand rule.

How much current is needed to produce a significant magnetic field, perhaps as strong as Earth’s field? Surveyors will tell you that overhead electric power lines create magnetic fields that interfere with their compass readings. Indeed, when Oersted discovered in 1820 that a current in a wire affected a compass needle, he was not dealing with extremely large currents. How does the shape of wires carrying current affect the shape of the magnetic field created? We noted in Chapter 28 that a current loop created a magnetic field similar to that of a bar magnet, but what about a straight wire? We can use the Biot-Savart law to answer all of these questions, including determining the magnetic field of a long straight wire.

Figure 12.5 shows a section of an infinitely long, straight wire that carries a current I. What is the magnetic field at a point P, located a distance R from the wire?

This figure shows a section of a thin, straight current-carrying wire. Point P is located at distance R from the center of the wire O and at distance r from the piece of the wire dX. Vector r from the piece of the wire dX to the point P forms an angle theta with the wire.
Figure 12.5 A section of a thin, straight current-carrying wire. The independent variable [latex]\theta[/latex] has the limits [latex]{\theta }_{1}[/latex] and [latex]{\theta }_{2}.[/latex]

Let’s begin by considering the magnetic field due to the current element [latex]I\phantom{\rule{0.2em}{0ex}}d\stackrel{\to }{\textbf{x}}[/latex] located at the position x. Using the right-hand rule 1 from the previous chapter, [latex]d\stackrel{\to }{\textbf{x}}\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}\hat{\textbf{r}}[/latex] points out of the page for any element along the wire. At point P, therefore, the magnetic fields due to all current elements have the same direction. This means that we can calculate the net field there by evaluating the scalar sum of the contributions of the elements. With [latex]|d\stackrel{\to }{\textbf{x}}\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}\hat{\textbf{r}}|=\left(dx\right)\left(1\right)\mathrm{sin}\phantom{\rule{0.1em}{0ex}}\theta ,[/latex] we have from the Biot-Savart law

[latex]B=\frac{{\mu }_{0}}{4\pi }\underset{\text{wire}}{\int }\frac{I\mathrm{sin}\phantom{\rule{0.1em}{0ex}}\theta \phantom{\rule{0.1em}{0ex}}dx}{{r}^{2}}.[/latex]

The wire is symmetrical about point O, so we can set the limits of the integration from zero to infinity and double the answer, rather than integrate from negative infinity to positive infinity. Based on the picture and geometry, we can write expressions for r and [latex]\mathrm{sin}\phantom{\rule{0.1em}{0ex}}\theta[/latex] in terms of x and R, namely:

[latex]\begin{array}{ccc}\hfill r& =\hfill & \sqrt{{x}^{2}+{R}^{2}}\hfill \\ \hfill \mathrm{sin}\phantom{\rule{0.1em}{0ex}}\theta & =\hfill & \frac{R}{\sqrt{{x}^{2}+{R}^{2}}}.\hfill \end{array}[/latex]

Substituting these expressions into Equation 12.5, the magnetic field integration becomes

[latex]B=\frac{{\mu }_{o}I}{2\pi }{\int }_{0}^{\infty }\frac{R\phantom{\rule{0.2em}{0ex}}dx}{{\left({x}^{2}+{R}^{2}\right)}^{3\text{/}2}}.[/latex]

Evaluating the integral yields

[latex]B=\frac{{\mu }_{o}I}{2\pi R}{\left[\frac{x}{{\left({x}^{2}+{R}^{2}\right)}^{1\text{/}2}}\right]}_{0}^{\infty }.[/latex]

Substituting the limits gives us the solution

[latex]B=\frac{{\mu }_{o}I}{2\pi R}.[/latex]

The magnetic field lines of the infinite wire are circular and centered at the wire (Figure 12.6), and they are identical in every plane perpendicular to the wire. Since the field decreases with distance from the wire, the spacing of the field lines must increase correspondingly with distance. The direction of this magnetic field may be found with a second form of the right-hand rule (illustrated in Figure 12.6). If you hold the wire with your right hand so that your thumb points along the current, then your fingers wrap around the wire in the same sense as [latex]\stackrel{\to }{\textbf{B}}.[/latex]

This figure demonstrates the right-hand rule. The wire is held with the right hand so that the thumb points along the current. The fingers wrap around the wire in the same sense as the magnetic field.
Figure 12.6 Some magnetic field lines of an infinite wire. The direction of [latex]\stackrel{\to }{\textbf{B}}[/latex] can be found with a form of the right-hand rule.

The direction of the field lines can be observed experimentally by placing several small compass needles on a circle near the wire, as illustrated in Figure 12.7. When there is no current in the wire, the needles align with Earth’s magnetic field. However, when a large current is sent through the wire, the compass needles all point tangent to the circle. Iron filings sprinkled on a horizontal surface also delineate the field lines, as shown in Figure 12.7.

Figure A shows a circle formed by the small compass needles aligned with Earth’s magnetic field. Figure B shows that iron filings sprinkled on a horizontal surface around a long wire delineate the field lines.
Figure 12.7 The shape of the magnetic field lines of a long wire can be seen using (a) small compass needles and (b) iron filings.

Example

Calculating Magnetic Field Due to Three Wires

Three wires sit at the corners of a square, all carrying currents of 2 amps into the page as shown in Figure 12.8. Calculate the magnitude of the magnetic field at the other corner of the square, point P, if the length of each side of the square is 1 cm.

Figure shows three wires I1, I2, and I3 with current flowing into the page. Wires form three corners of a square. The magnetic field is determined at the fourth corner of the square that is labeled P.
Figure 12.8 Three wires have current flowing into the page. The magnetic field is determined at the fourth corner of the square.

Strategy

The magnetic field due to each wire at the desired point is calculated. The diagonal distance is calculated using the Pythagorean theorem. Next, the direction of each magnetic field’s contribution is determined by drawing a circle centered at the point of the wire and out toward the desired point. The direction of the magnetic field contribution from that wire is tangential to the curve. Lastly, working with these vectors, the resultant is calculated.

Solution

Show Answer

Wires 1 and 3 both have the same magnitude of magnetic field contribution at point P:

[latex]{B}_{1}={B}_{3}=\frac{{\mu }_{o}I}{2\pi R}=\frac{\left(4\pi \phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−7}}\text{T}\cdot \text{m/A}\right)\left(2\phantom{\rule{0.2em}{0ex}}\text{A}\right)}{2\pi \left(0.01\phantom{\rule{0.2em}{0ex}}\text{m}\right)}=4\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}.[/latex]

Wire 2 has a longer distance and a magnetic field contribution at point P of:

[latex]{B}_{2}=\frac{{\mu }_{o}I}{2\pi R}=\frac{\left(4\pi \phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−7}}\text{T}\cdot \text{m/A}\right)\left(2\phantom{\rule{0.2em}{0ex}}\text{A}\right)}{2\pi \left(0.01414\phantom{\rule{0.2em}{0ex}}\text{m}\right)}=3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}.[/latex]
The vectors for each of these magnetic field contributions are shown.

Figure shows three wires I1, I2, and I3 with current flowing into the page. Wires form three corners of a square. The magnetic field is determined at the fourth corner of the square that is labeled P. Vector B3 is directed from the point P towards the wire I1. Vector B1 is the continuation of the line from the wire I3 to the point P. Vector B2 lies between vectors B1 and B3.

The magnetic field in the x-direction has contributions from wire 3 and the x-component of wire 2:

[latex]{B}_{\text{net}\phantom{\rule{0.2em}{0ex}}x}=\text{−4}\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}-2.83\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}\phantom{\rule{0.2em}{0ex}}\mathrm{cos}\left(45\text{°}\right)=\text{−6}\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}.[/latex]

The y-component is similarly the contributions from wire 1 and the y-component of wire 2:

[latex]{B}_{\text{net}\phantom{\rule{0.2em}{0ex}}y}=\text{−4}\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}-2.83\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}\mathrm{sin}\left(45\text{°}\right)=\text{−6}\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}.[/latex]

Therefore, the net magnetic field is the resultant of these two components:

[latex]\begin{array}{}\\ \\ {B}_{\text{net}}=\sqrt{{B}_{\text{net}\phantom{\rule{0.2em}{0ex}}x}^{2}+{B}_{\text{net}\phantom{\rule{0.2em}{0ex}}y}^{2}}\\ {B}_{\text{net}}=\sqrt{{\left(\text{−6}\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}\right)}^{2}+{\left(\text{−6}\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}\right)}^{2}}\\ {B}_{\text{net}}=8\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}.\end{array}[/latex]

Significance

The geometry in this problem results in the magnetic field contributions in the x– and y-directions having the same magnitude. This is not necessarily the case if the currents were different values or if the wires were located in different positions. Regardless of the numerical results, working on the components of the vectors will yield the resulting magnetic field at the point in need.

Check Your Understanding

Using Example 12.3, keeping the currents the same in wires 1 and 3, what should the current be in wire 2 to counteract the magnetic fields from wires 1 and 3 so that there is no net magnetic field at point P?

Show Solution

4 amps flowing out of the page

Summary

  • The strength of the magnetic field created by current in a long straight wire is given by [latex]B=\frac{{\mu }_{0}I}{2\pi R}[/latex] (long straight wire) where I is the current, R is the shortest distance to the wire, and the constant [latex]{\mu }_{0}=4\pi \phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−7}}\phantom{\rule{0.2em}{0ex}}\text{T}\cdot \text{m/s}[/latex] is the permeability of free space.
  • The direction of the magnetic field created by a long straight wire is given by right-hand rule 2 (RHR-2): Point the thumb of the right hand in the direction of current, and the fingers curl in the direction of the magnetic field loops created by it.

Conceptual Questions

How would you orient two long, straight, current-carrying wires so that there is no net magnetic force between them? (Hint: What orientation would lead to one wire not experiencing a magnetic field from the other?)

Show Solution

You would make sure the currents flow perpendicular to one another.

Problems

A typical current in a lightning bolt is [latex]{10}^{4}[/latex] A. Estimate the magnetic field 1 m from the bolt.

The magnitude of the magnetic field 50 cm from a long, thin, straight wire is [latex]8.0\phantom{\rule{0.2em}{0ex}}\text{μT}.[/latex] What is the current through the long wire?

Show Solution

20 A

A transmission line strung 7.0 m above the ground carries a current of 500 A. What is the magnetic field on the ground directly below the wire? Compare your answer with the magnetic field of Earth.

A long, straight, horizontal wire carries a left-to-right current of 20 A. If the wire is placed in a uniform magnetic field of magnitude [latex]4.0\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}[/latex] that is directed vertically downward, what is the resultant magnitude of the magnetic field 20 cm above the wire? 20 cm below the wire?

Show Solution

Both answers have the magnitude of magnetic field of [latex]4.5\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}{10}^{\text{−5}}\text{T}.[/latex]

The two long, parallel wires shown in the accompanying figure carry currents in the same direction. If [latex]{I}_{1}=\text{10 A}[/latex] and [latex]{I}_{2}=20\phantom{\rule{0.2em}{0ex}}\text{A},[/latex] what is the magnetic field at point P?

The accompanying figure shows two long, straight, horizontal wires that are parallel and a distance 2a apart. If both wires carry current I in the same direction, (a) what is the magnetic field at [latex]{P}_{1}?[/latex] (b) [latex]{P}_{2}?[/latex]

Figure shows two long parallel wires that are distance 2a apart. Current flows through the wires in the same direction. Point P1 is located between the wires at a distance a from each. Point P2 is located at a distance 2 a outside the wires.

Show Solution

At P1, the net magnetic field is zero. At P2, [latex]B=\frac{3{\mu }_{o}I}{8\pi a}[/latex] into the page.

Repeat the calculations of the preceding problem with the direction of the current in the lower wire reversed.

Consider the area between the wires of the preceding problem. At what distance from the top wire is the net magnetic field a minimum? Assume that the currents are equal and flow in opposite directions.

Show Solution

The magnetic field is at a minimum at distance a from the top wire, or half-way between the wires.

License

Icon for the Creative Commons Attribution 4.0 International License

University Physics Volume 2 by cnxuniphysics is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book