Flux, Solid Angle and Gauss's Law (Integral Form)
~7 min read · Tier toggle changes depth (T1 plain · T2 standard · T3 rigour)
You should be comfortable with vector dot products, the concept of surface area elements, and the definition of the electric field due to a point charge as established in previous lectures on Coulomb's law.
Why this matters
Gauss's Law transforms the calculation of electric fields from a complex vector integration into a simple algebraic sum of charges.
In the previous lecture, we saw that calculating the electric field from a continuous charge distribution requires integrating the vector contributions of every infinitesimal charge element. This process is often mathematically tedious and yields little physical insight into the global structure of the field. By introducing the concept of electric flux and solid angle, we can bypass the detailed vector addition. Instead, we focus on the net "flow" of field lines through a closed surface. This approach reveals a profound symmetry in nature: the total flux depends only on the amount of charge enclosed, not on the shape of the surface or the position of the charge within it. This principle is the cornerstone of electrostatics and provides the most efficient method for determining fields in highly symmetric situations.
The Concept of Flux and Solid Angle
Imagine a river flowing with a certain speed. If you place a net in the water, the amount of water passing through the net per second depends on two factors: the speed of the water and the area of the net. If you tilt the net so it is parallel to the flow, no water passes through. If you align it perpendicular to the flow, the maximum amount passes through. Electric flux is the analogous concept for electric fields. It measures the "flow" of the electric field through a surface. A flat surface in a uniform field has a flux proportional to the component of the field perpendicular to the surface. For curved surfaces, we divide the surface into tiny flat patches, calculate the flux through each, and sum them up. This leads to the definition of flux as the surface integral of the dot product of the electric field and the area vector.
Why is this useful? Consider a point charge. The electric field points radially outward. If we draw a sphere around the charge, the field is perpendicular to the surface everywhere, and its magnitude is constant. The flux is simply the field strength times the surface area. However, if we draw a cube or an irregular blob around the charge, the field is not perpendicular, and its magnitude varies across the surface. Surprisingly, the total flux through any closed surface surrounding the charge is exactly the same as through the sphere. This invariance is the key to Gauss's Law. It implies that the "total flow" out of a closed surface is a property of the source (the charge) inside, not the container (the surface) outside.
Mathematical Definition of Electric Flux
Let \( S \) be a closed surface bounding a volume \( V \). We define the electric flux \( \Phi_E \) through \( S \) as the surface integral of the electric field \( \vec{E} \) over the surface. For an infinitesimal area element \( d\vec{A} \), which is a vector normal to the surface with magnitude \( dA \), the contribution to the flux is \( \vec{E} \cdot d\vec{A} \). The total flux is given by:
The circle on the integral sign indicates that the surface is closed. The direction of \( d\vec{A} \) is conventionally chosen to be outward from the enclosed volume. If the electric field points outward, the dot product is positive, contributing positive flux. If the field points inward, the dot product is negative, contributing negative flux. For a uniform field passing through a flat square plate of area \( A \) at an angle \( \theta \) to the normal, the flux is \( EA \cos \theta \). This geometric interpretation helps visualize how orientation affects the measured flux.
Solid Angle and the Point Charge Case
To understand why the flux is independent of the surface shape, we introduce the solid angle \( d\Omega \). The solid angle subtended by an area element \( dA \) at a distance \( r \) is defined as the projected area perpendicular to the line of sight divided by \( r^2 \). Mathematically, for a surface element \( d\vec{A} \) at position \( \vec{r} \) relative to the origin, the solid angle is:
For a point charge \( q \) at the origin, the electric field is \( \vec{E} = \frac{1}{4\pi\varepsilon_0} \frac{q}{r^2} \hat{r} \). Substituting this into the flux integral, we get:
Recognizing that \( \frac{\hat{r} \cdot d\vec{A}}{r^2} = d\Omega \), the integral simplifies to:
The integral of the solid angle over any closed surface enclosing the origin is \( 4\pi \) steradians. This is a geometric fact: the total solid angle around a point is always \( 4\pi \). Therefore, the flux is:
This result holds for any closed surface enclosing the charge. If the charge is outside the surface, the net solid angle is zero, and the flux is zero.
Gauss's Law for Multiple Charges
Since the electric field is a linear superposition of the fields from individual charges, the total flux is the sum of the fluxes from each charge. For a system of discrete charges \( q_1, q_2, \dots, q_n \), the total flux through a closed surface \( S \) is:
For each charge \( q_i \), the flux is \( q_i/\varepsilon_0 \) if the charge is inside \( S \), and \( 0 \) if it is outside. Therefore, the total flux depends only on the sum of the charges enclosed by the surface. Let \( Q_{\text{enc}} \) be the total charge enclosed. Gauss's Law in its integral form is stated as:
This equation is one of the fundamental laws of electromagnetism. It relates the flux of the electric field through a closed surface to the charge enclosed within that surface. It is valid for any electrostatic field, regardless of the complexity of the charge distribution or the shape of the surface. The law is a direct consequence of Coulomb's Law and the inverse-square nature of the electric field.
The derivation
Gauss's Law (Integral Form) from Coulomb
For an electrostatic field built by superposing Coulomb fields of point charges, the outward electric flux through any closed surface \( S \) equals the total charge enclosed by \( S \) divided by \( \varepsilon_0 \): \( \displaystyle \oint_S \vec{E}\cdot d\vec{A} = \frac{Q_{\text{enc}}}{\varepsilon_0} \). The surface may have any shape and size; only the charge inside it contributes, and each interior charge contributes the same amount regardless of where inside it sits.
A common misconception is that Gauss's Law implies the electric field is zero everywhere on a surface if the enclosed charge is zero. This is incorrect. The law states that the *net flux* is zero, meaning the inward flux equals the outward flux. The field itself can be non-zero and complex on the surface due to external charges. Gauss's Law is a statement about the integral, not the local value of the field. C
Worked example
Problem. A spherical shell of radius \( R = 0.50\ \mathrm{m} \) carries a uniform surface charge density \( \sigma = 2.0 \times 10^{-6}\ \mathrm{C/m^2} \). Calculate the electric flux through a concentric spherical surface of radius \( r = 1.0\ \mathrm{m} \). Also, calculate the flux through a smaller concentric sphere of radius \( r' = 0.25\ \mathrm{m} \).
- Calculate the total charge \( Q \) on the shell using the surface area \( A = 4\pi R^2 \) and the charge density \( \sigma \). \( Q = \sigma (4\pi R^2) \).
- Apply Gauss's Law for the outer surface (\( r = 1.0\ \mathrm{m} \)). Since \( r > R \), the charge is enclosed. \( \Phi_{\text{out}} = Q/\varepsilon_0 \).
- Apply Gauss's Law for the inner surface (\( r' = 0.25\ \mathrm{m} \)). Since \( r' < R \), the charge is outside the surface. \( \Phi_{\text{in}} = 0 \).
Units check. Charge is in Coulombs (C). Permittivity \( \varepsilon_0 \) is in \( \mathrm{C^2 / (N \cdot m^2)} \). The ratio \( Q/\varepsilon_0 \) has units \( \mathrm{C} / (\mathrm{C^2 / (N \cdot m^2)}) = \mathrm{N \cdot m^2 / C} \), which is the correct unit for electric flux.
Three quick tests
- Does the electric flux through a closed surface depend on the shape of the surface?
Answer
No, it depends only on the net charge enclosed. - If a point charge is placed exactly on the surface of a Gaussian surface, how much flux does it contribute?
Answer
Gauss’s law assumes no charge sits on the surface itself, so such a surface should be avoided. (For a smooth surface the flux tends to \(q/(2\varepsilon_0)\) in the limit, because the charge sees half of the full solid angle.) - What is the total solid angle subtended by a closed surface at a point inside it?
Answer
\(4\pi\) steradians.
Problem set for PU-102 →
Each derivation in this unit ends with five graded problems with full solutions.
Lecture notes drafted with a local model and checked line by line by the editor; every number in the worked example was recomputed.