We define the flux of a field through some surface as:
The rigorous way to compute is by parametrizing the surface, and taking the dot product with the field as described in Chapter 7.3 - Parametrized Surfaces & Chapter 7.6 - Vector Field Integral over a Surface.
It is not hard to show that the flux of a single charge through a sphere centered at it is . However, we conjecture even stronger arguments - the result is independent of a surface and its size. One way to prove it is to show that . 1) Intuitively recall what is divergence and how we can use this result to “modify” a sphere.
Gauss’s law
Now, let’s consider bunch of charges. Their field is the sum of individual fields, or superposition principle (Electrostatics. Charges, Energy and Fields). Hence,
Note that the proof (the last equality) hinges on the fact that the Electric field is inverse square law. So, it holds for every inverse square laws (gravity). As a reminder recall the fields of a flat sheet, thin wire, and uniform sphere.
Energy stored in a field
Energy stored in a field is given by:
Problem
It would be a fine exercise to calculate the energy of a uniformly charged sphere () from scratch. Problems solved about Electrostatics (Purcell Ch. 1)
Answers to questions
- Zero divergence means that the net flux through a given surface is zero. So, we may attach any weirdly shaped object to a sphere, and this would not change the Flux.