Sub topic 11
Field of a charged spherical shell and solid sphere
This chapter assumes you know Gauss's law, electric flux through a surface, and Coulomb's law for a point charge. You should also be comfortable with the symmetry argument that the field of a spherical charge distribution points radially and depends only on the distance r from the centre.
Choosing the Gaussian surface
For any spherically symmetric charge distribution, the field at distance r has the same magnitude everywhere on a sphere of radius r and points along the radius. So the natural Gaussian surface is a concentric sphere of radius r. The flux through it is
Φ = E × 4πr²
and Gauss's law gives
E × 4πr² = q_enclosed / ε₀
so E = q_enclosed / (4πε₀ r²). The whole problem reduces to finding the charge enclosed by the surface.
Thin spherical shell
A thin shell of radius R carries total charge Q spread uniformly over its surface.
- Outside (r > R): The enclosed charge is Q, so E = kQ/r². The shell acts like a point charge Q at its centre.
- On the surface (r = R): E = kQ/R². This is the largest value of the field.
- Inside (r < R): A Gaussian sphere inside the shell encloses no charge, so E = 0.
The field is zero everywhere inside the shell, not just at the centre.
k = 9e9
def shell_field(Q, R, r):
"""Field magnitude at distance r from the centre of a thin uniformly charged spherical shell of radius R."""
if r < R:
return 0.0
return k * Q / r**2
print(shell_field(5e-6, 0.2, 0.1)) # 0.0 inside the shell
print(shell_field(5e-6, 0.2, 0.4)) # about 2.8e5 N/C outsideAt r = 0.4 m the field is 9×10⁹ × 5×10⁻⁶ / 0.16 ≈ 2.8×10⁵ N/C.
Uniformly charged solid sphere
Now take a solid sphere of radius R with total charge Q spread uniformly through its volume. The volume charge density is ρ = Q / (4/3 πR³).
- Outside (r ≥ R): The enclosed charge is Q, so E = kQ/r². The result is the same as for the shell.
- Inside (r < R): The enclosed charge is the part of the volume within radius r:
q_enclosed = ρ × (4/3)πr³ = Q r³ / R³
Gauss's law then gives
E = k Q r / R³
Inside, the field grows linearly with r. It is zero at the centre and reaches kQ/R² at the surface.
k = 9e9
def solid_sphere_field(Q, R, r):
"""Field magnitude at distance r from the centre of a uniformly charged solid sphere of radius R."""
if r < R:
return k * Q * r / R**3
return k * Q / r**2
for r in [0.0, 0.1, 0.2, 0.4]:
print(r, solid_sphere_field(5e-6, 0.2, r))Comparing the two cases
| Region | Thin shell | Solid sphere (uniform volume charge) |
|---|---|---|
| r < R | 0 | kQr/R³ (linear in r) |
| r = R | kQ/R² | kQ/R² |
| r > R | kQ/r² | kQ/r² |
Both fields are continuous for the solid sphere. For the shell, the field jumps from 0 to kQ/R² across the surface. That jump of σ/ε₀ is the usual behaviour of the field across a surface charge.
The line shows the solid sphere: a straight rise to r = R, then a fall as 1/r². A shell would follow the same curve for r ≥ R but stay at zero inside.
Common errors
- Using E = kQ/r² inside a solid sphere. That formula only applies when all the charge is enclosed.
- Saying the field inside a solid sphere is zero. That is true only for a hollow shell, or a conductor.
- Using r³/R³ for a shell. A shell has all its charge on the surface, so nothing is enclosed until r reaches R.
- Mixing up the distance. In every formula, r is measured from the centre, not from the surface.
Worked example
A solid sphere of radius 0.20 m carries 5 µC uniformly through its volume. Find the field at r = 0.10 m.
- The point is inside, so use E = kQr/R³.
- E = 9×10⁹ × 5×10⁻⁶ × 0.10 / (0.20)³
- E = 4.5×10³ / 8×10⁻³ ≈ 5.6×10⁵ N/C
Check against the surface value: kQ/R² = 9×10⁹ × 5×10⁻⁶ / 0.04 ≈ 1.1×10⁶ N/C. Halfway to the surface gives half of that, as the linear law predicts.
Exercise
A thin spherical shell of radius 10 cm carries a charge of 4 µC. A solid sphere of the same radius carries the same charge, uniformly through its volume. Find the field at r = 5 cm and r = 20 cm for each. Use k = 9×10⁹ N m²/C².
Show answer
At r = 5 cm: the shell gives 0. The solid sphere gives kQr/R³ = 9×10⁹ × 4×10⁻⁶ × 0.05 / (0.10)³ = 1.8×10⁶ / 10⁻³ ... computed stepwise: numerator = 9×10⁹ × 4×10⁻⁶ × 0.05 = 1.8×10³, denominator = 10⁻³, so E = 1.8×10⁶ N/C. At r = 20 cm: both give kQ/r² = 9×10⁹ × 4×10⁻⁶ / 0.04 = 9×10⁵ N/C.
Exercise
For a uniformly charged solid sphere, at what distance from the centre, in terms of R, is the field inside equal to half of the field at the surface?
Show answer
Inside, E = kQr/R³ and at the surface E = kQ/R². Setting kQr/R³ = (1/2)kQ/R² gives r = R/2.