Study Guide

Gauss's Law

AP Physics C: Electricity and Magnetism· AP Physics C: E&M CED — Electrostatics· 14 min read

1. What is Gauss's Law?★★☆☆☆⏱ 3 min

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.

📘 Definition

Gauss's Law

= electric flux, = total enclosed charge, = permittivity of free space

A fundamental law of electromagnetism relating the net electric flux through any closed surface to the total charge enclosed within that surface.

2. Electric Flux★★☆☆☆⏱ 3 min

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:

ΦE=EA=EAcosθ\Phi_E = \vec{E} \cdot \vec{A} = EA\cos\theta

where is the angle between and the outward-pointing surface normal. For non-uniform fields or curved surfaces, flux generalizes to a surface integral:

ΦE=SEdA\Phi_E = \iint_S \vec{E} \cdot d\vec{A}

Only the component of 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 pointing parallel to the base of the triangle, perpendicular to the depth axis. Calculate the total electric flux through the entire closed surface.

  1. 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 and , meaning flux through each rectangular face is 0.

  2. 2

    Calculate the area of each triangular end:

  3. 3
    A=12×1.5×1=0.75 m2A = \frac{1}{2} \times 1.5 \times 1 = 0.75 \text{ m}^2
  4. 4

    Flux through the right triangular end: outward normal points in the same direction as , so:

  5. 5
    Φright=+EA=120×0.75=90 Nm2/C\Phi_{\text{right}} = +EA = 120 \times 0.75 = 90 \text{ Nm}^2/\text{C}
  6. 6

    Flux through the left triangular end: outward normal points opposite , so:

  7. 7
    Φleft=EA=90 Nm2/C\Phi_{\text{left}} = -EA = -90 \text{ Nm}^2/\text{C}
  8. 8

    Sum all flux contributions to get total flux:

  9. 9
    9090+0+0+0=090 - 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.

3. Gauss's Law in Integral Form★★★☆☆⏱ 3 min

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:

EdA=Qenclosedϵ0\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 is surrounded by a concentric hollow spherical conducting shell with inner radius and outer radius , and a net charge of . Use Gauss’s law to find the electric field at radius between and , inside the conductor material.

  1. 1

    The system has spherical symmetry, so choose a concentric spherical Gaussian surface of radius , where .

  2. 2

    In electrostatic equilibrium, charge on a conductor resides entirely on surfaces. The inner shell surface induces charge to cancel the central point charge.

  3. 3

    Calculate total enclosed charge:

  4. 4
    Qenclosed=+3Q3Q=0Q_{\text{enclosed}} = +3Q - 3Q = 0
  5. 5

    Apply Gauss's law:

  6. 6
    E(4πr2)=Qenclosedϵ0=0    E=0E (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 . If your Gaussian surface cuts through the conductor, do not forget to add induced charge on inner surfaces inside your Gaussian surface.

4. E-Field Calculations for Symmetric Distributions★★★★☆⏱ 5 min

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 is constant in magnitude and perpendicular to the surface everywhere, simplifying the integral to that can be solved directly for .

📐 Worked Example

An infinite non-conducting cylinder of radius has a uniform volume charge density . Find the magnitude of the electric field at inside the cylinder.

  1. 1

    The system has cylindrical symmetry, so choose a coaxial cylindrical Gaussian surface of radius and arbitrary length .

  2. 2

    is perpendicular to the curved surface and parallel to the end caps, so only the curved surface contributes flux:

  3. 3
    ΦE=E(2πrL)\Phi_E = E (2\pi r L)
  4. 4

    Calculate enclosed charge:

  5. 5
    Qenclosed=ρV=ρ(πr2L)Q_{\text{enclosed}} = \rho V = \rho (\pi r^2 L)
  6. 6

    Apply Gauss's law and cancel common terms:

  7. 7
    E(2πrL)=ρπr2Lϵ0    E=ρr2ϵ0E (2\pi r L) = \frac{\rho \pi r^2 L}{\epsilon_0} \implies E = \frac{\rho r}{2 \epsilon_0}
  8. 8

    Substitute values ():

  9. 9
    E=(1.5×106)(0.02)2(8.85×1012)1700 N/CE = \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 has a non-uniform volume charge density for , where is a positive constant. (a) Use Gauss’s law to derive for . (b) Derive for . (c) Verify E is continuous at .

  1. 1

    (a) For , use a concentric spherical Gaussian surface, calculate enclosed charge by integrating the non-uniform density:

  2. 2
    Qenclosed=0rρ(r)4πr2dr=4πρ0(r33r44R)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. 3

    Apply Gauss's law and simplify:

  4. 4
    E4πr2=Qenclosedϵ0    E(r)=ρ0ϵ0(r3r24R)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. 5

    (b) For , enclosed charge equals the total charge of the sphere:

  6. 6
    Qtotal=4πρ0(R33R34)=πρ0R33Q_{\text{total}} = 4\pi \rho_0 \left(\frac{R^3}{3} - \frac{R^3}{4}\right) = \frac{\pi \rho_0 R^3}{3}
  7. 7

    Apply Gauss's law again:

  8. 8
    E4πr2=Qtotalϵ0    E(r)=ρ0R312ϵ0r2E \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. 9

    (c) Evaluate both expressions at :

  10. 10
    Einside(R)=ρ0R12ϵ0,Eoutside(R)=ρ0R312ϵ0R2=ρ0R12ϵ0E_{\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. 11

    The two values are equal, so E is continuous at , as expected.

Exam tip:

If volume charge density is non-uniform (depends on ), you must integrate to get ; do not just multiply by the Gaussian surface volume.

5. Common Pitfalls

Wrong move:

Using for an infinite non-conducting plane, forgetting the factor of .

Why:

Students confuse the non-conducting plane result with the E-field just outside a conductor, which has no factor.

Correct move:

Always check if charge is on a single non-conducting plane (use ) or a conductor surface (use , since flux only passes through one end of the pillbox).

Wrong move:

Using the outside spherical E-formula for points inside a uniformly charged solid sphere.

Why:

Students memorize the outside result and forget only charge inside the Gaussian surface contributes.

Correct move:

Always check if your Gaussian surface is inside or outside the charge distribution, and recalculate for inside points by scaling with volume.

Wrong move:

Pointing inward for a Gaussian surface enclosing negative charge, leading to a flipped sign for E.

Why:

Students think the normal should point toward negative charge, violating the standard outward normal convention.

Correct move:

Always point outward regardless of the sign of enclosed charge; the sign of E will come out correctly from the sign of .

Wrong move:

Including charge outside the Gaussian surface when calculating .

Why:

Students add all charge in the system, not just charge inside their chosen surface.

Correct move:

Explicitly count only charge that lies inside the Gaussian surface; external charge does not affect net flux or E at the Gaussian surface.

Wrong move:

Leaving E inside the integral for symmetric problems, leading to an unsolvable integral.

Why:

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 move:

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.

6. Quick Reference Cheatsheet

Category

Formula

Notes

Electric Flux (uniform E)

= angle between E and outward normal

Electric Flux (general)

Works for open or closed surfaces

Gauss's Law

Always true for any closed surface

E inside uniform solid sphere ()

= sphere radius, = total charge

E outside sphere/spherical shell

Valid for , same as point charge

E from infinite line of charge

= linear charge density, = distance from line

E from infinite non-conducting plane

Valid for all points on either side

E just outside a conductor

= surface charge density on conductor

When this came up on past exams

AI-estimated based on syllabus patterns — cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2023 · MCQ

    E-field inside charged conductor

  • 2022 · FRQ

    Non-uniform sphere E derivation

  • 2021 · MCQ

    Flux through closed prism

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.