Skip to main content
United StatesPhysics C: Electricity and MagnetismSyllabus dot point

What is electric flux, and how is it computed as a surface integral of the field?

Topic 8.5 Electric Flux: define electric flux as the surface integral of the field and compute it for uniform and non-uniform fields through flat and closed surfaces.

A calculus-based answer to AP Physics C E&M Topic 8.5, covering the area vector, the dot product, the flux surface integral, uniform-field and angle-dependent flux, and the net flux through a closed surface.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. The area vector and the dot product
  3. The flux surface integral
  4. Net flux through a closed surface
  5. Try this

What this topic is asking

The College Board (Topic 8.5) wants you to define electric flux as the surface integral of the field through a surface, compute it for uniform and non-uniform fields, and recognize that the net flux through a closed surface measures the charge inside. Flux is the bridge from the field to Gauss's law in the next topic.

The area vector and the dot product

The dot product captures the geometry: only the component of E\vec{E} along the normal, EcosϕE\cos\phi, threads the surface. A field parallel to the surface (ϕ=90\phi = 90^\circ) gives zero flux; a field perpendicular to it (ϕ=0\phi = 0) gives the maximum EAEA. Flux is best pictured as the number of field lines crossing the surface: lines that graze along the surface cross nothing, while lines hitting it head-on all pass through. This line-counting picture is exactly why flux measures enclosed charge in Gauss's law, since field lines begin and end only on charge.

The flux surface integral

When the field varies or the surface is curved, divide the surface into patches dAd\vec{A}, take the dot product on each, and sum:

Φ=SEdA\Phi = \int_S \vec{E}\cdot d\vec{A}

For a closed surface this becomes SEdA\oint_S \vec{E}\cdot d\vec{A}, where the circle on the integral signals a closed surface and dAd\vec{A} points outward everywhere.

Net flux through a closed surface

For a closed surface, field lines that leave count as positive flux and lines that enter count as negative. Field lines begin and end only on charge, so any line that enters an empty closed surface must also leave: with no charge inside, the net flux is exactly zero. Charge inside is the only way to get a non-zero net flux, which is the content of Gauss's law. A positive enclosed charge is a net source of field lines, giving positive net flux; a negative enclosed charge is a net sink, giving negative net flux. The shape of the surface is irrelevant: stretch or distort it however you like, and as long as it encloses the same charge the net flux is unchanged, because the same number of net lines must escape.

Try this

Q1. A field of 200200 N/C passes perpendicularly through a 0.500.50 m squared area. Find the flux. [1 point]

  • Cue. Φ=EAcos0=(200)(0.50)=100\Phi = EA\cos 0 = (200)(0.50) = 100 N m squared per C.

Q2. State the net electric flux through a closed surface that encloses no charge. [1 point]

  • Cue. Zero: entering flux equals exiting flux when no charge is inside.

Exam-style practice questions

Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AP 2021 (style)1 marksSection I (multiple choice). A flat square of area AA sits in a uniform field EE. The field makes an angle of 6060^\circ with the plane of the square. The flux through the square is (A) EAEA (B) EAcos60EA\cos 60^\circ (C) EAsin60EA\sin 60^\circ (D) zero. Justify your reasoning.
Show worked answer →

A 1-point MCQ on the angle in the flux dot product. The answer is (C).

Flux is Φ=EA=EAcosϕ\Phi = \vec{E}\cdot\vec{A} = EA\cos\phi, where ϕ\phi is the angle between E\vec{E} and the area vector A\vec{A} (the normal). If E\vec{E} makes 6060^\circ with the plane, it makes 3030^\circ with the normal, so Φ=EAcos30=EAsin60\Phi = EA\cos 30^\circ = EA\sin 60^\circ. The trap is using the angle with the plane directly instead of with the normal.

AP 2024 (style)5 marksSection II (FRQ, quantitative and conceptual). A cube of side ss sits in a uniform field E=E0x^\vec{E} = E_0\hat{x}. (a) Calculate the flux through the face at x=sx = s (normal +x^+\hat{x}). (b) Calculate the flux through the face at x=0x = 0 (normal x^-\hat{x}). (c) Determine the net flux through the whole cube and explain what it implies about charge inside.
Show worked answer →

A 5-point FRQ on flux through a closed surface.

(a) Right face (1 point): A=s2x^\vec{A} = s^2\hat{x}, so Φ=EA=E0s2\Phi = \vec{E}\cdot\vec{A} = E_0 s^2 (positive, field exits).
(b) Left face (1 point): outward normal is x^-\hat{x}, so A=s2x^\vec{A} = -s^2\hat{x} and Φ=EA=E0s2\Phi = \vec{E}\cdot\vec{A} = -E_0 s^2 (field enters).
(c) Net flux and meaning (3 points): the four side faces have EA\vec{E}\perp\vec{A}, contributing zero; the two end faces cancel: Φnet=E0s2E0s2=0\Phi_{net} = E_0 s^2 - E_0 s^2 = 0. By Gauss's law Φnet=qenc/ε0\Phi_{net} = q_{enc}/\varepsilon_0, so zero net flux means zero net charge enclosed.

Markers reward the signed flux on each face, the perpendicular side faces, and linking net flux to enclosed charge.

Related dot points

Sources & how we know this