All AP Courses AP Physics C: Electricity and MagnetismAP Physics C: E&M

Unit 8 · Topic 8.6 · about 30 minutes · 7 parts · 11 scored checks, 2 of them multiple choice, plus 2 from earlier lessons

AP Physics C: Electricity and Magnetism 8.6: Gauss’s Law

Unit 8: 15 to 25% of the multiple-choice section

What you'll be able to do

  • Describe a charge distribution, its total charge and the electric field it makes, by applying Gauss's law with a Gaussian surface chosen to fit the distribution's symmetry, and by integrating a charge density that changes with position.

Key vocabulary

TermWhat it meansThe exam trap
Gauss's lawThe law relating the electric flux through a closed surface to the charge inside it: ∮E→⋅dA→=qencε0.The E→ inside the integral is the net field of every charge present, including any outside the surface.
Electric fluxFor a closed surface, ΦE=∮E→⋅dA→, the total of the field's part along each outward area element, in N·m²/C.Each dA→ points outward, so field entering the surface counts as negative flux.
Gaussian surfaceAn imagined three-dimensional, closed surface chosen in order to apply Gauss's law.It need not be the surface of any real object; it passes through the point where you want the field.
Enclosed chargeThe net charge qenc inside a Gaussian surface, with signs.Where the density changes with position, a single value of the density times a volume is not the enclosed charge.
Charge densityCharge per unit volume ρ in C/m³, per unit area σ in C/m², or per unit length λ in C/m.Match the density to the shape: ρ goes with a volume element, σ with an area element and λ with a length element.
Vacuum permittivityThe constant ε0=8.85×10−12 C²/(N·m²) in Gauss's law, related to k by k=14πε0.Converting between the two forms, keep the 4π: 1ε0=4πk, not k.
Maxwell's equationsThe collection of equations that together fully describe electromagnetism; Gauss's law is one of them.Gauss's law in this form is about electric fields and charge; the other equations bring in magnetic fields later in the course.
A long, straight wire labeled with a plus sign, for positive charge, runs horizontally across the picture. A dashed Gaussian cylinder of radius r surrounds a section of the wire and shares its axis, with an oval end cap at each end; a dotted line labeled r runs from the wire up to the curved wall. Three arrows, one labeled E, point straight up out of the top of the curved wall and three point straight down out of the bottom, each perpendicular to the wall. At a point on the right end cap, an arrow labeled E points straight up, lying in the cap, and an arrow labeled dA points to the right, out of the cap, at a right angle to E. Labels read: curved wall, E along dA; end caps, E lies in the surface, no flux.Tap to open the picture full size

Part 1 Think first A bead in a box

Commit to a guess first. Being wrong now makes the right idea stick better.

Predict first

A teacher hangs a small charged bead at the exact center of a closed cardboard box and asks the class to think about the total electric flux out through all six faces of the box together. Then she slides the bead over until it sits close to one face, still inside the box. What happens to the total flux through the six faces?

In short. Gauss's law says the electric flux through any closed surface equals the net charge inside it divided by ε0: ∮E→⋅dA→=qencε0, with k=14πε0.

  • The total flux depends only on the charge enclosed, not on the size or shape of the closed surface or on charges outside it.
  • For spherical, cylindrical or planar symmetry, choose a Gaussian surface on which the field is either along dA→ with one size, or lies in the surface; then the integral becomes E times an area, and E=kQr2, 2kλr or σ2ε0.
  • When a charge density changes with position, find the charge by integrating it, such as Q=∫ρdV with dV=4πr2dr for a sphere.

Part 2 Learn it Flux, enclosed charge and the surface you choose

2a. Only the charge inside counts

Gauss's law gives the electric flux through a closed surface:

ΦE=∮E→⋅dA→=qencε0,

where qenc is the net charge inside, signs included, and ε0=8.85×10−12 C²/(N·m²) is the vacuum permittivity, with k=14πε0. The circle on the integral means the surface is closed. A Gaussian surface is a three-dimensional, closed surface, such as a sphere or a box with all six faces, so it has an inside and an outside, and each dA→ points outward.

A charge outside sends field lines in through one part and out through another, adding nothing to the total. A charge inside sends every one of its lines out. For a sphere centered on a point charge, making the sphere larger weakens the field on it as 1r2 while the area grows as r2, so the flux stays the same. For any closed surface, the total flux does not change with the surface's size or shape as long as the enclosed charge stays the same.

With +2.0 nC and −0.5 nC inside, ΦE=1.5×10−98.85×10−12=169 N·m²/C. Gauss's law is the first of Maxwell's equations, the collection of equations that fully describes electromagnetism.

Quick check · Calculate

A closed Gaussian surface surrounds a +6.0 nC charge and a −2.0 nC charge. A +3.0 nC charge sits outside the surface. Take flux out of the surface as positive. Use ε0=8.85×10−12 C²/(N·m²). What is the net electric flux through the surface, in N·m²/C?

N·m²/C

2b. Choose the surface the symmetry gives you

Gauss's law holds for every closed surface, but gives the field only when E comes out of the integral. Build the Gaussian surface from pieces where the field is either along dA→ and the same size everywhere on that piece, so its flux is E times the piece's area, or lies in the surface, so E→⋅dA→=0 there. That needs spherical, cylindrical or planar symmetry.

  • Sphere. Around a point charge Q, a concentric sphere: E(4πr2)=Qε0, so E=kQr2, Coulomb's law back again.
  • Cylinder. Around a long line with charge per unit length λ, a coaxial cylinder of radius r and length L. The field is radial, so the end caps carry no flux and the curved wall carries E(2πrL). Then E(2πrL)=λLε0, so E=λ2πε0r=2kλr, the long-line result of Topic 8.4. For λ=5.0 nC/m at 0.15 m, E=600 N/C.
  • Plane. Across a large sheet with charge per unit area σ, a short cylinder with one flat face on each side. Only the two faces carry flux: E(2A)=σAε0, so E=σ2ε0, the same at any distance.

Quick check · Decide and justify

A solid plastic cube has charge spread evenly through it. A student wants the strength of the electric field at a point 0.30 m from the cube's center. Can Gauss's law, with one Gaussian surface through that point, give the field there directly?

Which reason supports your answer?

2c. When the density changes with position

Gauss's law needs the enclosed charge. When the charge density changes with position, multiply it by a small piece of the object and add the pieces with an integral: Q=∫λdx along a length, Q=∫σdA over an area, and Q=∫ρdV through a volume.

For a sphere whose density depends only on the distance from the center, use thin shells. A shell of radius r′ and thickness dr′ has volume dV=4πr′2dr′, and every point in it has the same density. Write the integration variable as r′ so it is not confused with the limit.

Take a sphere of radius R with ρ(r)=br, where b is a constant:

Q=∫0Rbr′⋅4πr′2dr′=4πbR44=πbR4.

With b=1.0×10−6 C/m⁴ and R=0.10 m, Q=π(1.0×10−6)(0.10)4=3.1×10−10 C. For the charge inside a smaller Gaussian sphere of radius r, stop the integral at r instead of R.

Quick check · Calculate

A solid insulating sphere of radius 0.10 m has volume charge density ρ(r)=br2, where r is the distance from the center and b=5.0×10−5 C/m⁵. What is the total charge of the sphere, in nC?

nC

Part 3 Watch it done Inside a sphere whose density grows outward

Watch each step, then do the last one yourself.

A solid insulating sphere of radius 0.20 m has volume charge density ρ(r)=br, with b=3.0×10−6 C/m⁴ and r the distance from the center. Find the magnitude of the electric field 0.10 m from the center. Use ε0=8.85×10−12 C²/(N·m²), with k=14πε0.

  1. Step 1 · Choose the surface

    The density depends only on r, so the charge has spherical symmetry and the field points radially with one size at each r. Use a Gaussian sphere of radius r=0.10 m, concentric with the charged sphere. On it E→ is along dA→ everywhere, so ∮E→⋅dA→=E(4πr2).

  2. Step 2 · Find the enclosed charge

    Add shells from the center out to the Gaussian surface, using r′ inside the integral: qenc=∫0rbr′⋅4πr′2dr′=πbr4.

  3. Why this step?

    Why does the integral stop at r and not at the sphere's surface, 0.20 m?

    Gauss's law uses only the charge inside the Gaussian surface. The shells between 0.10 m and 0.20 m lie outside it; by symmetry each one sends as much flux in as out of the Gaussian sphere, so they add nothing. Using the whole sphere's charge would treat all of it as if it were inside 0.10 m.

  4. Your step · Calculate

    Finish it. Set E(4πr2)=qencε0, solve for E, then put in b=3.0×10−6 C/m⁴ and r=0.10 m, with ε0=8.85×10−12 C²/(N·m²). What is the magnitude of the electric field 0.10 m from the center, in N/C?

    N/C

Part 4 Try it Closed surfaces and a charged sheet

Try it · Rank it

Four closed surfaces each surround some charges. Rank the net electric flux out of each surface.

Greatest flux first

Give each one a place, 1 for first. Give two the same place if they are equal.

Your ranking: none yet

Try it · Calculate

A large, flat plastic sheet has positive charge spread evenly over it, with σ=4.0 nC/m². Point P is 0.030 m from the sheet, far from its edges. Use ε0=8.85×10−12 C²/(N·m²), with k=14πε0. What is the magnitude of the electric field at P, in N/C?

N/C

On paper. A thin spherical shell of radius R carries charge spread evenly over its surface. Draw axes of field strength E against distance r from the center, from 0 to 3R. Draw one Gaussian sphere with radius less than R and one with radius greater than R, decide from each what E must be there, and sketch the graph, labeling both axes. There is nothing to submit here.

Then compare: a Gaussian sphere inside the shell encloses no charge, so E=0 for r<R. One outside encloses all of Q, so E=kQr2. The graph is flat at zero up to R, jumps to kQR2 there, then falls as 1r2 to one ninth of that value at 3R.

Part 5 Explain it A sphere whose density falls off toward its surface

Nothing you type leaves this page. Check your answer against the model and each scoring point.

Free response is 50% of the exam score. This one is shaped like Question 1, Mathematical Routines.

Free-response practice · Question 1 style

A solid insulating sphere of radius R has volume charge density ρ(r)=ρ0(1−rR), where ρ0 is a positive constant and r is the distance from the center.

(a) On paper, draw the sphere, the Gaussian surface you would use to find the field at a distance r<R, and arrows for the field at three points on that surface. Then compare your drawing with the model.

(b) Derive an expression for the total charge Q of the sphere in terms of ρ0, R and physical constants.

(c) Derive an expression for the magnitude of the electric field at a distance r<R from the center, in terms of ρ0, R, r and physical constants.

(d) Derive an expression for the magnitude of the electric field at a distance r>R, in terms of ρ0, R, r and physical constants.

(e) On paper, sketch E against r from r=0 to r=3R. Then compare your sketch with the model.

Model answer

(a) A circle of radius R, and inside it a dashed concentric circle of radius r for the Gaussian sphere. Arrows at points on the dashed circle point radially outward, all the same length.

(b) Q=∫0Rρ0(1−r′R)4πr′2dr′=4πρ0(R33−R34)=πρ0R33.

(c) The same integral up to r gives qenc=4πρ0(r33−r44R). By symmetry E is radial with one size on the Gaussian sphere, so E(4πr2)=qencε0 and E=ρ0ε0(r3−r24R).

(d) A Gaussian sphere of radius r>R encloses all of Q: E(4πr2)=Qε0, so E=ρ0R312ε0r2.

(e) Compare: the curve starts at zero at the center, rises to a greatest value of ρ0R9ε0 at r=2R3, falls by a quarter to ρ0R12ε0 at the surface, with no jump there because (c) and (d) agree at r=R, then falls as 1r2 to one ninth of the surface value at 3R.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself A probe beside a charged rod

The case questions use the probe readings. The others mix the ideas from the whole lesson.

A long, solid plastic rod of radius 0.020 m has positive charge spread uniformly through its volume. A student slides a thin field probe along a line perpendicular to the rod's axis, near the middle of the rod and far from its ends, and records the strength of the field at each distance r from the axis. The probe passes through a narrow hole drilled into the rod for the readings inside it.

Field probe readings at distance r from the rod's axis
r (m)E (N/C)
00
0.010899
0.0201798
0.040899
0.080450
0.160225

Case question 1 · Calculate

Using the probe reading at r=0.080 m, find the rod's charge per unit length λ. Use ε0=8.85×10−12 C²/(N·m²), with k=14πε0. Give λ in nC/m.

nC/m

Case question 2 · Multiple choice

Inside the rod, the reading doubles from r=0.010 m to r=0.020 m. Which explains why the field grows with r inside the rod?

Case question 3 · Multiple choice

A second long plastic rod has the same charge per unit length as the first, also spread uniformly through its volume, but its radius is 0.040 m. What would the probe read at r=0.020 m from its axis?

The rest stand on their own and do not use the case.

Check yourself · Fill the statement

Complete the statements about Gauss's law.

Gauss's law is the of Maxwell's equations. If a closed surface around a charge is made twice as large in every direction and the charge inside does not change, the total flux through the surface .

Check yourself · Spot the error

A solid insulating sphere of radius R has charge spread uniformly through it with density ρ. A student finds the field at a distance r>R from the center. Which line is the first to go wrong?

Part 7 Keep it Bring back earlier ideas

Gauss's law stands on the flux through a closed surface from Topic 8.5 and the symmetry arguments of Topic 8.4.

From 8.5 Electric Flux · Spot the error

A closed cube 0.10 m on a side sits in a uniform electric field of 2000 N/C pointing in the +x direction, with two of its faces perpendicular to the field. A student finds the flux through the face on the −x side, the face where the field enters the cube. Which line is the first to go wrong?

From 8.4 Electric Fields of Charge Distributions · Decide and justify

A thin ring has positive charge spread evenly around it. Point P is on the ring's axis, 0.05 m from its center. Does the ring's net electric field at P have any part perpendicular to the axis?

Which reason supports your answer?

In three lines

  • The flux through a closed surface is qencε0, whatever the surface's size or shape and whatever lies outside it.
  • With spherical, cylindrical or planar symmetry, pick a surface on which E is along dA→ or lies in the surface, and solve for E.
  • When the density changes with position, integrate it to get the enclosed charge, stopping at the Gaussian surface.

Exam strategy for this topic

  • Section I, Multiple Choice: 42 questions in 85 minutes.
  • Section II, Free Response: 4 questions in 95 minutes.
  • This lesson's Explain it is shaped like free-response question 1, Mathematical Routines.
  • A four-function, scientific, or graphing calculator is allowed on both sections of the exam.

When you use Gauss's law to find a field, write in words why the field is radial or perpendicular and one size on each piece of your Gaussian surface before you pull E out of the integral. Then check your result where you can, such as far away, where any finite distribution's field should look like a point charge's.

Questions students ask

When can I use Gauss's law to find a field in AP Physics C: E&M?

College Board expects quantitative use for point charges and for charge distributions with spherical, cylindrical or planar symmetry. Gauss's law is true for any closed surface, but only those symmetries give a surface on which you can pull E out of the integral.

Does charge outside the Gaussian surface change the field on it?

It can change the field at points on the surface, but not the total flux through it. Its field lines go in and come back out, so its net flux is zero. With full spherical or cylindrical symmetry, charge outside also makes no net field inside.

How do I choose a Gaussian surface?

Match the symmetry: a concentric sphere for spherical charge, a coaxial cylinder for a long line or rod, and a short cylinder crossing a large sheet. Make it pass through the point where you want the field.

Why write r′ inside the integral for the enclosed charge?

The radius of the Gaussian surface, r, is the upper limit, while the integral runs over every shell from the center up to it. Giving the shells their own letter, r′, keeps the two from being mixed up.

What are Maxwell's equations, and where does Gauss's law fit?

They are the collection of equations that fully describes electromagnetism. Gauss's law is the first of them; the course meets the others as it reaches magnetic fields and induction.

Beyond the AP Exam

College Board sets this limit on what the AP Exam asks about this topic. Anything past it is not on the exam.

AP Physics C: Electricity & Magnetism only expects students to quantitatively apply Gauss's law to point charges and charge distributions that have spherical, cylindrical, or planar symmetry.

Course alignment, for teachers

AP Physics C: Electricity and Magnetism topic 8.6, Unit 8: Electric Charges, Fields, and Gauss’s Law.

  • Skill 1.A: Create diagrams, tables, charts, or schematics to represent physical situations.
  • Skill 2.A: Derive a symbolic expression from known quantities by selecting and following a logical mathematical pathway.
  • Skill 2.B: Calculate or estimate an unknown quantity with units from known quantities by selecting and following a logical computational pathway.
  • Skill 2.D: Predict new values or factors of change of physical quantities using functional dependence between variables.

This lesson maps all 6 essential knowledge statements of the topic to the part that teaches each one: 6 are checked by a scored question. The map is in the lesson file.