01 / 21

Gauss's Law for
Electric Fields

Master the powerful connection between charge distributions and electric flux through closed surfaces, and learn to exploit symmetry to find electric fields.

AP Physics 2

What Is Electric Flux?

Electric flux \(\Phi_E\) measures how much electric field passes through a surface. Think of it like counting the number of field lines that pierce through an imaginary sheet.

Surface A \(\hat{n}\) \(\vec{E}\)

The Gaussian Surface

A Gaussian surface is an imaginary closed surface you choose to apply Gauss's law. It is not a physical object: you design it to exploit the symmetry of the charge distribution.

Closed
The surface must fully enclose a volume: no holes, no openings.
Imaginary
It exists only in your analysis: you pick its shape and size freely.
Strategic
Choose it so \(\vec{E}\) is constant and parallel (or perpendicular) to each face.

Why Gauss's Law Matters

Coulomb's law lets you find the field from a point charge, but for extended charge distributions (spheres, wires, planes), integrating Coulomb's law is brutal. Gauss's law turns a hard integral into simple algebra, if you choose the right surface.

Coulomb's Way
Integrate \(\vec{E} = \frac{1}{4\pi\epsilon_0}\int\frac{dq}{r^2}\hat{r}\) over the entire charge distribution.
Gauss's Way
Use symmetry: \(\oint \vec{E}\cdot d\vec{A} = \frac{q_{\text{enc}}}{\epsilon_0}\) and solve for \(E\) in one step.

The Law Itself

1
Left side: The total electric flux \(\Phi_E\) through any closed surface.
2
Right side: The net charge enclosed \(q_{\text{enc}}\) divided by the permittivity of free space \(\epsilon_0 = 8.85 \times 10^{-12}\;\text{C}^2/(\text{N}\cdot\text{m}^2)\).
3
Key insight: Charges outside the surface contribute zero net flux: their field lines enter and exit equally.

Visualizing Enclosed Charge

Gaussian Surface + − + outside +Q −q Net flux \(\propto\) \((Q - q)\)

Three Symmetries You Need

Gauss's law is always true, but only useful for finding \(E\) when the charge distribution has one of these symmetries:

Spherical
Point charges, uniform spheres, spherical shells. Use a spherical Gaussian surface.
Cylindrical
Infinite lines of charge, coaxial cables. Use a cylindrical Gaussian surface.
Planar
Infinite planes, parallel plates. Use a rectangular box (Gaussian pillbox).

Gauss vs. Coulomb

Gauss's Law Coulomb's Law
Works for Any charge distribution Any charge distribution
Finds \(E\) easily? Only with symmetry Always (but hard integrals)
Best for Spheres, lines, planes Point charges, finite rods
Output Scalar \(E\) (magnitude) Vector \(\vec{E}\)
Difficulty Algebra Integration

How to Apply Gauss's Law

1
Identify the symmetry: Is the charge distribution spherical, cylindrical, or planar?
2
Choose a Gaussian surface matching the symmetry, centered on the charge. Make \(\vec{E}\) either parallel or perpendicular to each face.
3
Evaluate the flux integral: On surfaces where \(\vec{E} \parallel d\vec{A}\), the dot product becomes \(E\,dA\). On surfaces where \(\vec{E} \perp d\vec{A}\), the flux is zero.
4
Find \(q_{\text{enc}}\): Determine the charge enclosed by the surface using charge density (\(\rho\), \(\sigma\), or \(\lambda\)).
5
Solve for \(E\): Set \(\Phi_E = q_{\text{enc}}/\epsilon_0\) and solve algebraically.

Example 1: Point Charge

Find the electric field at distance \(r\) from a point charge \(+Q\).

+Q r \(\vec{E}\) Gaussian sphere

Example 2: Infinite Line of Charge

An infinitely long wire carries uniform linear charge density \(\lambda\). Find \(E\) at distance \(r\).

+ + + + \(\lambda\) r \(\vec{E}\) L

Example 3: Infinite Plane of Charge

A large flat sheet has uniform surface charge density \(\sigma\). Find \(E\) on either side.

\(\sigma\) + + + + + Gaussian pillbox \(\vec{E}\) \(\vec{E}\) A (top cap) A (bottom cap)

Inside a Conducting Shell

A conducting spherical shell of radius \(R\) carries total charge \(+Q\). What is \(E\) inside (\(r < R\)) and outside (\(r > R\))?

+ + + + + + + + \(E = 0\) \(r < R\) R \(r > R\):
\(E = \frac{Q}{4\pi\epsilon_0 r^2}\)
\(r < R\):
\(E = 0\)

Inside a Solid Insulating Sphere

A uniformly charged insulating sphere of radius \(R\) and total charge \(Q\). What is \(E\) for \(r < R\)?

1
Volume charge density: \(\rho = \dfrac{Q}{\frac{4}{3}\pi R^3}\)
2
Gaussian sphere of radius \(r < R\) encloses: \(q_{\text{enc}} = \rho \cdot \dfrac{4}{3}\pi r^3 = Q\dfrac{r^3}{R^3}\)
3
Flux: \(E \cdot 4\pi r^2 = \dfrac{q_{\text{enc}}}{\epsilon_0} = \dfrac{Q r^3}{\epsilon_0 R^3}\)
4
Result: \(E = \dfrac{Qr}{4\pi\epsilon_0 R^3}\) : \(E\) grows linearly with \(r\) inside!

Key Results Summary

Geometry Gaussian Surface Electric Field
Point / Sphere (outside) Sphere \(\dfrac{Q}{4\pi\epsilon_0 r^2}\)
Insulator (inside) Sphere \(\dfrac{Qr}{4\pi\epsilon_0 R^3}\)
Conducting shell (inside) Sphere \(0\)
Infinite line Cylinder \(\dfrac{\lambda}{2\pi\epsilon_0 r}\)
Infinite plane Pillbox \(\dfrac{\sigma}{2\epsilon_0}\)

Common Mistakes

✕ Using all charge, not \(q_{\text{enc}}\)
Only charge inside the Gaussian surface counts. Charge outside contributes zero net flux.
✕ Wrong surface shape
A spherical surface around a line charge does not simplify the integral: \(E\) varies over the surface. Match the surface to the symmetry.
✕ Forgetting Flux Through Caps
For an infinite plane, flux passes through both caps of the pillbox. Forgetting one cap leads to an incorrect result of \(E = \frac{\sigma}{\epsilon_0}\), which is double the correct field.

Question 1 of 5

A spherical Gaussian surface of radius \(r\) encloses a total charge of \(+3Q\). A charge of \(-Q\) sits outside the surface. What is the total electric flux through the surface?

Question 2 of 5

Which Gaussian surface is most appropriate for finding the electric field due to an infinitely long, uniformly charged wire?

Question 3 of 5

A uniformly charged solid insulating sphere has radius \(R\) and total charge \(Q\). At what distance from the center is the electric field strongest?

Question 4 of 5

An infinite plane of surface charge density \(\sigma\) produces a uniform electric field. If you double the charge density to \(2\sigma\), how does the field change?

Question 5 of 5

A hollow conducting sphere carries charge \(+Q\) on its surface. A Gaussian surface is placed inside the cavity. The electric flux through this Gaussian surface is: