Differential Form of Gauss's Law
Reading Charge Density from Field Divergence
Gauss's law in differential form is ∇·E = ρ/ε0. The left side is the divergence of the electric field: the limiting net outward electric flux per unit volume around a point.
The right side is the charge density at that same point divided by the vacuum permittivity. A positive local charge density is a source of field lines; a negative density is a sink.
For a Cartesian field E = Ex(x,y,z) i + Ey(x,y,z) j + Ez(x,y,z) k, calculate divergence by taking the derivative of each component with respect to its own coordinate and adding: ∂Ex/∂x + ∂Ey/∂y + ∂Ez/∂z. Cross-derivatives are associated with curl, not divergence.
The integral and differential forms express the same law at different scales. Integrating over a volume gives the volume integral of ρ/ε0; the divergence theorem turns the left side into outward flux through the enclosing surface.
Use the differential form when the local field variation or local charge density is requested, and use the integral form when symmetry makes surface flux easy to calculate.
A uniform field has zero divergence even if it is strong, because as much field enters a tiny box as leaves. Similarly, in charge-free space away from singular charges, divergence can be zero even though field lines pass through the region.
At an ideal point charge, the charge density is distribution-valued at the charge location; applying ordinary derivatives only away from that location misses the localized source.
In a region, E = (7x) i + (2y) j - (3z) k in SI units. What is the local charge density ρ in that region?
An ideal positive point charge is at the origin. At a point with r > 0, the electric field is radial and proportional to 1/r2. Which statement is correct for the region r > 0?