Professional Documents
Culture Documents
Faca
Faca
www.lightandmatter.com
DC circuits
8 Electrical resistance 193
9 Parallel and series circuits 211
Iterated integrals
10 Iterated integrals 235
Sources of magnetism
11 Sources of magnetism 259
AC circuits
12 Review of oscillations, resonance, and complex num-
bers 293
13 AC circuits 311
14 Impedance 333
Stokes’s theorem
15 Stokes’s theorem 349
Relativity
17 Relativity (optional stand-alone chapter) 379
Contents
Preface for the student. . . . . . . . 10 2.8 Gauss’s law in local form, with field
Preface for the instructor . . . . . . . 11 vectors . . . . . . . . . . . . . . 60
Notes for chapter 2 . . . . . . . . . 64
Electric and magnetic fields Problems . . . . . . . . . . . . . 67
Minilab 2: Gauss’s law for magnetism . 71
6
5.2 Energy, pressure, tension, and mo- DC circuits
mentum in fields . . . . . . . . . . 123
Momentum, 123.—Pressure and tension,
126. 8 Electrical resistance
5.3 Force of a magnetic field on a charge131 8.1 Circuits . . . . . . . . . . . . 193
5.4 The dipole . . . . . . . . . . . 132
Complete circuits, open circuits, 193.—
5.5 E=mc2 . . . . . . . . . . . . . 136 Measuring the current in a circuit, 193.
Fields carry inertia, 136.—Equivalence of
8.2 Power . . . . . . . . . . . . . 196
mass and energy, 137.—A naughty infin-
ity, 139.—Summary of relativity, 140. 8.3 Resistance . . . . . . . . . . . 197
Notes for chapter 5 . . . . . . . . . 141 Resistance, 197.—Superconductors, 199.—
Problems . . . . . . . . . . . . . 143 Short circuits, 200.—Resistors, 200.
Minilab 5: The dipole and superposition 150 8.4 Flow of energy . . . . . . . . . 201
Exercise 5: Tension in the electric field . 152 Notes for chapter 8 . . . . . . . . . 204
Problems . . . . . . . . . . . . . 205
6 Radiation Exercise 8: Measuring voltage, current,
6.1 Wave patterns . . . . . . . . . 154 and resistance . . . . . . . . . . . 208
6.2 What it is that waves . . . . . . . 155 Minilab 8: Electrical measurements . . 210
6.3 Geometry of a plane wave . . . . 156
E and B perpendicular to the direction of
propagation, 156.—E and B equal in en-
9 DC circuits
ergy, 156.—E and B perpendicular to each 9.1 Schematics . . . . . . . . . . 211
other, 157.
9.2 Parallel resistances and the junction
6.4 Propagation at a fixed velocity . . . 158 rule . . . . . . . . . . . . . . . . 212
6.5 The electromagnetic spectrum . . 159
9.3 Series resistances and the loop rule 217
6.6 Momentum and rate of energy flow. 161
Momentum of a plane wave, 161.—Rate of
Notes for chapter 9 . . . . . . . . . 224
energy flow, 161. Problems . . . . . . . . . . . . . 225
6.7 Maxwell’s equations in a vacuum . 163 Lab 9: Voltage and current . . . . . . 228
6.8 Einstein’s motorcycle . . . . . . 167
Notes for chapter 6 . . . . . . . . . 168
Iterated integrals
Problems . . . . . . . . . . . . . 170
Exercise 6A: Polarization . . . . . . . 172
Exercise 6B: Maxwell’s equations applied 10 Iterated integrals (optional)
to a plane wave. . . . . . . . . . . 173
10.1 A warm-up: iterated sums . . . . 235
Minilab 6: A polarizing filter . . . . . . 174
10.2 Iterated integrals . . . . . . . . 237
7 ?More about relativity (op- 10.3 Varying limits of integration . . . 238
tional) 10.4 How to set up applications . . . . 240
7.1 Einstein’s motorcycle: the resolution 177 10.5 Electric field of a continuous charge
7.2 Implications for the structure of space distribution. . . . . . . . . . . . . 243
and time. . . . . . . . . . . . . . 180 10.6 Surface integrals . . . . . . . . 249
Combination of velocities, 180.—Length Curved surface, uniform field, 250.—Flat
contraction, 182.—Time dilation, 184. surface, varying field, 250.—The general
Notes for chapter 7 . . . . . . . . . 187 case, 252.
Problems . . . . . . . . . . . . . 188 Problems . . . . . . . . . . . . . 253
7
Sources of magnetism 13.4 Decay . . . . . . . . . . . . 323
The RC circuit, 323.—The RL circuit, 324.
Notes for chapter 13. . . . . . . . . 326
11 Sources of magnetism
Problems . . . . . . . . . . . . . 327
11.1 The current density . . . . . . . 259
Definition, 259.—Continuity equation, Minilab 13: Energy in electric and mag-
261.—?Transformation properties (op- netic fields . . . . . . . . . . . . . 330
tional), 264.
11.2 Maxwell’s equations . . . . . . 265 14 Impedance
Adding a current term, 265.—The view
from the top of the mountain, 266. 14.1 Impedance . . . . . . . . . . 333
11.3 Ohm’s law in local form . . . . . 267 14.2 Power . . . . . . . . . . . . 335
11.4 The magnetic dipole . . . . . . 268 A resistor, 335.—RMS quantities, 337.—A
Modeling the dipole using a current loop, capacitor, 338.—An inductor, 338.
269.—Dipole moment related to angular 14.3 Impedance matching . . . . . . 338
momentum, 270.—Field of a dipole, 271.
14.4 Impedances in series and parallel. 340
11.5 Magnetic fields found by summing
dipoles . . . . . . . . . . . . . . 272 14.5 Capacitors and inductors in series
and parallel . . . . . . . . . . . . 342
11.6 Magnetic fields for some practical
examples . . . . . . . . . . . . . 273 Problems . . . . . . . . . . . . . 343
11.7 ?The Biot-Savart law (optional) . . 275 Exercise 14: Impedance: see one, do one346
Notes for chapter 11. . . . . . . . . 278
Problems . . . . . . . . . . . . . 280 Stokes’s theorem
Lab 11: Charge-to-mass ratio of the elec-
tron. . . . . . . . . . . . . . . . 285
Exercise 11A: Currents and magnetic 15 Stokes’s theorem
fields . . . . . . . . . . . . . . . 287
15.1 A round-up of vector calculus . . 349
Exercise 11B: The magnetic field of twin-
lead cable . . . . . . . . . . . . . 289 15.2 Stokes’s theorem. . . . . . . . 351
15.3 Ampère’s law . . . . . . . . . 352
AC circuits 15.4 Faraday’s law . . . . . . . . . 353
Problems . . . . . . . . . . . . . 359
8
Relativity in forces exerted at a distance, 398.—More
evidence that fields of force are real: they
carry energy., 399.
17 ?Relativity (optional stand- 17.4 The light cone . . . . . . . . . 401
alone chapter) 17.5 ?The spacetime interval . . . . . 402
17.1 Time is not absolute . . . . . . 379 17.6 Four-vectors and the inner product 406
The correspondence principle, 379.— 17.7 Dynamics . . . . . . . . . . . 408
Causality, 380.—Time distortion arising Momentum, 408.—Equivalence of
from motion and gravity, 380. mass and energy, 412.—?The energy-
17.2 Distortion of space and time . . . 382 momentum four-vector, 416.—?Proofs,
The Lorentz transformation, 382.—The G 419.
factor, 387.—The universal speed c, 393. Problems . . . . . . . . . . . . . 422
17.3 No action at a distance . . . . . 398
The Newtonian picture, 398.—Time delays Photo Credits . . . . . . . . . . . 439
9
Preface for the student
Electricity and magnetism is more fun than mechanics, but it’s also
more mathematical. Most schools have their curriculum set up so
that the typical engineering student takes electricity and magnetism,
or “E&M,” concurrently with a course in vector calculus (a.k.a. mul-
tivariable calculus). E&M books normally introduce the same math
for the benefit of students who will not take vector calculus until
later, or who will learn a relevant topic in their math course too late
in the semester. That’s what I’ve done in this book, but I’ve also
delayed some of the mathematical heavy lifting until the very end
of the book, so that you will be more likely to benefit from having
seen the relevant material already in your math course.
Since the book is free online, I’ve tried to format it so that
it’s easy to hop around in it conveniently on a laptop. The blue
text in the table of contents is hyperlinked. Sometimes there are
mathematical details or technical notes that are not likely to be of
much interest to you on the first read through. These are relegated
to the end of each chapter. In the main text, they’re marked with
blue hyperlinked symbols that look like this: ☡ 137. On a computer,
you can click through if you want to read the note, and then click
on a similar-looking link to get back to the main text. The numbers
are page numbers, so if you’re using the book in print, you can also
get back and forth efficiently.
There’s a saying among biologists that nothing in biology makes
sense without evolution. Well, nothing in E&M makes sense with-
out relativity. Although your school curriculum probably places
relativity in a later semester, I’ve scattered a small amount of crit-
ical material about relativity throughout this book. If you prefer
to see a systematic, stand-alone presentation of this material, I’ve
provided one in ch. 17, p. 379.
10
Preface for the instructor
I’ve attempted an innovation in the order of topics for freshman
E&M, the goal being to follow the logical sequence while also pro-
viding plenty of opportunities for relating abstract ideas to hands-
on experience. The typical sequence starts by slogging through
Coulomb’s law, the electric field, and Gauss’s law, none of which
are well suited to practical exploration in the laboratory. In this
book, each of the first 5 chapters is short and includes a laboratory
exercise that can be completed in about an hour and a half. The
approach I’ve taken is to introduce the electric and magnetic field
on an equal footing (which is in fact the way the subject was de-
veloped historically). As empirically motivated postulates, we take
some primitive ideas about relativity along with the expressions for
the energy and momentum density of the fields.
Another goal is to introduce the laws of physics in their natural,
local form, i.e., Maxwell’s equations in differential rather than inte-
gral form, without getting bogged down in an extensive development
of the toolbox of vector calculus that would be more appropriate in
an honors text like Purcell. Much of the necessary apparatus of div,
grad, and curl is developed first in visual or qualitative form. At the
end of the book we circle back and do some problem solving using
the integral forms of Maxwell’s equations.
11
12
Electric and magnetic
fields
13
A telescopic view of an energetic
eruption on the sun, August 2012.
The bright loops at the upper left
are ionized gas following the sun’s
magnetic field lines.
Chapter 1
Electric and magnetic
fields
A college campus. Many, perhaps most, of the people walking by are
doing something with their phones. They are sending and receiving
invisible radio signals, which are disturbances in the electric and
magnetic fields, sort of like disturbances in “the force” in Star Wars.
Surrounding and penetrating the landscape of people, trees, and
buildings, there is a second, hidden landscape of these fields. This
hidden aspect of reality has no mass and is not made of material
particles such as electrons.
15
by Hafele and Keating in 1971 (figure a). The two physicists brought
atomic clocks with them on round-the-world flights aboard commer-
cial passenger jets, then compared the clocks with other clocks that
had been left at home. When the clocks were reunited, they dis-
agreed by ∼ 100 ns. The results were consistent with Einstein’s 1915
theory of relativity, and were interpreted as a combined effect from
motion and gravity. Because it’s difficult to move a clock very fast
without putting it on an airplane, it wasn’t until 2010 that Chou
et al.1 succeeded in carrying out a conceptually simpler tabletop
experiment in which a clock was simply moved around (at speeds
on the order of 10 m/s) without taking it to high elevation, thus
a / The clock took up two seats, isolating the effect of motion from the gravitational effect. It is the
and two tickets were bought for it
effect of motion that will be of interest to us here.
under the name of “Mr. Clock.”
It would be natural to try to explain this effect of motion as aris-
ing from the clocks’ sensitivity to noise, cabin pressure, or vibration.
But exactly the same effect is observed with other, completely dif-
ferent types of clocks under completely different circumstances, and
even with processes such as the decay of elementary particles mov-
ing at high speeds — the radioactive half-life is prolonged if the
particles are in motion.
The conclusion is that time itself is not absolute: when one
observer is in motion relative to another observer, they will disagree
on the rate at which time passes. A clock appears to tick at its
normal rate according to an observer who is at rest relative to the
clock, while observers moving relative to the clock say that the clock
is slow.
We are now ready to connect these observations about time back
to our main subjects of study, which are the electric and magnetic
fields. We will prove that if time is relative, then disturbances in the
electric and magnetic fields must propagate (travel or spread out)
at some finite speed, not instantaneously. The logic works like this.
Suppose that observers Alice and Betty are both aboard spaceships,
and moving at velocities that are different from each other, but
both constant. Alice is free to choose her own ship as a frame of
reference, in which case she considers herself to be at rest while
b / Circular ripples propagate
Betty moves. But the situation is completely symmetrical, so Betty
outward in a puddle at a fixed,
finite speed. can say the same thing. Because motion is relative, we can’t say who
is “really” moving and who is “really” at rest. Alice says Betty’s
time is slowed down due to the effect of motion on time, but Betty
says Alice is slowed down. This seems paradoxical, since it seems
that they should be able to get in contact by radio and resolve the
disagreement. But our experience talking on cell phones misleads
us into assuming that radio communication is instantaneous. It
isn’t. I haven’t demonstrated in mathematical detail exactly how
logical consistency is restored by the fact that signals take time to
1
Science 329 (2010) 1630
Figure c shows the wide variety of tools that are used for deal-
ing with electric and magnetic fields. All of these can be used to
detect the presence of fields, and some can actually measure the
fields quantitatively. Many of them (the photovoltaic panels, Geiger
counter, 19th-century x-ray film, and human eye) work by taking in
the energy of the fields. Some of them are specialized for constant
fields and others for oscillating ones. Among those that work with
oscillating fields, there is further specialization by frequency. For
example, the Geiger counter can detect gamma rays, which are a
form of very high frequency light, but not radio waves.
Assumption 3, superposition, is typical of wave phenomena, as
shown in figure d. As an example involving electric and magnetic
fields, the lens in figure e brings the three beams of light together at
a point, and the waves pass through one another. The electric and
magnetic fields in the region of intersection add as vectors but do
not otherwise interact. The beams emerge unscathed on the other
side.
To see the significance of assumptions 1 and 2, the observability
and vector nature of the fields, it may be helpful to see examples of
how they do not hold for other phenomena besides electricity and
magnetism. These are a little exotic and are just for fun. If this
sort of thing doesn’t interest you for its own sake, feel free to skip
d / Wave pulses on a coil
ahead to section 1.3. spring travel toward each other,
Our universe does contain fields that are scalars rather than superpose, and reemerge without
vectors. One example is dark energy, discovered in 1998, which interacting.
drives the accelerating expansion of the universe. Another example
is the Higgs field, whose existence was predicted theoretically in
1964 and which was detected experimentally at the Large Hadron
Collider in 2012.
For the vector directly from San Diego to Las Vegas, we have
The distance from San Diego to Las Vegas is found using the
Pythagorean theorem,
p
(172 km)2 + (376 km)2 = 410 km
(rounded to two sig figs). The direction is one of the two possible
values of the inverse tangent
Rx = Px Qx
Ry = Py Qy
Rz = Pz Qz .
just because you rotate it. The compass’s computer chip figures
out that some effect, possibly a slight magnetization of its hous- k / The magnitude of the cross
ing, must be adding an erroneous 0.2 units to all the Bx readings, product is the area of the shaded
parallelogram.
because subtracting this amount from all the Bx values gives vec-
tors that have the same magnitude, satisfying rotational invari-
ance.
Cx = Ay Bz − By Az
Cy = Az Bx − Bz Ax
Cz = Ax By − Bx Ay .
Discussion questions
A Suppose one magnetic field has a magnitude of 1 unit, another one
2 units. (We won’t worry about what these units are called or how they fit
into the SI until sec. 1.5.2, p. 28.) If you can superimpose these two fields
in any orientation, what possible magnitudes can you get?
Now suppose that the magnets are brought near to each other,
so that the volumes v coincide. In the case where the fields are
reversed in relation to each other, the fields cancel (subject to our
crude approximations), and we have
c2 2 2
F ≈2 B `
8πk
(3 × 108 m/s)2
=2 (6 × 10−3 T)2 (4 × 10−2 m)2
8π(9 × 109 N·m2 /C2 )
m2 /s2
= 0.05 −2
T2 ·m2 .
2
N·m ·C
To unroll the hairball of units, we use the fact that 1 T = 1 N·s/C·m,
and verify that the result turns out to be a force in units of newtons
(problem 16, p. 35), which is as expected because when we plug
in SI units, we should get a result in SI.
A force of 0.05 N is considerably too low for such massive mag-
nets, and this is probably because the magnetic field in figure i
was measured rather far away from the magnet in order to keep
from overloading the sensor.
Generalizing the idea of example 3 (details ☡ 32), we can define
any field’s direction relative to the direction of any other field. What
we do not yet have is an absolute definition of the direction of a field,
and in particular there is an ambiguity because we could always flip
the direction of all our field vectors, simply as a matter of definition.
This final ambiguity will be resolved in section 2.1.
Discussion question
A Strictly speaking, the argument on p. 27 only shows that the energy
in a field depends on its squared magnitude, not that it is proportional
to its squared magnitude. Recall that when we say y is proportional to
x , y ∝ x , we mean not just that when x increases, y increases as well,
but also that y is equal to x multiplied by some constant. What goes
wrong with the following proposed expressions for the energy density of
the electric field?
(constant) sin E 2
(constant)(E 2 + E 4 )
4 Two electric fields, both lying in the x-y plane, are superposed.
Field E1 has a magnitude of 35.24 N/C and points in the direction
217.3◦ counterclockwise from the x axis. Field E2 has magnitude
48.01 N/C and direction 11.7◦ counterclockwise from the x axis. √
Find the magnitude and direction of the total field.
x̂ + 2ŷ + 3ẑ
4x̂ + 5ŷ + 6ẑ
√
. Hint, p. 427
Problems 33
8 Find a vector that is perpendicular to both of the following
two vectors:
x̂ + 2ŷ + 3ẑ
4x̂ + 5ŷ + 6ẑ
m2 /s2
T2 ·m2
N·m2 ·C−2
Problems 35
17 Consider the following statements:
1. If the dot product of two vectors is zero, then they are per-
pendicular.
2. If the cross product of two vectors is zero, then they are in the
same direction.
Give one reason why statement 1 is false and two reasons why 2 is
false. . Solution, p. 428
18 Suppose that you are given vectors u and v, their components
being specified in three dimensions. These vectors describe two sides
of a triangle, and you want to find the triangle’s area. This can be
done using only the operation of the dot product, or using only the
cross product. Outline both methods, and comment on which is
more efficient. . Solution, p. 428
19 Prove the anticommutative property of the vector cross prod-
uct, A × B = −B × A, using the expressions for the components of
the cross product. Note that giving an example does not constitute
a proof of a general rule.
20 Find three vectors with which you can demonstrate that the
vector cross product need not be associative, i.e., that A × (B × C)
need not be the same as (A × B) × C.
21 Let a and b be any two numbers (not both zero), and let
u = ax̂ + bŷ. Suppose we want to find a (nonzero) second vector
v in the x-y plane that is perpendicular to u. Use the vector dot
product to write down a condition for v to satisfy, find a suitable
v, and check using the dot product that it is indeed a solution.
?
22 Suppose someone proposes a new operation in which a vector
E and a scalar B are added together to make a new vector C like
this:
Cx = Ex + B
Cy = Ey + B
Cz = Ez + B
For example, we could do this using the electric field vector for E,
and the magnitude of the magnetic field vector for B. Prove that this
operation won’t be useful in physics, because it’s not rotationally
invariant (sec. 1.3.5, p. 24). Note that this is a pure math problem
requiring no knowledge of electricity and magnetism. ?
41
Explaining the attraction example 1
To explain the attraction between two objects in an observation
like the one in figure a, we can employ an argument very similar to
the one used in the case of the two horseshoe magnets, example
3, p. 29. We idealize each of the two objects as a point. When
the objects are far apart, each has some electric field energy,
and these add up to some nonzero amount U1 . For our present
purposes, we do not even need to know yet the function E(r )
that gives the magnitude of the electric field as a function of the
distance away from the object. For simplicity, we will assume that
the two objects have fields that are equal in strength but opposite
in magnitude. (A qualitatively similar result is obtained even if
we relax this requirement.) Now suppose the two objects are
brought so close together that they are right on top of each other.
The fields will cancel everywhere, and we will have the energy
U2 = 0. This loss of electric field energy means that we can do
mechanical work by allowing the objects to come together, or if
the objects were released in free space, they could convert this
field energy into kinetic energy as they accelerated toward each
other. Our conclusion is that the force is attractive.
We have not considered the intermediate case where the dis-
b / Example 1. The labels + tance between the charges is nonzero but still small enough so
and − are explained in the that the fields overlap appreciably, as in figure b. In the region
following subsection. indicated approximately by the shading in the figure, the super-
posing fields of the two charges undergo partial cancellation be-
cause they are in opposing directions. The energy in the shaded
region is reduced by this effect. In the unshaded region, the fields
reinforce, so the energy there is increased.
It would be quite a project to do the integral in order to find the
energy gained and lost in the two regions, but it is fairly easy to
convince oneself that the energy is less when the charges are
closer, as expected from interpolation between U1 and U2 . This
is because bringing the charges together shrinks the high-energy
unshaded region and enlarges the low-energy shaded region.
A similar definition is used for the flux of the electric field. Because
the dot product is a scalar, flux is a scalar. Like the kind of ordi-
nary definite integral from freshman calculus, this notation defines
a number. (If you’re used to interpreting an integral sign without
limits of integration as an indefinite integral, then you would be mis-
led into thinking that this was an indefinite integral, which would
be a function rather than a number. Also keep in mind that the
notation dA does not mean that we’re integrating with respect to
some variable A; it just means an infinitesimal area.)
A closed surface is one that has no edges, like a box rather than
a piece of paper. Gauss’s law in a vacuum can be stated in terms
of the field vectors, in global form, by saying that the magnetic flux
through any closed surface is zero,
Z Z
g dA = g2 dA,
top top
Φg = g2 A2 − g1 A1 .
−2
g2 A1 r2
= = ,
g1 A2 r1
i.e., g ∝ r −2 , as expected.
R
An integral of the form . . . · dA is called a surface integral. In
example 2, we were able to evaluate a surface integral without really
knowing any fancy calculus, because the integrand was basically a
constant, and we know that for any kind of integral, we can take
the constant outside the integral. Techniques for evaluating more
complicated area integral are discussed in ch. 10, p. 235.
Discussion question A.
B One question that might naturally occur to you about Gauss’s law
is what happens for charge that is exactly on the surface — should it be
counted toward the enclosed charge, or not? If charges can be perfect,
infinitesimal points, then this could be a physically meaningful question.
Suppose we approach this question by way of a limit: start with charge
q spread out over a sphere of finite size, and then make the size of the
sphere approach zero. Figure k/B shows a uniformly charged sphere
that’s exactly half-way in and half-way out of the cubical Gaussian surface.
What is the flux through the cube, compared to what it would be if the
charge was entirely enclosed? (There are at least three ways to find this
flux: by direct integration, by Gauss’s law, or by the additivity of flux by
region.)
kq
E= [point charge at rest]
r2
kq
E= r̂.
r2
In the case where q < 0, the scalar factor is negative, and the electric
field points inward.
There is a subtle point about the logic leading to these equa-
tions for the field of a point charge, which is that we obtained them
without ever using any laws of physics that described the point
charge itself. We used the only form of Gauss’s law currently at our
disposal, the vacuum form, which applies only to the empty space
around the charge. By doing this, we found the proportionality
E ∝ 1/r2 , and it is in some sense arbitrary that we chose to refer to
the proportionality constant q as “charge.”