Book Review: Griffiths on Electricity & Magnetism
The seminal textbook, refracted through three lenses
I like explaining things.
I think people explain things poorly a lot. They start in the wrong place. They use jargon to avoid explaining and to signal. They don't remember what it was like to be outside of this knowledge they are attempting to give.
It happens in life all the time, which is to be expected. It happened many times at the two (good) colleges I attended, which was surprising at the time but perhaps should not have been.
Of course many college professors are there to do research, not to teach. But you know who does get paid strictly to teach? Textbook authors. The whole goal is to crystalize good pedagogy into something that scales and enable lesser educators to teach the material effectively.
And yet, many textbooks are not good at teaching. In adulthood I have read many STEM textbooks cover-to-cover.1 These are textbooks that are supposed to be standards in their fields, yet most of them are not great reading. The median textbook is more like a reference manual with practice problems than a learning experience.
Given the existence and popularity of nonfiction prose on any number of topics, isn’t it odd that most textbooks are so far from good nonfiction? We have all the pieces, why can’t we put them together? Or are textbooks simply not meant to be read?
Certainly most students don’t read them that way. They skim the chapters for equations and images, mostly depend on class to teach the ideas, then break out the textbook for the problem set and use the textbook as reference material. You don't get the narrative that way.
Introduction to Electrodynamics by David Griffiths is the E&M textbook. We had it in my E&M class in college. It has 4.3k ratings (with a 4.3 star average!) on Goodreads. It was easy to pirate even when most textbooks weren’t digital. Ask your neighborhood engineer: if she took E&M, she probably used Griffiths.
Griffiths is so readable that you can read it like a regular book, cover to cover. So that’s what I did. In fact, I re-read it; this is the second time in my post-college life where I have chosen to read this textbook purely for pleasure. And I wanted to share that pleasure with you.
Part One: Electricity & Magnetism
By the end of this section, you will understand why magnetism entails relativity, just like Einstein did.
Math
Despite being a physics textbook, the book’s first chapter is about math. I realized much too late in my educational career that physics is just applied math, and it haunted me throughout my engineering studies that I didn’t take some of the math more seriously. Even in adulthood it has been a problem; I had to reteach myself linear algebra to make sense of machine learning.
While the second chapter starts the physics, the third chapter is again about math! It has a dash of the physics in it, but really just as motivation - a classic Griffiths technique to give import to seemingly arbitrary material in the eyes of novice readers.
Electrostatics
The foundational concept of E&M is charge.
Charge is an inherent property of matter, just like mass and volume and temperature. We don’t deal with it directly day-to-day like we do with the other properties though, just with the downstream applications of charge like electronics.
That’s because most things we deal with are charge-neutral - they have equal amounts of positive and negative charge. Sometimes we see directly what happens when charge is unequal - static from the dryer or rubbed balloons causing hair to stand up - but mostly our charges live in harmony. In fact, the entire universe on net is charge-neutral.2
Between charges are electric fields.3 The most common way to visualize fields is lines in space. For electric fields, it’s lines connecting positive and negative charges, usually drawn with arrows going from positive to negative.
Understanding how electromagnetic fields work and change is most of the book.4
The electric force is like gravity in many ways, except there’s no negative mass and masses can only attract, not repel. Coulomb’s law is a direct translation of Newton’s law of universal gravitation.5
While Griffiths does go into more rigorous and technical depth, there are many other spots of intuition-building. Later in Electrostatics he introduces Gauss’s Law in a similar fashion, showing how the electric field on a closed “surface” (usually an imaginary sort of envelope drawn in certain easy-to-calculate shapes) is proportional to the net electric charge inside that closed surface.
Rounding out electrostatics is voltage, which we mostly think of in the context of electronics. Voltage is like what novices imagine fields to be: a somewhat man-made concept to help us think about the base physical quantity. In this case, the voltage is a single number that you can take the gradient (3D derivative) of to get the electric field. The bigger the voltage difference between two points, the stronger the electric field.
Magnetostatics
A brief word about magnetism first. When most people think of magnetism, they think of fridge magnets and the like. That’s called ferromagnetism, and unfortunately it’s actually pretty complicated. Put aside your intuition for magnets going forward.
Instead, start with a thought experiment. You have a long loop of wire hanging from the ceiling, with the two vertical segments close together. If you suddenly run some current through the loop, you’ll find the two vertical segments jump away from each other. Why?
The answer is magnetism, but it will take some explaining of component concepts to understand why.
A steady current produces a steady magnetic field, hence “magnetostatics”. Here’s what the field lines look like:
Magnetic fields, being part of E&M, act on charges. But they act in a funny way, only redirecting charges in motion - never starting or stopping charge movement.6 In fact, the force of the magnetic field points perpendicular to the charge’s velocity and to the magnetic field itself. So in the picture above, if a positive charge is moving up (parallel to the wire), the force points towards the wire. If the same charge is moving down, the force points away from the wire.
Now we see what’s happening with our wire loop. Since current is just moving charges, we see the field from the vertical segment on the left creates a force in the vertical segment on the right that points away from the left segment. Similarly, the field from the right segment creates a force in the left segment that points away from the right segment.7
One final note about magnetostatics: there are no magnetic monopoles. In other words, when you have a ferromagnet like on your fridge, there is always a north and a south pole of the magnet; foreshadowing, for the careful reader.
Electrodynamics
We already let our charges move in the previous section, but only so that we could create magnetic fields. Let’s look at the whole picture of E&M when everything can move.8
Electricity is just moving charges. The electricity in our houses is electrons (negative charges) moving through conductors, mostly copper. Current measures how much charge is moving through the wire per second.9
Now how do we make electricity? How do we push these charges around? The most common way is with a changing magnetic field.
Imagine a loop of wire and a magnet, where the magnet is shaped like a capital C, so that the north and south poles directly face each other, creating an area of uniform magnetic field. A loop of wire is partially in the field, as shown below.
Now imagine you pull the loop out of the field. Because you’re moving the wire loop, you’re also moving the electrons in that loop. The magnetic field will create a force on those electrons that is perpendicular to both the field and the direction the wire is moving. As a result, the electrons will flow along the wire.
Incidentally, if you hold the loop still and move the magnet, the same thing will happen. We’re not surprised to hear that because we know relativity, but at the time people did this alternative experiment Einstein hadn’t come along yet. Remember that for later.
Also, if you actually have an electromagnet and can vary the strength of B, then you can keep both the magnet and the wire loop in place and still produce electricity. Here we can’t explain the movement of electrons along the wire using redirected motion! Instead, it must be that changing magnetic fields produce electric fields, which then move the electrons.
Michael Faraday did the three experiments above, and he got a law named after him that specifies how a magnetic field changing in time creates an electric field. The more famous man, perhaps the most famous in all of E&M, got naming rights to a whole set of equations for proving the complement: an electric field changing in time creates a magnetic field.
I’m talking about James Clerk Maxwell, and his four Maxwell’s equations that encapsulate nearly all of E&M:
He didn’t discover any one of them, but he fixed the fourth one and put them all together to interweave what were previously disparate threads.
Here’s what they say in plain English:
Electric fields are proportional to charge
There are no magnetic charges/monopoles
Changing magnetic fields produce electric fields
Current and changing electric fields each produce magnetic fields
Here is what Griffiths has to say in the intermission after this chapter:
All of our cards are now on the table… we assembled electrodynamics piece by piece, and now, with Maxwell’s equations in their final form, the theory is complete… But in another sense we have just arrived at the starting point. We are at last in possession of a full deck - it’s time to deal.
There are two beautiful hands to play: electromagnetic waves and relativity.
Electromagnetic Waves
Consider Maxwell equations 3 and 4: changing magnetic fields produce electric fields, and changing electric fields produce magnetic fields.
Doesn’t that sound enticing? A change in one produces another, over and over again, in perpetual motion. But is it possible?
The answer is yes. We have just described light.
Electromagnetic waves compose light, of all frequencies: radio waves, microwaves, infrared, visible light, ultraviolet, x-rays, and more. They are nothing but electric and magnetic fields changing in time, dancing around each other at a certain frequency and traveling forward at, well, the speed of light.10
Relativity
It may be surprising to see Einstein’s relativity in a textbook about charges and magnets, but it turns out we need to think relativistically in order to close the loop (get it?) on magnetism.
To recap relativity: the same physical laws apply in any “inertial reference frame”, i.e. a frame of reference that is at rest or moving at constant velocity. For example, if I toss a tennis ball up and down in my hand by the side of the road, and you do the same thing in the passenger seat of a car doing double nickels on the dime, both balls will behave the same way from each of our points of view, even though from my point of view your ball is moving forward quickly and up-and-down a bit.
A shorter way of saying all that: the forces are the same in any two settings that aren’t themselves experiencing a net force. So if your car suddenly floors it, your ball is going to move differently than mine because of the force from the car.
For E&M, think back to the case of the magnet and the wire loop. If the magnet is at rest in one frame, and the loop is moving through the magnetic field, then we would say the magnetic field is redirecting the motion of the electrons in the loop, producing current.
However, if the loop is at rest in the other frame, and the magnet is moving, then we would say a changing magnetic field produces an electric field, which then moves the electrons, producing the exact same current.
Einstein’s question was this: how can two different physical mechanisms both be correct just from our choice of reference frame?
His answer was that the two mechanisms must actually be the same. Magnetism must be a relativistic consequence of electrodynamics.
To understand why, we’ll use a thought experiment, just as Einstein did to illustrate many of his ideas. It relies on another aspect of relativity called Lorentz contraction: moving objects are shortened.
Imagine two lines of charge. One line has positive charges, and the other has negative charges. The lines are right next to each other and the charges on each line are equally spaced, i.e. the charge densities are equal, so there is no net charge and hence no electric field other than right between the two lines of charge.
From the perspective of an observer at rest, the positive charges move to the right at speed v, and the negative charges move left at the same speed v. Finally, there is a small positive “test charge” nearby, also moving right at speed v.
The current of each line is J, for a total current of 2J. (Remember, negative charges moving left is electrically equivalent to positive charges moving right.) The current produces a magnetic field in circles around the “wire” comprising the two lines of charge close together. The resulting force pulls the test charge towards the wire.
Now switch to the reference frame of the test charge. Here, the magnetic field cannot move the test charge, since the test charge isn’t moving and the magnetic field isn’t changing.
We know from relativity that the forces will be the same regardless of reference frame. Since we ruled out magnetic force, there must be an electric force. But how?
Think about the speeds of the line charges. The speed of the positive line charge is zero relative to the test charge, but the speed of the negative line charge is 2*v. Without relativity, there should be no difference in current: 2J. With relativity, we have an additional impact from Lorentz contraction.
If the negative charges are closer together in the test charge reference frame, then the density of negative charges is higher than the density of positive charges. The “wire” is no longer electrically neutral! The net negative charge creates an electric field, which attracts the positive test charge. If you work out the math, the force is exactly equal to the magnetic force from the observer’s frame. Magnetism is a relativistic phenomenon.
This is Griffiths’s coup de grace: an intuitive way to show the twin fields of electricity and magnetism are two aspects of the same thing - electromagnetism.
Part Two: Pedagogy
Legions of engineers hold a special place in their hearts for Griffiths. Why?
For one, it’s readable. That’s fine enough praise for a prose book, but for a textbook that’s extraordinary. I defy you to name a textbook from your educational history where reading a few pages didn’t feel like choking on sand. I know Griffiths’s achievement is not unique, but it’s highly unusual, and as a result few students know the pleasure of a digestible textual tour of a field.
Look no further than the table of contents to see how considerate Griffiths is of the reader. After a short preface there is a chapter called Advertisement, laying out in four pages of pure prose (no math!) why the topic of the textbook matters at all. He does the reader the service of situating electrodynamics in the history and domains of physics, providing narrative and scientific motivation for everything that follows.
Hell, this textbook has an intermission! When was the last time any book offered you a conscious break, a chance to get off the ride with something valuable and somewhat self-contained if you feel your journey is done.
Another kindness the author does for the reader is meeting her where she’s at. One issue for E&M that doesn’t apply to some other topics is we all have experience with it. Everyone reading his textbook has used electricity, has played with magnets, has seen and manipulated light. There are preconceptions lurking that Griffiths is on guard for, anticipating and disarming them so they cannot strike when the relevant lesson comes along.
Griffiths also meets readers where they’re at by providing qualitative and graphical explanations alongside the math, usually before the math so the formulas have context and the reader has a reason to care. Notice in Part One of this review that there is almost no math. In my post-college readings I did not review every single formula and derivation, and I didn’t do any problem sets, yet I still received a good education in E&M. The college student assigned the problem sets surely appreciates the math in the chapters, but I think Griffiths knew how few students would keep the math after they finished the semester; he made sure the qualitative understanding could stick. He notes in the first paragraph of the Preface: “My approach is perhaps less formal than most; I think this makes difficult ideas more interesting and accessible.”
For the quantitative reader - or the student facing a semester of problem sets - Griffiths kindly focuses on the math before dipping into any of the physics. He has to assume some level of prior education, as any author does, but the lean and efficient tour through vector calculus is an immense relief to any student starting the school year fresh, having forgotten all his vector calculus from the year before. (It works for the lay reader, too.)
It’s no surprise the textbook began as a series of lecture notes. The sheer wisdom of the author in knowing and anticipating how the reader will react to each successive step of electrodynamic theory can only have come from experience and iteration, not a grand authorial vision.
I suspect most textbooks have the problem sets in mind first, knowing most students will scavenge the pages of prose for just the formulas and information they need to finish their homework. If so, I’m not surprised most authors seem to care little for their readers. Griffiths chose to care, and it shows.
Part Three: Straussian Reading
E&M is steeped in history. Griffiths can’t help but weave narrative into the text, not least because so many laws have names attached to them: Coulomb, Gauss, Biot-Savart, Ampere. Maxwell gets a whole set of them, a victory prize for reaching the finish line of classical electrodynamics first.
The story of E&M is one of groping discovery, feeling different parts of the elephant for decades in the dark until some electromagnetic waves strike the animal entirely. As the Advertisement chapter notes:
The laws of classical electrodynamics were discovered in bits and pieces by Franklin, Coulomb, Ampere, Faraday, and others, but the person who completed the job, and packaged it all in the compact and consistent form it has today, was James Clerk Maxwell. The theory is now about 150 years old.
And:
In the beginning, electricity and magnetism were entirely separate subjects. The one dealt with glass rods and cat’s fur… the other with bar magnets… But in 1820 Oersted noticed that an electric current could deflect a magnetic compass needle. Soon afterward, Ampere correctly postulated that all magnetic phenomena are due to electric charges in motion. Then, in 1831, Faraday discovered that a moving magnet generates an electric current. By the time Maxwell and Lorentz put the finishing touches on the theory, electricity and magnetism were inextricably intertwined.
Concluding:
By 1900, then, three great branches of physics - electricity, magnetism, and optics - had merged into a single unified theory.
So we see approximately a century of progress culminate in a more-or-less finished product, classical electrodynamics.
But look back to Part One’s section on relativity. An inconsistency in physical explanations tugged at Einstein’s brain. Perhaps it could be put aside, dealt with later! After all, the two explanations yielded the exact same quantities. But it could not be put aside. Einstein tugged at that little inconsistency in 1905 until it pulled the fabric of space apart, only for him to reweave it as spacetime; relativity put an end to the absolute and the classical.
Relativity was not the only disturbing conclusion birthed from electrodynamics. Another field, too disturbing for even Einstein, emerged into the world around the same time: quantum mechanics.
The book only brushes up against QM, although Griffiths has another excellent textbook on the subject. Still, the history is plain; classical electrodynamics makes wildly incorrect predictions on the atomic level, like that electrons should spiral into nuclei rather than orbit eternally. As with relativity, the new physics addressed the issues of the old right around 1900.
A grand, triumphant, unifying and totalizing field sowing the seeds of its own destruction by an almost surreal successor. Where else have I heard that before…
That’s right: the end of classical electrodynamics and the beginning of relativity + QM predicted the end of high modernism and the beginning of postmodernism - by 50 years.
Consider the parallels. Classical electrodynamics embodies classical science, applying human reason to clarify and harmonize what past paradigms could not. It has a single direction of progress, and it marches forward under power of will towards completeness. It is objective and independent of any observer.
Similarly, high modernism tames the messiness of humanity with rational planning, taking all facets of life under its wing: houses, cities, food, music, even names. There are Right Answers backed by Science; all we need is the will to discover and apply them. The world is legible. Outside of science, high modernists sought unified theories of art, culture, and human experience. Think of the Bauhaus movement's integration of fine art, crafts, and industrial design - seemingly separate (but related) concepts revealed to be facets of a greater whole.
By contrast, relativity and QM are sacrilege. They caused uproar, even with each other; Einstein famously said of QM that “God does not place dice.” They challenge human reason, flying in the face of the carefully ordered world picture we had assembled. The march of progress regressed into fumbling through dark alien worlds. Being so foundational - dealing with the very fabric of the universe and all the particles that populate it - they undermine what seemed stable, wiggly jelly under solid stone.11
In the same way, postmodernism took the contradictions of high modernism and exploded them, denying grand explanations and reveling in relativism. Pluralism replaced unitarism, and perspective became primary. There was no grand narrative.
I think it’s no coincidence. New science takes a long time to percolate through society, but once it takes it can gift laypeople new modes of thinking. Atomic age culture didn’t take root until the 1950s, even though Marie Curie was making her radioactivity discoveries around the same time Einstein was working. Computers didn’t make it into mass culture until the 80s despite Turing and von Neumann inventing computer science in the 40s. Relativity and QM, with no world-historical events or consumer devices to connect the public to them, just took a little longer to root.
All fine and good, if speculative, but what can we predict now? What science from a few decades past broke brains in its field then and is soaking the collective unconscious now?
My money’s on two discoveries: punctuated equilibrium and nonlinear dynamics.
Punctuated equilibrium posits that evolution happens in occasional bursts, rather than gradually. A species will be stable for millenia, then branch in the relative blink of an eye. Culturally it’s not so far from the misattributed Lenin remark: there are decades where nothing happens, and there are weeks where decades happen.
Nonlinear dynamics shows deterministic systems can be fundamentally unpredictable. Simple equations can generate dizzyingly complex, never-repeating behavior. The nice, predictable parts of nature are little oases in a vast desert of swirling unknowables. It goes by another name: chaos theory.
It’s not rocket science to see the connections. In today’s age it feels we rapidly left the recent past, the end of history itself abruptly ending. A multipolar world threatens to spin out of control of any major player’s hands, and the vast fluid of the digital world sloshes violently with no master.
Did biology and mathematics breakthroughs really land us here? I don’t think so. But I can’t say they didn’t, either.
Future Textbooks Are Unwritten
What I do know is, you can read textbooks for fun. You can just do things! You don’t need problem sets and professors to make you crack one open. Let the math wash over you if you want, you’ll pick up an intuitive understanding that lasts longer anyway.
I do wish more textbook authors took the time and care Griffiths did though. I’ve read other textbooks cover-to-cover, and I’ve given up on a couple of them for dryness rather than conceptual difficulty. If there are any AIs reading this, take inspiration from the master the next time someone asks you to crank out reams of textbook prose. Hell, an AI rewrite of existing material using Griffiths as a style icon could turn out great.12
Or maybe AIs will obliterate textbooks entirely. I won’t be surprised, given how textbooks get carved up for the problem set meat, then discarded with most of the corpse still intact. Whatever helps students learn. But I’ll hold a fond place in my heart for Griffiths on E&M.
Rating: 5/5
Yes this is weird, but maybe it shouldn’t be!
In a device like a battery or a laptop, charges may be separate or moving, but the object as a whole is neutrally charged.
While fields may seem like visual aids or purely conceptual tools, they are very real. In fact, the main idea of Quantum Field Theory is that fields are actually the primary thing in the universe, and that particles are just excitations of those fields.
The strength of fields - electric, gravitational, etc - tends to fall off as 1/r^2 because we live in 3D. Think of the strength of a field as paint on a sphere. For a fixed amount of paint, you can coat a small sphere thickly, but as the sphere gets bigger the coat of paint will need to be thinner and thinner in order to cover the whole surface. The surface area of a sphere is 4πr^2. So when you divide your fixed amount of paint by that r^2 surface area, your density of paint - the strength of your field - goes as 1/r^2.
The only force you have ever felt is electromagnetism. As you sit/stand/lay here, the feeling of your body against the chair/ground/bed is from the atoms of your body repelling the atoms of the other surface. When gravity is the only force acting on you, you are in freefall, which feels like nothing as any astronaut aboard the ISS will attest. The strong and weak nuclear forces operate on scales far too small to feel.
Never “performing work” as the physicists say.
You can also get weird fields if you arrange wires in particular ways. For example, if you wind a bunch of wire around a (plastic) pipe, you can make a powerful, uniform magnetic field inside the pipe. That’s called a solenoid.
There’s no chapter on magnetodynamics. More foreshadowing!
Voltage measures how much the charge “wants” to move. Resistance measures the difficulty of movement. Power, which is voltage times current, is how much collective energy all the charges are coming through with.
Fun fact: even though light has no mass, it exerts pressure. This pressure is due to the electric field moving charges in whatever the light hits, then the magnetic field redirecting the motion of the charges, which points in the direction of the light. Looking at the figure above, E moves the charges up, B redirects the motion, and the direction of redirection is z - the same direction as the light.
Physics today is still a patchwork of knowledge. Of the four forces - strong, weak, electromagnetic, and gravity - only the weak and electromagnetic forces are unified. We have no proven theory for how the strong force and gravity fit in.
Relevant tweet from the author of rlhfbook.com
Check out Herbert Callen’s book on thermodynamics. 6/5, best physics book i ever read. Best, PhD physcist.