#set document(title: "12.2 Magnetic Field Due to a Thin Straight Wire", author: "OpenStax / XYZ Homework") #set page(width: 8.5in, height: auto, margin: 1in) #import "@preview/cetz:0.5.2" #set text(font: ("STIX Two Text", "Libertinus Serif", "New Computer Modern"), size: 10.5pt, lang: "en") #show math.equation: set text(font: ("STIX Two Math", "New Computer Modern Math")) #set par(justify: true, leading: 0.62em, spacing: 0.9em) #set enum(spacing: 1.1em) // room between list items so tall inline fractions don't collide #set list(spacing: 1.1em) #set table(stroke: 0.5pt + rgb("#c7ccd3")) #let BLUE = rgb("#183B6F") // brand navy — section bars + example/solution labels (white on navy 11.09:1) #let ORANGE = rgb("#A94509") // brand primary-700 — AA-safe deep orange for TEXT (5.93:1 on white; raw brand #F37021 is 2.94:1 and must never carry text) #let RED = rgb("#DC2626") // brand error-600 #let GREEN = rgb("#059669") // brand success-600 (decoration only; small green text uses green-text #007942) #show heading.where(level: 1): it => block(width: 100%, above: 0pt, below: 16pt, fill: gradient.linear(BLUE, rgb("#2C5AA0")), inset: (x: 14pt, y: 12pt), radius: 3pt, text(fill: white, weight: "bold", size: 19pt, it.body)) #show heading.where(level: 2): it => block(width: 100%, above: 18pt, below: 10pt, fill: BLUE, inset: (x: 10pt, y: 6pt), radius: 2pt, text(fill: white, weight: "bold", size: 12pt, it.body)) #show heading.where(level: 3): it => text(fill: ORANGE, weight: "bold", size: 12.5pt, it.body) #show heading.where(level: 4): it => text(fill: BLUE, weight: "bold", size: 10.5pt, it.body) #let examplebox(label, title, body) = block(width: 100%, breakable: true, fill: rgb("#EFF1F5"), stroke: 0.5pt + rgb("#CFDDF0"), radius: 4pt, inset: 10pt, above: 12pt, below: 12pt)[ #block(below: 6pt)[#box(fill: BLUE, inset: (x: 6pt, y: 2pt), radius: 2pt, text(fill: white, weight: "bold", size: 8.5pt, label)) #h(0.4em) #strong[#title]] #body] // rail = decorative left rule (raw brand token); labelcolor = AA-safe label text shade #let notebox(label, rail, labelcolor, tint, body) = block(width: 100%, breakable: true, fill: tint, stroke: (left: 3pt + rail), inset: (left: 10pt, rest: 8pt), radius: (right: 4pt), above: 11pt, below: 11pt)[ #text(fill: labelcolor, weight: "bold", size: 7.5pt, tracking: 0.5pt)[#upper(label)] #linebreak() #body] #let solutionbox(body) = block(above: 4pt, below: 8pt)[ #text(fill: BLUE, weight: "bold", size: 8.5pt)[Solution] #linebreak() #body] #let figph(msg) = block(width: 100%, height: 60pt, fill: rgb("#f6f7f9"), stroke: (paint: rgb("#c7ccd3"), dash: "dashed"), radius: 4pt, inset: 10pt)[ #align(center + horizon, text(fill: rgb("#889"), style: "italic", size: 9pt, msg))] // Standardize inlined figure sizes: measure the natural CeTZ canvas, then scale to a // consistent envelope (aspect-aware; see build_typst.py FIG_* constants). Unlike the // print preamble, dimensions are FLOORED: in an editor a user can trim a figure to a // degenerate 1-D shape (a bare line), and w/h or tw/w would then divide by zero. #let _STD_W = 3.5 #let _WIDE_W = 5.6 #let _MAX_H = 3.4 #let _ASPECT_WIDE = 2.2 #let _UPSCALE_MAX = 1.15 #let stdfig(body) = context { let m = measure(body) let w = calc.max(m.width / 1in, 0.01) let h = calc.max(m.height / 1in, 0.01) let tw = if w / h > _ASPECT_WIDE { _WIDE_W } else { _STD_W } let s = calc.min(tw / w, _MAX_H / h, _UPSCALE_MAX) align(center, box(scale(x: s * 100%, y: s * 100%, reflow: true, body))) } #show figure: set block(breakable: false) #set figure(gap: 8pt) #show figure.caption: set text(size: 8.5pt, fill: rgb("#555")) == 12.2#h(0.6em)Magnetic Field Due to a Thin Straight Wire 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 Magnetic Forces and Fields 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. shows a section of an infinitely long, straight wire that carries a current #emph[I]. What is the magnetic field at a point #emph[P], located a distance #emph[R] from the wire? #figure(figph[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. ], alt: "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.", caption: [A section of a thin, straight current-carrying wire. The independent variable #math.equation(block: false, alt: "θ")[$θ$] has the limits #math.equation(block: false, alt: "θ sub 1")[$θ_(1)$] and #math.equation(block: false, alt: "θ sub 2 .")[$θ_(2) .$]]) Let’s begin by considering the magnetic field due to the current element #math.equation(block: false, alt: "I d x →")[$I #h(0.2em) d arrow(x)$] located at the position #emph[x]. Using the right-hand rule 1 from the previous chapter, #math.equation(block: false, alt: "d x → times r ^")[$d arrow(x) #h(0.2em) × #h(0.2em) hat(r)$] points out of the page for any element along the wire. At point #emph[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 #math.equation(block: false, alt: "| d x → times r ^ | equals open parenthesis d x close parenthesis open parenthesis 1 close parenthesis sin θ ,")[$| d arrow(x) #h(0.2em) × #h(0.2em) hat(r) | = ( d x ) ( 1 ) sin #h(0.1em) θ ,$] we have from the Biot-Savart law #math.equation(block: true, alt: "B equals the fraction μ sub 0 over 4 π ∫ wire the fraction I sin θ d x over r squared .")[$B = frac(μ_(0), 4 π) display(limits(∫)_("wire") frac(I sin #h(0.1em) θ #h(0.1em) d x, r^(2))) .$] The wire is symmetrical about point #emph[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 #emph[r] and #math.equation(block: false, alt: "sin θ")[$sin #h(0.1em) θ$] in terms of #emph[x] and #emph[R], namely: #math.equation(block: true, alt: "r, equals, the square root of x squared plus R squared; sin θ, equals, the fraction R over the square root of x squared plus R squared .")[$r & = & sqrt(x^(2) + R^(2)) \ sin #h(0.1em) θ & = & frac(R, sqrt(x^(2) + R^(2))) .$] Substituting these expressions into , the magnetic field integration becomes #math.equation(block: true, alt: "B equals the fraction μ sub o I over 2 π ∫ 0 ∞ the fraction R d x over open parenthesis x squared plus R squared close parenthesis to the power 3 / 2 .")[$B = frac(μ_(o) I, 2 π) display(∫_(0)^(∞) frac(R #h(0.2em) d x, attach(( x^(2) + R^(2) ), t: 3 "/" 2))) .$] Evaluating the integral yields #math.equation(block: true, alt: "B equals the fraction μ sub o I over 2 π R [ the fraction x over open parenthesis x squared plus R squared close parenthesis to the power 1 / 2 ] 0 ∞ .")[$B = frac(μ_(o) I, 2 π R) attach([ frac(x, attach(( x^(2) + R^(2) ), t: 1 "/" 2)) ], t: ∞, b: 0) .$] Substituting the limits gives us the solution #notebox("Note", rgb("#8a94a6"), rgb("#556666"), rgb("#f7f8fa"))[ #math.equation(block: true, alt: "B equals the fraction μ sub o I over 2 π R .")[$B = frac(μ_(o) I, 2 π R) .$] ] The magnetic field lines of the infinite wire are circular and centered at the wire , 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 #strong[right-hand rule] (illustrated in ). 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 #math.equation(block: false, alt: "B → .")[$arrow(B) .$] #figure(figph[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.], alt: "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.", caption: [Some magnetic field lines of an infinite wire. The direction of #math.equation(block: false, alt: "B →")[$arrow(B)$] 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 . 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. #figure(figph[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.], alt: "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.", caption: [The shape of the magnetic field lines of a long wire can be seen using (a) small compass needles and (b) iron filings.]) #examplebox("Example 1")[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. Calculate the magnitude of the magnetic field at the other corner of the square, point #emph[P], if the length of each side of the square is 1 cm. #figure(figph[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.], alt: "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.", caption: [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 Wires 1 and 3 both have the same magnitude of magnetic field contribution at point #emph[P]: #math.equation(block: true, alt: "B sub 1 equals B sub 3 equals the fraction μ sub o I over 2 π R equals the fraction open parenthesis 4 π times 10 to the power −7 T times m/A close parenthesis open parenthesis 2 A close parenthesis over 2 π open parenthesis 0.01 m close parenthesis equals 4 times 10 to the power −5 T .")[$B_(1) = B_(3) = frac(μ_(o) I, 2 π R) = frac(( 4 π #h(0.2em) × #h(0.2em) 10^("−7") "T" ⋅ "m/A" ) ( 2 #h(0.2em) "A" ), 2 π ( 0.01 #h(0.2em) "m" )) = 4 #h(0.2em) × #h(0.2em) 10^("−5") "T" .$] Wire 2 has a longer distance and a magnetic field contribution at point #emph[P] of: #math.equation(block: true, alt: "B sub 2 equals the fraction μ sub o I over 2 π R equals the fraction open parenthesis 4 π times 10 to the power −7 T times m/A close parenthesis open parenthesis 2 A close parenthesis over 2 π open parenthesis 0.01414 m close parenthesis equals 3 times 10 to the power −5 T .")[$B_(2) = frac(μ_(o) I, 2 π R) = frac(( 4 π #h(0.2em) × #h(0.2em) 10^("−7") "T" ⋅ "m/A" ) ( 2 #h(0.2em) "A" ), 2 π ( 0.01414 #h(0.2em) "m" )) = 3 #h(0.2em) × #h(0.2em) 10^("−5") "T" .$] The vectors for each of these magnetic field contributions are shown. #figure(figph[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.], alt: "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.", caption: none) The magnetic field in the #emph[x]-direction has contributions from wire 3 and the #emph[x]-component of wire 2: #math.equation(block: true, alt: "B sub net x equals −4 times 10 to the power −5 T minus 2.83 times 10 to the power −5 T cos open parenthesis 45 ° close parenthesis equals −6 times 10 to the power −5 T .")[$B_("net" #h(0.2em) x) = "−4" #h(0.2em) × #h(0.2em) 10^("−5") "T" − 2.83 #h(0.2em) × #h(0.2em) 10^("−5") "T" #h(0.2em) cos ( 45 "°" ) = "−6" #h(0.2em) × #h(0.2em) 10^("−5") "T" .$] The #emph[y]-component is similarly the contributions from wire 1 and the #emph[y]-component of wire 2: #math.equation(block: true, alt: "B sub net y equals −4 times 10 to the power −5 T minus 2.83 times 10 to the power −5 T sin open parenthesis 45 ° close parenthesis equals −6 times 10 to the power −5 T .")[$B_("net" #h(0.2em) y) = "−4" #h(0.2em) × #h(0.2em) 10^("−5") "T" − 2.83 #h(0.2em) × #h(0.2em) 10^("−5") "T" sin ( 45 "°" ) = "−6" #h(0.2em) × #h(0.2em) 10^("−5") "T" .$] Therefore, the net magnetic field is the resultant of these two components: #math.equation(block: true, alt: "B sub net equals the square root of B net x 2 plus B net y 2; B sub net equals the square root of open parenthesis −6 times 10 to the power −5 T close parenthesis squared plus open parenthesis −6 times 10 to the power −5 T close parenthesis squared; B sub net equals 8 times 10 to the power −5 T .")[$B_("net") = sqrt(B_("net" #h(0.2em) x)^(2) + B_("net" #h(0.2em) y)^(2)) \ B_("net") = sqrt(attach(( "−6" #h(0.2em) × #h(0.2em) 10^("−5") "T" ), t: 2) + attach(( "−6" #h(0.2em) × #h(0.2em) 10^("−5") "T" ), t: 2)) \ B_("net") = 8 #h(0.2em) × #h(0.2em) 10^("−5") "T" .$] Significance The geometry in this problem results in the magnetic field contributions in the #emph[x]- and #emph[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. ] #notebox("Note", rgb("#8a94a6"), rgb("#556666"), rgb("#f7f8fa"))[ Using , 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? #solutionbox[ 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 #math.equation(block: false, alt: "B equals the fraction μ sub 0 I over 2 π R")[$B = frac(μ_(0) I, 2 π R)$] (long straight wire) where #emph[I] is the current, #emph[R] is the shortest distance to the wire, and the constant #math.equation(block: false, alt: "μ sub 0 equals 4 π times 10 to the power −7 T times m/s")[$μ_(0) = 4 π #h(0.2em) × #h(0.2em) 10^("−7") #h(0.2em) "T" ⋅ "m/s"$] 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? (#emph[Hint]: What orientation would lead to one wire not experiencing a magnetic field from the other?) #solutionbox[ You would make sure the currents flow perpendicular to one another. ] === Problems A typical current in a lightning bolt is #math.equation(block: false, alt: "10 to the power 4")[$10^(4)$] 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 #math.equation(block: false, alt: "8.0 μT .")[$8.0 #h(0.2em) "μT" .$] What is the current through the long wire? #solutionbox[ 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 #math.equation(block: false, alt: "4.0 times 10 to the power −5 T")[$4.0 #h(0.2em) × #h(0.2em) 10^("−5") "T"$] that is directed vertically downward, what is the resultant magnitude of the magnetic field 20 cm above the wire? 20 cm below the wire? #solutionbox[ Both answers have the magnitude of magnetic field of #math.equation(block: false, alt: "4.5 times 10 to the power −5 T .")[$4.5 #h(0.2em) × #h(0.2em) 10^("−5") "T" .$] ] The two long, parallel wires shown in the accompanying figure carry currents in the same direction. If #math.equation(block: false, alt: "I sub 1 equals 10 A")[$I_(1) = "10 A"$] and #math.equation(block: false, alt: "I sub 2 equals 20 A ,")[$I_(2) = 20 #h(0.2em) "A" ,$] what is the magnetic field at point P? #figure(figph[Figure shows two wires with currents flowing down the page. Between the wires is point P which is located 15.0 cm from a wire with current I1 down the page while on the other side point P is 5.0 cm from a wire with current I2 with current down the page.], alt: "Figure shows two wires with currents flowing down the page. Between the wires is point P which is located 15.0 cm from a wire with current I1 down the page while on the other side point P is 5.0 cm from a wire with current I2 with current down the page.", caption: none) The accompanying figure shows two long, straight, horizontal wires that are parallel and a distance 2#emph[a] apart. If both wires carry current #emph[I] in the same direction, (a) what is the magnetic field at #math.equation(block: false, alt: "P sub 1 ?")[$P_(1) ?$] (b) #math.equation(block: false, alt: "P sub 2 ?")[$P_(2) ?$] #figure(figph[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.], alt: "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.", caption: none) #solutionbox[ At P1, the net magnetic field is zero. At P2, #math.equation(block: false, alt: "B equals the fraction 3 μ sub o I over 8 π a")[$B = frac(3 μ_(o) I, 8 π a)$] 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. #solutionbox[ The magnetic field is at a minimum at distance #emph[a] from the top wire, or half-way between the wires. ]