Opening the book…
Now place a point charge \(q\) at the center of a sphere of radius \(r\), and find the flux through the sphere. On the sphere the field has the same magnitude everywhere, \(E = k_eq/r^2\), and it points radially outward, parallel to the outward area vector of every patch. So \(\vec{E}\cdot d\vec{A} = E\,dA\) everywhere, and
\[\Phi_E = \oint E\,dA = E\oint dA = \frac{k_e q}{r^2}\,(4\pi r^2) = 4\pi k_e q = \frac{q}{\epsilon_0},\]
using \(k_e = 1/4\pi\epsilon_0\). (Here is the payoff for writing the Coulomb constant with a \(4\pi\) in it.) The radius has dropped out. The field weakens as \(1/r^2\), and the area of the sphere grows as \(r^2\), so every sphere centered on the charge, large or small, has the same flux through it. In the field-line picture this is obvious: every one of the lines leaving the charge crosses every one of the spheres.
That observation extends to a surface of any shape. However the closed surface bulges and folds, each field line leaving a charge inside it must eventually cross the surface to get out, and if it crosses back in somewhere, it must cross out again, so the net count for each line is exactly one crossing outward. The net flux through the surface is the same as through a sphere: \(q/\epsilon_0\). A charge outside the surface is different. Each of its field lines that enters the surface also leaves it, so its net contribution is zero. Finally, by the superposition principle, the field of many charges is the sum of their individual fields, and so the flux is the sum of their individual fluxes. Putting these facts together gives Gauss’s law:
Key Equation: Gauss’s law
\[\Phi_E = \oint\vec{E}\cdot d\vec{A} = \frac{q_{\text{enc}}}{\epsilon_0}. \tag{17.4}\]
The net electric flux through any closed surface equals the net charge enclosed by the surface, divided by \(\epsilon_0\). The closed surface can be real or imaginary. In applications it is usually imaginary, drawn wherever it is most convenient, and it is called a Gaussian surface.
Three points about Gauss’s law are easy to get wrong.
- The field \(\vec{E}\) in the integral is the total field at each point of the surface, produced by all charges, inside and outside. Charges outside the surface do change the field on it. What they cannot change is the net flux, because their contributions in and out cancel.
- \(q_{\text{enc}}\) is the net charge inside, with signs. A surface enclosing \(+q\) and \(-q\) has zero net flux, even though the field on it is not zero.
- Zero net flux does not mean zero field. In Example 17.2 the field was the same everywhere and the net flux was still zero.
Example 17.3: Flux through four surfaces
In Figure 17.6, \(q_1 = +4.0\,\mathrm{nC}\) and \(q_2 = -6.0\,\mathrm{nC}\). Find the net flux through each of the four surfaces.
Solution
Apply equation (17.4) to each surface, counting only the charge inside:
\[\begin{aligned}\Phi_1 &= \frac{q_1}{\epsilon_0} = \frac{4.0\times10^{-9}}{8.85\times10^{-12}} = \boxed{+452\,\mathrm{N\cdot m^2/C}}, \\ \Phi_2 &= \frac{q_2}{\epsilon_0} = \frac{-6.0\times10^{-9}}{8.85\times10^{-12}} = \boxed{-678\,\mathrm{N\cdot m^2/C}}, \\ \Phi_3 &= \boxed{0}, \\ \Phi_4 &= \frac{q_1 + q_2}{\epsilon_0} = \frac{-2.0\times10^{-9}}{8.85\times10^{-12}} = \boxed{-226\,\mathrm{N\cdot m^2/C}}.\end{aligned}\]
The shapes and sizes of the surfaces never entered. Surface \(S_3\) sits in a strong field and field lines certainly cross it, but every line that goes in comes back out.
Example 17.4: A charge at the center of a cube
A point charge \(q = +6.0\,\mathrm{nC}\) sits at the center of a cube. Find the flux through one face of the cube.
Solution
Calculating the flux through a single face directly would mean integrating a field that varies in both magnitude and direction across the face. Symmetry avoids that. By Gauss’s law the net flux through the whole cube is \(q/\epsilon_0\), and the charge sits at the center, so all six faces are equivalent and share it equally:
\[\Phi_{\text{face}} = \frac{q}{6\epsilon_0} = \frac{6.0\times10^{-9}}{6(8.85\times10^{-12})} = \boxed{113\,\mathrm{N\cdot m^2/C}}.\]
Example 17.5: Finding charge from a field
In a certain region the electric field is \(\vec{E} = bx\,\hat{\imath}\), with \(b = 3.0\times 10^{3}\,\mathrm{N/(C\cdot m)}\). It points along \(x\) and grows in proportion to \(x\). A cube of side \(a = 0.20\,\mathrm{m}\) has one corner at the origin and its edges along the axes. How much charge is inside the cube?
Solution
The field is everywhere parallel to the \(x\)-axis, so only the two faces perpendicular to \(x\) have any flux. On the face at \(x = 0\), \(E = 0\) and there is no flux. On the face at \(x = a\), \(E = ba\), pointing along the outward normal, so the flux is \((ba)(a^2) = ba^3\). The net flux is
\[\Phi_E = ba^3 = (3.0\times10^{3})(0.20)^3 = 24\,\mathrm{N\cdot m^2/C},\]
and by Gauss’s law,
\[q_{\text{enc}} = \epsilon_0\Phi_E = (8.85\times10^{-12})(24) = \boxed{2.1\times 10^{-10}\,\mathrm{C}}.\]
A field that grows as it leaves the cube carries more flux out than in, and the excess must have been produced by charge inside. Here Gauss’s law runs backward, from field to charge, which is how charge densities are often measured.
Note: Gauss’s law for gravity
Nothing in the argument for Gauss’s law used anything but the inverse-square law and superposition. The gravitational field \(\vec{g}\) of Chapter 13 obeys both, so it has a Gauss’s law of its own:
\[\oint\vec{g}\cdot d\vec{A} = -4\pi G M_{\text{enc}},\]
with a minus sign because gravity points toward mass. The shell theorems that Newton proved by laborious integration follow from it in a few lines, exactly as the electric shell theorems do in Section 17.4.
Checkpoint 17.3
A closed surface encloses a net charge of zero. (a) Must the field be zero everywhere on the surface? (b) Must the net flux be zero? (c) A point charge \(+q\) outside the surface is moved closer to it. Does the net flux change? Does the field on the surface change?
Answers to Checkpoints
Checkpoint 17.3. (a) No. Zero enclosed charge fixes only the net flux; the field on the surface can be large, produced by charges outside or by equal positive and negative charges inside. (b) Yes. By Gauss’s law, net flux \(= q_{\text{enc}}/\epsilon_0 = 0\). (c) The net flux does not change: it stays zero, because the charge is still outside. The field on the surface does change, growing stronger on the side nearer the charge, but every extra line entering the surface also leaves it.
This page titled 17.3: Gauss’s Law was last modified on Thu, 12 Nov 2026 04:27:10 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Michael Ragsdale.
The book could not be loaded just now.