Griffiths 2.1-2.2: Coulomb's law and the electric field, continuous charge distributions, field lines and flux, Gauss's law in both forms, the three symmetric applications, and why the curl of E is zero.
Subject: Electrodynamics (Griffiths) · 60 slides · diagram-first lesson
Open the interactive version of this deck · Homework for this lesson
Title
Griffiths, Chapter 2.1-2.2
The electric field, field lines and flux, and the one law that solves a whole class of problems in three lines
Objectives
This is the heart of the course. Everything in Chapters 3 and 4 is a variation on what happens here.
The tools from Deck 1 — divergence, flux, the delta function, spherical coordinates — all cash out here.
This is the deck where the mathematics of the last one turns into physics. Every tool you just learned reappears here wearing a physical costume: divergence becomes Gauss's law, curl becomes the statement that the electric field does no net work around a loop, and the delta function is what lets a point charge sit inside an integral without breaking it.
The arc is worth knowing in advance. You start with the force between two charges. You then abstract that into a field, so the test charge drops out of the discussion entirely. Next you learn to handle charge that is smeared along a wire or through a block rather than sitting at points. And finally you discover that a clever argument about flux lets you skip the integration completely whenever the geometry is symmetric enough.
By the end you should be able to write down the field of a sphere, a wire and a plane in three or four lines each — and, just as importantly, recognise on sight when that shortcut is not available to you.
Section
Section 1
Concept
Figure (svg): A cluster of fixed source charges on the left and a single test charge on the right, with an arrow showing the net force on the test charge.
That is the whole question. Everything else — fields, potentials, dielectrics — is machinery built to answer it efficiently.
Two facts make the machinery possible: the force between two charges obeys Coulomb's law, and forces from many charges simply add.
Here is the question the whole subject is organised around: given a set of charges held fixed in place, what force acts on another charge you bring near them? Fields, potentials, dielectrics — all of it is machinery built to answer that one question efficiently.
Notice the word held. The source charges are pinned down and cannot move. That matters: if they were free to respond to the test charge, the arrangement would rearrange itself as you approached, and the problem would chase its own tail. Conductors do exactly that, which is why they get a whole section of their own later.
Two experimental facts make this tractable. The force between any two charges obeys Coulomb's law, and forces from many charges simply add with no interference between them. Neither is obvious in advance, and the second one is what licenses every integral you will write in this course.
Concept
Figure (svg): Two point charges with the separation vector drawn from the source charge to the test charge, and the force arrow along the same line.
\[ \mathbf{F} = \frac{1}{4\pi\varepsilon_0}\frac{qQ}{\mathfrak{r}^2}\,\hat{\boldsymbol{\mathfrak{r}}} \]
Annotate
On: \( \mathbf{F} = \frac{1}{4\pi\varepsilon_0}\frac{qQ}{\mathfrak{r}^2}\,\hat{\boldsymbol{\mathfrak{r}}} \)
The signs take care of themselves. Put the charges in with their signs and the formula produces the correct direction automatically — no separate rule for attraction and repulsion.
The magnitude is the part you would guess: proportional to both charges, falling off as the square of the distance between them. The direction is where the real information sits, and it is carried entirely by the unit vector on the end — which points from the source charge toward the point where the other charge sits.
The elegant part is that the signs look after themselves. Put both charges in with their signs and the formula produces the correct direction on its own. Two positive charges give a positive product, so the force lies along the separation vector, pointing away — repulsion. Opposite charges give a negative product, which flips it into attraction. There is no second rule to remember, and adding one is a good way to end up double-counting a minus sign.
One thing to watch: the distance in the denominator is the distance between the two charges, not the distance from the origin. That single confusion is the reason the separation-vector notation exists at all.
Intuition
Imagine the influence of a charge as a fixed number of threads, spreading out in all directions and never breaking.
Figure (svg): A central charge with lines radiating out, crossing a small nearby sphere and a larger distant sphere; the same number of lines cross both, spread more thinly on the larger one.
A sphere of radius r has area 4-pi-r-squared. The same number of threads spread over a larger area means a thinner density — falling off exactly as one over r squared.
This picture is not decoration. It is Gauss's law, and by the end of this deck you will use it as a calculation tool.
The exponent is not an arbitrary experimental fact to be memorised — it follows from the shape of space, and it is worth being able to rebuild it from scratch.
Picture the influence of a charge as a fixed number of threads spreading out in every direction, never breaking and never stopping. However far out you go, the same number of threads crosses any sphere you draw around the charge.
Now count. A sphere of radius r has area proportional to r squared. The same number of threads spread over a larger area means their density falls as one over r squared. That is the inverse-square law, and nothing went into it but the geometry of three-dimensional space.
This picture is not a decorative analogy. It is literally Gauss's law, and by the end of this deck you will be using it to calculate rather than to remember. It also explains why the exponent is exactly two rather than 2.01: space has exactly three dimensions.
Concept
Figure (svg): Three source charges each pulling on a test charge, with the three individual force arrows and their vector sum drawn.
\[ \mathbf{F} = \mathbf{F}_1 + \mathbf{F}_2 + \mathbf{F}_3 + \cdots \]
The force from charge 1 does not change because charge 2 is present. That is a physical fact about nature, not a mathematical convenience — and it is what makes every integral in this course legal.
Superposition sounds like a technicality and is actually a strong claim about how nature works.
The claim: the force charge one exerts on your test charge is completely unaffected by whether charge two is present. Nothing screens, nothing saturates, nothing interferes. Each source acts as though the others were not there, and you add the results as vectors.
That is not true of every interaction in physics. It fails for the strong nuclear force, and it fails for electromagnetic fields inside certain materials. It holds here because Maxwell's equations are linear in the fields.
The practical consequence is everything that follows. Because contributions simply add, you can chop a continuous object into infinitesimal pieces, work out what each piece contributes on its own, and integrate.
Estimation
Compare the electric and gravitational attraction between the proton and electron in a hydrogen atom, about 0.5 angstroms apart.
Predict first
Roughly how many times stronger is the electric attraction than the gravitational attraction in a hydrogen atom?
Correct: About 10^39 times
Why: Coulomb's constant is 8.99 x 10^9 N m²/C² while Newton's is 6.67 x 10^-11 N m²/kg². With the electron and proton charges and masses put in, the ratio of the two forces comes out near 2 x 10^39 — and the separation cancels out entirely, because both forces are inverse square. Gravity only dominates on astronomical scales because large objects are almost perfectly neutral, not because it is intrinsically strong.
\[ \frac{F_{\text{elec}}}{F_{\text{grav}}} = \frac{1}{4\pi\varepsilon_0}\frac{e^2}{G m_e m_p} \approx 2\times10^{39} \]
Commit to a guess before looking, because almost everyone underestimates this by dozens of orders of magnitude and the size of the miss is the interesting part.
The calculation is clean because both forces are inverse square, so the separation cancels out completely. What remains is a pure number built from the two coupling constants and the particles' charges and masses, and it does not depend on how far apart they are.
The answer is around ten to the thirty-ninth. If gravity is that feeble by comparison, an obvious question follows: why does gravity run the solar system rather than electricity? That is the next slide, and it is worth sitting with the puzzle for a moment first.
Concept
| symbol | name | value | units |
|---|---|---|---|
| ε₀ | permittivity of free space | 8.85 × 10⁻¹² | C² / (N m²) |
| 1/4πε₀ | Coulomb constant | 8.99 × 10⁹ | N m² / C² |
| e | elementary charge | 1.60 × 10⁻¹⁹ | C |
| E | electric field | — | N/C = V/m |
One coulomb is an enormous amount of charge. Two 1 C charges a metre apart would repel with about nine billion newtons — roughly the weight of a million tonnes.
Real problems therefore live in microcoulombs and nanocoulombs. If an answer comes out in the meganewtons, check your prefixes before you check your physics.
These numbers are what let you tell a plausible answer from an absurd one, so they are worth a moment even though the table looks dry.
The headline is that a coulomb is an enormous amount of charge. Two one-coulomb charges a metre apart would repel with about nine billion newtons — roughly the weight of a million tonnes. Nothing you will ever handle carries a coulomb of net charge.
Real problems therefore live in microcoulombs and nanocoulombs, and sensible answers come out in newtons or millinewtons. A useful working rule: if an electrostatics answer lands in the meganewtons, check your prefixes before you start doubting the physics.
Note also the two equivalent units for the field, newtons per coulomb and volts per metre. They are the same thing, and the second becomes the natural one once the potential arrives in the next deck.
Intuition
If the electric force is 10^39 times stronger than gravity, why can you lift your arm at all?
Figure (svg): A block of matter drawn as a checkerboard of equal positive and negative charges, with the note that its net charge is zero.
Because matter is almost exactly neutral. Strip away one electron in 10^20 and the residual force becomes overwhelming — which is what a spark, a lightning bolt, and static cling all are.
This is also why electrostatics is worth so much care: tiny charge imbalances produce large effects, so the bookkeeping of signs has to be exact.
If the electric force is really ten to the thirty-nine times stronger than gravity, you should be pinned to the nearest wall. The resolution is more interesting than the puzzle.
Ordinary matter is almost exactly neutral. Everything around you contains a staggering quantity of positive and negative charge, matched to something like one part in ten to the twenty. The forces are colossal and they cancel.
The checkerboard picture is the image to keep: enormous amounts of both signs, interleaved, summing to nothing.
Now strip away a tiny fraction of that balance and the residue is immediately dramatic — a spark, static cling, a lightning strike. It also explains why this subject rewards careful bookkeeping with signs. You are always computing a small residue of two huge quantities, so a lost minus sign does not give a slightly wrong answer, it gives a wildly wrong one.
Concept
Divide the force by the test charge and something remarkable happens: the test charge disappears from the formula.
\[ \mathbf{E}(\mathbf{r}) \equiv \frac{\mathbf{F}}{Q} = \frac{1}{4\pi\varepsilon_0}\sum_{i=1}^{n} \frac{q_i}{\mathfrak{r}_i^2}\,\hat{\boldsymbol{\mathfrak{r}}}_i \]
What is left is a property of the source charges and the point in space alone. That object is the electric field, measured in newtons per coulomb.
Figure (svg): A grid of arrows filling space around two charges, one positive and one negative, showing a vector attached to every point.
\[ \mathbf{F} = Q\mathbf{E} \]
The algebra here is trivial and the shift in viewpoint is not, so it is worth marking.
Divide the Coulomb force by the test charge, and the test charge vanishes from the right-hand side. What is left depends only on the source charges and on the point in space you are asking about.
That leftover object is the electric field. It exists at every point whether or not anyone puts a charge there to feel it, which is what the grid of arrows in the picture is saying — a vector attached to every point of space.
The practical payoff is a change in workflow. Compute the field once from the sources, then get the force on any charge you like by multiplying. When the test charge changes, you never redo the hard part.
Intuition
You can treat E as a filing system: a way of storing 'what force would a unit charge feel here?' for every point, computed once and reused.
But it is more than that. When charges accelerate, the field carries energy and momentum away at the speed of light, and it can be measured long after the source charge has been destroyed. Chapter 8 makes that precise.
electric field — The force per unit charge that a stationary test charge would experience at a given point. Units: newtons per coulomb, equivalently volts per metre.
For now, the practical payoff is what matters: compute E once from the sources, then get the force on any charge by multiplying.
It is a fair question and the honest answer comes in two stages.
Within electrostatics alone, you can treat the field as a filing system: a precomputed table of 'what force would a unit charge feel here', stored for every point. Nothing in this chapter forces you to believe it is more than that.
But it is more. When charges accelerate, part of the field detaches and travels outward at the speed of light, carrying energy and momentum with it. That radiation can be detected long after the source charge has been neutralised or destroyed. Something that carries energy independently of its source, and outlives it, has a strong claim to being real.
For now the filing-system view is enough to work with. It is worth knowing that it is not the whole story, because the energy stored in a field turns up in the next deck and radiation arrives in Chapter 11.
Trap
To measure the field near a conductor, a student uses a large test charge for a stronger, easier-to-read force:
Place a 1 C test charge at the point and divide the measured force by 1 C
Why: The definition says force divided by charge, so a bigger charge should just scale up both and cancel out.
\[ \mathbf{E} = \frac{\mathbf{F}}{Q} \]
But a coulomb of charge on a conductor will drag the source charges into new positions. The field you measure is the field of a different arrangement.
The definition is written with a limit for exactly this reason:
\[ \mathbf{E} = \lim_{Q \to 0} \frac{\mathbf{F}}{Q} \]
Use a test charge small enough not to disturb the sources, in newtons per coulomb
Why: The field is a property of the SOURCES. A test charge is only a probe, and a probe that changes what it measures is a bad probe.
In problems the sources are usually declared 'held in place', which quietly removes the issue — but the moment a conductor is involved, in Chapter 2.5, the disturbance becomes the whole story.
The faulty reasoning is superficially impeccable, which is what makes it worth showing. The definition says force divided by charge, so a bigger test charge ought to scale both and cancel out.
What it misses is that a large test charge is not a passive observer. Bring a coulomb of charge near a conductor and the source charges will move in response, and what you then measure is the field of a rearranged configuration rather than the one you meant to study.
That is why the definition carries a limit: the test charge is idealised as vanishingly small, so it probes without disturbing.
In most problems the sources are declared 'held fixed', which quietly removes the issue. Keep it in mind anyway, because the moment conductors appear the charges genuinely are free to move, and that induced rearrangement stops being a nuisance and becomes the thing you are solving for.
Concept
Real charge is not a handful of points; it is smeared along wires, over surfaces, and through volumes. The sum becomes an integral.
Figure (svg): Three objects: a charged wire with a small segment marked, a charged sheet with a small patch marked, and a charged block with a small cube marked.
\[ dq = \lambda\,dl' \quad\text{or}\quad \sigma\,da' \quad\text{or}\quad \rho\,d\tau' \]
\[ \mathbf{E}(\mathbf{r}) = \frac{1}{4\pi\varepsilon_0}\int \frac{\hat{\boldsymbol{\mathfrak{r}}}}{\mathfrak{r}^2}\,dq' \]
The primes are not decoration: they mark the source variables you integrate over, as opposed to the field point, which stays fixed throughout the integral.
Real charge is not a handful of points, so the sum over discrete charges has to become an integral.
The three cases correspond to the number of dimensions the charge is spread over. Lambda for charge along a line, in coulombs per metre. Sigma for charge over a surface, in coulombs per square metre. Rho for charge filling a volume, in coulombs per cubic metre. Multiply each by the matching element of length, area or volume and you get an amount of charge.
The units are the fastest way to check you have picked the right one: whatever you multiply by has to give you coulombs.
Pay attention to the primes. They mark the source variables, which the integral sweeps over, while the field point stays fixed throughout. Almost every setup error in this chapter is a confusion between the two, so it is worth saying out loud which is which before you write down a single limit.
Notation
Annotate
On: \( \mathbf{E}(\mathbf{r}) = \frac{1}{4\pi\varepsilon_0}\int_{\mathcal{V}} \frac{\rho(\mathbf{r}')}{\mathfrak{r}^2}\,\hat{\boldsymbol{\mathfrak{r}}}\;d\tau' \)
Nearly every setup error in Chapter 2 is a confusion between primed and unprimed variables. Say out loud which is which before writing a single limit.
It is entirely possible to write this formula down correctly and still not be able to use it, so take it apart term by term.
The left-hand side depends on the field point. During the integration that position is a constant — it never gets integrated over. Letting it vary is a reliable route to nonsense.
The density is evaluated at the source point, and that is what changes as the integral sweeps through the charged object.
The separation vector and its unit vector both depend on the two positions, so both change during the integration. That is the crucial one, and it is the subject of the trap a few slides from now: the unit vector cannot come out of the integral, however constant its length happens to be.
Finally the volume element is primed, which is a standing reminder that you integrate over the object, never over the region where you are measuring.
Discrimination
Choosing lambda, sigma or rho wrongly puts the wrong number of dimensions into the integral, and the units of the answer give it away immediately.
Sort into buckets
Conductors are the case worth remembering: in equilibrium, all excess charge sits on the surface, so a charged metal object is always a sigma problem, never a rho one. Deck 3 proves it.
A quick classification, and it matters because picking the wrong density puts the wrong number of dimensions into the integral — at which point the units of your answer give the game away.
The rule is just how many dimensions the charge is spread over. A wire is one-dimensional, so lambda. A plate or a painted surface is two-dimensional, so sigma. A block or a cloud of gas is three-dimensional, so rho.
The case worth remembering is the conductor. In equilibrium, all excess charge on a conductor sits on its surface, so a charged metal object is always a sigma problem and never a rho one. That gets proved in the next deck, but knowing it now will save you some wasted effort.
Worked example
Griffiths' Example 2.1: a straight segment of length 2L carrying uniform line charge lambda, field at height z above the midpoint.
Figure (svg): A horizontal rod with a field point above its midpoint; two symmetric charge elements each send a field arrow to the point, and their horizontal parts cancel.
Exploit the symmetry before integrating: pair up elements at plus and minus x
Why: For every piece of charge on the right there is an identical piece on the left. Their horizontal field components are equal and opposite, so only the vertical component survives. This halves the work and removes a whole coordinate.
\[ dE_z = \frac{1}{4\pi\varepsilon_0}\frac{2\lambda\,dx}{\mathfrak{r}^2}\cos\theta, \qquad \mathfrak{r} = \sqrt{z^2+x^2}, \quad \cos\theta = \frac{z}{\sqrt{z^2+x^2}} \]
Substitute and integrate x from 0 to L, in metres
Why: Because the pairing already accounted for the left half, the limits run over the right half only.
\[ E_z = \frac{1}{4\pi\varepsilon_0}\int_0^L \frac{2\lambda z}{(z^2+x^2)^{3/2}}\,dx = \frac{1}{4\pi\varepsilon_0}\left[\frac{2\lambda x}{z\sqrt{z^2+x^2}}\right]_0^L \]
\[ \mathbf{E} = \frac{1}{4\pi\varepsilon_0}\,\frac{2\lambda L}{z\sqrt{z^2+L^2}}\;\hat{\mathbf{z}} \]
Verify with two limits, both in newtons per coulomb
Why: Far away (z much greater than L) the square root becomes z, giving E = (1/4πε₀)(2λL)/z² — exactly the field of a point charge of size q = 2λL, which is the rod's total charge. For an infinitely long wire (L much greater than z) the square root becomes L, giving E = λ/(2πε₀ z), the standard wire result. Both checks pass, so the algebra is sound.
This is the standard continuous-distribution calculation, and it is where the good habits get established, so it is worth going slowly.
The most important step happens before any integration: exploit the symmetry. Pair up charge elements at plus and minus x. Their horizontal field components are equal and opposite and cancel exactly, so only the vertical component survives. That single observation halves the work and removes a coordinate.
After that it is mechanical. Write the separation distance by Pythagoras, write the cosine as the ratio of the height to that distance, substitute, and integrate over the half-length.
The verification at the end is where the real learning sits, because both limits can be checked against something you already know. Far away, the square root becomes z and the answer reduces to a point charge carrying the rod's total charge — exactly what a distant rod should look like. For a very long rod the square root becomes L instead, giving the standard infinite-wire result. Two independent checks passing is strong evidence the algebra is sound.
Tweak it
Drag the rod's half-length and watch how the field profile changes shape. The two limits from the last slide are things you can see.
Parameter explorer
Move L (the rod's half-length, in metres) and watch the field above the midpoint. Where does the curve look like 1/z², and where like 1/z?
\[ E \propto \frac{2 \cdot {L}}{z\sqrt{z^2 + {L}^2}} \]
This is the single most useful habit in electrostatics: after every result, ask what it becomes when a length gets very large or very small, and check it against something you already know.
Drag the slider yourself — the two limits from the previous slide become something you can see rather than something you derive.
With a short rod the curve falls away steeply: that is the one-over-z-squared behaviour of a point charge. Slide the length up and the near region flattens into a much gentler one-over-z decay, which is the infinite wire.
The habit is worth more than the picture. After every result you get, ask what happens when a length becomes very large or very small, and check it against something you already trust. It is the cheapest error detection available and it works on nearly every problem in this course.
Trap
Computing the field of a charged ring at its centre, a student factors out the direction:
Take r-hat outside the integral because it is a unit vector and has magnitude 1
Why: Constants come out of integrals, and a unit vector always has length one, so it looks constant.
\[ \mathbf{E} = \frac{\hat{\boldsymbol{\mathfrak{r}}}}{4\pi\varepsilon_0}\int\frac{dq}{\mathfrak{r}^2} \overset{?}{=} \frac{1}{4\pi\varepsilon_0}\frac{q}{R^2}\hat{\boldsymbol{\mathfrak{r}}} \]
This predicts a non-zero field at the centre of a uniformly charged ring — which by symmetry must be exactly zero.
The unit vector has constant length, not constant direction. It swings around as the integral sweeps over the source.
Figure (svg): A ring of charge with the field contributions from opposite elements drawn at the centre, pointing in exactly opposite directions.
Resolve into Cartesian components first, then integrate each component in newtons per coulomb
Why: x-hat, y-hat and z-hat really are constant everywhere, so they may leave the integral. Griffiths flags this as the standard error in a footnote to this very section.
\[ \mathbf{E} = \hat{\mathbf{x}}\int dE_x + \hat{\mathbf{y}}\int dE_y + \hat{\mathbf{z}}\int dE_z = 0 \;\text{at the centre} \]
Griffiths flags this one in a footnote, and it is worth dwelling on because the faulty reasoning is so reasonable.
The move is to notice that the unit vector has magnitude one, conclude it is constant, and factor it out. But constant length and constant direction are different claims, and only the second would license taking it outside.
The ring settles the argument. As the integral sweeps around the ring, that unit vector swings through every direction in the plane. Contributions from opposite elements point exactly opposite ways and cancel, so the true field at the centre is zero — while the faulty calculation confidently predicts something large.
The fix is a rule to apply every single time: resolve into Cartesian components before integrating. The Cartesian unit vectors genuinely are the same arrow everywhere, so they are allowed out. Curvilinear ones are not.
Step zero
A disc of radius R carries uniform surface charge sigma. You are asked for the field at a height z on its axis. Do not solve it — just say what must be true of the answer.
Discussion prompt
Write down three things you can assert about the answer before doing any integration at all.
Doing this every time costs half a minute and catches most errors before they are made. It is the single highest-return habit in this course.
Do not calculate yet. Three things about this answer are already knowable, and working them out first is the single highest-return habit in the course.
It has to point along the axis, by the same pairing argument as the rod. Far away it has to reduce to a point charge carrying the disc's total charge. And very close in, it has to reduce to the infinite-plane result, because a large flat sheet seen from very close by is indistinguishable from an infinite one.
The published answer satisfies all three. Two of those predictions took about ten seconds each, and either one would have caught an algebra slip in a calculation that takes ten minutes.
It costs almost nothing to do this before every problem, and it catches most errors before you have a chance to make them.
Pattern
Step three is what separates a two-line solution from a two-page one. Almost every example Griffiths sets has a symmetry designed to be spotted.
This is the checklist for every direct-integration problem, and the order it comes in is deliberate.
Draw the object and mark a single generic element of charge at the source point. Draw the separation vector from that element to the field point and write its length in terms of your variables. Only then go looking for a symmetry that kills a component — and look hard, because Griffiths designs almost every example in the chapter to have one.
Then resolve into Cartesian components, integrate over the source rather than over space, and keep every primed variable inside the integral.
Finish with the limit check. Step three is what separates a two-line solution from a two-page one, and step six is what catches the errors in the two-page version.
Check
Reason it through before you click.
Check your understanding
A uniformly charged circular ring lies in the xy plane, centred on the origin. What is the electric field at a point on the z axis, directly above the centre?
Answer: A
Why: Each element of the ring sends a field with a component along z and a component pointing away from the axis. For every element there is one diametrically opposite whose radial component is equal and opposite, so all radial parts cancel and only the z components survive and add.
This is the symmetry argument from the rod example, moved to a ring.
Each element of the ring contributes a field with a component along the axis and a component pointing away from it. For every element there is one diametrically opposite whose radial part is equal and opposite, so all the radial contributions cancel and only the axial ones survive and add.
Option B is worth thinking about even if you did not choose it. Zero is the right answer at the centre of the ring, where everything cancels — but not above it, where the axial components all point the same way. Half-remembering the ring result is exactly how that one catches people.
Section
Section 2
Concept
Figure (svg): An animation of field lines streaming outward from a positive charge on the left and streaming inward to a negative charge on the right.
The density rule only works because of the inverse square law. Any other power and the line picture would leak.
Field lines are how this subject gets visualised, and the four rules are worth stating precisely rather than loosely.
The direction of a line at a point is the field's direction there. The density of lines encodes strength. Lines begin on positive charge and end on negative charge, or run off to infinity. And they never cross, because a crossing point would need two field directions at once.
The animation shows the last two directly: dashes streaming out of the positive charge and into the negative one, so the direction of flow reads straight off as the direction of E.
There is a subtlety worth knowing. The density rule works consistently only because the field is inverse square. With any other power, lines would have to appear or vanish in empty space to keep the density honest, and the whole picture would leak.
Picture it
Figure (svg): An animated dipole: dashes travel along every field line from the positive charge round to the negative one.
Two equal and opposite charges. The field is strongest between them, and far away it falls off faster than a single charge's — like one over r cubed, as Chapter 3 will prove.
Discussion prompt
Cover the labels and describe, in one sentence, how you can tell which charge is positive from the line picture alone.
This configuration turns up so often that the picture itself is worth committing to memory.
Two equal and opposite charges. The field is strongest between them, where both contributions point the same way — from the positive charge toward the negative one. The animation makes that explicit, with every line flowing from plus to minus.
Notice the shape. Lines leave the positive charge in every direction, but they all curve round and terminate on the negative one, so almost nothing escapes to infinity.
That near-cancellation far away is worth flagging now. At large distances a dipole's field falls off as one over r cubed rather than one over r squared, because the two charges very nearly cancel. Chapter 3 derives it properly; for the moment it is enough to see why the lines thin out so quickly.
Picture it
Figure (svg): Field lines of two positive charges, pushing apart and leaving an empty point midway between them where no lines pass.
Compare this against the dipole two slides back. Same two charges, one sign flipped, and a completely different picture — including a point of exactly zero field between them.
Discussion prompt
Why is there a null point between two like charges but not between opposite ones?
Compare this against the previous slide, because the contrast is what stops the dipole picture being over-generalised.
Same two charges, one sign flipped, and the result is completely different. The lines now push each other apart rather than joining up, and there is a point exactly midway between the charges where the field is precisely zero.
That null point is the thing to notice. Between like charges the two contributions point in opposite directions, so somewhere they must cancel. Between opposite charges they point the same way and can never cancel.
Worth asking yourself: what does this field look like from very far away? It looks like a single point charge of twice the size, because the total charge is not zero and the monopole behaviour survives.
Concept
\[ \Phi_E = \int_S \mathbf{E}\cdot d\mathbf{a} \]
Figure (svg): Three panels: field lines hitting a surface head on, hitting it at an angle, and skimming along it.
Flux is literally 'how many field lines pass through'. Tilt the surface and fewer lines get through; turn it edge-on and none do.
For a closed surface, da points outward by convention, so lines leaving count positive and lines entering count negative.
Everything in the rest of this deck rests on flux, so make sure the geometric picture is solid before the algebra.
In plain language, flux is how many field lines pass through a surface. The dot product implements exactly that: field perpendicular to the surface crosses it fully, field at an angle crosses partially by a factor of the cosine, and field running parallel to the surface crosses nothing at all.
The three panels show those cases in order, and the third is the one that gets forgotten. A surface held edge-on to the field catches zero flux no matter how strong the field is.
For a closed surface there is a convention: the area vector points outward everywhere. That is what makes flux leaving count positive and flux entering count negative, which in turn is what puts a plus sign in Gauss's law rather than a minus.
Prediction
Figure (svg): A closed rectangular box sitting in a uniform field, with field lines entering the left face and leaving the right face, and no charge inside.
Predict first
A closed box sits in a uniform electric field, with no charge inside. What is the total flux out of the box?
Correct: Zero
Why: Every field line that enters the box also leaves it. Entering lines contribute negative flux and leaving lines contribute positive flux, in equal measure, so the total cancels exactly. Tilting the box changes the flux through each individual face but never the total, because the lines still go straight through.
Hold on to the reasoning, not just the answer: a closed surface only registers charge that is inside it. That is the whole content of Gauss's law.
Decide before you reveal it. The reasoning is worth more here than the answer.
The answer is zero, and the argument is pure counting: every line that enters the box also leaves it. Entering lines contribute negative flux, leaving lines contribute positive flux, and they match exactly.
Tilting the box changes the flux through each individual face but never the total, because the lines still pass straight through. That invariance is the first hint that flux through a closed surface is measuring something intrinsic rather than something about the surface you happened to draw.
The general principle, which is the whole of Gauss's law in one line: a closed surface only registers charge that is inside it.
Concept
\[ \oint_S \mathbf{E}\cdot d\mathbf{a} = \frac{Q_{\text{enc}}}{\varepsilon_0} \]
Figure (svg): Three closed surfaces of different shapes around the same charge, plus one surface with the charge outside it, labelled with their fluxes.
The shape of the surface is irrelevant. Only the enclosed charge matters — which is astonishing until you remember the field-line picture: every line from an enclosed charge must escape somewhere.
A charge outside the surface contributes nothing: its lines go in one side and out the other.
Here is the law, and it is worth noticing how strong the claim actually is.
The total flux out of any closed surface equals the enclosed charge divided by epsilon-zero. Not approximately, and not for convenient shapes only — any closed surface whatsoever.
The picture shows both consequences. Three differently shaped surfaces around the same charge all capture identical flux, because the shape is irrelevant. And a surface with the charge outside it captures nothing, because those lines go in one side and out the other.
This is genuinely astonishing on first meeting, and the field-line picture is what makes it obvious: every line from an enclosed charge has to escape somewhere, and every line from an outside charge that gets in has to get out again.
Intuition
Move the surface outward at some spot. You gain area — but you lose field strength at exactly the compensating rate.
Figure (svg): An animation of a Gaussian sphere growing and shrinking around a fixed charge, with the same number of field lines crossing it at every size.
Double the distance: the area of the patch grows by four, the field drops by four, the product is unchanged. That exact cancellation happens only for an inverse-square law.
So Gauss's law is not an extra assumption. It is Coulomb's law plus the geometry of space, rewritten in a form that is often far easier to use.
This is the slide that turns Gauss's law from a rule you are told into something you can rebuild.
The animation shows a Gaussian surface breathing in and out around a fixed charge while exactly the same lines keep crossing it. Push the surface further out and you gain area — but you lose field strength at precisely the rate needed to compensate.
Make the trade quantitative. Double the distance and a patch's area grows by four while the field drops by four. The product, which is the flux, does not move.
The crucial observation is that this exact cancellation happens only for an inverse-square law. Any other exponent and the two effects would not balance, so the flux would depend on how far out you drew your surface. Gauss's law is therefore not an extra assumption about nature — it is Coulomb's law plus the geometry of space, repackaged into a far more usable form.
Concept
Apply the divergence theorem to the left-hand side and write the enclosed charge as an integral of the density:
\[ \oint_S \mathbf{E}\cdot d\mathbf{a} = \int_V (\nabla\cdot\mathbf{E})\,d\tau, \qquad Q_{\text{enc}} = \int_V \rho\,d\tau \]
Set the two volume integrals equal for every possible volume
Why: If two integrals agree over EVERY region, however small, their integrands must agree at every point — this is the standard way to convert an integral law into a local one.
\[ \nabla\cdot\mathbf{E} = \frac{\rho}{\varepsilon_0} \]
This is the first of Maxwell's four equations. In words: electric charge is where the electric field diverges, and nowhere else.
Converting an integral law into a local one is a standard manoeuvre, and it is worth learning as a technique rather than just as a result.
Apply the divergence theorem to turn the flux integral into a volume integral of the divergence. Write the enclosed charge as a volume integral of the density. Now both sides are volume integrals over the same arbitrary region.
Then comes the logical step. If two integrals agree over every possible volume, however small and wherever you place it, their integrands have to agree at every point. That is how you get from a statement about regions to a statement about points.
The result is the first of Maxwell's four equations. In words: charge is where the electric field diverges, and nowhere else. Empty space has zero divergence no matter how strong the field passing through it.
Worked example
The derivation that needs the delta function from Deck 1. Without it there is a hole in the argument at every charge.
Start from the field of a general charge distribution, in newtons per coulomb
Why: The integral runs over the source; the divergence acts on the field point, so it slides inside the integral.
\[ \nabla\cdot\mathbf{E} = \frac{1}{4\pi\varepsilon_0}\int \nabla\cdot\left(\frac{\hat{\boldsymbol{\mathfrak{r}}}}{\mathfrak{r}^2}\right)\rho(\mathbf{r}')\,d\tau' \]
Substitute the delta-function identity from Chapter 1
Why: The divergence of the inverse-square radial field is zero everywhere except at the source point, where it is a delta function of strength 4-pi.
\[ \nabla\cdot\left(\frac{\hat{\boldsymbol{\mathfrak{r}}}}{\mathfrak{r}^2}\right) = 4\pi\,\delta^3(\mathbf{r}-\mathbf{r}') \]
Let the delta function do the integral
Why: The delta samples the density at the field point and the 4-pi cancels against the one in the prefactor.
\[ \nabla\cdot\mathbf{E} = \frac{1}{4\pi\varepsilon_0}\,4\pi\,\rho(\mathbf{r}) = \frac{\rho(\mathbf{r})}{\varepsilon_0} \]
Verify the units, in coulombs per cubic metre over the permittivity
Why: Divergence of E has units of (N/C) per metre; charge density over epsilon-zero has units of (C/m³)(N m²/C²) = N/(C m). The two agree, and the derivation now covers points inside the charge distribution — which the naive version did not.
This is where the delta function from the last deck earns its place, so it is worth seeing the connection explicitly.
Start from the general superposition integral. The divergence acts on the field point while the integral runs over source points, so it slides inside the integral.
What it acts on is the inverse-square radial field, whose divergence is zero everywhere except at the source point itself. Without the delta function you would conclude the divergence is zero everywhere — which is wrong precisely where the charge is. The Chapter 1 identity supplies the missing piece: a delta function of strength four-pi sitting at the source.
The delta then performs the integral for you, sampling the density at the field point, and the four-pi cancels against the one out front. Note what has been gained: this derivation is valid inside a charge distribution, which the naive version was not, and that is the entire reason for the detour.
Check
Take a moment before clicking.
Check your understanding
A point charge q sits just outside a closed cubical surface, 1 mm from the centre of one face. What is the total flux through the cube?
Answer: A
Why: Gauss's law counts only enclosed charge, and this charge is outside. Every field line that enters the cube through the near face leaves through the others, so the negative and positive contributions cancel exactly. The flux through the near face alone is enormous — but the total is zero.
This one tests whether 'enclosed' has really become the only thing that matters to you.
The charge is outside the cube, so the total flux is zero. What makes it tempting is that the flux through the nearest face alone is enormous, since the charge is a millimetre away. But the flux through the remaining faces is equally enormous and negative, and the two cancel exactly.
Option C reflects a real half-memory worth correcting. The one-sixth rule applies to a charge at the centre of a cube, where symmetry shares the flux equally among six faces. Here the charge is not even enclosed, so the rule has nothing to say.
Section
Section 3
Concept
Gauss's law is always true. It is only useful when you can pull E outside the integral — and that needs symmetry.
Figure (svg): Three Gaussian surfaces: a sphere around a point charge, a cylinder around a line of charge, and a pillbox through a charged plane.
Only three symmetries qualify, and every Gauss's law problem you will meet is one of them wearing a disguise.
\[ \oint \mathbf{E}\cdot d\mathbf{a} = |\mathbf{E}| \oint da = |\mathbf{E}|\,A_{\text{surface}} = \frac{Q_{\text{enc}}}{\varepsilon_0} \]
This distinction gets blurred more than any other in the chapter, so it is worth stating sharply: Gauss's law is always true, but it is only useful when you can pull E outside the flux integral.
Pulling E out needs two things at once. Its magnitude must be constant everywhere on the surface, and its direction must be either perpendicular to the surface everywhere or parallel to it everywhere. Only then does the integral collapse to E times an area.
Exactly three symmetries deliver that, and they are the three panels: spherical, cylindrical, planar. Every Gauss's law problem you will meet is one of those three wearing a disguise.
The failure mode is coming up shortly. For a cube or a ring, Gauss's law still holds and still gives you the total flux — but E varies over any surface you could draw, so you end up with one equation and an unknown function, which does not solve.
Pattern
Step two is the one people skip, and it is the only one that requires thought. The rest is arithmetic.
Notice what the recipe does NOT require: no integration over the source, no separation vectors, no component cancellation. That is why it is worth learning properly.
Four steps, and only one of them requires any thought.
Naming the symmetry is step one. Arguing the direction and dependence of E from that symmetry alone, before writing any integral, is step two — and that is the step with the judgement in it. Drawing the matching surface and computing the enclosed charge are mechanical once step two is done.
It is tempting to skip straight to the surface, and then you find you cannot justify why E came out of the integral. Say it out loud instead: nothing distinguishes one direction from another, so the field must be radial; nothing distinguishes one point on this sphere from another, so its magnitude depends only on r.
Notice what the recipe does not need. No separation vectors, no components, no cancellation arguments, no integrating over the source. That is why it is worth learning properly.
Worked example
Griffiths' Example 2.2. A solid sphere of radius R with total charge q; find E at a distance r greater than R.
Figure (svg): A shaded sphere with a larger dashed spherical Gaussian surface around it, and radial field arrows crossing the dashed surface.
Argue the symmetry: E must be radial and depend only on r, in newtons per coulomb
Why: Nothing in the problem distinguishes one direction from another, so the field cannot favour one. Nothing distinguishes one point on a given sphere from another, so its magnitude can depend on r alone.
Choose a concentric spherical Gaussian surface of radius r, in metres
Why: On this surface E is everywhere parallel to da and everywhere the same magnitude, which is exactly what lets it come out of the integral.
\[ \oint \mathbf{E}\cdot d\mathbf{a} = |\mathbf{E}|\,(4\pi r^2) \]
Set the flux equal to the enclosed charge over epsilon-zero, in coulombs
Why: The whole sphere is inside, so the enclosed charge is the total charge q.
\[ |\mathbf{E}|\,4\pi r^2 = \frac{q}{\varepsilon_0} \quad\Rightarrow\quad \mathbf{E} = \frac{1}{4\pi\varepsilon_0}\frac{q}{r^2}\hat{\mathbf{r}} \]
Verify against Coulomb's law for a point charge, in newtons per coulomb
Why: The result is identical to the field of a point charge q sitting at the centre. Outside, a spherically symmetric ball of charge is indistinguishable from a point — the same theorem Newton proved for gravity, obtained here in four lines instead of a page of integration.
The simplest of the three symmetries, and a good place to establish the rhythm.
Step two in full: nothing in the problem picks out a direction, so the field has to be radial; nothing distinguishes points at the same radius, so its magnitude depends on r alone. Both claims come from the symmetry of the source, not from any calculation.
With that settled, a concentric spherical surface has E parallel to the area vector everywhere and constant in magnitude, so the flux is simply E times four-pi-r-squared. The whole sphere is inside, so the enclosed charge is the total charge.
The result is worth pausing on. From outside, a uniformly charged ball is completely indistinguishable from a point charge sitting at its centre. That is the same theorem Newton needed for gravity and wrestled with for a long time — obtained here in four lines, because Gauss's law does the geometry for you.
Worked example
Same sphere, but now the field point is inside it, at radius r less than R. The only thing that changes is the enclosed charge.
Figure (svg): A shaded sphere with a smaller dashed Gaussian sphere inside it, with the outer shell of charge greyed out and marked as contributing nothing.
Write the uniform charge density in coulombs per cubic metre
Why: Uniform means total charge divided by total volume, and the same density applies everywhere inside.
\[ \rho = \frac{q}{\tfrac{4}{3}\pi R^3} \]
Compute the charge enclosed by a Gaussian sphere of radius r, in coulombs
Why: Density times the enclosed volume. This is the step that changes the answer completely.
\[ Q_{\text{enc}} = \rho\,\tfrac{4}{3}\pi r^3 = q\,\frac{r^3}{R^3} \]
Apply Gauss's law with the same spherical surface
Why: The left side is unchanged; only the right side is different.
\[ |\mathbf{E}|\,4\pi r^2 = \frac{q r^3}{\varepsilon_0 R^3} \quad\Rightarrow\quad \mathbf{E} = \frac{1}{4\pi\varepsilon_0}\frac{q r}{R^3}\hat{\mathbf{r}} \]
Verify at both ends of the range, in newtons per coulomb
Why: At the centre (r = 0) the field is zero, as symmetry demands — there is no preferred direction there. At the surface (r = R) it gives q/(4πε₀R²), matching the outside formula exactly at the boundary. The field grows LINEARLY inside and falls off as one over r squared outside.
Same surface, same symmetry argument, and only one thing changes — the enclosed charge. The answer changes completely.
Work out the density as total charge over total volume, then multiply by the volume inside your Gaussian sphere. Because volume grows as r cubed while the flux area grows as r squared, the r-dependence flips from decaying to growing.
So the field rises linearly from zero at the centre out to the surface, and only then starts falling as one over r squared.
Check both ends, because both mean something. At the centre the field is zero, which symmetry demands — there is no preferred direction at the centre of a sphere. At the surface, the inside and outside formulas agree exactly, so the field is continuous there. Why does it have to be? That question sets up the next slide.
Tweak it
Inside, the field climbs in a straight line; outside, it falls as one over r squared. The two must agree exactly at the surface.
Parameter explorer
Move the sphere's radius R (in metres) and watch where the peak lands. Why must the two pieces meet without a jump?
\[ R = {R}\ \text{m}: \quad E_{\text{in}} \propto r, \quad E_{\text{out}} \propto 1/r^2 \]
A discontinuity in E across a surface is not forbidden — but it requires a surface charge to produce it. That rule is derived properly in the next deck.
Drive the slider and watch the shape rather than the formula.
Inside, a straight line rising from zero. Outside, an inverse-square decay. The peak sits exactly at the surface, and the two pieces meet there without a jump.
Why must they meet? A jump in the field across a surface requires surface charge to produce it — that is the boundary condition derived in the next deck — and this sphere carries its charge spread through its volume, not painted on its skin. So no jump is allowed.
Contrast it with a hollow shell, where all the charge is on the surface and the field does jump discontinuously. Holding the two cases side by side makes the rule concrete well before it gets derived.
Worked example
In Section 1 this took an integral, two trigonometric substitutions and a limit. With Gauss's law it takes four lines.
Figure (svg): A long vertical charged wire with a coaxial dashed cylinder around it, radial arrows crossing the curved surface only.
Argue the symmetry: E points radially away from the wire and depends only on s, in metres
Why: The wire looks the same from every angle around it and from every position along it, so neither phi nor z can appear in the answer.
Enclose a length l of wire, giving lambda times l coulombs
Why: The Gaussian cylinder's length is arbitrary, which is a hint that it must cancel from the final answer.
\[ |\mathbf{E}|\,(2\pi s l) = \frac{\lambda l}{\varepsilon_0} \]
\[ \mathbf{E} = \frac{\lambda}{2\pi\varepsilon_0 s}\,\hat{\mathbf{s}} \]
Verify against the Section 1 result, in newtons per coulomb
Why: Example 2.1 gave (1/4πε₀)(2λ/z) in the infinite-length limit, and 2/(4π) is 1/(2π) — the same answer. The arbitrary length l cancelled as predicted. Note the field falls off as one over s here, not one over s squared: a line of charge is not a point charge.
Compare this directly against the rod calculation from Section 1, because the contrast is the whole point.
That one took an integral, a trigonometric substitution and a limit. This one takes four lines, and the difference is that an infinite wire has a symmetry the finite rod does not.
Step two: the wire looks identical from every angle around it and from every position along it, so the field can depend only on distance from the axis and must point radially away from it.
The coaxial cylinder then has E perpendicular to the curved side and parallel to the flat ends, so the ends contribute nothing at all and the curved side contributes E times its area. The arbitrary length cancels, as it must.
Check it against the earlier result: taking the infinite-length limit of the rod calculation gave exactly this. And note the falloff is one over s, not one over s squared — a line of charge is not a point charge.
Matching
Match the pairs
Why: In every case the Gaussian surface is chosen so that E is either perfectly perpendicular to it (giving E times area) or perfectly parallel to it (giving zero). Any surface that mixes the two leaves E inside the integral, where it does you no good.
Notice that two of the three surfaces have pieces contributing zero flux. Recognising those pieces early is what makes the calculation short.
Three pairings, and they are better understood as one rule than as three facts.
In every case the surface is chosen so that E is either perfectly perpendicular to each piece of it, giving E times area, or perfectly parallel, giving zero. A surface that mixes the two leaves E stuck inside the integral, where it does you no good at all.
Notice that two of the three surfaces have pieces contributing nothing — the flat ends of the cylinder, the curved side of the pillbox. Spotting those zero-contribution pieces early is what keeps these calculations short.
Worked example
Griffiths' Example 2.3. A long cylinder carries charge density proportional to the distance from its axis; find the field inside.
\[ \rho = ks \qquad \text{(k constant, s = distance from the axis, in metres)} \]
Figure (svg): A long cylinder in cross-section with a dashed cylindrical Gaussian surface inside it, radial arrows crossing the curved side, and flat end caps marked as contributing nothing.
Argue the symmetry: E points radially away from the axis and depends only on s
Why: The cylinder is infinitely long and unchanged by rotation about its axis, so the field cannot depend on position along the axis or on angle around it.
Compute the enclosed charge with the cylindrical volume element, in coulombs
Why: The density varies with s, so the integral is genuinely needed here — and the volume element carries its own factor of s.
\[ Q_{\text{enc}} = \int_0^{s}(ks')(s'\,ds'\,d\phi\,dz) = 2\pi k l\int_0^{s} s'^2\,ds' = \frac{2}{3}\pi k l s^3 \]
Evaluate the flux: only the curved side contributes, in newtons metre squared per coulomb
Why: On the two flat end caps the field is parallel to the surface, so their flux is exactly zero. The curved side has area 2 pi s l with E perpendicular to it everywhere.
\[ |\mathbf{E}|\,(2\pi s l) = \frac{1}{\varepsilon_0}\cdot\frac{2}{3}\pi k l s^3 \]
\[ \mathbf{E} = \frac{1}{3\varepsilon_0}k s^2\,\hat{\mathbf{s}} \]
Verify the s-dependence against the density, in newtons per coulomb
Why: The length l cancels, as it must — an infinite cylinder has no special length. And the field grows as s squared rather than linearly, because the charge piles up faster the further out you go. At s = 0 the field vanishes, as symmetry on the axis requires.
One wrinkle on the cylindrical case: the density is not uniform, so the enclosed charge needs a genuine integral.
The symmetry argument is unchanged. Infinite length and rotational symmetry still force a radial field depending only on s. What changes is the right-hand side of the equation.
The integral for the enclosed charge uses the cylindrical volume element, which brings its own factor of s along with it — so you are integrating k s times s ds, giving s cubed. Note that the primed variable inside the integral is a different thing from the radius of the Gaussian surface, which is the upper limit. Griffiths primes it deliberately for exactly that reason.
The verification is instructive. The length cancels, as it must for an infinite cylinder. The field grows as s squared rather than linearly, because charge piles up faster the further out you go. And it vanishes on the axis, as symmetry requires.
Worked example
Griffiths' Example 2.4. Surface charge sigma spread uniformly over an infinite plane; find the field.
Figure (svg): A horizontal charged plane with a small box straddling it, arrows leaving through the top and bottom lids, and no flux through the sides.
Argue the symmetry: E is perpendicular to the plane and cannot depend on height
Why: The plane looks identical from any distance and from any sideways position, so the field's magnitude cannot vary with either. This is the step students find hardest to believe — and it is exactly why the answer contains no distance.
Draw a pillbox of lid area A straddling the plane, in square metres
Why: The side walls contribute nothing because E is parallel to them; the two lids each contribute E times A.
\[ |\mathbf{E}|\,(2A) = \frac{\sigma A}{\varepsilon_0} \]
\[ \mathbf{E} = \frac{\sigma}{2\varepsilon_0}\,\hat{\mathbf{n}} \]
Verify by checking what the answer does NOT contain, in newtons per coulomb
Why: The area A cancelled, as it had to — the answer cannot depend on an arbitrary choice of pillbox. And no distance appears: the field of an infinite sheet is the same 1 cm away as 1 km away. That is only true because the sheet is infinite; for a real finite plate it holds while you stay much closer than the plate's width.
The planar case, and the one whose answer is hardest to believe on first sight.
The symmetry argument deserves the time. An infinite plane looks exactly the same from one centimetre away as from one kilometre away — there is no length anywhere in the problem to compare a distance against. So the field cannot depend on distance at all.
The pillbox then has flux through its two lids only, since the field runs parallel to the side walls, and the enclosed charge is sigma times the lid area.
The interesting part of the verification is what the answer does not contain. The arbitrary lid area cancelled, as it had to. And no distance appears anywhere: the field of an infinite sheet really is the same everywhere. One honest caveat — for a real finite plate this only holds while you stay much closer to the plate than its own width, which is exactly what the error-analysis slide later in this deck is about.
Worked example
Griffiths' Example 2.5. Two infinite planes with equal and opposite charge densities. Superposition does all the work.
Figure (svg): Two vertical parallel plates, one positive and one negative, with the field of each drawn separately and then the total, which is strong between and zero outside.
Write down each plate's field separately, in newtons per coulomb
Why: Each infinite plane gives sigma over two epsilon-zero, pointing away from a positive plate and toward a negative one — that is Example 2.4, used twice.
\[ E_{\text{each}} = \frac{\sigma}{2\varepsilon_0} \]
Add them region by region, watching the directions
Why: To the left of both plates, the positive plate pushes left and the negative plate pulls right: they cancel. The same happens to the right. Between them, both point from the positive plate toward the negative one: they add.
| region | from +σ plate | from -σ plate | total |
|---|---|---|---|
| left of both | points left | points right | 0 |
| between | points right | points right | σ/ε₀ |
| right of both | points right | points left | 0 |
\[ \mathbf{E}_{\text{between}} = \frac{\sigma}{\varepsilon_0}\,\hat{\mathbf{n}}, \qquad \mathbf{E}_{\text{outside}} = 0 \]
Verify by counting field lines, in newtons per coulomb
Why: Every line leaving the positive plate lands on the negative one, so no lines escape and the outside field is zero. This confined, perfectly uniform field is exactly what a parallel-plate capacitor is for, and it is where Chapter 2.5 picks the story up.
No new physics here at all — it is the previous example applied twice, plus superposition — so try to run it yourself before looking.
Each plate produces a uniform field of magnitude sigma over two-epsilon-zero, pointing away from a positive plate and toward a negative one. Then work region by region, watching the directions.
Outside the plates on either side, the two fields point in opposite directions and cancel. Between them, both point from the positive plate toward the negative one and add, doubling to sigma over epsilon-zero.
The field-line reading confirms it: every line leaving the positive plate lands on the negative one, so none escape and the field outside is zero. That confined, perfectly uniform field is the whole reason capacitors are built this way, and it is where the next deck picks the story up.
Trap
Asked for the field at the centre of one face of a uniformly charged cube, a student writes:
Draw a Gaussian cube around it and pull E out of the flux integral
Why: The problem has a cube in it, so a cubical Gaussian surface feels natural.
\[ |\mathbf{E}|\,(6a^2) = \frac{Q}{\varepsilon_0} \quad\Rightarrow\quad |\mathbf{E}| \overset{?}{=} \frac{Q}{6\varepsilon_0 a^2} \]
The step that fails is silent: E is not constant over the cube's surface. It is stronger at the face centres than at the corners, so it cannot come out of the integral.
Gauss's law is still true here — the flux really is Q over epsilon-zero. It is just not solvable for E.
Check the pull-out condition before using Gauss's law at all
Why: E may leave the integral only if its magnitude is constant everywhere on the surface AND its direction is everywhere perpendicular (or everywhere parallel) to it. A cube fails on both counts.
With no symmetry, fall back on direct integration, in newtons per coulomb
Why: Chop the cube into elements, write the separation vector for each, and integrate — the method from Section 1. Slower, but it always works.
The test is simple: could you have argued the direction and magnitude of E from symmetry alone, before writing any integral? If not, Gauss's law will not compute it.
The step that fails here fails silently, which is exactly what makes it dangerous.
Drawing a cubical Gaussian surface around a charged cube is a perfectly legal thing to do, and the flux really is Q over epsilon-zero. The error arrives in the very next move: pulling E out of the integral requires it to be constant over the surface, and on a cube it is not. The field is stronger at the face centres than at the corners.
So Gauss's law here hands you one true equation containing an unknown function, which cannot be solved for the field.
The test is a single question, asked before any integral gets written: could I have argued the direction and magnitude of E from symmetry alone? If not, Gauss's law will not compute the field for you, and direct integration is the only way through.
Sorting
Sort by whether the four-step recipe would give you the field, not by whether Gauss's law is true — it is always true.
Sort into buckets
The ring is the instructive failure. It is beautifully symmetric — but its symmetry is about an axis, and no closed surface exists on which the field is constant.
Sort by whether the recipe would actually deliver the field — not by whether Gauss's law is true, because it always is.
The three that work are the three symmetries. The two that fail do so for the same underlying reason: no closed surface exists on which the field has constant magnitude.
The ring is the instructive failure. It is beautifully symmetric, but its symmetry is about an axis, and axial symmetry does not hand you a surface of constant field magnitude. Symmetry is necessary, but it has to be the right kind of symmetry.
Check
Reason from the symmetry before you click.
Check your understanding
A thin spherical shell of radius R carries a uniform surface charge. What is the electric field at a point inside the shell?
Answer: A
Why: Draw a Gaussian sphere of radius r less than R. It encloses no charge at all, since all the charge sits on the shell at radius R. Gauss's law then gives zero flux, and symmetry forces the field itself to be zero — not merely zero on average.
This is the enclosed-charge idea in its cleanest form.
A Gaussian sphere drawn inside a charged shell encloses no charge whatsoever, because all of it sits further out at radius R. Zero enclosed charge gives zero flux.
There is an extra step that often gets skipped. Zero flux on its own would only tell you the average of the field over the surface is zero. It is the symmetry argument — the field must be radial and depend only on r — that upgrades that to the field being identically zero everywhere inside.
Option C is the solid-sphere answer, and pattern-matching on the word 'sphere' without registering 'shell' is how it catches people.
Section
Section 4
Concept
\[ \nabla\times\mathbf{E} = 0 \]
Every static charge arrangement, however complicated, produces a field with no circulation anywhere. This is the second of the two equations that define electrostatics.
Figure (svg): A paddle wheel placed at several points in the field of two charges, never turning at any of them.
Equivalently: the line integral of E around any closed loop is zero, and the line integral between two points does not depend on the path taken.
\[ \oint \mathbf{E}\cdot d\mathbf{l} = 0 \]
This is the second of the two equations that define electrostatics, and it is the one that pays off in the next deck.
The claim is absolute. Every static arrangement of charge, however complicated, produces a field with no circulation anywhere. Drop a paddle wheel in at any point and it will not turn.
Three equivalent statements, and problems use all of them: the curl vanishes at every point; the line integral around any closed loop is zero; the line integral between two points does not depend on the path taken.
Where this is heading: a field with zero curl is the gradient of a scalar, and that scalar is the potential. The entire next deck exists because of this one equation.
Worked example
Do it for one charge and superposition extends it to every charge distribution at once.
Write the field of a point charge in spherical coordinates, in newtons per coulomb
Why: Put the charge at the origin. The field is purely radial and depends only on r — no angular components at all.
\[ \mathbf{E} = \frac{1}{4\pi\varepsilon_0}\frac{q}{r^2}\hat{\mathbf{r}} \]
Take a line integral between two points, in volts
Why: Only the radial part of dl survives the dot product, because E has no theta or phi component to pair with the angular steps.
\[ \mathbf{E}\cdot d\mathbf{l} = \frac{1}{4\pi\varepsilon_0}\frac{q}{r^2}\,dr \]
\[ \int_a^b \mathbf{E}\cdot d\mathbf{l} = \frac{q}{4\pi\varepsilon_0}\left[-\frac{1}{r}\right]_{r_a}^{r_b} = \frac{q}{4\pi\varepsilon_0}\left(\frac{1}{r_a}-\frac{1}{r_b}\right) \]
Read off what the answer depends on
Why: Only the starting and ending radii — not the path. Any wandering route between the same two points gives the same number.
Verify by closing the loop, in volts
Why: If the path returns to its start then r_a equals r_b, the bracket vanishes and the loop integral is zero. By Stokes' theorem a vanishing loop integral for EVERY loop means the curl is zero everywhere. Superposition finishes the job: any field built by adding point-charge fields inherits the zero curl.
The strategy is worth naming: prove it for one point charge, then let superposition do the rest.
For a point charge at the origin the field is purely radial, so only the radial part of the step survives the dot product. The angular steps contribute nothing, because there is no angular field component for them to pair with.
What is left is an elementary integral in r alone, and its value depends only on the starting and ending radii — not on the route between them.
Close the loop and those two radii are equal, so the integral vanishes. By Stokes' theorem, a vanishing loop integral for every loop means the curl is zero everywhere. Superposition finishes the job: any field built by adding point-charge fields inherits the property, and every electrostatic field is built that way.
Intuition
Suppose there were a loop with non-zero circulation. Send a charge around it and the field does positive net work every lap.
Figure (svg): A closed loop with field arrows pointing all the way round it in the same sense, and a charge circulating, gaining energy each lap.
That is a perpetual motion machine. Zero curl is conservation of energy, written in the language of vector calculus.
And it is exactly the licence you need to define a potential: a field with zero curl is the gradient of a scalar, so one function of position replaces three. That is the whole subject of the next deck.
Giving a mathematical condition a physical meaning is usually what makes it stick, and this one has a good one.
Suppose some loop had non-zero circulation. Send a charge around that loop and the field does net positive work every lap. The charge returns to where it started with more energy than it had before, and you could repeat that indefinitely.
That is a perpetual motion machine. So zero curl is conservation of energy, written in the language of vector calculus.
And the constructive consequence is where the next deck begins: because the field is conservative, a potential can be defined, and one scalar function replaces three vector components.
Counterexample
Here is a perfectly well-defined vector field. Decide whether any arrangement of static charges could produce it.
\[ \mathbf{E} = k\,(-y\,\hat{\mathbf{x}} + x\,\hat{\mathbf{y}}) \]
Figure (svg): A field whose arrows circle the origin counter-clockwise at constant speed, with a paddle wheel spinning in it.
Compute the curl before anything else
Why: One determinant, and the question is settled without ever asking what charges might be involved.
\[ \nabla\times\mathbf{E} = \left(\frac{\partial(kx)}{\partial x} - \frac{\partial(-ky)}{\partial y}\right)\hat{\mathbf{z}} = 2k\,\hat{\mathbf{z}} \neq 0 \]
No static charge distribution produces this, no matter how cleverly arranged. A field like it can exist — but only where a magnetic field is changing, which is Chapter 7's business.
Discussion prompt
Take the curl of E = k(x x-hat + y y-hat). Could static charges produce THAT one?
This is a genuinely useful screening test on exams: given a candidate E, take the curl. If it is non-zero, no charge distribution needs to be hunted for.
This gives you a practical screening tool, which is worth having.
Given a candidate field, take its curl. If the curl is non-zero, no arrangement of static charges can produce it, and there is no point hunting for one.
The example here circulates around the origin, so its paddle wheel spins and its curl is 2k in the z direction. It is a perfectly respectable vector field, and fields like it do exist in nature — but only where a magnetic field is changing, which is Chapter 7's business rather than this one's.
The test only works in one direction, though. A zero curl does not tell you what the charge distribution is; it merely fails to rule the field out.
Comparison
Helmholtz's theorem from Deck 1 says a field is fixed by its divergence and its curl. Here are both, and electrostatics is finished as a theory.
Comparison matrix
| divergence | curl | |
|---|---|---|
| equation | ∇ · E = ρ/ε₀ | ∇ × E = 0 |
| integral form | flux = Q_enc/ε₀ | loop integral = 0 |
| physical content | charge is the source of E | E does no net work round a loop |
| what it buys you | fields from symmetry, in three lines | a scalar potential exists |
Every remaining problem in Chapters 2 and 3 is an exercise in extracting the field from these two statements plus boundary conditions.
This grid is the summary of the whole deck, and it is worth asking why exactly two equations are enough.
Helmholtz's theorem from the last deck: a vector field is completely determined by its divergence and its curl, given reasonable behaviour at infinity. Specifying both, as these two equations do, therefore specifies the field completely.
Which means electrostatics is finished as a theory at this point. Everything left in Chapters 2 and 3 is technique for extracting the field from these two statements plus boundary conditions. No new physics gets added.
The divergence equation says charge is the source. The curl equation says there is no circulation, which is what buys you the potential.
Edge cases
Zero curl is a statement about static charges. Nothing in the proof survives if the sources move.
Discussion prompt
A bar magnet is pushed through a wire loop and a current flows. Does the electric field still have zero curl? What must have changed?
So when Chapter 7 arrives and the potential seems to stop working, this is the reason: the licence to define it was zero curl, and that licence has expired.
Every result in this deck assumed the charges are sitting still, and it is worth being explicit about what fails when they are not.
The zero-curl proof used the point-charge field, which is a static result. Nothing in it survives once the sources start moving.
Push a magnet through a wire loop and a current flows, which means there is a field with genuine circulation around that loop. That is Faraday's law: the curl of E equals minus the rate of change of B.
Set the time derivative to zero and Faraday's law collapses straight back to the electrostatic result — so everything in Chapters 2 through 4 is the special case where nothing moves. When the potential stops working in Chapter 7, this is why: the licence to define it was zero curl, and by then it has expired.
Real world
Discussion prompt
Pick one of these four and say which symmetry it uses, and what plays the role of the Gaussian surface.
In every case, the useful statement is not 'the flux equals the enclosed charge'. It is 'symmetry plus Gauss's law gives me the field in three lines'.
Four places this has been quietly at work in things you have already seen.
The Faraday cage is the shielding argument, proved properly in the next deck. The parallel-plate capacitor is the two-plane superposition result. The coaxial cable is the cylindrical case, where confining the field between the conductors is exactly what stops the signal radiating away. And the lightning rod is about charge concentrating at sharp points, also in the next deck.
The framing worth keeping is that the useful statement is never 'flux equals enclosed charge over epsilon-zero' on its own. It is 'symmetry plus Gauss's law gives me the field in three lines'.
Pattern
| the situation | the method | why |
|---|---|---|
| one or a few point charges | Coulomb plus superposition | just add the vectors |
| a continuous object with high symmetry | Gauss's law | E comes out of the flux integral |
| a continuous object with no symmetry | direct integration | no surface makes E constant |
| field known, force wanted | F = QE | the field already did the hard work |
| field wanted from a potential | E = -∇V (next deck) | one scalar beats three components |
When a problem looks impossible, it is nearly always because the wrong row has been chosen. Ask about symmetry first, every time.
This table is the decision procedure for everything so far, and getting stuck is usually a matter of this choice rather than of execution.
A few point charges: Coulomb plus superposition, just add the vectors. A continuous object with one of the three symmetries: Gauss's law. A continuous object without symmetry: direct integration, which always works but is slower. Field known and force wanted: multiply by the charge.
The last row previews the next deck and is what rescues the hard cases. When symmetry fails, going through the potential converts three difficult vector integrals into one scalar integral plus a differentiation.
The habit to build: before starting anything, ask about symmetry. That one question picks the row for you.
Check
Last one.
Check your understanding
Two large parallel plates carry surface charges +σ and -σ. If you double the separation between them (keeping the charges fixed), what happens to the field between the plates?
Answer: A
Why: The field of an infinite charged plane does not depend on distance from the plane, so neither does their sum. Moving the plates apart changes the potential difference between them, because that is the field times the separation, but it leaves the field itself untouched.
This checks whether the infinite-plane result has really been absorbed or merely memorised.
The field of an infinite charged plane contains no distance at all, so neither does the sum of two of them. Doubling the separation cannot change a quantity that never depended on separation in the first place.
What does change is the potential difference between the plates, since that is the field times the separation — which is precisely the capacitor calculation in the next deck.
Option D is worth naming, because 'inverse square' is such a strong reflex in this subject. It governs point charges. An infinite plane is a different geometry and gives a uniform field.
Error analysis
A student is asked for the field 2 cm above the centre of a 10 cm square plate carrying uniform charge Q. Read the working and locate the first false step.
Annotate
On: \( |\mathbf{E}|\,(2A) = \frac{Q}{\varepsilon_0} \;\Rightarrow\; |\mathbf{E}| = \frac{Q}{2\varepsilon_0 A} = \frac{\sigma}{2\varepsilon_0} \)
The lesson: Gauss's law with a pillbox needs 'infinite plane', and a finite plate qualifies only when you stay much closer to it than its own width. Always state that condition when you use it.
\[ z \ll \text{plate width} \;\Rightarrow\; E \approx \frac{\sigma}{2\varepsilon_0}, \qquad z \gg \text{plate width} \;\Rightarrow\; E \approx \frac{1}{4\pi\varepsilon_0}\frac{Q}{z^2} \]
This error is subtler than the earlier trap, and the subtlety is the lesson: the working is not so much wrong as unlicensed.
The pillbox setup is right, and the instinct to use planar symmetry for a flat plate is right. What is missing is any statement of when the approximation is allowed.
The infinite-plane result requires you to stay much closer to the plate than its own width, so that the edges are effectively infinitely far away and the field really is uniform across the pillbox lids.
At two centimetres above a ten-centimetre plate that is a decent approximation and the answer is good to a few per cent. At twenty centimetres it is badly wrong, because from there the plate looks more like a point charge. Get into the habit of stating that condition whenever you use this formula.
Exit ticket
Discussion prompt
In one sentence each, and without formulas: what does Gauss's law say, and what does zero curl say?
If those two sentences are solid, the next deck is a matter of technique rather than new physics.
Two sentences, and if they do not come out cleanly the formulas will not rescue you in the next deck.
Gauss's law in words: the number of field lines escaping any closed surface is set entirely by how much charge is trapped inside it, and by nothing else.
Zero curl in words: a charge carried around any closed path comes back with exactly the energy it started with — which is what makes 'height' in the field a well-defined thing, and that is precisely what makes a potential possible.
Recap
| the result | the formula |
|---|---|
| point charge | q/(4πε₀r²), radial |
| outside any spherical ball of charge | same as a point charge at its centre |
| inside a uniform solid sphere | grows in proportion to r |
| infinite wire | λ/(2πε₀s) |
| infinite plane | σ/(2ε₀), independent of distance |
| between two opposite plates | σ/ε₀, zero outside |
Next deck: because the curl is zero, one scalar function replaces the whole vector field. That function is the potential, and it is the tool that makes the hard, asymmetric problems tractable.
Take stock. You arrived able to compute the force between two point charges. You leave able to handle charge smeared along a wire or through a solid, to get the fields of spheres, wires and planes in a few lines, and to recognise when that shortcut is unavailable.
Go down the results table and check each entry has a picture attached rather than floating free — the point charge, the shell theorem, the linear rise inside a solid sphere, the wire, the plane, the capacitor.
Then look ahead. Zero curl has been proved here but not yet spent. Spending it is what produces the potential, and the potential is the tool that makes all the asymmetric problems tractable.
Want this taught 1-on-1? Alexander tutors Electrodynamics (Griffiths) — $55/session, free consultation.