| Study Guides
College Board · cb-physics-c-em · AP Physics C: Electricity & Magnetism · Electrostatics (Calculus-based) · 18 min read · Updated 2026-05-07

Electrostatics (Calculus-based) — AP Physics C: E&M Phys C E&M Study Guide

For: AP Physics C: E&M candidates sitting AP Physics C: Electricity & Magnetism.

Covers: Coulomb's law and superposition, electric field integration for continuous charge distributions, symmetry applications of Gauss's law, and line integral calculations of electric potential, aligned with the AP Physics C E&M CED.

You should already know: Calculus (especially integration), Phys C Mechanics or equivalent.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Physics C: E&M style for educational use. They are not reproductions of past College Board papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official College Board mark schemes for grading conventions.


1. What Is Electrostatics (Calculus-Based)?

Electrostatics is the study of stationary electric charges and the forces, fields, and potentials they produce, using differential and integral calculus to model both point charge and extended, non-point charge systems. It forms the foundational unit of AP Physics C E&M, accounting for 26-34% of your total exam score per the official CED. Common terms you will encounter include charge density, electric flux, and conservative fields, all of which build directly on mechanics concepts like vector addition, work, and integration you already mastered.

2. Coulomb's Law and Superposition

Coulomb's Law describes the electrostatic force between two stationary point charges: it is proportional to the product of the charges, inversely proportional to the square of the distance between them, and directed along the line connecting the two charges. The vector form of the law is: where is the permittivity of free space, for fast calculations, and is the unit vector pointing from charge 1 to charge 2. If and have the same sign, the force is repulsive (vector points away from the source charge); if opposite, the force is attractive (vector points toward the source charge).

The superposition principle states that for systems of N source charges, the total force on a test charge is the vector sum of the individual forces exerted by each source charge, with no interaction between source charges altering their individual contributions:

Worked Example

Calculate the net force on a test charge at the origin, from a charge at (2m, 0) and a charge at (0, 3m).

  1. Force from the charge: , direction (repulsive, pushes test charge left).
  2. Force from the charge: , direction (attractive, pulls test charge up).
  3. Net force: , with magnitude .

Exam tip: Examiners frequently test superposition with symmetric charge arrangements; never add force magnitudes directly, always resolve into x and y components first.

3. Electric Field — Continuous Distributions, Integration

The electric field at a point is defined as the electrostatic force per unit positive test charge placed at that point: , where is a vanishingly small test charge that does not distort the source charge distribution. For a single point charge, the field is:

For continuous charge distributions (rods, spheres, sheets), you split the total charge into infinitesimal point charges , then integrate the field contribution from each over the entire distribution. Use the appropriate charge density to rewrite :

  • Linear density (wires, rods):
  • Surface density (sheets, plates):
  • Volume density (solid spheres, cylinders):

The general integral for continuous electric fields is: You must integrate x and y components separately, as the direction of changes across the distribution for most geometries.

Worked Example

Find the electric field on the axis of a uniformly charged rod of length L, total charge Q, at a distance d from the right end of the rod.

  1. Set coordinates: rod along x-axis from 0 to L, point of interest at .
  2. , distance from to the point is , for all .
  3. Substitute into the integral: .
  4. Substitute , , limits shift from to :
  5. Verify the limit as reduces to the point charge formula, confirming the result is correct.

Exam tip: Always test limiting cases (e.g., very small/large distance from the distribution) to catch integration errors; this is expected for partial credit on free response questions.

4. Gauss's Law for Symmetry

Gauss's Law states that the total electric flux through a closed Gaussian surface is equal to the total charge enclosed by the surface divided by the permittivity of free space: Flux is the dot product of the electric field and the area vector (perpendicular to the surface, pointing outward for closed surfaces). While Gauss's Law is always true, it is only useful for calculating when the system has sufficient symmetry to make constant and parallel or perpendicular to the area vector over the entire Gaussian surface.

Only three symmetry types are tested on the AP exam:

  1. Spherical symmetry: Use a spherical Gaussian surface concentric with the charge distribution (point charges, solid spheres, spherical shells).
  2. Cylindrical symmetry: Use a coaxial cylindrical Gaussian surface (infinite wires, infinite solid cylinders, coaxial cables).
  3. Planar symmetry: Use a cylindrical "pillbox" Gaussian surface crossing the plane (infinite sheets, parallel plate capacitors).

Worked Example

Find the electric field inside a uniformly charged solid sphere of radius R, total charge Q, at a distance from the center.

  1. Spherical symmetry means is radial and constant at radius r, so flux is .
  2. Calculate enclosed charge: , so .
  3. Apply Gauss's Law: .
  4. Solve for E: , directed radially outward for positive Q.

Exam tip: Examiners almost always ask for E both inside and outside symmetric distributions; always confirm if your Gaussian surface is inside or outside the charge before calculating .

5. Electric Potential — Line Integrals

Electric potential is a scalar quantity that describes the work per unit charge required to move a test charge between two points in an electric field. Since the electric field is conservative, the potential difference between two points is path independent, and defined as the negative line integral of the E field between the points: For a point charge, taking at infinity, the potential at distance r is . For continuous distributions, you can integrate directly, which is simpler than integrating E because you do not need to resolve vector components. You can also derive E from potential using the gradient relation: , or in 1D, .

Worked Example

Calculate the potential at the center of a uniformly charged semicircular ring of radius R, total charge Q, taking V=0 at infinity.

  1. Every infinitesimal on the ring is at distance R from the center, so .
  2. Integrate over all dq: .
  3. Note that this is the same as the potential at the center of a full ring with charge Q, as potential is a scalar and direction of charge placement does not affect the result.

Exam tip: Use potential instead of E field for work and energy calculations wherever possible, as scalar operations save significant time on both multiple choice and free response sections.

6. Common Pitfalls (and how to avoid them)

  • Wrong move: Adding magnitudes of Coulomb force or E field vectors directly instead of resolving into components. Why: Students confuse scalar and vector quantities, especially for symmetric arrangements that appear to have additive magnitudes. Correct move: Always split vectors into x and y components first, sum components, then recombine for net magnitude and direction, even for symmetric cases.
  • Wrong move: Using the total charge of a distribution for when calculating E inside the distribution. Why: Students forget Gauss's Law only counts charge inside the Gaussian surface, not total charge. Correct move: For in a solid sphere or cylinder, calculate as the product of charge density and the volume/area/length inside the Gaussian surface.
  • Wrong move: Forgetting the negative sign in the potential line integral, or flipping integration limits incorrectly. Why: Students mix up work done on the test charge vs work done by the electric field. Correct move: Remember that moving in the direction of the E field reduces potential, so when moving from a to b along field lines, matching the negative sign in the definition.
  • Wrong move: Applying Gauss's Law to finite line charges or finite sheets. Why: Students overgeneralize symmetry cases to avoid integration. Correct move: Only use Gauss's Law if the problem explicitly states the distribution is infinite, or if the point of interest is very close to the surface so edge effects are explicitly negligible.
  • Wrong move: Using the E field dependence for points inside a uniformly charged solid sphere. Why: Students memorize the point charge formula and apply it universally. Correct move: Recall that E increases linearly with r inside a solid sphere, and only follows outside the sphere, where it behaves like a point charge.

7. Practice Questions (AP Physics C E&M Style)

Question 1 (Multiple Choice)

Two point charges, and , are separated by distance d. At what distance from the charge, along the line connecting the two charges, is the net electric field equal to zero? A) B) C) D)

Solution: Correct answer is B.

  1. The zero E point must be to the right of the charge: between the charges, both E fields point right and cannot cancel; left of , the field from the closer charge is always larger. Let x = distance from to the zero point, so distance from is .
  2. Set E magnitudes equal: .
  3. Cancel common terms: , take positive square roots: .
  4. Solve for x: .

Question 2 (Free Response Part 1)

An infinite line of charge has linear charge density . Use Gauss's Law to find the electric field at a distance from the line.

Solution:

  1. Cylindrical symmetry: use a Gaussian cylinder of radius r, length L, coaxial with the line. E is radial, so flux through the flat ends of the cylinder is zero, total flux is .
  2. Enclosed charge: .
  3. Apply Gauss's Law: , cancel L: .
  4. Plug in values: , directed radially outward.

Question 3 (Free Response Part 2)

Calculate the potential difference between and from the line charge in Question 2, taking at .

Solution:

  1. Use the potential line integral: . E is radial, so the dot product simplifies to .
  2. Substitute :
  3. Evaluate the integral: .
  4. Plug in values: , which makes sense as potential decreases when moving away from a positive charge distribution.

8. Quick Reference Cheatsheet

Quantity Formula Key Notes
Coulomb's Force
Point Charge E Field Points away from positive charges
Continuous E Field Resolve x/y components separately
Gauss's Law Valid for spherical, cylindrical, planar symmetry
Potential Difference Scalar, path independent
Point Charge Potential V = 0 at infinity
E-V Gradient Relation 1D:
Charge Densities For linear, surface, volume distributions

9. What's Next

The electrostatics concepts you learned here are the foundation for every subsequent unit in AP Physics C E&M. Next, you will apply Gauss's Law to study capacitors, dielectrics, and capacitance, where electric fields between parallel plates store electrostatic energy. You will also use electric potential to analyze DC circuits, where potential difference (voltage) drives current flow through resistors, and later connect electrostatics to magnetism when you study moving charges, Lorentz forces, and electromagnetic induction. All of these units build directly on the vector integration, superposition, and symmetry reasoning you practiced in this guide.

If you are stuck on any integration step, symmetry rule, or practice question solution, don't hesitate to ask Ollie, our AI tutor, for personalized step-by-step explanations tailored to your knowledge gaps. You can also find more AP Physics C E&M practice tests, topic drills, and past paper solutions on the homepage to refine your skills and prepare for a 5 on exam day.

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →