Sub topic 11
Fields of Continuous Charge Distributions
What this chapter assumes
You should be comfortable with the field of a point charge, E = kq/r², and with adding field vectors by components. You also need the superposition principle from the earlier chapters. This is the only chapter that needs introductory calculus. You should know how to evaluate a definite integral and how to substitute a variable.
From a sum to an integral
Earlier chapters found the net field of a few point charges by adding vectors. A charged rod, ring, or sheet holds on the order of 10²⁰ or more charged particles. You cannot add them one at a time, and you do not need to. At everyday scales the charge looks smoothly spread out, so you describe it with a density and replace the sum with an integral.
The method is still superposition. You cut the object into small pieces. Each piece has charge dq, small enough to treat as a point charge. Each piece contributes
dE = k dq / r² in the direction from the piece to the field point.
The total field is the vector sum of all the dE. In the limit of infinitely many infinitely small pieces, that sum is an integral:
E = ∫ k dq r̂ / r²
Here r is the distance from the piece to the field point, and r̂ is the unit vector pointing from the piece toward the field point.
Charge densities
The expression for dq depends on the shape of the object.
| Distribution | Density | Symbol and units | Charge element |
|---|---|---|---|
| Line (rod, wire, ring) | charge per length | λ, C/m | dq = λ dl |
| Surface (sheet, disk) | charge per area | σ, C/m² | dq = σ dA |
| Volume (solid ball) | charge per volume | ρ, C/m³ | dq = ρ dV |
For a uniform distribution the density is constant. For a rod of length L with total charge Q, λ = Q/L. If the density varies with position, keep it inside the integral as a function, for example λ(x).
A recipe that works every time
Most of the work in these problems is setup. Follow the same steps each time.
Step 3 saves the most effort. If two elements produce field components that cancel, you never integrate those components. Step 6 catches most algebra errors. At large distances, every finite distribution should look like a point charge.
Example 1: a ring, on its axis
A ring of radius R carries total charge Q, spread uniformly. Find the field at a point on the axis, a distance z from the ring's center.
Element. Take a short arc of length dl. Its charge is dq = λ dl, with λ = Q/(2πR).
Distance. Every element is the same distance from the field point:
r² = z² + R²
Symmetry. Each element produces a field with a component along the axis and a component perpendicular to it. For any element, the element on the opposite side of the ring produces an equal and opposite perpendicular component. The perpendicular components cancel in pairs. Only the axial component survives. The angle θ between dE and the axis satisfies cos θ = z/r.
Integral.
E = ∫ (k dq / r²) cos θ = (k / r²)(z / r) ∫ dq = k Q z / (z² + R²)^(3/2)
Because r and cos θ are the same for every element, they come out of the integral. The remaining integral is just the total charge Q.
Limiting cases.
- For z ≫ R, the denominator approaches z³, so E ≈ kQ/z². The ring looks like a point charge.
- For z = 0, E = 0. At the center, the contributions cancel completely.
- For z ≪ R, E ≈ kQz/R³. The field grows linearly with distance from the center.
The field is not largest at the ring's plane or very far away. It peaks in between. Exercise 1 asks you to find where.
Checking the formula numerically
You can test any integral setup by replacing the integral with a sum over many small pieces. This is the same as doing the integral by computer. The program below splits the ring into 2000 elements and adds the full vector contribution of each. It does not use the symmetry argument, so it also tests that argument.
import math
K = 8.9875517923e9 # Coulomb constant, N*m^2/C^2
def ring_field_numeric(Q, R, z, n=2000):
"""Field (Ex, Ey, Ez) in N/C at (0, 0, z) from a ring of radius R in the xy-plane."""
dq = Q / n
ex = ey = ez = 0.0
for i in range(n):
phi = 2 * math.pi * i / n
x, y = R * math.cos(phi), R * math.sin(phi)
# vector from the element to the field point
rx, ry, rz = -x, -y, z
r = math.sqrt(rx * rx + ry * ry + rz * rz)
scale = K * dq / r**3 # k dq / r^2 times the unit vector (rx, ry, rz)/r
ex += scale * rx
ey += scale * ry
ez += scale * rz
return ex, ey, ez
def ring_field_formula(Q, R, z):
return K * Q * z / (z**2 + R**2) ** 1.5
Q, R, z = 1e-9, 0.05, 0.12
print(ring_field_numeric(Q, R, z)) # Ex and Ey are about 0; Ez is about 491 N/C
print(ring_field_formula(Q, R, z)) # about 491 N/CThe x and y components come out as rounding error near zero, which confirms the cancellation. The z component matches the closed-form result.
Example 2: a straight line of charge
A thin rod lies along the x-axis from −L/2 to +L/2 and carries total charge Q, so λ = Q/L. Find the field at a point a perpendicular distance d from the rod's midpoint.
Place the field point at (0, d). An element at position x has dq = λ dx. Its distance from the field point is r = √(x² + d²). By symmetry about x = 0, the x-components cancel. Only the component along the perpendicular direction survives, with cos θ = d/r:
E = ∫ from −L/2 to L/2 of (kλ dx / (x² + d²)) · d / √(x² + d²) = kλ d ∫ dx / (x² + d²)^(3/2)
The integral has the standard form ∫ dx / (x² + d²)^(3/2) = x / (d² √(x² + d²)). Evaluating between the limits gives
E = kλ L / (d √(d² + L²/4)) = kQ / (d √(d² + L²/4))
Limiting cases.
- For d ≫ L, the square root approaches d, so E ≈ kQ/d². The rod looks like a point charge.
- For d ≪ L, the square root approaches L/2. Then E ≈ 2kλ/d. This is the field of an infinitely long line. It falls off as 1/d, not 1/d².
The 1/d law for a long line is a first example of how geometry changes the power of distance. A line spreads its field over a cylinder, whose area grows as d, not over a sphere, whose area grows as d².
import math
K = 8.9875517923e9
def rod_field_numeric(Q, L, d, n=100000):
"""Perpendicular field in N/C at distance d from the midpoint of a uniform rod."""
lam = Q / L
dx = L / n
total = 0.0
for i in range(n):
x = -L / 2 + (i + 0.5) * dx # midpoint of each slice
r = math.sqrt(x * x + d * d)
total += K * lam * dx / r**2 * (d / r)
return total
def rod_field_formula(Q, L, d):
return K * Q / (d * math.sqrt(d * d + L * L / 4))
Q, L, d = 2e-9, 0.4, 0.1
print(rod_field_numeric(Q, L, d)) # about 402 N/C
print(rod_field_formula(Q, L, d)) # about 402 N/CExample 3: a uniformly charged disk, and the infinite plane
A disk of radius R has surface charge density σ. Find the field on its axis at distance z > 0.
A clever choice of element makes this short. Treat the disk as a set of thin concentric rings. A ring of radius r and width dr has area 2πr dr and charge dq = σ 2πr dr. You already know the axial field of a ring, so each ring contributes
dE = k z σ 2πr dr / (z² + r²)^(3/2)
Integrate r from 0 to R:
E = 2πkσ z ∫ from 0 to R of r dr / (z² + r²)^(3/2) = 2πkσ [1 − z / √(z² + R²)]
Limiting cases.
- For z ≫ R, expand the square root. The bracket becomes about R²/(2z²). Then E ≈ kσπR²/z² = kQ/z², where Q = σπR² is the total charge. This is the point-charge result again.
- For z ≪ R, the bracket approaches 1, so E → 2πkσ = σ/(2ε₀). The field no longer depends on z. Close to the surface, a large sheet looks like an infinite plane.
The infinite-plane field σ/(2ε₀) points away from a positive sheet and toward a negative one. It is uniform, which is why two parallel plates make a good source of a uniform field.
Choosing the element
The best choice of dq depends on the geometry you are given. Use the following guidelines.
- For arcs and rings, use an arc element, dl = R dφ. Integrate over the angle.
- For straight lines, use dx and write r and the angle in terms of x. Alternatively, use the angle as the variable, which often turns the integral into a simple trigonometric one.
- For disks and sheets, build the object from rings or from strips whose field you already know.
- Pick the variable that makes r and the angle simple. Trying to integrate over x while the angle still depends on a different variable is the most common reason an integral will not simplify.
Common errors
- Adding magnitudes instead of components. The elements point in different directions. Use symmetry to drop the components that cancel. Integrate the components that survive.
- Treating a varying quantity as a constant. In the ring on its axis, r and cos θ are the same for every element. For a rod, r and cos θ change with x. Check which case you are in before pulling a factor out of the integral.
- Mixing up the field point and the source point. Let x, y, z locate the element and write the field point separately. The vector from the element to the field point is (field point) − (element position).
- Skipping the direction. The magnitude is only half of the answer. State whether the field points toward or away from the object, and give its sign for the charge you have.
- Unit slips. λ is in C/m, σ in C/m², and ρ in C/m³. If the final answer is not in N/C, one of them was misused.
- Skipping the limit check. The far-field limit E → kQ/r² takes seconds to verify and catches many mistakes.
Summary
To find the field of a continuous distribution, cut it into elements dq. Add their point-charge fields by integration, using symmetry to remove cancelling components. The results for a ring, a rod, and a disk each reduce to kQ/r² far away, which is a built-in check. Close to a long line, the field falls as 1/d. Close to a large plane, the field is constant.
Exercise
For the ring of radius R, E(z) = kQz / (z² + R²)^(3/2). At what distance z along the axis is the field largest, and what is the field there?
Show answer
Set dE/dz = 0. The derivative of z(z² + R²)^(−3/2) is (z² + R²)^(−5/2) · [(z² + R²) − 3z²] = (z² + R²)^(−5/2) (R² − 2z²). This is zero when z = R/√2. At that point E = kQ(R/√2) / ((3R²/2)^(3/2)) = 2kQ / (3√3 R²), which is about 0.385 kQ/R².
Exercise
A large flat sheet carries a uniform surface charge density σ = 2.0 × 10⁻⁶ C/m². Using the infinite-plane result, find the field magnitude near the sheet. Use ε₀ = 8.854 × 10⁻¹² C²/(N·m²). Does the field depend on how far you are from the sheet?
Show answer
E = σ/(2ε₀) = (2.0 × 10⁻⁶) / (2 × 8.854 × 10⁻¹²) ≈ 1.1 × 10⁵ N/C. Within the range where the sheet looks infinite, the field does not depend on distance. It points away from the sheet for positive σ.
Exercise
Using the rod formula E = kQ / (d √(d² + L²/4)), a rod of length L = 0.40 m carries Q = 2.0 nC. Find the perpendicular field at d = 0.10 m from its midpoint, and compare it with the point-charge estimate kQ/d². Which is larger, and why?
Show answer
E = (8.99 × 10⁹)(2.0 × 10⁻⁹) / (0.10 × √(0.010 + 0.040)) ≈ 18.0 / (0.10 × 0.2236) ≈ 4.0 × 10² N/C. The point-charge estimate is 18.0 / 0.010 = 1.8 × 10³ N/C. The point-charge value is larger because the real charge is spread along the rod. Most of it is farther from the field point than d, and its field components partly cancel sideways.