11.2 Electric Flux and Gauss's Law
Electric flux counts the field passing through a surface. Gauss's law says the total flux out of any closed surface is the enclosed charge divided by $\varepsilon_0$, $\oint\mathbf E\cdot d\mathbf A=q_{\text{enc}}/\varepsilon_0$ — and with symmetry it gives in two lines the fields of a long wire, an infinite sheet and a thin spherical shell.
In Section 11.1 we found electric fields by adding up the fields of many small pieces of charge — a vector sum, and for a ring already an integral. For a long charged wire or a large charged plate that sum becomes a hard integral, and for a charged sphere it is harder still. Yet the answers turn out to be very simple: $\dfrac{\lambda}{2\pi\varepsilon_0r}$, $\dfrac{\sigma}{2\varepsilon_0}$, $\dfrac{kQ}{r^2}$. There must be a shortcut — and there is. It rests on one geometric fact about inverse-square fields: the field of a point charge spreads out over spheres whose area grows as $r^2$, exactly as fast as the field weakens.
The shortcut is Gauss's law. It connects the field on a closed surface with the charge inside it, through a quantity called electric flux that measures "how much field passes through" a surface. In this section we define flux, state and justify Gauss's law, and then use it — together with symmetry — to find the field of the three charge distributions named in the JEE Main syllabus: an infinitely long uniformly charged straight wire, a uniformly charged infinite plane sheet and a uniformly charged thin spherical shell. These three results are the raw material for capacitors (Section 11.4).
Electric flux
Think of field lines as a steady stream passing through a window. How many lines go through depends on three things: how dense the lines are (the field strength $E$), how big the window is (its area $A$), and how the window is turned. Face-on to the stream it catches the most lines; edge-on it catches none. To describe how a flat surface is turned, we give it a direction.
The area vector of a small flat surface of area $dA$ is $d\mathbf A=dA\,\hat{\mathbf n}$, where $\hat{\mathbf n}$ is the unit vector normal (perpendicular) to the surface. For a closed surface, $\hat{\mathbf n}$ is always taken to point outwards.
The electric flux through the surface element is $d\Phi_E=\mathbf E\cdot d\mathbf A=E\,dA\cos\theta$, with $\theta$ the angle between $\mathbf E$ and $\hat{\mathbf n}$. For a whole surface $S$,
$$\Phi_E=\int_S\mathbf E\cdot d\mathbf A,$$and for a flat surface in a uniform field $\Phi_E=\mathbf E\cdot\mathbf A=EA\cos\theta$. Flux is a scalar; its SI unit is $\text{N m}^2/\text{C}$ (equivalently $\text{V m}$). Through a closed surface, outward flux counts positive and inward flux negative; the integral over a closed surface is written $\oint$.
So the flux is greatest, $EA$, when the field is perpendicular to the surface ($\theta=0^\circ$), zero when the field runs along the surface ($\theta=90^\circ$), and negative when the field enters a closed surface ($\theta\gt90^\circ$). Because field-line density is proportional to $E$, the flux through a surface is proportional to the net number of field lines crossing it — a picture worth keeping in mind for everything that follows.
A flat sheet of area $A$ lies in a uniform field $\mathbf E$, with the field lines running parallel to the plane of the sheet. The flux through the sheet is
Gauss's law
Start with the simplest case: a point charge $q$ at the centre of a sphere of radius $r$. On the sphere the field has the same size $E=\dfrac{kq}{r^2}$ everywhere and points straight outwards, along $\hat{\mathbf n}$. So $\mathbf E\cdot d\mathbf A=E\,dA$ and
$$\oint\mathbf E\cdot d\mathbf A=E\times4\pi r^2=\frac{1}{4\pi\varepsilon_0}\frac{q}{r^2}\times4\pi r^2=\frac{q}{\varepsilon_0}.$$The radius has cancelled. The field weakens as $1/r^2$ but the area grows as $r^2$, so every sphere around the charge carries the same flux — just as the same number of field lines crosses every sphere. Now deform the sphere into any closed shape: the same lines still cross it (a line that dips in and out of a wrinkle crosses once inward and once outward, adding nothing), so the flux is still $q/\varepsilon_0$. A charge outside a closed surface sends each of its lines in and then out again: its net flux is zero. Finally, the field of many charges is the sum of their fields (Result 11.5), so the fluxes add. This is the whole content of Gauss's law.
For any closed surface $S$,
$$\oint_S\mathbf E\cdot d\mathbf A=\frac{q_{\text{enc}}}{\varepsilon_0},$$where $q_{\text{enc}}$ is the algebraic sum of the charges inside $S$, and $d\mathbf A$ points outwards.
- $\mathbf E$ on the left is the total field at each point of the surface, due to all charges, inside and outside.
- Charges outside $S$ change $\mathbf E$ on the surface, but their net contribution to the flux is zero.
- The flux does not depend on the size or shape of $S$, or on where the charges sit inside it — only on $q_{\text{enc}}$.
- Gauss's law holds because the field of a point charge is exactly inverse-square; it is equivalent to Coulomb's law for charges at rest.
A Gaussian surface is any closed surface, real or imaginary, to which we apply Gauss's law. It must not pass through a point charge (the field there is undefined). To find a field with Gauss's law we choose a Gaussian surface that fits the symmetry of the charges: on each part of it, $\mathbf E$ is either perpendicular to the surface with a constant size, or parallel to the surface (zero flux).
Two practical consequences are worth learning for JEE Main. First, if a charge $q$ sits at the centre of a cube, the cube's six faces are identical as seen from the charge, so each carries $\dfrac{q}{6\varepsilon_0}$. Second, Gauss's law can be read backwards: from a field given on a closed surface we can find the charge inside it.
In Interactive 1 set $q_A=+2$, $q_B=-2$, $q_C=+4\ \text{nC}$, the sphere's centre at $x=-0.10\ \text{m}$ and its radius $0.25\ \text{m}$, so that it encloses $A$ and $B$ but not $C$. What is the total flux out of the sphere?
A point charge sits at the centre of a spherical Gaussian surface. The radius of the sphere is doubled. The flux through the sphere and the field on its surface become
Applications: a long straight wire and an infinite plane sheet
Gauss's law is true for every closed surface, but it gives the field directly only when symmetry lets us pull $E$ out of the integral. The method is always the same.
- Symmetry first. Decide the direction of $\mathbf E$ and what it can depend on (radial from a line? perpendicular to a plane? radial from a point?).
- Choose the Gaussian surface through the point where you want $E$: a coaxial cylinder for a line, a "pillbox" cylinder straddling a sheet, a concentric sphere for spherical charge.
- Flux. On each part of the surface $\mathbf E$ is either perpendicular with constant size (flux $EA$) or parallel (flux $0$). Write $\oint\mathbf E\cdot d\mathbf A$ as $E\times(\text{area crossed})$.
- Charge enclosed. Use the charge density: $\lambda L$, $\sigma A$, or the part of $Q$ inside.
- Solve $E\times(\text{area})=q_{\text{enc}}/\varepsilon_0$, and give the direction (away from positive charge).
A very long, thin straight wire carries a uniform linear charge density $\lambda$. At a perpendicular distance $r$ from it, the field is radial (perpendicular to the wire, away from it for $\lambda\gt0$) with
$$E=\frac{\lambda}{2\pi\varepsilon_0r}=\frac{2k\lambda}{r}.$$The field falls off as $1/r$ — more slowly than the $1/r^2$ of a point charge. The result is exact for an infinite wire and a good approximation for a finite wire at points near its middle with $r$ much less than its length.
Derivation. By symmetry, $\mathbf E$ must point radially away from the wire and have the same size at all points a distance $r$ from it (the wire looks the same from every side, and from every point along it, since it is infinite). Take as Gaussian surface a closed cylinder of radius $r$ and length $\ell$, coaxial with the wire. On its curved surface $\mathbf E$ is along the outward normal with constant size: flux $E\times2\pi r\ell$. On the two flat end caps $\mathbf E$ runs along the surface: flux $0$. The charge inside is $\lambda\ell$. Gauss's law gives $E\cdot2\pi r\ell=\dfrac{\lambda\ell}{\varepsilon_0}$, so $E=\dfrac{\lambda}{2\pi\varepsilon_0r}$. The length $\ell$ cancels, as it must.
A very large flat sheet carries a uniform surface charge density $\sigma$. On either side of it, the field is perpendicular to the sheet (away from it for $\sigma\gt0$) with
$$E=\frac{\sigma}{2\varepsilon_0},$$independent of the distance from the sheet: the field is uniform on each side, pointing in opposite directions on the two sides. For two large parallel sheets the fields add (superposition). In particular, for sheets carrying $+\sigma$ and $-\sigma$:
$$E=\frac{\sigma}{\varepsilon_0}\ \text{between the sheets},\qquad E=0\ \text{outside them}.$$Derivation. By symmetry, $\mathbf E$ is perpendicular to the sheet, the same size at equal distances on both sides, and pointing away on both sides (for $\sigma\gt0$). Take a "pillbox": a cylinder with flat end faces of area $A$ parallel to the sheet, one on each side, piercing it. The curved side is parallel to $\mathbf E$: flux $0$. Each end face has $\mathbf E$ along its outward normal: flux $EA$ each, $2EA$ in all. The charge inside is $\sigma A$. So $2EA=\dfrac{\sigma A}{\varepsilon_0}$ and $E=\dfrac{\sigma}{2\varepsilon_0}$. Nothing in this depends on how far the end faces are from the sheet — hence a uniform field. (A real plate behaves like this at points whose distance from it is much smaller than its size, away from the edges.) For two parallel sheets with $+\sigma$ and $-\sigma$, each gives $\dfrac{\sigma}{2\varepsilon_0}$; between them both fields point from $+$ to $-$ and add, outside they point in opposite directions and cancel. This is the uniform field inside a parallel-plate capacitor.
The electric field $1.0\ \text{cm}$ from a very large uniformly charged plane sheet is $E$. At $2.0\ \text{cm}$ from the sheet (still far from its edges) the field is
Application: a uniformly charged thin spherical shell
A hollow metal ball, a balloon coated with charged powder, or the outer electron cloud of a model atom — all can be modelled as a thin spherical shell of radius $R$ with charge $Q$ spread uniformly over its surface, surface density $\sigma=\dfrac{Q}{4\pi R^2}$.
A thin spherical shell of radius $R$ carries charge $Q$ spread uniformly. At distance $r$ from its centre the field is radial with
$$E=\frac{kQ}{r^2}=\frac{Q}{4\pi\varepsilon_0r^2}\quad(r\gt R),\qquad E=0\quad(r\lt R).$$- Outside, the shell acts exactly as if all its charge were a point charge at its centre.
- Inside, the field is zero everywhere — not just at the centre.
- Just outside the surface $E=\dfrac{kQ}{R^2}=\dfrac{\sigma}{\varepsilon_0}$: crossing the charged surface, the field jumps by $\sigma/\varepsilon_0$.
Derivation. The charge distribution looks the same from every direction about the centre, so $\mathbf E$ must be radial with a size that depends only on $r$. Take a concentric Gaussian sphere of radius $r$. The flux through it is $E\times4\pi r^2$. If $r\gt R$ it encloses the whole charge $Q$: $E\cdot4\pi r^2=\dfrac{Q}{\varepsilon_0}$, giving $E=\dfrac{Q}{4\pi\varepsilon_0r^2}$. If $r\lt R$ it encloses no charge: $E\cdot4\pi r^2=0$, so $E=0$. Inside, the pull of the nearer, smaller part of the shell exactly balances the pull of the farther, larger part — the same reason the gravitational field inside a hollow planet would vanish (Section 6.1). Several concentric shells, or a point charge at the centre of a shell, are handled by superposition: at radius $r$, $E=\dfrac{kq_{\text{enc}}}{r^2}$, where $q_{\text{enc}}$ is the total charge of everything at radii less than $r$.
In Interactive 2 choose spherical shell, $Q=4\ \text{nC}$ and $R=0.20\ \text{m}$. What are the fields at $r=0.10\ \text{m}$ and at $r=0.40\ \text{m}$?
1. "Zero flux means zero field". False. Zero net flux through a closed surface means zero net charge inside; the field on the surface can be large (Interactive 1 with a charge outside). Likewise $\mathbf E$ in Gauss's law is the field of all charges, but only the enclosed ones set the flux.
2. Charge on the surface. Gauss's law needs every charge strictly inside or outside. A charge at the centre of a face, on an edge or at a corner of a cube contributes $\tfrac12$, $\tfrac14$ or $\tfrac18$ of $q/\varepsilon_0$ to the cube — use the "surround it with more cubes" trick.
3. Mixing the three laws. Wire: $E=\dfrac{\lambda}{2\pi\varepsilon_0r}\propto\dfrac1r$. Sheet: $E=\dfrac{\sigma}{2\varepsilon_0}$, no $r$. Shell: $\dfrac{kQ}{r^2}$ outside, $0$ inside. The sheet's $\sigma/2\varepsilon_0$ becomes $\sigma/\varepsilon_0$ only between two oppositely charged sheets (or just outside a shell or conductor).
4. The angle in $EA\cos\theta$. $\theta$ is between $\mathbf E$ and the normal. A surface "inclined at $30^\circ$ to the field" has $\theta=60^\circ$.
5. Gauss's law is always true, but not always useful. For a finite rod, a cube of charge or a point off the axis of a ring there is not enough symmetry to pull $E$ out of the integral; do not force $E\times\text{area}$ on such problems.
A thin spherical shell of radius $R$ carries charge $Q$ uniformly. Compare the field at $r=0.99R$ with the field at $r=1.01R$.
Exercises
Use $\varepsilon_0=8.85\times10^{-12}\ \text{C}^2\text{N}^{-1}\text{m}^{-2}$, $k=9.0\times10^9\ \text{N m}^2\text{C}^{-2}$, $e=1.6\times10^{-19}\ \text{C}$ and $m_p=1.67\times10^{-27}\ \text{kg}$. "Long" wires and "large" sheets may be treated as infinite.
- 1 A uniform field of $5.0\times10^3\ \text{N/C}$ crosses a flat area of $0.020\ \text{m}^2$ at right angles. Find the flux.
- 2 The area of part 1 is turned so that its normal makes $37^\circ$ with the field ($\cos37^\circ=0.8$). Find the flux.
- 3 A field $\mathbf E=(3.0\,\hat{\mathbf i}+4.0\,\hat{\mathbf j})\times10^3\ \text{N/C}$ passes through a square of side $0.10\ \text{m}$ lying in the $yz$-plane (normal $\hat{\mathbf i}$). Find the flux.
- 4 A hemisphere of radius $0.10\ \text{m}$ sits in a uniform field of $2.0\times10^3\ \text{N/C}$ parallel to its axis. Find the flux through its curved surface.
- 5 A closed cylinder lies with its axis along a uniform field $E$. Its end faces have area $A$. Find the flux through each end, through the curved surface and through the whole cylinder.
- 6 Express the unit of electric flux in base SI units and give its dimensions.
- 7 A uniform field of $2.0\times10^3\ \text{N/C}$ along $+x$ acts on a cube of side $0.10\ \text{m}$ with faces perpendicular to the axes. Find the flux through the face at larger $x$ and through the whole cube.
- 8 A flat loop is turned in a uniform field. Through what angle (between field and normal) must it be turned, from face-on, for the flux to fall to half its largest value?
- 1 A charge of $2.0\ \mu\text{C}$ is somewhere inside a closed bag. Find the net flux out of the bag.
- 2 A net flux of $4.0\times10^3\ \text{N m}^2/\text{C}$ flows into a closed surface. Find the charge inside it.
- 3 Charges $+3.0\ \text{nC}$ and $-5.0\ \text{nC}$ are inside a closed surface and $+7.0\ \text{nC}$ is just outside. Find the flux through the surface. Does the $+7.0\ \text{nC}$ affect the field on the surface?
- 4 A charge of $2.0\ \mu\text{C}$ is at the centre of a cube. Find the flux through one face.
- 5 A charge of $1.0\ \mu\text{C}$ is at one corner of a cube. Find the flux through one face that does not touch that corner.
- 6 A charge $q$ is at the centre of a sphere. The sphere is replaced by a cube of side equal to the sphere's diameter, with the same centre. What happens to the flux and to the field at the middle of a cube face compared with the field on the sphere?
- 7 In a region the field is $\mathbf E=bx^2\,\hat{\mathbf i}$ with $b=1.0\times10^3\ \text{N C}^{-1}\text{m}^{-2}$. Find the charge inside a cube of side $0.20\ \text{m}$ whose faces lie at $x=0.10\ \text{m}$ and $x=0.30\ \text{m}$ (other faces parallel to the $x$-axis).
- 8 Suppose the electric force fell off as $1/r^3$ instead of $1/r^2$. Would the flux through a sphere centred on a point charge still be independent of the radius? What does this tell you about Gauss's law?
- 1 A long straight wire carries $3.0\ \mu\text{C/m}$. Find the field $0.20\ \text{m}$ from it.
- 2 At what distance from the wire of part 1 is the field one-third of that value?
- 3 The field $2.0\ \text{cm}$ from a long charged wire is $9.0\times10^4\ \text{N/C}$, directed towards the wire. Find the linear charge density, with its sign.
- 4 A large plane sheet carries $1.77\ \mu\text{C/m}^2$. Find the field near it.
- 5 Two large parallel plates carry $+8.85\ \text{nC/m}^2$ and $-8.85\ \text{nC/m}^2$. Find the field between them and outside them.
- 6 Two large parallel plates both carry $+\sigma$. Find the field between them and outside them.
- 7 A small ball of mass $1.0\ \text{g}$ and charge $+2.0\ \mu\text{C}$ hangs from an insulating thread near a large vertical charged sheet. The thread makes $37^\circ$ with the vertical ($\tan37^\circ=0.75$, $g=10\ \text{m/s}^2$). Find the surface charge density of the sheet.
- 8 A proton is released from rest $5.0\ \text{mm}$ from a large sheet carrying $-8.85\ \text{nC/m}^2$. How long does it take to reach the sheet?
- 1 A thin shell of radius $0.10\ \text{m}$ carries $2.0\ \text{nC}$ uniformly. Find the field at $0.050\ \text{m}$, just outside the surface, and at $0.30\ \text{m}$ from the centre.
- 2 For the shell of part 1, find $\sigma$ and check that the field just outside equals $\sigma/\varepsilon_0$.
- 3 The field $0.50\ \text{m}$ from the centre of a charged thin shell of radius $0.20\ \text{m}$ is $360\ \text{N/C}$, outward. Find the charge on the shell and the field just outside its surface.
- 4 Two concentric thin shells have radii $0.10\ \text{m}$ and $0.30\ \text{m}$. The inner one carries $+3.0\ \text{nC}$. What charge must the outer one carry for the field outside both to be zero? Find the field at $0.20\ \text{m}$ then.
- 5 A point charge $+2.0\ \text{nC}$ sits at the centre of a thin shell of radius $0.20\ \text{m}$ carrying $-6.0\ \text{nC}$. Find the field at $0.10\ \text{m}$ and at $0.40\ \text{m}$ from the centre, with directions.
- 6 Sketch $E$ against $r$ for a positively charged thin shell. Where is the graph discontinuous, and by how much does $E$ jump?
- 7 Explain why a person sitting inside a large charged hollow sphere (charge spread uniformly) feels no electric force, however much charge the sphere carries.
- 8 A long straight wire carrying $4.0\ \text{nC/m}$ passes through the centre of a sphere of radius $0.10\ \text{m}$. Find the electric flux through the sphere.
E1. JEE Main · MCQ A point charge $q$ is placed at one corner of a cube. The electric flux through the whole surface of the cube is (A) $\dfrac{q}{\varepsilon_0}$ (B) $\dfrac{q}{6\varepsilon_0}$ (C) $\dfrac{q}{8\varepsilon_0}$ (D) $\dfrac{q}{24\varepsilon_0}$
E2. JEE Main · Numerical A point charge of $17.7\ \text{nC}$ is placed at the centre of a cube. Taking $\varepsilon_0=8.85\times10^{-12}\ \text{C}^2\text{N}^{-1}\text{m}^{-2}$, find the electric flux through one face of the cube in $\text{N m}^2/\text{C}$. Give the answer to the nearest integer.
E3. JEE Main · MCQ Two large parallel plane sheets carry uniform surface charge densities $+2\sigma$ and $+\sigma$. The magnitudes of the electric field between the sheets and outside them are (A) $\dfrac{\sigma}{2\varepsilon_0}$ and $\dfrac{3\sigma}{2\varepsilon_0}$ (B) $\dfrac{3\sigma}{2\varepsilon_0}$ and $\dfrac{\sigma}{2\varepsilon_0}$ (C) $\dfrac{\sigma}{\varepsilon_0}$ and $0$ (D) $0$ and $\dfrac{3\sigma}{\varepsilon_0}$
E4. JEE Main · Numerical The electric field $4.0\ \text{cm}$ from a long uniformly charged straight wire is $9.0\times10^4\ \text{N/C}$. Find the linear charge density of the wire in $\text{nC/m}$ ($\tfrac{1}{4\pi\varepsilon_0}=9\times10^9\ \text{N m}^2\text{C}^{-2}$). Give the answer to the nearest integer.
E5. JEE Main · MCQ A point charge $q$ is at the centre of a thin spherical shell of radius $R$ that carries charge $Q$ spread uniformly. The electric field at distance $R/2$ from the centre is equal (in magnitude and direction) to the field at distance $2R$. Then $Q$ equals (A) $3q$ (B) $15q$ (C) $16q$ (D) $-15q$
E6. JEE Main · Numerical A small ball of mass $4.0\ \text{g}$ carrying a charge of $+1.77\ \mu\text{C}$ hangs from an insulating thread close to a large vertical uniformly charged sheet. In equilibrium the thread makes $45^\circ$ with the vertical. Taking $g=10\ \text{m/s}^2$ and $\varepsilon_0=8.85\times10^{-12}\ \text{C}^2\text{N}^{-1}\text{m}^{-2}$, find the surface charge density of the sheet in $\text{nC/m}^2$. Give the answer to the nearest integer.
Research question. The air near the ground carries a steady downward electric field even on a calm, sunny day. How much charge does that imply on the whole Earth — and what keeps it there?
Why it matters. The "fair-weather" field is part of the global atmospheric electric circuit, in which about 2000 thunderstorms active at any moment charge the Earth while the slightly conducting air discharges it. Atmospheric-electricity stations in the UK, Finland, Brazil, India and Antarctica record it continuously; it is used to study pollution and aerosols (dirty air conducts less), solar effects on the atmosphere, and to warn of lightning at airports, launch sites and outdoor stadiums.
What to do.
- Take the typical fair-weather field near the ground, $E\approx130\ \text{N/C}$ pointing downwards. Find public records of the field (often given as "potential gradient" in V/m) from one or two stations, and note its daily average and how it changes in bad weather.
- Model the Earth as a thin spherical shell of radius $6.4\times10^6\ \text{m}$ with uniform charge. Use Result 11.12 to find the Earth's total charge $Q$ and its surface charge density $\sigma$. Which sign is it?
- Over a few kilometres of height the Earth's surface looks flat. Compare your $\sigma$ with $\varepsilon_0E$: why is it $\sigma/\varepsilon_0$ and not $\sigma/2\varepsilon_0$ here? (Hint: the field below the surface is zero.)
- A balloon measurement finds the field falling to about $20\ \text{N/C}$ at $10\ \text{km}$. Treat the layer between as a Gaussian "pillbox" of area $1\ \text{m}^2$: find the net charge in the air above each square metre of ground up to that height.
Tools: published station data or a field-mill dataset, a calculator or spreadsheet, Results 11.11 and 11.12.
Hand in: your values of $Q$, $\sigma$ and the air-charge estimate, with the Gaussian surfaces drawn, and three sentences on what changes during a thunderstorm.
Going further. If the air's conductivity lets this charge leak away in about 10 minutes, how many coulombs per second must thunderstorms deliver worldwide to keep it steady? Compare with the charge carried by a typical lightning flash (about $20\ \text{C}$).
🧪 Self-check quiz
Q1. The SI unit of electric flux is
Q2. In Gauss's law $\oint\mathbf E\cdot d\mathbf A=q_{\text{enc}}/\varepsilon_0$, the field $\mathbf E$ on the surface is due to
Q3. The electric field near a very large uniformly charged plane sheet
Q4. A thin spherical shell of radius $R$ has charge $Q$ spread uniformly. At a point inside it, at distance $R/2$ from the centre, the electric field is
Q5. The field at distance $r$ from a long uniformly charged straight wire is $E$. At distance $3r$ it is