
Physics II course sequence · Interactive lesson
Spherical charge distributions
Once a distribution is spherically symmetric, finding its field stops being an integral over Coulomb's law and becomes a counting problem: work out how much charge sits inside radius r, divide by 4πε₀r², and read the answer off. This lesson is where that bookkeeping is learned.
UPII-03.04 · Lesson 4 of 8 in this unit. Position is not a completion score.Build the model
One concentric sphere turns a charge distribution into the charge inside it.
The key idea
A spherically symmetric charge distribution is one whose charge density depends only on the distance r from a single centre; its field is radial everywhere, and at radius r it is fixed entirely by the charge enclosed within r.
Example. A 4.0 nC charge spread uniformly through a sphere of radius 5.0 cm encloses 4.0 × (2.0/5.0)³ = 0.26 nC inside r = 2.0 cm, so E there is 5.8 × 10³ N C⁻¹ — not the 9.0 × 10⁴ N C⁻¹ the whole charge would give.
The complete physical model and assumptions
Spherical symmetry is a statement about what a distribution does not care about: rotate it about its centre and nothing changes. A field assembled by superposition must inherit that indifference, so E can only point radially and its magnitude can only depend on r. That one conclusion makes the flux through a concentric sphere collapse to E(r) × 4πr², and Gauss's law then reads E(r) = qenc(r)/(4πε₀r²) — the entire field of every spherically symmetric object, in one line. Everything after that is counting: all of Q once you are outside the object, a fraction (r/R)³ of it inside a uniform solid sphere, none of it inside a hollow shell or within a conductor's metal. The two shell theorems drop straight out, and so does the σ/ε₀ jump in E across a surface layer of charge. The argument dies the moment the symmetry does. Drill an off-centre cavity, dent the sphere, or bring a neighbouring charge alongside it, and Gauss's law remains exactly true while E(r) × 4πr² is no longer the flux, because E is no longer constant in magnitude or normal to the surface.
1Rotations fix the direction before any integral starts
Take a spherically symmetric distribution and suppose that at some point P the field had a sideways component, tilted off the radius. Now rotate the whole distribution about the axis through P and the centre. The source is mapped exactly onto itself, so the field it makes must be unchanged — yet the tilted component would have swung to a new direction. The only escape is that there was no such component: E points along the radius. Running the same rotation between two points at equal r shows that the magnitude cannot depend on which way you look either, so the whole field is carried by one unknown function E(r) of one variable. This is an argument about the source, not about any surface you later draw, and it is what licenses pulling E outside the flux integral.
2One concentric sphere, and the flux integral collapses
Draw an imaginary sphere of radius r about the same centre. At every point of it the outward area element dA is radial, so E ⋅ dA = E(r) dA with no cosine left to carry. E(r) is the same number everywhere on that surface, so it comes out of the integral: Φ = ∮E ⋅ dA = E(r) ∮dA = E(r) × 4πr². Setting this equal to qenc/ε₀ gives E(r) = qenc(r)/(4πε₀r²). Two habits follow. Choose r to be exactly where you want the answer — the surface is imaginary and costs nothing to place. And keep the sign: a negative qenc returns a negative E(r), which means the field points inward, towards the centre.
3Counting the charge inside r
For a uniform solid sphere of total charge Q and radius R the density is ρ = 3Q/(4πR³), so a sphere of radius r ≤ R encloses qenc = ρ × (4/3)πr³ = Q(r/R)³. Put Q = 4.0 nC and R = 5.0 cm. At r = 2.0 cm, qenc = 4.0 × 0.4³ = 0.26 nC and E = 5.8 × 10³ N C⁻¹, while at the surface E = 1.44 × 10⁴ N C⁻¹ — exactly 0.4 of the surface value, because the r³ upstairs beats the r² downstairs by one power of r. When ρ is not uniform, do the integral instead: qenc(r) = ∫₀ʳ ρ(r′)4πr′² dr′, slicing the sphere into shells of volume 4πr′² dr′. A density rising as ρ ∝ r gives qenc ∝ r⁴ and therefore E ∝ r², a field that starts far flatter than the uniform case.
4Outside, the sphere hides behind a point charge
Once r ≥ R the enclosed charge is the whole of Q no matter how it is arranged inside, so E = Q/(4πε₀r²) exactly. Not approximately, and not only far away: one millimetre above the surface of a uniformly charged sphere the field is already the point-charge value. From outside, the internal layering is invisible. Run the same argument inwards through a hollow shell and qenc = 0, so E = 0 everywhere in the cavity — not merely at the centre, where cancellation in pairs would be obvious, but at every point of it. Geometry is the reason: a narrow cone drawn from an off-centre point cuts a patch of shell whose area grows as the square of its distance, while the field of each patch falls as the inverse square, so the near patch and the far patch cancel term by term. Newton needed the same theorem for gravity.
5Conductors: the charge moves to the skin, and the field jumps
In electrostatic equilibrium the field inside conducting material is zero, or the free electrons would still be moving. Put a Gaussian sphere anywhere within the metal and its flux is therefore zero, so it encloses no net charge: any excess charge has to live on a surface. For an isolated solid conducting sphere of radius R = 5.0 cm carrying Q = 4.0 nC, that surface charge is σ = Q/(4πR²) = 1.27 × 10⁻⁷ C m⁻², and just outside the field is σ/ε₀ = 1.44 × 10⁴ N C⁻¹ — the same number as Q/(4πε₀R²), as it must be. Across the layer E leaps from 0 to σ/ε₀ over no thickness at all. Contrast the uniformly charged insulating sphere, whose charge is spread through a volume: there E climbs smoothly to Q/(4πε₀R²) at r = R and falls smoothly away beyond it, with no jump anywhere.
6Layered spheres: build the field outwards, region by region
Nothing new is needed for nested geometries — at each radius, ask only what is inside. Fix a point charge q = +3.0 nC at the centre of an uncharged thick conducting shell of inner radius 2.0 cm and outer radius 3.0 cm. At r = 1.0 cm only q is enclosed, so E = 2.7 × 10⁵ N C⁻¹ outward. At r = 2.5 cm we are inside metal, so E = 0, and Gauss's law then forces qenc = 0 there — which means −3.0 nC has been drawn onto the inner surface. The shell was neutral, so +3.0 nC is left on the outer surface. At r = 5.0 cm the enclosure is +3.0 − 3.0 + 3.0 = +3.0 nC and E = 1.1 × 10⁴ N C⁻¹, precisely what the bare point charge would have given. The shell rearranges its own charge; it does not hide the charge inside it from the world outside.
Key equations
Read the units, assumptions and limits before substituting.
Field of any spherical distribution
E(r) = qenc(r) / (4πε₀ r²)
One line covers point charge, shell, solid sphere and conductor — only the count of qenc(r) changes.
E in N C⁻¹, qenc in C, r in m from the centre; ε₀ = 8.85 × 10⁻¹² C² N⁻¹ m⁻²Enclosed charge from a radial density
qenc(r) = ∫₀ʳ ρ(r′) 4π r′² dr′
Turns any density that depends only on radius into the single number Gauss's law asks for.
ρ in C m⁻³, r′ in m; 4πr′² dr′ is the volume in m³ of a thin shell of thickness dr′Uniform solid sphere, inside
E = Q r / (4πε₀ R³) for r ≤ R
Rises linearly from zero at the centre, because qenc grows as r³ while the surface area grows only as r².
Q in C is the total charge, R in m the outer radius; valid only while ρ is uniformOutside any spherical distribution
E = Q / (4πε₀ r²) for r ≥ R
The shell theorem: from outside, a sphere is indistinguishable from a point charge sitting at its centre.
Q in C is the total charge; exact at every r ≥ R, not a far-field approximationEmpty cavity, empty field
E = 0 wherever qenc(r) = 0
Every pull from a nearby patch of the shell is cancelled by the wider patch on the far side.
Holds throughout a concentric spherical cavity, whatever charge lies on the shell outside itJump across a surface layer of charge
Eₒᵤₜ − Eᵢₙ = σ/ε₀
Why a conductor's field leaps from 0 to σ/ε₀ at its skin while a volume charge leaves E continuous.
σ in C m⁻²; both terms are radial components read just either side of the layerInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Drag the core fraction from 0 to 0.9 and watch the interior straighten from a gentle linear rise into a flat zero with a cliff at r = R — a solid sphere turning into a thin charged shell. Moving R slides the peak along r, but outside it the curve is always 1/r².
Live results
- CHARGE INSIDE r
- 0.75 nC
- FIELD AT PROBE
- 7.49 kV m⁻¹
- SURFACE FIELD E(R)
- 14.98 kV m⁻¹
- CORE RADIUS a
- 0.0 cm
Results follow this lesson’s model and assumptions. Displayed values are rounded.
Predict → change one variable → check
Plan a change before running it. Every other input stays at the saved baseline.
Saved baseline. Outer radius R: 6.0 cm; Empty core fraction a/R: 0.0; Probe radius r: 3.0 cm
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
The usual wreck is to keep using E = Q/(4πε₀r²) with the full charge Q after stepping inside the distribution, which sends the field to infinity at the centre of an object where it has to vanish. Only qenc(r) ever appears in Gauss's law, and inside a uniform sphere that is Q(r/R)³, so E rises linearly out from zero instead of blowing up. The repair is then often mis-stated in turn. The charge lying outside radius r has not been switched off, and every piece of it does push on a test charge there; what happens is that those pushes cancel exactly, and they cancel only because the surrounding charge is spherically symmetric about the same centre. Move the cavity off-centre, or bring another charge up alongside the sphere, and the cancellation fails at once. Gauss's law survives that; the shortcut does not.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A solid insulating sphere of radius 8.0 cm carries 12 nC spread uniformly through its volume. Find the field magnitude at r = 4.0 cm and at r = 20 cm, and say which of the two is larger.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 4 steps revealed.
- At r = 4.0 cm the point is inside, so only part of the charge counts: qenc = Q(r/R)³ = 12 nC × (4.0/8.0)³ = 12 × 0.125 = 1.5 nC.
- E = qenc/(4πε₀r²) = (8.988 × 10⁹ × 1.5 × 10⁻⁹)/(0.040)² = 13.48/(1.6 × 10⁻³) = 8.4 × 10³ N C⁻¹.
- At r = 20 cm the point is outside, so the whole charge counts: E = (8.988 × 10⁹ × 12 × 10⁻⁹)/(0.20)² = 107.9/(4.0 × 10⁻²) = 2.7 × 10³ N C⁻¹.
- Check against the surface value E(R) = 107.9/(6.4 × 10⁻³) = 1.69 × 10⁴ N C⁻¹. The inside point sits at r = R/2 and returns half of it; the outside point sits at r = 2.5R and returns 1/6.25 of it. Both agree.
Answer. E(4.0 cm) = 8.4 × 10³ N C⁻¹ and E(20 cm) = 2.7 × 10³ N C⁻¹, both radially outward. The interior point is the stronger of the two, by a factor of 3.1.
MediumExample 2
A non-conducting sphere of radius R = 10.0 cm carries a charge density that grows with radius, ρ(r) = ρ₀ r/R with ρ₀ = 6.0 × 10⁻⁶ C m⁻³. Find the total charge, then the field magnitude at r = 5.0 cm and at r = 25 cm.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- Slice the sphere into shells of volume 4πr′² dr′: qenc(r) = ∫₀ʳ ρ₀(r′/R) 4πr′² dr′ = (4πρ₀/R)∫₀ʳ r′³ dr′ = πρ₀r⁴/R.
- Total charge, at r = R: Q = πρ₀R³ = π × 6.0 × 10⁻⁶ × (0.100)³ = 1.885 × 10⁻⁸ C = 18.8 nC.
- At r = 5.0 cm, qenc = π × 6.0 × 10⁻⁶ × (0.050)⁴/0.100 = 1.178 × 10⁻⁹ C, which is 1/16 of Q even though the radius is half — the r⁴ law of this density, not the r³ law of a uniform sphere.
- E = (8.988 × 10⁹ × 1.178 × 10⁻⁹)/(0.050)² = 10.59/(2.50 × 10⁻³) = 4.2 × 10³ N C⁻¹.
- At r = 25 cm the sphere is entirely enclosed: E = (8.988 × 10⁹ × 1.885 × 10⁻⁸)/(0.25)² = 169.4/(6.25 × 10⁻²) = 2.7 × 10³ N C⁻¹.
Answer. Q = 18.8 nC; E(5.0 cm) = 4.2 × 10³ N C⁻¹ and E(25 cm) = 2.7 × 10³ N C⁻¹, both radially outward.
HardExample 3
A point charge of +5.0 nC sits at the centre of a thick conducting spherical shell of inner radius 4.0 cm and outer radius 6.0 cm. The shell itself carries a net charge of −2.0 nC. Find the field at r = 2.0 cm, r = 5.0 cm and r = 10 cm, and the surface charge density on each face of the shell.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 6 steps revealed.
- At r = 2.0 cm the Gaussian sphere lies inside the cavity and encloses only the point charge: E = (8.988 × 10⁹ × 5.0 × 10⁻⁹)/(0.020)² = 44.94/(4.0 × 10⁻⁴) = 1.1 × 10⁵ N C⁻¹ outward.
- At r = 5.0 cm the Gaussian sphere lies inside conducting material, so E = 0 and the charge it encloses must be zero. With +5.0 nC at the centre, the inner face has to carry −5.0 nC.
- The shell's net charge is −2.0 nC, so the outer face carries −2.0 − (−5.0) = +3.0 nC.
- At r = 10 cm everything is enclosed: qenc = +5.0 − 5.0 + 3.0 = +3.0 nC, giving E = (8.988 × 10⁹ × 3.0 × 10⁻⁹)/(0.10)² = 26.96/(1.0 × 10⁻²) = 2.7 × 10³ N C⁻¹ outward.
- Densities: σᵢₙₙₑᵣ = −5.0 × 10⁻⁹/(4π × 0.040²) = −2.5 × 10⁻⁷ C m⁻², and σₒᵤₜₑᵣ = +3.0 × 10⁻⁹/(4π × 0.060²) = +6.6 × 10⁻⁸ C m⁻².
- Check the jump at the outer face: σₒᵤₜₑᵣ/ε₀ = (6.63 × 10⁻⁸)/(8.854 × 10⁻¹²) = 7.5 × 10³ N C⁻¹, matching E just outside r = 6.0 cm, (8.988 × 10⁹ × 3.0 × 10⁻⁹)/(0.060)² = 7.5 × 10³ N C⁻¹.
Answer. E(2.0 cm) = 1.1 × 10⁵ N C⁻¹ outward, E(5.0 cm) = 0, E(10 cm) = 2.7 × 10³ N C⁻¹ outward; σᵢₙₙₑᵣ = −2.5 × 10⁻⁷ C m⁻² and σₒᵤₜₑᵣ = +6.6 × 10⁻⁸ C m⁻².
Quick check
Select an answer and explain it before checking.
Review & continue
A spherically symmetric charge distribution is one whose charge density depends only on the distance r from a single centre; its field is radial everywhere, and at radius r it is fixed entirely by the charge enclosed within r.
- Explain the relationship without looking at the equation.
- Check a sign, a unit and a model assumption in your working.
- Return to the lab or worked example if a step is still unclear.
Optional supporting lessons
These chapter resources can help with earlier ideas; they are not additional required Physics II completion tasks.