BIOT–SAVART–LAPLACE LAW Sometimes, a symmetry allows you to obtain the electric field of some charges from the Gauss Law or the magnetic field of some currents from the Ampere’s Law. But most times, the symmetry is not there, so it’s time to shut up and integrate. . . In the electric case, we integrate the Coulomb formula over the electric charges. In the magnetic case, we integrate over the current-carrying wires and the integrand is a more complicated expression derived by Jean Baptiste Biot, Félix Savart, and Pierre-Simon Laplace. Specifically, the magnetic field B(r) due to a wire carrying current I along some line W in space — straight or curved — is given by µ0 B(r) = ×I × 4π Z W dr′ × (r − r′ ) . |r − r′ |3 (1) The integral here is a 1D line integral over the line W of the wire, which we follow in the direction of the electric current I. In my notations, r is the point where we measure the magnetic field B(r), while r′ is the point on a wire over which we integrate, and dr′ is the infinitesimal line element along the wire W . The magnetic field due to multiple wires follows from the Biot–Savart–Laplace formula (1) via the superposition principle: Z wires X µ0 dr′ × (r − r′ ) B(r) = × Ii × . 4π |r − r′ |3 i (2) Wi Finally, for thick conductors and continuous distributions of the electric current density J(x, y, z), we combine the 1D integral (1) along the wire(s) with a 2D integral J · d2 A across the wires into a 3D volume integral: Z Z ZZ ZZZ ′ ′ ′ 2 ′ ′ I(r ) dr → J(r ) · d r⊥ drk → d3 r′ J(r′ ), W W (3) whole space In this case, the magnetic field becomes ZZZ J(r′ ) × (r − r′ ) µ0 d 3 r′ . B(r) = 4π |r − r′ |3 1 (4) Mathematically, the Biot–Savart–Laplace formula (4) is the solution of partial differential equations ∇ · B = 0, ∇ × B = µ0 J (5) which stem from the Gauss’s and Ampere’s Lawa for the magnetic field. In these notes, I shall not try to derive this solution or even prove that it is a solution; the proof will have to wait for the upper-level the Electrodynamics class. Instead, I shall give a few example of using the Biot–Savart–Laplace formula (1). For simplicity, I’ll stick to a single thin wire, so you would not need the volume integral (4). Example: Circular Wire Let’s start with the example of a wire shaped into a circle of radius R: z r y r′ I x For simplicity, let me limit the calculation of the magnetic field to the axis of the ring, r = (0, 0, z) only. Along the wire r′ = (R cos φ, R sin φ, 0), hence dr′ = Rdφ × (− sin φ, + cos φ, 0) (6) while r − r′ = −R cos φ, −R sin φ, +z . 2 (7) This, in the numerator of the Biot–Savart–Laplace integrand we have dr′ × (r′ − r) = R dφ (− sin φ, + cos φ, 0) × (−R cos φ, −R sin φ, +z) = z cos φ, z sin φ, R Rdφ, (8) while in the denominator |r − r′ |2 = R2 + z 2 |r − r′ |3 = =⇒ R2 + z 2 3/2 . (9) Combining the numerator and the denominator, we obtain µ0 B(0, 0, z) = ×I × 4π dr′ × (r − r′ ) |r − r′ |3 I W µ0 I × = 4π z cos φ, z sin φ, R Rdφ 3/2 R2 + z 2 I W R µ0 I × = 3/2 × 4π R2 + z 2 Z2π 0 (10) z cos φ, z sin φ, R dφ, where in the remaining integral Z2π z cos φ dφ = 0, 0 Z2π z sin φ dφ = 0, (11) 0 Z2π R dφ = 2πR, 0 and hence Z2π 0 z cos φ, z sin φ, R dφ = 2πR ×~ız . 3 (12) Altogether, µ0 I R µ0 I B(0, 0, z) = × 2πR~ ı = × × z 3/2 4π 2R R2 + z 2 R2 R2 + z 2 3/2 ×~ız . (13) Note the direction of this magnetic field: along the positive z axis. Example: Long Straight Wire For my next example I use an infinitely long wire, which I take to lie along the z axis. In this case, we already know the magnetic field of this wire, but let’s re-derive it from the Biot–Savart–Laplace formula. In this example, the observer is at arbitrary r = (x, y, z) while the wire points are r′ = (0, 0, z ′ ). Consequently, the BSL numerator is (0, 0, dz ′ ) × (x, y, z − z ′ ) = (−y, +x, 0) dz ′ (14) while the BSL denominator is x2 + y 2 + (z − z ′ )2 3/2 (15) , so altogether µ0 × I B(x, y, z) = × 4π +∞ Z −∞ = (−y, +x, 0) dz ′ x2 + y 2 + (z − z ′ )2 µ0 × I × (−y, +x, 0) × 4π +∞ Z −∞ 3/2 (16) dz ′ x2 + y 2 + (z − z ′ )2 3/2 . The remaining integral here evaluates to +∞ Z −∞ dz ′ 2 3/2 = x2 + y 2 ; x2 + y 2 + (z − z ′ )2 (17) indeed, we have already seen thin integral in the context of electric field of a long thin rod. 4 Plugging this integral into eq. (16) gives us the magnetic field B(x, y, z) = µ0 × I (−y, +x, 0) × . 2π x2 + y 2 (18) In terms of cylindrical coordinates (ρ, φ, z), the (−y, +x, 0) vector is ρ~ıφ , hence ~ıφ (−y, +x, 0) = 2 2 x +y ρ (19) so the magnetic field is µ0 × I ~ıφ . 2πρ B(ρ, φ, z) = (20) Segments: In many cases, a wire is made of several segments. Each segment has a simple geometric shape — a piece of a straight line, or a circular arc — but the overall geometry can be quite elaborate. For example, consider a star made of 5 straight-line segments, For a wire like this, the Biot–Savart–Laplace integral over the whole wire W becomes a sum of integrals over the individual segments, µ0 × I B(r) = × 4π segments X i Z segment#i dr′ × (r − r′ ) . |r − r′ |3 (21) Let’s work out this integrals here for the straight-line and the circular-arc segments, and than we shall we a few interesting combinations. 5 Straight-Line Wire Segment: beginning at point r′1 and ending at point r′2 . Let’s picture a triangle made by the two ends of this segment and by the point r where we measure the magnetic field: O ~r1′ ~h (22) α1 ~r2′ ~r α2 Since the wire segment is straight, the infinitesimal vector d~ℓ = dr′ along the segment has a fixed direction, same as r′2 − r′1 . Consequently, the vector product in the numerator of the BSL integral remains constant along the whole segment, dr′ × (r − r′ ) = dr′ × (r − r′1 ) − dr′ × (r′ − r′1 ) hh where the second term vanishes since dr′ k (r′ − r′1 ) ii ≡ dr′ × (r − r′1 ) (23) = d~ℓ × ~h, where d~ℓ = dr′ is the infinitesimal length element along the straight segment, and ~h is the height if the triangle (22). In other words, ~h is the line from the point r where we measure the magnetic field to the wire segment — or to the extrapolated straight line of the wire segment — in the direction ⊥ to the segment. Note: if we measure the magnetic field at a point r which happens to lie right on the extrapolated straight line of the wire segment, then ~h = 0 and hence d~ℓ × ~h ≡ 0. Consequently, the whole BSL integral vanishes regardless of the denominator’s details, and the magnetic field of the segment is zero. Thus, straight segments ‘pointing’ directly towards or directly away from r do not contribute to the magnetic field at r. 6 For ~h 6= 0, the direction of the magnetic field is the direction of the vector product d~ℓ × ~h in the numerator of the BSL integral. This direction is ⊥ to the wire and to the ~h; in other words, the direction of B(r) is ⊥ to the whole triangle (22). The specific perpendicular obtains from the right screw rule: If from your point of view, the current flows in the clockwise direction around r — as it does on figure (22)— then take the perpendicular which points away from you. OOH, if you see the current flows counterclockwise around r, then take the perpendicular which points towards you. Now that we know the direction of the magnetic field, let’s find its magnitude µ0 × I × B = 4π Zℓ2 ℓ1 dℓ × h |r′ − r|3 (24) In this formula, ℓ is the coordinate along the wire, and I take it’s origin ℓ = 0 to be the point O where the height ~h of the triangle touches the wire or the extrapolated line of the wire. In terms of this ℓ, |r′ − r|2 = ℓ2 + h2 |r′ − r|3 = =⇒ 3/2 ℓ2 + h2 , (25) so the BSL integral (24) becomes µ0 × I × B = 4π Zℓ2 ℓ1 h × dℓ 3/2 . ℓ2 + h2 (26) To evaluate this integral, we change the integration variable from ℓ to the angle α = 90◦ + arctan ℓ h = arc cot . h −ℓ (27) Note: the angles α1 and α2 on figure (22) are precisely the α’s corresponding to the ends of 7 the wire segment. In terms of α, ℓ = −h × cot α, dℓ = + h dα , sin2 α ℓ2 + h2 = h2 , sin2 α (28) hence and therefore sin3 α h × dℓ sin α d cos α h dα × = h × = dα = − , 3/2 2 h3 h h sin α ℓ2 + h2 Zℓ2 ℓ1 Zα2 cos α1 − cos α2 h × dℓ 1 . 3/2 = − h d cos α = h ℓ2 + h2 α (29) 1 Altogether, the magnetic field of a straight wire segment is B(r) = µ0 × I × (cos α1 − cos α2 ) ×~ı⊥△ 4πh (30) where h and the angles α1 and α2 are as shown on figure (22) and ~ı⊥△ is the unit vector ⊥ to the whole triangle. Note: in the limit of infinitely long segment in both directions, α1 → 0, α2 → π, hence cos α1 − cos α2 → 2, and the magnetic field of the segment agrees with the formula for an infinite wire, B∞ = µ0 × I . 2πh (31) Example: Magnetic Field of a Square Loop Consider a closed loop of wire in the shape of an a × a square: 45◦ 135◦ Let’s calculate the magnetic field at the center of the square (shown in blue). 8 The square wire consists of 4 similar straight-line segments, so all we need is to evaluate eq. (30) for the magnetic field due to each segment, and then total up the 4 segments’ contributions. For each segment, h = 21 a, α1 = 45◦ , α2 = 135◦ , hence B1 segment √ √ µ0 × I 2 µ0 I ◦ ◦ = × cos 45 − cos 135 = 2 = × . 2πa 2π a Also, for each segment the triangle spanning the wire and the center of the square where we measure B lie in the plane of the square, so the direction of the magnetic field due to each segment is ⊥ to the whole square. Specifically, the magnetic field points into the screen (where you are reading this) since in each segment the current flows clockwise around the center. Thus, altogether, the magnetic field points into the screen and its magnitude is whole Bsquare = 4 × B1 segment √ √ 4 2 µ0 I 8 2 µ0 I = × = × . 2π a π 4a (32) Example: Symmetric N-sided Polygon In this example the wire also makes a complete loop, this time in the shape of symmetric N–sided polygon with side a, for example Again, we focus on the magnetic field at the center of the polygon, so by symmetry each segment of the wire contributes a similar B1 segment . All these contributions are directed ⊥ to the polygon, specifically into the screen, hence Bpolygon = N × B1 segment ×~ıinto screen . Now let’s draw a single segment of the wire and the triangle connecting it to the center point 9 where the magnetic field is measured: α1 ~h α2 2π N Simple geometry+trigonometry for this triangle gives us π π ∓ , 2 N π cos α1 − cos α2 = 2 sin , N a π h = × cot , 2 N α1,2 = (33) (34) (35) and therefore B1 segment = 2 tan Nπ µ0 I cos α1 − cos α2 µ0 I π × = × × 2 sin . 4π h 4π a N (36) Finally, combining all N segments, we find the magnetic field at the center of the polygon is B = N ×B1 segment = N × π π µ0 × I N 2 π π µ0 × I ×sin ×tan = × ×sin ×tan , (37) πa N N P π N N where in the last expression P = N × a is the polygon’s perimeter. To check this formula, we first plug compare it for N = 4 with eq. (32)for the square and see that they indeed produce the same magnetic field at the center. Second, let’s take a large N limit in which the polygon becomes a circular ring of perimeter P = 2πR. In this 10 limit, lim N →∞ N2 π π × sin × tan π N N = π, (38) hence the magnetic field at the center of the polygon becomes B = µ0 × I µ0 × I ×π = , 2πR 2 (39) which is indeed the field at the center of a circular ring. Example: Magnetic Field of a Circular Arc As our final example, let’s calculate the magnetic field at the center of a circular arc. More generally, consider a wire comprised of a semicircle and two straight segments ϕ C and calculate the magnetic field at point C at the center of the circular arc. Note: besides being at the center of the arc, the point C happens to lie on the straightline extrapolations of the straight segments of the wire. Consequently, the two straight segments do not contribute to the magnetic field B(C) at that point. Thus, the entire field at point C comes from the circular arc segment only. Let’s parametrize the arc segment by angle φ from the point C; φ ranges from 0 to ϕ. In terms of φ, r′ = (R cos φ, R sin φ, 0), (40) r − r′ = (−R cos φ, −R sin φ, 0), (41) dr′ = (−R sin φ, +R cos φ, 0) dφ, 11 (42) hence in the numerator of the Biot–Savart–Laplace integral dr′ × (r − r′ ) = −R sin φ, +R cos φ, 0 dφ × −R cos φ, −R sin φ, 0 = 0, 0, +R2 dφ . Note: the direction of this vector product is always vertically Up, ⊥ to the plane of the ring, so the magnetic field’s direction is going to be vertically Up. As to the denominator of the BSL formula, the whole circular arc is at constant distance |r − r′ | ≡ R from the ring’s center, so the denominator is a constant R3 . Altogether, Z arc dr′ × (r − r′ ) = |r − r′ |3 Zϕ R2 (0, 0, 1) dφ ϕ = × (0, 0, 1), 3 R R (43) 0 so the magnetic field at point C is B(C) = µ0 × I × ϕ ×~ız . 4πR Note: the ϕ angle in this formula should be taken in radians. 12 (44)