← Electricity & Magnetism

Gauss's Law & Electrostatics

Gauss's law — that the total electric flux through any closed surface equals the enclosed charge divided by ε₀ — is one of Maxwell's four equations. For high-symmetry geometries (spherical, cylindrical, planar), it gives the field immediately. For general distributions, Poisson's equation ∇²V = −ρ/ε₀ must be solved.

Key Concepts

Gauss's Law
SEda=Qenc/ε0\oint_S\vec E\cdot d\vec a=Q_{\rm enc}/\varepsilon_0. Equivalent to Coulomb's law but more powerful for symmetric geometries. In differential form: E=ρ/ε0\nabla\cdot\vec E=\rho/\varepsilon_0.
Gaussian Surfaces
Choose a closed surface that matches the symmetry: sphere (spherical charge), cylinder (line/cylindrical charge), pillbox (plane/sheet charge). Then E\vec E is constant on the surface and parallel/perpendicular to it, making the integral trivial.
Poisson's & Laplace's Equations
2V=ρ/ε0\nabla^2 V=-\rho/\varepsilon_0 (Poisson's equation). Where ρ=0\rho=0: 2V=0\nabla^2 V=0 (Laplace's equation). Boundary conditions uniquely determine VV — this is the uniqueness theorem.
Shell Theorems
A spherically symmetric shell of charge: (1) outside, it looks like a point charge at the center; (2) inside the shell, the field is exactly zero.

Key Equations

Gauss's law (integral)
SEda=Qencε0\oint_S \vec{E}\cdot d\vec{a} = \frac{Q_{\rm enc}}{\varepsilon_0}
Total electric flux = enclosed charge / ε₀.
Field of a sphere
E=14πε0Qr2(r>R)E = \frac{1}{4\pi\varepsilon_0}\frac{Q}{r^2}\quad (r > R)
Outside a uniformly charged sphere of total charge Q, radius R.
Poisson's equation
2V=ρε0\nabla^2 V = -\frac{\rho}{\varepsilon_0}
Relates potential to charge density; reduces to Laplace where ρ = 0.
Worked Example

Electric Field of a Uniformly Charged Sphere

Problem

A solid sphere of radius R=0.10R=0.10 m carries uniform charge density ρ=8.85×109\rho=8.85\times10^{-9} C/m³. Find E\vec E at r=0.20r=0.20 m and at r=0.05r=0.05 m.

Solution

Total charge: Q=ρ(4πR3/3)=8.85×109×4.19×103=3.71×1011Q=\rho\cdot(4\pi R^3/3)=8.85\times10^{-9}\times4.19\times10^{-3}=3.71\times10^{-11} C.

Outside (r=0.20r=0.20 m): E=Q/(4πε0r2)=(3.71×1011)/(4π×8.85×1012×0.04)=3.71×1011/4.45×10128.34E=Q/(4\pi\varepsilon_0 r^2)=(3.71\times10^{-11})/(4\pi\times8.85\times10^{-12}\times0.04)=3.71\times10^{-11}/4.45\times10^{-12}\approx8.34 N/C.

Inside (r=0.05r=0.05 m): Qenc=ρ(4πr3/3)=8.85×109×5.24×104=4.64×1012Q_{\rm enc}=\rho\cdot(4\pi r^3/3)=8.85\times10^{-9}\times5.24\times10^{-4}=4.64\times10^{-12} C.

Ein=Qenc4πε0r2=ρr3ε0=8.85×109×0.053×8.85×1012=4.43×10102.655×101116.7 N/CE_{\rm in}=\frac{Q_{\rm enc}}{4\pi\varepsilon_0 r^2}=\frac{\rho r}{3\varepsilon_0}=\frac{8.85\times10^{-9}\times0.05}{3\times8.85\times10^{-12}}=\frac{4.43\times10^{-10}}{2.655\times10^{-11}}\approx16.7\text{ N/C}
Answer E(0.20 m)8.34E(0.20\text{ m})\approx8.34 N/C; E(0.05 m)16.7E(0.05\text{ m})\approx16.7 N/C.
Practice

Exercises

7 problems
1 of 7

A point charge Q=2.0×109Q=2.0\times10^{-9} C. Find the electric flux through a sphere of radius r=1.0r=1.0 m enclosing it (in N·m²/C). Φ=Q/ε0\Phi=Q/\varepsilon_0.

N·m²/C
2 of 7

Infinite line charge with linear density λ=5.0×109\lambda=5.0\times10^{-9} C/m. Find EE at r=0.10r=0.10 m (in N/C). E=λ/(2πε0r)E=\lambda/(2\pi\varepsilon_0 r).

N/C
3 of 7

Infinite plane with surface charge density σ=2.0×109\sigma=2.0\times10^{-9} C/m². Find EE (in N/C) on either side. E=σ/(2ε0)E=\sigma/(2\varepsilon_0).

Unlock Exercise 3

Subscribe to PhysWeb Pro to access all exercises and track your progress.

Upgrade to Pro →
4 of 7

A hollow spherical shell of radius R=0.50R=0.50 m carries charge Q=4.0×109Q=4.0\times10^{-9} C. Find EE at r=0.30r=0.30 m (inside the shell), in N/C.

Unlock Exercise 4

Subscribe to PhysWeb Pro to access all exercises and track your progress.

Upgrade to Pro →
5 of 7

Same shell. Find EE at r=1.0r=1.0 m outside (in N/C).

Unlock Exercise 5

Subscribe to PhysWeb Pro to access all exercises and track your progress.

Upgrade to Pro →
6 of 7

A solid sphere (radius R=0.20R=0.20 m, uniform ρ\rho) has Q=3.0×109Q=3.0\times10^{-9} C. Find EE at r=Rr=R (surface) in N/C.

Unlock Exercise 6

Subscribe to PhysWeb Pro to access all exercises and track your progress.

Upgrade to Pro →
7 of 7

Same sphere. Using E=ρr/(3ε0)E=\rho r/(3\varepsilon_0) inside, find EE at r=0.10r=0.10 m (in N/C). ρ=Q/(4πR3/3)=Q×3/(4πR3)\rho=Q/(4\pi R^3/3)=Q\times3/(4\pi R^3).

Unlock Exercise 7

Subscribe to PhysWeb Pro to access all exercises and track your progress.

Upgrade to Pro →

Key Takeaways

  • Gauss's law Eda=Qenc/ε0\oint\vec E\cdot d\vec a=Q_{\rm enc}/\varepsilon_0 is exact; for symmetric geometries it gives EE directly.
  • Choose Gaussian surface to match the charge symmetry: sphere, cylinder, or infinite slab.
  • Inside a conductor in electrostatic equilibrium: E=0\vec E=0; all free charge resides on the surface.
  • Poisson's equation 2V=ρ/ε0\nabla^2V=-\rho/\varepsilon_0 with boundary conditions uniquely determines the potential.