# Gauss's Law

> AP Physics C: Electricity and Magnetism · Unit 1: Electrostatics
> Source: https://www.owlsprep.com/study/ap-physics-c-em-u1-gauss-s-law/

This guide covers electric flux definition, Gauss's law in integral form, symmetry arguments for Gaussian surface selection, E-field calculations for symmetric charge distributions, and electrostatic conductor properties for AP Physics C E&M.

**Prerequisites:** [Coulomb's law for point charges](https://www.owlsprep.com/study/ap-physics-c-em-u1-coulombs-law/); [Electric field vector definitions](https://www.owlsprep.com/study/ap-physics-c-em-u1-electric-fields/); Integration for continuous charge distributions

## Learning objectives

- Define electric flux and state Gauss's law in integral form
- Select appropriate Gaussian surfaces based on charge distribution symmetry
- Calculate electric fields for common symmetric charge distributions
- Apply Gauss's law to electrostatic properties of conductors

## What is Gauss's Law?

Gauss’s Law is a fundamental relation between electric charge and the electric field it produces, and it is one of the four Maxwell’s equations governing all classical electromagnetism. For AP Physics C: E&M, it makes up 15-20% of Unit 1 exam weight, or 4-7% of your total exam score, appearing regularly on both multiple-choice and free-response sections.

The core idea is that the total "flow" (called flux) of the electric field through any closed surface is directly proportional to the total electric charge enclosed by that surface. Unlike Coulomb’s law, which requires tedious integration for most charge distributions, Gauss’s law drastically simplifies E-field calculations for charge distributions with high symmetry.

**Gauss's Law** — A fundamental law of electromagnetism relating the net electric flux through any closed surface to the total charge enclosed within that surface.

*Notation:* $\Phi_E$ = electric flux, $Q_{\text{enclosed}}$ = total enclosed charge, $\epsilon_0$ = permittivity of free space

> **note**
>
> Standard convention: For any closed Gaussian surface, the differential area vector $d\vec{A}$ always points outward from the surface.

## Electric Flux

Electric flux is a scalar quantity that measures the net number of electric field lines passing through a given surface. For uniform electric fields across flat surfaces, flux simplifies to a dot product of the electric field vector and area vector:

$$\Phi_E = \vec{E} \cdot \vec{A} = EA\cos\theta$$

where $\theta$ is the angle between $\vec{E}$ and the outward-pointing surface normal. For non-uniform fields or curved surfaces, flux generalizes to a surface integral:

$$\Phi_E = \iint_S \vec{E} \cdot d\vec{A}$$

Only the component of $\vec{E}$ perpendicular to the surface contributes to flux. For closed surfaces, outward normal convention means flux is positive for field lines leaving positive enclosed charge, and negative for field lines entering toward negative enclosed charge.

**Worked example:** A closed right triangular prism has a triangular end with base 1.5 m and height 1 m, and a depth (along the prism axis) of 2 m. The prism is placed in a uniform horizontal electric field $E = 120 \text{ N/C}$ pointing parallel to the base of the triangle, perpendicular to the depth axis. Calculate the total electric flux through the entire closed surface.

1. Break the closed surface into 5 faces: two triangular ends, three rectangular faces. The electric field is parallel to the three rectangular faces, so $\theta = 90^\circ$ and $\cos\theta = 0$, meaning flux through each rectangular face is 0.
2. Calculate the area of each triangular end:
3. $$A = \frac{1}{2} \times 1.5 \times 1 = 0.75 \text{ m}^2$$
4. Flux through the right triangular end: outward normal points in the same direction as $\vec{E}$, so:
5. $$\Phi_{\text{right}} = +EA = 120 \times 0.75 = 90 \text{ Nm}^2/\text{C}$$
6. Flux through the left triangular end: outward normal points opposite $\vec{E}$, so:
7. $$\Phi_{\text{left}} = -EA = -90 \text{ Nm}^2/\text{C}$$
8. Sum all flux contributions to get total flux:
9. $$90 - 90 + 0 + 0 + 0 = 0$$

> **Exam tip:** Always split closed surfaces into individual faces and check for zero-flux faces first (where E is parallel to the face) to eliminate most work before starting calculations.

## Gauss's Law in Integral Form

Gauss’s law states that the total electric flux through any closed Gaussian surface is proportional to the net charge enclosed by that surface, regardless of the shape of the surface or any charge outside the surface. The only form required for AP Physics C: E&M is the integral form:

$$\oint \vec{E} \cdot d\vec{A} = \frac{Q_{\text{enclosed}}}{\epsilon_0}$$

Charge outside the closed surface contributes zero net flux: every field line from external charge that enters the surface will also exit it, so positive and negative flux contributions cancel exactly. Gauss’s law is always true for any closed surface, but it is only useful for calculating E-fields when the charge distribution has enough symmetry that we can pull the magnitude of E out of the integral. The three symmetric cases tested on the AP exam are:

- Spherical symmetry: charge depends only on radius from a central point
- Cylindrical symmetry: charge depends only on radial distance from an infinite axis
- Planar symmetry: uniform charge across an infinite plane

**Worked example:** A point charge $+3Q$ is surrounded by a concentric hollow spherical conducting shell with inner radius $a$ and outer radius $b$, and a net charge of $-Q$. Use Gauss’s law to find the electric field at radius $r$ between $a$ and $b$, inside the conductor material.

1. The system has spherical symmetry, so choose a concentric spherical Gaussian surface of radius $r$, where $a < r < b$.
2. In electrostatic equilibrium, charge on a conductor resides entirely on surfaces. The inner shell surface induces charge $-3Q$ to cancel the central $+3Q$ point charge.
3. Calculate total enclosed charge:
4. $$Q_{\text{enclosed}} = +3Q - 3Q = 0$$
5. Apply Gauss's law:
6. $$E (4\pi r^2) = \frac{Q_{\text{enclosed}}}{\epsilon_0} = 0 \implies E = 0$$

> **Exam tip:** Always account for induced charge on conductors when calculating $Q_{\text{enclosed}}$. If your Gaussian surface cuts through the conductor, do not forget to add induced charge on inner surfaces inside your Gaussian surface.

## E-Field Calculations for Symmetric Distributions

The most common AP exam application of Gauss’s law is deriving E-fields for standard symmetric charge distributions. For each symmetry, the Gaussian surface is chosen to match the charge symmetry, so $E$ is constant in magnitude and perpendicular to the surface everywhere, simplifying the integral to $EA = Q_{\text{enclosed}}/\epsilon_0$ that can be solved directly for $E$.

**Worked example:** An infinite non-conducting cylinder of radius $R = 4 \text{ cm}$ has a uniform volume charge density $\rho = 1.5 \times 10^{-6} \text{ C/m}^3$. Find the magnitude of the electric field at $r = 2 \text{ cm}$ inside the cylinder.

1. The system has cylindrical symmetry, so choose a coaxial cylindrical Gaussian surface of radius $r = 0.02 \text{ m}$ and arbitrary length $L$.
2. $E$ is perpendicular to the curved surface and parallel to the end caps, so only the curved surface contributes flux:
3. $$\Phi_E = E (2\pi r L)$$
4. Calculate enclosed charge:
5. $$Q_{\text{enclosed}} = \rho V = \rho (\pi r^2 L)$$
6. Apply Gauss's law and cancel common terms:
7. $$E (2\pi r L) = \frac{\rho \pi r^2 L}{\epsilon_0} \implies E = \frac{\rho r}{2 \epsilon_0}$$
8. Substitute values ($\epsilon_0 = 8.85 \times 10^{-12} \text{ F/m}$):
9. $$E = \frac{(1.5 \times 10^{-6})(0.02)}{2(8.85 \times 10^{-12})} \approx 1700 \text{ N/C}$$

**Worked example:** A solid non-conducting sphere of radius $R$ has a non-uniform volume charge density $\rho(r) = \rho_0 (1 - r/R)$ for $0 \leq r \leq R$, where $\rho_0$ is a positive constant. (a) Use Gauss’s law to derive $E(r)$ for $r < R$. (b) Derive $E(r)$ for $r > R$. (c) Verify E is continuous at $r = R$.

1. (a) For $r < R$, use a concentric spherical Gaussian surface, calculate enclosed charge by integrating the non-uniform density:
2. $$Q_{\text{enclosed}} = \int_0^r \rho(r') 4\pi r'^2 dr' = 4\pi \rho_0 \left(\frac{r^3}{3} - \frac{r^4}{4R}\right)$$
3. Apply Gauss's law and simplify:
4. $$E \cdot 4\pi r^2 = \frac{Q_{\text{enclosed}}}{\epsilon_0} \implies E(r) = \frac{\rho_0}{\epsilon_0} \left(\frac{r}{3} - \frac{r^2}{4R}\right)$$
5. (b) For $r > R$, enclosed charge equals the total charge of the sphere:
6. $$Q_{\text{total}} = 4\pi \rho_0 \left(\frac{R^3}{3} - \frac{R^3}{4}\right) = \frac{\pi \rho_0 R^3}{3}$$
7. Apply Gauss's law again:
8. $$E \cdot 4\pi r^2 = \frac{Q_{\text{total}}}{\epsilon_0} \implies E(r) = \frac{\rho_0 R^3}{12 \epsilon_0 r^2}$$
9. (c) Evaluate both expressions at $r=R$:
10. $$E_{\text{inside}}(R) = \frac{\rho_0 R}{12 \epsilon_0}, \quad E_{\text{outside}}(R) = \frac{\rho_0 R^3}{12 \epsilon_0 R^2} = \frac{\rho_0 R}{12 \epsilon_0}$$
11. The two values are equal, so E is continuous at $r=R$, as expected.

> **Exam tip:** If volume charge density $\rho$ is non-uniform (depends on $r$), you must integrate $\rho dV$ to get $Q_{\text{enclosed}}$; do not just multiply $\rho$ by the Gaussian surface volume.

## Common pitfalls

- **Wrong:** Using $E = \sigma/\epsilon_0$ for an infinite non-conducting plane, forgetting the factor of $1/2$.
  - Why it fails: Students confuse the non-conducting plane result with the E-field just outside a conductor, which has no $1/2$ factor.
  - Correct: Always check if charge is on a single non-conducting plane (use $1/2$) or a conductor surface (use $1$, since flux only passes through one end of the pillbox).
- **Wrong:** Using the outside spherical E-formula $E = Q/(4\pi\epsilon_0 r^2)$ for points inside a uniformly charged solid sphere.
  - Why it fails: Students memorize the outside result and forget only charge inside the Gaussian surface contributes.
  - Correct: Always check if your Gaussian surface is inside or outside the charge distribution, and recalculate $Q_{\text{enclosed}}$ for inside points by scaling with volume.
- **Wrong:** Pointing $d\vec{A}$ inward for a Gaussian surface enclosing negative charge, leading to a flipped sign for E.
  - Why it fails: Students think the normal should point toward negative charge, violating the standard outward normal convention.
  - Correct: Always point $d\vec{A}$ outward regardless of the sign of enclosed charge; the sign of E will come out correctly from the sign of $Q_{\text{enclosed}}$.
- **Wrong:** Including charge outside the Gaussian surface when calculating $Q_{\text{enclosed}}$.
  - Why it fails: Students add all charge in the system, not just charge inside their chosen surface.
  - Correct: Explicitly count only charge that lies inside the Gaussian surface; external charge does not affect net flux or E at the Gaussian surface.
- **Wrong:** Leaving E inside the integral for symmetric problems, leading to an unsolvable integral.
  - Why it fails: Students forget the purpose of matching Gaussian surface to symmetry is to make E constant so it can be pulled out of the integral.
  - Correct: Before applying Gauss's law, confirm that E is constant on your Gaussian surface and perpendicular everywhere, so you can factor E out of the integral.

## Cheatsheet

| Category | Formula | Notes |
| --- | --- | --- |
| Electric Flux (uniform E) | $\Phi_E = \vec{E} \cdot \vec{A} = EA\cos\theta$ | $\theta$ = angle between E and outward normal |
| Electric Flux (general) | $\Phi_E = \iint_S \vec{E} \cdot d\vec{A}$ | Works for open or closed surfaces |
| Gauss's Law | $\oint \vec{E} \cdot d\vec{A} = \frac{Q_{\text{enclosed}}}{\epsilon_0}$ | Always true for any closed surface |
| E inside uniform solid sphere ($r < R$) | $E = \frac{Q r}{4\pi\epsilon_0 R^3}$ | $R$ = sphere radius, $Q$ = total charge |
| E outside sphere/spherical shell | $E = \frac{Q}{4\pi\epsilon_0 r^2}$ | Valid for $r > R$, same as point charge |
| E from infinite line of charge | $E = \frac{\lambda}{2\pi\epsilon_0 r}$ | $\lambda$ = linear charge density, $r$ = distance from line |
| E from infinite non-conducting plane | $E = \frac{\sigma}{2\epsilon_0}$ | Valid for all points on either side |
| E just outside a conductor | $E = \frac{\sigma}{\epsilon_0}$ | $\sigma$ = surface charge density on conductor |

## What's next

Gauss’s law is the foundational tool for almost all advanced work in electrostatics for AP Physics C: E&M. Next, you will use the E-field results from this sub-topic to calculate electric potential for symmetric charge distributions, and derive the capacitance of common symmetric configurations like spherical, cylindrical, and parallel-plate capacitors. Without mastering the symmetry arguments and enclosed charge calculation from Gauss’s law, you will not be able to correctly solve for potential or capacitance for these standard systems, which are frequent multi-part FRQ topics. Gauss’s law also extends directly to magnetism later in the course, where an analogous relation describes core properties of magnetic fields.

- [Electric Potential](https://www.owlsprep.com/study/ap-physics-c-em-u1-electric-potential/)
- [Conductors, Capacitors, Dielectrics](https://www.owlsprep.com/study/ap-physics-c-em-u2-overview/)
- [Electrostatics with Conductors](https://www.owlsprep.com/study/ap-physics-c-em-u2-electrostatics-with-conductors/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-physics-c-em-u1-gauss-s-law/
