Electricity-And-Magnetism · Unit 1 · Video 7 · Interactive Practice
Electric Flux Through Surfaces and Volume Integrals
IKey Formulas
Formula
Name
What it says
ΦE≡∬SE⋅dA=∬SEndA
Electric flux
Sum of the normal component of E over every patch; dA points outward on a closed surface
En=Ecosα
Normal component
α is the angle between E and the normal; En<0 when the field enters against dA
∮∮sphereEndA=En4πR2
Constant En comes out
With En=k/r2 at r=R: ΦE=4πk for every radius
Q=∭VρdV,dV=dxdydz=r2sinθdrdθdϕ
Charge in a volume
Weight each volume element by the density and add
Key Insight: Wherever symmetry makes the integrand constant on a piece of the surface or volume, it comes outside the integral, and what remains is just an area or a volume.
IIVisualization 1 — The Part of E That Crosses the Patch
Only the component of E along the normal dA counts: E⋅dA=EcosαdA.
IIIVisualization 2 — Flux Through a Sphere Around a Point Charge
On a centred sphere En=k/R2 shrinks exactly as the area 4πR2 grows, so the flux never changes.
IVVisualization 3 — Charge in a Box with ρ=ρ0x/a
Slicing the box into slabs and adding ρdV pins the total charge to 21ρ0abc, half the uniform value.
💡 The box is b=2 deep with ρ0=1; only the x integral differs from the uniform case, ∫0aρ0axdx=21ρ0a.
VQuiz Questions
Problem 1 · Flux Through a Tilted Patch
Given: A uniform field of magnitude E=200N/C crosses a flat patch of area A=0.05m2, making an angle α=60° with the patch's normal. Find the flux ΦE through the patch.
✅ Correct! Only En=Ecos60°=100N/C crosses the patch, so ΦE=100×0.05=5N⋅m2/C.
❌ Not quite.EA=10 would be the flux only if the field crossed head-on. At 60° to the normal only the normal component Ecosα counts.
❌ Close, but check the angle.α is measured from the normal, so the normal component is Ecosα, not Esinα (that is the part running along the surface).
❌ Not quite. Flux multiplies the normal component by the area: ΦE=Ecosα⋅A.
Show solution
The field is uniform and the patch is flat, so En is the same everywhere on it and comes out of the integral:
Given: A field points straight away from a long straight line, with the same strength at the same distance. A closed cylinder of radius R=0.1m and length L=0.5m encloses the line along its axis, and on the curved side En=1000N/C. Find the total flux out of the closed cylinder.
✅ Correct! The caps contribute nothing, and the side gives En⋅2πRL=1000⋅2π(0.1)(0.5)=100π.
❌ Close, but… you added the end caps' area 2πR2. On each cap the field runs along the surface, so En=0 there and the caps contribute nothing.
❌ Not quite.πR2L is the cylinder's volume, not the area of its curved side. Flux needs an area: 2πRL.
❌ Not quite.En⋅2πR uses only the circumference; the curved side's area is the circumference times the length, 2πR⋅L.
❌ Not quite. Break the closed surface into two caps and the curved side, and evaluate each piece.
Show solution
Split the closed surface into its three open pieces:
ΦE=∬cap 1EndA+∬cap 2EndA+∬sideEndA
On the caps the field is parallel to the surface, so En=0. On the side En is constant and comes out, leaving the side's area:
ΦE=0+0+En⋅2πRL=1000⋅2π(0.1)(0.5)=100π≈314N⋅m2/C
Problem 3 · Charge in a Graded Box
Given: A box with sides a=0.2m, b=0.1m, c=0.3m along x, y, z (one corner at the origin) holds charge of density ρ=ρ0x/a with ρ0=5×10−6C/m3. Find the total charge Q.
❌ Not quite.ρ0abc treats the density as uniform. It rises from 0 at x=0 to ρ0 at x=a, so it must stay inside the x integral.
❌ Not quite. A factor 31 comes from integrating x2. Here the density is linear in x: ∫0aaxdx=2a.
❌ Close, but… you dropped the 1/a in ρ0x/a: ∫0aρ0axdx=2ρ0a, not 2ρ0a2.
❌ Not quite. Do the x integral of the density first, then multiply by the y and z extents.
Show solution
Q=∫0c∫0b∫0aρ0axdxdydz
Innermost (the only one that changes from the uniform case):
∫0aρ0axdx=aρ0⋅2a2=2ρ0a
The y and z integrals multiply by b and c:
Q=21ρ0abc=21(5×10−6)(0.2)(0.1)(0.3)=1.5×10−8C
Problem 4 · A Sphere with Rising Density
Given: A solid sphere of radius R carries charge density ρ=ρ0r/R, rising from 0 at the centre to ρ0 at the surface. Find its total charge Q, using dV=r2sinθdrdθdϕ.
✅ Correct! The radial integral gives Rρ0⋅4R4, and the angles give 2⋅2π=4π, so Q=πρ0R3.
❌ Not quite.34πR3ρ0 is the charge if the density were ρ0 everywhere. Here it is smaller near the centre, so Q must come out less.
❌ Close, but… you dropped the sinθ: ∫0πsinθdθ=2, not π.
❌ Not quite. The volume element carries r2. Without it the answer is not even a charge (its units are C/m², not C).
❌ Not quite. Put ρdV=ρ0Rrr2sinθdrdθdϕ into three nested integrals and evaluate each.
Show solution
Q=∫02π∫0π∫0Rρ0Rrr2sinθdrdθdϕ
The integrand factors, so the three integrals separate: