You are on page 1of 12

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

dr′ × (r − r′ )
Z
µ0
B(r) = ×I × . (1)
4π |r − r′ |3
W

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 for-
mula (1) via the superposition principle:

wires
dr′ × (r − r′ )
Z
µ0 X
B(r) = × Ii × . (2)
4π |r − r′ |3
i 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′ ), (3)
W W whole
space

In this case, the magnetic field becomes

J(r′ ) × (r − r′ )
ZZZ
µ0
B(r) = d 3 r′ . (4)
4π |r − r′ |3

1
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

y
I r′

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 . (7)

2
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)


 (8)
= z cos φ, z sin φ, R Rdφ,

while in the denominator

3/2
|r − r′ |2 = R2 + z 2 =⇒ |r − r′ |3 = R2 + z 2 . (9)

Combining the numerator and the denominator, we obtain

dr′ × (r − r′ )
I
µ0
B(0, 0, z) = ×I ×
4π |r − r′ |3
W

z cos φ, z sin φ, R Rdφ
I
µ0 I
= ×
4π R2 + z 2
3/2 (10)
W
Z2π
µ0 I R 
= × 3/2 × z cos φ, z sin φ, R dφ,
4π R2 + z 2 0

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π

z cos φ, z sin φ, R dφ = 2πR ×~ız . (12)
0

3
Altogether,

3/2
R2

µ0 I R µ0 I
B(0, 0, z) = × × 2πR~
ız = × ×~ız . (13)
4π R2 + z 2
3/2 2R R2 + z 2

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

3/2
x2 + y 2 + (z − z ′ )2 , (15)

so altogether

+∞
µ0 × I (−y, +x, 0) dz ′
Z
B(x, y, z) = × 3/2
4π x2 + y 2 + (z − z ′ )2
−∞
+∞
(16)
µ0 × I dz ′
Z
= × (−y, +x, 0) × 3/2 .
4π x2 + y 2 + (z − z ′ )2
−∞

The remaining integral here evaluates to

+∞
dz ′ 2
Z
3/2 = x2 + y 2 ; (17)
−∞
x2 + y 2 + (z − z ′ )2

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

µ0 × I (−y, +x, 0)
B(x, y, z) = × . (18)
2π x2 + y 2

In terms of cylindrical coordinates (ρ, φ, z), the (−y, +x, 0) vector is ρ~ıφ , hence

(−y, +x, 0) ~ıφ


2 2
= (19)
x +y ρ

so the magnetic field is


µ0 × I
B(ρ, φ, z) = ~ıφ . (20)
2πρ

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,

segments
µ0 × I dr′ × (r − r′ )
X Z
B(r) = × . (21)
4π |r − r′ |3
i segment#i

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 α1 (22)

~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
(23)
≡ dr′ × (r − r′1 )
= 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

Zℓ2
µ0 × I dℓ × h
B = × (24)
4π |r′ − r|3
ℓ1

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 ℓ,

 3/2
|r′ − r|2 = ℓ2 + h2 =⇒ |r′ − r|3 = ℓ2 + h2 , (25)

so the BSL integral (24) becomes

Zℓ2
µ0 × I h × dℓ
B = × 3/2 . (26)
4π ℓ2 + h2
ℓ1

To evaluate this integral, we change the integration variable from ℓ to the angle

ℓ h
α = 90◦ + arctan = arc cot . (27)
h −ℓ

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 dα h2
ℓ = −h × cot α, dℓ = + , ℓ2 + h2 = , (28)
sin2 α sin2 α

hence
h × dℓ h dα sin3 α sin α d cos α
= h × 2 × = dα = − ,
ℓ2 + h2
3/2
sin α h3 h h

and therefore
Zℓ2 Zα2
h × dℓ 1 cos α1 − cos α2
3/2 = − h d cos α = h
. (29)
ℓ2 + h2 α
ℓ1 1

Altogether, the magnetic field of a straight wire segment is

µ0 × I
B(r) = × (cos α1 − cos α2 ) ×~ı⊥△ (30)
4πh

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,
µ0 × I
B∞ = . (31)
2πh

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

µ0 × I ◦ ◦
√  2 µ0 I
B1 segment = × 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 4 2 µ0 I 8 2 µ0 I
Bsquare = 4 × B1 segment = × = × . (32)
2π a π 4a

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


N

Simple geometry+trigonometry for this triangle gives us

π π
α1,2 = ∓ , (33)
2 N
π
cos α1 − cos α2 = 2 sin , (34)
N
a π
h = × cot , (35)
2 N

and therefore

µ0 I cos α1 − cos α2 µ0 I 2 tan Nπ π


B1 segment = × = × × 2 sin . (36)
4π h 4π a N

Finally, combining all N segments, we find the magnetic field at the center of the polygon is

µ0 × I π π µ0 × I N 2 π π
B = N ×B1 segment = N × ×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,
N2
 
π π
lim × sin × tan = π, (38)
N →∞ π N N

hence the magnetic field at the center of the polygon becomes

µ0 × I µ0 × I
B = ×π = , (39)
2πR 2

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

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 straight-
line 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φ, (42)

11
hence in the numerator of the Biot–Savart–Laplace integral

dr′ × (r − r′ ) = 0, 0, +R2 dφ .
  
−R sin φ, +R cos φ, 0 dφ × −R cos φ, −R sin φ, 0 =

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,


dr′ × (r − r′ ) R2 (0, 0, 1) dφ
Z
ϕ
= = × (0, 0, 1), (43)
|r − r′ |3 R 3 R
arc 0

so the magnetic field at point C is

µ0 × I × ϕ
B(C) = ×~ız . (44)
4πR

Note: the ϕ angle in this formula should be taken in radians.

12

You might also like