Fiveable

💡AP Physics C: E&M Unit 8 Review

QR code for AP Physics C: E&M practice questions

8.4 Electric Fields of Charge Distributions

8.4 Electric Fields of Charge Distributions

Written by the Fiveable Content Team • Last updated June 2026
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated June 2026
💡AP Physics C: E&M
Unit & Topic Study Guides
Pep mascot

Electric fields of charge distributions are found by adding up tiny field contributions with an integral. You break the object into infinitesimal charge elements dqdq, write the field each one makes, use symmetry to cancel components, and integrate.

Why This Matters for the AP Physics C: E&M Exam

This topic is core to Unit 8, the highest-weighted unit on the multiple-choice section. The first free-response question on the AP Physics C: E&M exam focuses on mathematical routines: deriving a symbolic expression for a physical quantity, sometimes ending in a numerical calculation. Setting up E=14πε0dqr2r^\vec{E}=\frac{1}{4\pi\varepsilon_0}\int \frac{dq}{r^2}\hat{r}, choosing coordinates, and using symmetry to simplify are exactly the skills that question rewards. You will also be asked to sketch field behavior, compare field values at different points, and justify claims about direction using symmetry.

Key Takeaways

  • The field of a continuous distribution comes from integrating E=14πε0dqr2r^\vec{E}=\frac{1}{4\pi\varepsilon_0}\int \frac{dq}{r^2}\hat{r} over the charge.
  • Write dqdq correctly for the geometry: dq=λdxdq=\lambda\,dx for a line, dq=λRdθdq=\lambda R\,d\theta for an arc, dq=ρdVdq=\rho\,dV for a volume.
  • Use symmetry first. Identify which field components cancel before you set up the integral, so you only integrate the surviving component.
  • Know the in-scope results: infinite line gives E=λ/(2πε0r)E=\lambda/(2\pi\varepsilon_0 r), ring on axis gives E=14πε0Qx(R2+x2)3/2E=\frac{1}{4\pi\varepsilon_0}\frac{Qx}{(R^2+x^2)^{3/2}}.
  • Check limits and units. A finite line should reduce to the infinite-line result as LL\to\infty, and far away a ring should look like a point charge.
  • The field of an infinite line falls off as 1/r1/r, not 1/r21/r^2 like a point charge.

Electric Field Integration

For a continuous charge distribution, you find the electric field by integrating the contributions from infinitesimal charge elements. The fundamental equation is:

E=14πε0dqr2r^\vec{E}=\frac{1}{4 \pi \varepsilon_{0}} \int \frac{dq}{r^{2}} \hat{r}

This adds up the field from each small piece of charge:

  • E\vec{E} is the resulting electric field vector
  • ε0\varepsilon_{0} is the permittivity of free space (8.85 × 10^-12 C²/N·m²)
  • dqdq is an infinitesimal charge element within the distribution
  • rr is the distance from each charge element to the point where you calculate the field
  • r^\hat{r} is the unit vector pointing from the charge element to the point of interest

A reliable process:

  • Pick a coordinate system that matches the geometry of the charge distribution
  • Express the charge element dqdq in terms of your chosen coordinates
  • Write the distance rr from each charge element to the point of interest
  • Set up the integral and solve, often using substitution

The principle of superposition is what makes this work. The total electric field at any point is the vector sum of the fields from each individual charge or distribution:

Etotal=E1+E2+E3+...+En\vec{E}_{total} = \vec{E}_1 + \vec{E}_2 + \vec{E}_3 + ... + \vec{E}_n

Symmetry in Charge Distributions

Symmetry can dramatically simplify these calculations. Recognizing it lets you predict the field's direction and avoid integrating components that cancel.

For this topic, the most useful symmetry arguments are:

  • Cylindrical symmetry (infinite line or cylinder): The field points radially outward from the axis and depends only on the perpendicular distance from the axis. There is no component along the axis, so you only need one radial component.
  • Axial symmetry (ring on its axis): When the field point is on the axis of a ring, every charge element is the same distance from that point. Components perpendicular to the axis cancel in pairs, so only the axial component survives.
  • Component cancellation (arcs and finite line charges): For a semicircular arc at its center, charge elements on opposite sides produce components that cancel in one direction and add in the other. For a finite line charge on its perpendicular bisector, symmetry cancels the component along the rod. Spot which components cancel before integrating to save work.

Spherical and planar symmetry matter elsewhere in electrostatics, but they connect to Gauss's law in a later topic rather than to the direct integration in this one.

Symmetry can also reveal locations where the field must be zero because contributions from different parts of the distribution cancel.

🚫 Boundary Statement

On the exam, you will only need to use calculus to find the electric field for specific charge distributions and locations: an infinitely long, uniformly charged wire or cylinder at a distance from its central axis, a thin ring of charge at a location along the axis of the ring, a semicircular arc or part of a semicircular arc at its center, and a finite wire or line charge at a point collinear with the line charge or at a location along its perpendicular bisector.

How to Use This on the AP Physics C: E&M Exam

Free Response

The mathematical routines question often asks you to derive a field expression from scratch. Show every step: define your coordinate system, write dqdq in your coordinates, state the distance rr, identify which components cancel by symmetry, then integrate. Leave your answer symbolic unless asked for a number, and keep ε0\varepsilon_0 or kk written out.

Problem Solving

  • State the symmetry argument in words before integrating. Graders want to see why a component vanishes.
  • Match the charge element to the geometry: dq=λdxdq=\lambda\,dx, dq=λRdθdq=\lambda R\,d\theta, dq=σdAdq=\sigma\,dA, or dq=ρdVdq=\rho\,dV.
  • Pull constants outside the integral and integrate only the part that depends on your variable.
  • Check limiting behavior. Far from a ring it should look like a point charge; a finite line should approach λ/(2πε0r)\lambda/(2\pi\varepsilon_0 r) as it gets very long.

Common Trap

Do not treat the infinite line like a point charge. Its field goes as 1/r1/r, not 1/r21/r^2. Also, do not forget the cosθ\cos\theta or x/rx/r factor that projects dEdE onto the surviving direction.

Practice Problem 1: Electric Field of a Ring of Charge

A thin ring of radius R carries a uniform charge Q. Find the electric field at a point P located on the axis of the ring at a distance x from the center of the ring.

Solution

  1. Place the ring in the xy-plane centered at the origin, with point P at (0, 0, x).

  2. By symmetry, the field on the axis only has a component along the x-axis. The perpendicular components from charge elements on opposite sides of the ring cancel.

  3. Consider a small element with charge dqdq. Since the charge is uniformly distributed: dq=Q2πRRdθ=Q2πdθdq = \frac{Q}{2\pi R}\,R\,d\theta = \frac{Q}{2\pi}\,d\theta

  4. The distance from this element to point P is the same for every element: r=R2+x2r = \sqrt{R^2 + x^2}

  5. The axial component of the field from this element is the magnitude times the projection factor x/rx/r: dEx=14πε0dqr2xrdE_x = \frac{1}{4\pi\varepsilon_0}\frac{dq}{r^2}\cdot\frac{x}{r}

  6. Substituting dqdq and rr: dEx=14πε0Q2πdθx(R2+x2)3/2dE_x = \frac{1}{4\pi\varepsilon_0}\frac{Q}{2\pi}\,d\theta \cdot \frac{x}{(R^2 + x^2)^{3/2}}

  7. Everything except dθd\theta is constant, so integrate θ\theta from 0 to 2π2\pi: Ex=14πε0Qx2π(R2+x2)3/202πdθ=14πε0Qx2π(R2+x2)3/2(2π)E_x = \frac{1}{4\pi\varepsilon_0} \frac{Qx}{2\pi (R^2+x^2)^{3/2}} \int_0^{2\pi} d\theta = \frac{1}{4\pi\varepsilon_0} \frac{Qx}{2\pi (R^2+x^2)^{3/2}} (2\pi)

  8. The factors of 2π2\pi cancel: E=14πε0Qx(R2+x2)3/2E = \frac{1}{4\pi\varepsilon_0}\frac{Qx}{(R^2+x^2)^{3/2}}

For positive QQ, this points along the axis away from the ring on the side where x>0x > 0. Notice that for xRx \gg R, the field approaches 14πε0Qx2\frac{1}{4\pi\varepsilon_0}\frac{Q}{x^2}, the point-charge result, which is a good check.

Practice Problem 2: Electric Field of an Infinite Line Charge

An infinitely long line carries a uniform linear charge density λ. Find the electric field at a distance r from the line.

Solution

  1. By cylindrical symmetry, the field points radially outward from the line (for positive λ\lambda) and its magnitude depends only on the distance rr.

  2. Place the line along the z-axis and find the field at point P at (r,0,0)(r, 0, 0).

  3. Consider a small element dzdz with charge dq=λdzdq = \lambda\,dz.

  4. The distance from this element to P is: s=r2+z2s = \sqrt{r^2 + z^2}

  5. The field from each element has components along x and z, but the z-components from elements at +z+z and z-z cancel.

  6. The surviving x-component from each element uses the projection factor r/sr/s: dEx=14πε0λdzs2rs=λr4πε0dz(r2+z2)3/2dE_x = \frac{1}{4\pi\varepsilon_0}\frac{\lambda\,dz}{s^2}\cdot\frac{r}{s} = \frac{\lambda r}{4\pi\varepsilon_0}\frac{dz}{(r^2 + z^2)^{3/2}}

  7. Integrate over the whole line, zz from -\infty to ++\infty: Ex=λr4πε0dz(r2+z2)3/2E_x = \frac{\lambda r}{4\pi\varepsilon_0}\int_{-\infty}^{\infty}\frac{dz}{(r^2 + z^2)^{3/2}}

  8. Using dz(r2+z2)3/2=2r2\int_{-\infty}^{\infty}\frac{dz}{(r^2+z^2)^{3/2}} = \frac{2}{r^2}: Ex=λr4πε02r2=λ2πε0rE_x = \frac{\lambda r}{4\pi\varepsilon_0}\cdot\frac{2}{r^2} = \frac{\lambda}{2\pi\varepsilon_0 r}

So the field at distance rr from an infinite line charge is: E=λ2πε0rE = \frac{\lambda}{2\pi\varepsilon_0 r}

This field decreases as 1/r1/r, unlike the 1/r21/r^2 dependence for point charges.

Practice Problem 3: Electric Field of a Uniformly Charged Cylinder

A long, uniformly charged solid cylinder of radius aa has volume charge density ρ\rho. Find the electric field at a distance r>ar > a from the central axis.

Solution

Because the cylinder is infinitely long and uniformly charged, the field outside is radial and depends only on the distance rr from the axis. Build the solid cylinder out of thin cylindrical shells of radius ss and thickness dsds, where 0sa0 \le s \le a. In a length LL, each shell has charge dQ=ρ(2πsLds)dQ = \rho(2\pi s L\,ds), so its linear charge density is dλ=dQ/L=2πρsdsd\lambda = dQ/L = 2\pi\rho s\,ds.

Outside an infinite cylindrical shell, the field is the same as that of an infinite line charge with linear density dλd\lambda on the axis, which you found in Practice Problem 2. So one shell contributes:

dE=dλ2πε0r=2πρsds2πε0r=ρsε0rdsdE = \frac{d\lambda}{2\pi\varepsilon_0 r} = \frac{2\pi\rho s\,ds}{2\pi\varepsilon_0 r} = \frac{\rho s}{\varepsilon_0 r}\,ds

Integrate over all shells from s=0s = 0 to s=as = a:

E=0aρsε0rds=ρε0r[s22]0a=ρa22ε0rE = \int_0^a \frac{\rho s}{\varepsilon_0 r}\,ds = \frac{\rho}{\varepsilon_0 r}\left[\frac{s^2}{2}\right]_0^a = \frac{\rho a^2}{2\varepsilon_0 r}

So for r>ar > a:

E=ρa22ε0r\boxed{E = \frac{\rho a^2}{2\varepsilon_0 r}}

pointing radially outward for positive charge density. This matches the infinite line form: the cylinder's total linear charge density is λ=ρπa2\lambda = \rho \pi a^2, and substituting gives E=λ/(2πε0r)E = \lambda / (2\pi\varepsilon_0 r), confirming consistency.

Practice Problem 4: Electric Field of a Semicircular Arc at Its Center

A thin semicircular arc of radius RR carries a uniform total charge QQ. Find the electric field at the center of the semicircle.

Solution

For a charged arc centered at the field point, every charge element is the same distance RR from the center, which simplifies the integral.

  1. Place the semicircle so it spans from θ=π/2\theta = -\pi/2 to θ=+π/2\theta = +\pi/2 (opening to the right), with the center at the origin.

  2. The linear charge density is λ=Q/(πR)\lambda = Q/(\pi R), and a small element subtends angle dθd\theta: dq=λRdθ=Qπdθdq = \lambda R\,d\theta = \frac{Q}{\pi}\,d\theta

  3. Each element is at distance RR from the center, so the magnitude of its field contribution is: dE=14πε0dqR2=14πε0QπR2dθdE = \frac{1}{4\pi\varepsilon_0}\frac{dq}{R^2} = \frac{1}{4\pi\varepsilon_0}\frac{Q}{\pi R^2}\,d\theta

  4. Resolve dEdE into components. The element at angle θ\theta produces:

    • dEx=dEcosθdE_x = dE\cos\theta
    • dEy=dEsinθdE_y = dE\sin\theta
  5. By symmetry, the yy-components from elements at +θ+\theta and θ-\theta cancel, so Ey=0E_y = 0.

  6. The xx-component adds constructively: Ex=π/2π/2Q4π2ε0R2cosθdθ=Q4π2ε0R2[sinθ]π/2π/2=Q4π2ε0R2(2)E_x = \int_{-\pi/2}^{\pi/2} \frac{Q}{4\pi^2\varepsilon_0 R^2}\cos\theta\,d\theta = \frac{Q}{4\pi^2\varepsilon_0 R^2}\left[\sin\theta\right]_{-\pi/2}^{\pi/2} = \frac{Q}{4\pi^2\varepsilon_0 R^2}(2)

  7. The field at the center is: E=Q2π2ε0R2\boxed{E = \frac{Q}{2\pi^2\varepsilon_0 R^2}}

directed along the axis of symmetry, pointing from the arc toward the center (away from the charge for positive QQ).

What About Part of a Semicircular Arc?

For an arc that is only part of a semicircle (spanning from θ1\theta_1 to θ2\theta_2 instead of the full π/2-\pi/2 to +π/2+\pi/2), the same method applies but the symmetry argument changes. Each element still contributes dE=14πε0dqR2dE = \frac{1}{4\pi\varepsilon_0}\frac{dq}{R^2}, and you still resolve into components. Because the arc is no longer symmetric, both the xx- and yy-components may survive. Integrate dEx=dEcosθdE_x = dE\cos\theta and dEy=dEsinθdE_y = dE\sin\theta over the actual limits θ1\theta_1 to θ2\theta_2 to find the net magnitude and direction. The idea stays the same: figure out which components cancel, if any, before integrating.

Practice Problem 5: Electric Field of a Finite Line Charge

Two important cases come up for a finite line charge: a point on its perpendicular bisector and a point collinear with the line.

Case A: Point on the Perpendicular Bisector

A thin rod of length LL carries uniform linear charge density λ\lambda. Find the electric field at a point P located a distance dd from the center of the rod along its perpendicular bisector.

Solution

  1. Place the rod along the xx-axis from x=L/2x = -L/2 to x=+L/2x = +L/2, with point P at (0,d,0)(0, d, 0).

  2. A small element dxdx at position xx has charge dq=λdxdq = \lambda\,dx. Its distance to P is: r=x2+d2r = \sqrt{x^2 + d^2}

  3. The field from this element has magnitude: dE=14πε0λdxx2+d2dE = \frac{1}{4\pi\varepsilon_0}\frac{\lambda\,dx}{x^2 + d^2}

  4. By symmetry, the xx-components from elements at +x+x and x-x cancel. Only the yy-component survives, using the projection factor d/rd/r: dEy=dEdr=λd4πε0dx(x2+d2)3/2dE_y = dE \cdot \frac{d}{r} = \frac{\lambda\,d}{4\pi\varepsilon_0}\frac{dx}{(x^2+d^2)^{3/2}}

  5. Integrate from x=L/2x = -L/2 to x=+L/2x = +L/2: Ey=λd4πε0L/2L/2dx(x2+d2)3/2E_y = \frac{\lambda d}{4\pi\varepsilon_0}\int_{-L/2}^{L/2}\frac{dx}{(x^2+d^2)^{3/2}}

  6. Using the standard integral dx(x2+a2)3/2=xa2x2+a2\int \frac{dx}{(x^2+a^2)^{3/2}} = \frac{x}{a^2\sqrt{x^2+a^2}}: Ey=λd4πε01d22(L/2)(L/2)2+d2E_y = \frac{\lambda d}{4\pi\varepsilon_0}\cdot\frac{1}{d^2}\cdot\frac{2(L/2)}{\sqrt{(L/2)^2+d^2}}

  7. Simplifying: E=λL4πε0d(L/2)2+d2\boxed{E = \frac{\lambda L}{4\pi\varepsilon_0\,d\sqrt{(L/2)^2 + d^2}}}

directed perpendicular to the rod, pointing away from it for positive λ\lambda. As LL \to \infty, this reduces to E=λ/(2πε0d)E = \lambda/(2\pi\varepsilon_0 d), recovering the infinite line charge result.

Case B: Point Collinear with the Line Charge

A thin rod of length LL carries uniform linear charge density λ\lambda. Find the electric field at a point P located a distance aa from one end of the rod, along the line of the rod.

Solution

  1. Place the rod along the xx-axis from x=0x = 0 to x=Lx = L, with point P at x=L+ax = L + a.

  2. A small element dxdx at position xx has charge dq=λdxdq = \lambda\,dx. Its distance to P is: r=(L+a)xr = (L + a) - x

  3. Every element's field points in the same direction (the +x+x direction for positive λ\lambda), so nothing cancels and you integrate the full magnitude: E=14πε00Lλdx(L+ax)2E = \frac{1}{4\pi\varepsilon_0}\int_0^L \frac{\lambda\,dx}{(L+a-x)^2}

  4. Substitute u=L+axu = L + a - x, so du=dxdu = -dx:

E=λ4πε0aL+aduu2=λ4πε0[1u]aL+a=λ4πε0(1a1L+a)E = \frac{\lambda}{4\pi\varepsilon_0}\int_a^{L+a}\frac{du}{u^2} = \frac{\lambda}{4\pi\varepsilon_0}\left[-\frac{1}{u}\right]_a^{L+a} = \frac{\lambda}{4\pi\varepsilon_0}\left(\frac{1}{a} - \frac{1}{L+a}\right)

  1. Simplifying: E=λL4πε0a(L+a)\boxed{E = \frac{\lambda L}{4\pi\varepsilon_0\,a(L+a)}}

directed along the line of the rod, pointing away from the rod for positive λ\lambda. For this collinear case there is no symmetry cancellation, since every element's contribution points the same way.

Common Misconceptions

  • Treating an infinite line like a point charge. The infinite line field is E=λ/(2πε0r)E=\lambda/(2\pi\varepsilon_0 r) and falls off as 1/r1/r, not 1/r21/r^2. Only point charges and far-field distributions go as 1/r21/r^2.
  • Forgetting the projection factor. When only one component survives, you must multiply dEdE by cosθ\cos\theta, x/rx/r, or d/rd/r to keep just that component. Integrating the full magnitude overcounts the field.
  • Assuming all components always cancel. Cancellation only happens when the geometry is symmetric about the field point. A partial arc or an off-center point can leave more than one component nonzero.
  • Pulling the wrong thing out of the integral. The distance rr and angle change as you move along most distributions, so they stay inside the integral. For a ring on its axis, rr is constant, which is why that integral is easy.
  • Mixing up the charge element. Use dq=λdxdq=\lambda\,dx for a straight line, dq=λRdθdq=\lambda R\,d\theta for an arc, and dq=ρdVdq=\rho\,dV for a volume. Plugging in the wrong dqdq leads to wrong units.
  • Thinking the cylinder result comes straight from one integral of dq/r2dq/r^2. The outside-cylinder field here is built by stacking shells that each behave like an infinite line, not by a single direct application of dq/r2r^\int dq/r^2 \hat{r}.

Vocabulary

The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.

Term

Definition

charge distribution

The spatial arrangement and density of electric charge in a region of space.

electric field

A vector field that represents the force per unit charge exerted on a test charge at any point in space due to a charge distribution.

integration

A calculus method used to sum infinitesimal contributions to find the total electric field from a continuous charge distribution.

principle of superposition

The principle that the total electric field is the vector sum of fields produced by individual charges.

symmetry

A property of charge distributions that allows simplification of electric field calculations by reducing the number of field components that need to be evaluated.

Frequently Asked Questions

What is an electric field of a charge distribution?

It is the net electric field created by a continuous spread of charge, found by adding the small field contributions from many charge elements.

What does dq mean in electric field integrals?

dq is an infinitesimal piece of charge. You rewrite it using charge density, such as lambda dx for a line or lambda R dtheta for an arc.

Why is symmetry important for charge distributions?

Symmetry tells you which field components cancel and which direction the net field points, so you can set up a simpler integral.

Which charge distributions are in scope for AP Physics C: E&M?

The course focuses on cases like infinite lines or cylinders, rings on an axis, semicircular arcs at the center, and finite line charges on an axis or perpendicular bisector.

How is an infinite line field different from a point charge field?

An infinite line field decreases as 1 over r, while a point charge field decreases as 1 over r squared.

How should I show work for electric field derivations on the AP exam?

Define coordinates, write dq, state the distance, use symmetry to cancel components, set up the surviving integral, and check units or limiting behavior.

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly→ and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot