Gauss's law

Imagine trying to find the electric field of a uniformly charged sheet the "hard way" — chopping it into infinitesimal bits of charge, writing Coulomb's law for each bit, and integrating the whole mess with calculus. It is doable, but it is slow, error-prone, and not what a Class 12 exam expects of you. Gauss's law offers a shortcut so powerful it turns a page of calculus into three lines of algebra — provided the charge distribution has the right symmetry. The law itself is a single elegant statement: wrap any closed surface, real or imaginary, around a bunch of charge, and the total electric flux leaking out of that surface depends on nothing except how much charge sits inside it. Not the surface's shape. Not its size. Not where exactly the charge sits within it. Just the enclosed charge, divided by ε0\varepsilon_0. This article builds that idea from scratch: what electric flux actually measures, why Gauss's law follows from Coulomb's law (stated, not proved — that proof is beyond this syllabus), and how to exploit symmetry to turn the law into a field-finding machine. You will see it deployed on the three shapes CBSE tests every single year — the infinite line charge, the infinite charged sheet, and the charged spherical shell — with fully worked numbers you can check against your own calculator.

Key takeaways
  • Electric flux ϕ=∮E⃗⋅dA⃗\phi = \oint \vec E \cdot d\vec A measures how much field pierces a surface; for a flat area in a uniform field it reduces to ϕ=EAcos⁡θ\phi = EA\cos\theta.
  • Gauss's law: ∮E⃗⋅dA⃗=qenc/ε0\oint \vec E\cdot d\vec A = q_{\text{enc}}/\varepsilon_0 — the flux through any closed (Gaussian) surface depends only on the charge strictly inside it.
  • Charges outside the surface contribute zero net flux; the field lines that enter also leave.
  • The law is always true, but it becomes a fast way to calculate EE only when symmetry lets you pull EE out of the integral: spherical, cylindrical, or planar charge distributions.
  • Three standard results follow: line charge E=λ/(2πε0r)E = \lambda/(2\pi\varepsilon_0 r), infinite sheet E=σ/(2ε0)E = \sigma/(2\varepsilon_0), and a charged spherical shell (E=kq/r2E = kq/r^2 outside, E=0E = 0 inside).
  • CBSE wants the statement and application of Gauss's law, not a derivation of the law itself from Coulomb's law.
  • Key idea: Gauss's law says the flux through any closed surface equals the enclosed charge divided by ε₀, and for symmetric charge distributions this turns a calculus problem into simple algebra for E.
The core insight

The total electric flux through any closed surface equals the enclosed charge divided by ε0\varepsilon_0, and choosing a Gaussian surface that matches the symmetry of the charge distribution converts the field calculation from calculus into algebra.

Where it fits in the syllabus

This topic closes out the Class 12 chapter Electric Charges and Fields (Unit I: Electrostatics), coming right after continuous charge distributions and right before its own applications article. CBSE's 2025-26 syllabus is explicit: you need the statement of Gauss's theorem and its use to find EE for three symmetric cases — the infinite line charge, the infinite plane sheet, and the uniformly charged thin spherical shell (inside and outside). The formal derivation connecting Gauss's law back to Coulomb's law is not expected of you; treat the law as a given tool and focus your exam preparation on applying it cleanly.

The physical picture

Electric flux through a flat patch of area A⃗\vec A sitting in a uniform field E⃗\vec E measures how much of the field "pushes through" that patch. It depends on the angle between the field and the patch's outward normal:

ϕ=E⃗⋅A⃗=EAcos⁡θ\phi = \vec E \cdot \vec A = EA\cos\theta

where: EE is the field magnitude, AA is the patch area, and θ\theta is the angle between E⃗\vec E and the outward normal to the patch. Flux is maximum when the field is perpendicular to the surface (θ=0\theta = 0) and zero when the field grazes along the surface (θ=90°\theta = 90°). For a curved or closed surface, you chop it into tiny patches dA⃗d\vec A and add up the contribution from each:

ϕ=∮E⃗⋅dA⃗\phi = \oint \vec E\cdot d\vec A

The circle on the integral sign is a reminder that the surface is closed — it has no edges, like a balloon's skin.

Gauss's law ties this total flux to the charge shut up inside the surface:

∮E⃗⋅dA⃗=qencε0\oint \vec E\cdot d\vec A = \dfrac{q_{\text{enc}}}{\varepsilon_0}

where: ε0=8.85×10−12 C2N−1m−2\varepsilon_0 = 8.85\times10^{-12}\ \text{C}^2\text{N}^{-1}\text{m}^{-2} is the permittivity of free space and qencq_{\text{enc}} is the net charge strictly inside the chosen closed surface, called the Gaussian surface. Read it physically: whatever the shape of the balloon you draw around a charge, the same total number of field lines poke through it, because the source of every field line is charge, and the balloon either contains that source or it doesn't. A charge sitting just outside the balloon sends field lines in one side and out the other — net contribution zero.

Figure
Three different closed surfaces of different shapes drawn around the same point charge, all showing the identical total outward flux, with a separate external charge outside a fourth surface contributing zero net flux
Flux depends only on enclosed charge, not the shape of the surface sphere blob cube (off-centre charge) charge outside — zero net flux Same enclosed charge, same total flux — shape and position inside do not matter. A charge outside sends field lines in one side and out the other of any surface.

The Gaussian surface is an imaginary mathematical construction — it need not, and usually does not, coincide with any physical object. You are free to choose its shape, and the whole art of applying Gauss's law is choosing one that matches the symmetry of the charge so that EE comes out constant on the surface and can be pulled outside the integral.

Common notation you will see

Two constants recur throughout this topic and the next: ε0\varepsilon_0 itself, and the combination k=14πε0≈9×109 N ⋅ m2/C2k = \dfrac{1}{4\pi\varepsilon_0} \approx 9\times10^{9}\ \text{N}\,\cdot\,\text{m}^2/\text{C}^2 that you already met in Coulomb's law. Gauss's law is sometimes written with 4πk4\pi k in place of 1/ε01/\varepsilon_0; both are the same number, ε0=14πk\varepsilon_0 = \dfrac{1}{4\pi k}, so do not be thrown if a textbook or question paper swaps notation mid-problem.

Derivation AField of an infinite line charge from Gauss's law

The goal is to find the electric field at perpendicular distance rr from an infinitely long straight wire carrying a uniform linear charge density λ\lambda (charge per unit length), using Gauss's law and the cylindrical symmetry of the situation, without any integration over Coulomb's law. This is one of the three standard applications CBSE names explicitly, and the trick is entirely in choosing the right Gaussian surface.

Step 1. Identify the symmetry. An infinite line of charge looks the same from every point at the same perpendicular distance rr and along its whole length — the field can only point radially outward (or inward, for negative λ\lambda), and its magnitude can depend only on rr, not on the angle around the wire or the position along it.

Step 2. Choose the Gaussian surface. Wrap a coaxial cylinder of radius rr and length ll around the wire, closed at both ends by flat circular caps. This shape is chosen precisely because E⃗\vec E is perpendicular to the curved side (parallel to dA⃗d\vec A there) and parallel to the flat end caps (perpendicular to dA⃗d\vec A there, so those contribute zero flux).

Step 3. Evaluate the flux. On the curved surface, EE is constant in magnitude and parallel to dA⃗d\vec A everywhere, so ∮E⃗⋅dA⃗=E×(2πrl)\oint \vec E\cdot d\vec A = E \times (2\pi r l), the field times the curved surface area. The two end caps contribute nothing because E⃗\vec E and dA⃗d\vec A are perpendicular there (cos⁡90°=0\cos 90° = 0).

Step 4. Apply Gauss's law. The charge enclosed by a cylinder of length ll is qenc=λlq_{\text{enc}} = \lambda l. Substituting into ∮E⃗⋅dA⃗=qenc/ε0\oint \vec E\cdot d\vec A = q_{\text{enc}}/\varepsilon_0 gives E(2πrl)=λl/ε0E(2\pi r l) = \lambda l/\varepsilon_0. The length ll cancels from both sides — a good sign, since the field of an infinite wire cannot depend on how long a piece of Gaussian cylinder you happened to draw.

Step 5. Solve for EE. Rearranging leaves

E=λ2πε0rE = \dfrac{\lambda}{2\pi\varepsilon_0 r}

directed radially outward from the wire for λ>0\lambda > 0 (and radially inward for λ<0\lambda < 0). Notice the field falls off as 1/r1/r, one power slower than the 1/r21/r^2 of a point charge — a direct consequence of the charge being spread along an infinite line rather than concentrated at a point.

Worked examples

Board level - flux through an imaginary cube around a point charge

A point charge q=5 μCq = 5\ \mu\text{C} is placed at the centre of an imaginary cube of side a=20 cma = 20\ \text{cm}. Find (a) the total electric flux through the entire cube, and (b) the flux through one face of the cube.

Step 1. Recognise that total flux depends only on enclosed charge, not the cube's shape or size, so apply Gauss's law directly: ϕtotal=qenc/ε0\phi_{\text{total}} = q_{\text{enc}}/\varepsilon_0.

Step 2. Substitute the numbers: ϕtotal=5×10−68.85×10−12≈5.65×105 N ⋅ m2/C\phi_{\text{total}} = \dfrac{5\times10^{-6}}{8.85\times10^{-12}} \approx 5.65\times10^{5}\ \text{N}\,\cdot\,\text{m}^2/\text{C}. Notice the side length a=20 cma = 20\ \text{cm} never entered the calculation — that is exactly the point of Gauss's law, and a common exam trap is students trying to use aa anyway.

Step 3. Split the flux across the six faces. The charge sits at the cube's centre, so by symmetry each of the six identical faces carries an equal share: ϕone face=ϕtotal/6\phi_{\text{one face}} = \phi_{\text{total}}/6.

Step 4. Compute: ϕone face=5.65×1056≈9.4×104 N ⋅ m2/C\phi_{\text{one face}} = \dfrac{5.65\times10^{5}}{6} \approx 9.4\times10^{4}\ \text{N}\,\cdot\,\text{m}^2/\text{C}. Answer: total flux ≈5.65×105 N ⋅ m2/C\approx 5.65\times10^{5}\ \text{N}\,\cdot\,\text{m}^2/\text{C}, flux through one face ≈9.4×104 N ⋅ m2/C\approx 9.4\times10^{4}\ \text{N}\,\cdot\,\text{m}^2/\text{C}.

Competitive level - field just outside a charged spherical shell versus an equivalent point charge

A thin spherical shell of radius R=10 cmR = 10\ \text{cm} carries a uniformly distributed charge Q=2 μCQ = 2\ \mu\text{C} on its surface. Find the electric field (a) at a point just outside the shell, at r=10.01 cmr = 10.01\ \text{cm}, and (b) at the centre of the shell, and compare part (a) with the field of an equivalent point charge QQ placed at the centre.

Step 1. Choose a spherical Gaussian surface of radius rr concentric with the shell. By spherical symmetry, EE is constant in magnitude and radial (parallel to dA⃗d\vec A) everywhere on this surface, so ∮E⃗⋅dA⃗=E(4πr2)\oint \vec E\cdot d\vec A = E(4\pi r^2).

Step 2. For a point outside the shell (r>Rr > R), the entire shell charge QQ is enclosed. Gauss's law gives E(4πr2)=Q/ε0E(4\pi r^2) = Q/\varepsilon_0, so E=Q4πε0r2=kQr2E = \dfrac{Q}{4\pi\varepsilon_0 r^2} = \dfrac{kQ}{r^2} — exactly the field of a point charge QQ sitting at the centre. This is the useful shortcut: outside a uniformly charged shell (or solid sphere), the shell behaves electrically as if all its charge were concentrated at the centre.

Step 3. Substitute r=0.1001 mr = 0.1001\ \text{m}, Q=2×10−6 CQ = 2\times10^{-6}\ \text{C}, k=9×109 N ⋅ m2/C2k = 9\times10^{9}\ \text{N}\,\cdot\,\text{m}^2/\text{C}^2: E=(9×109)(2×10−6)(0.1001)2≈1.8×1040.01002≈1.80×106 N/CE = \dfrac{(9\times10^{9})(2\times10^{-6})}{(0.1001)^2} \approx \dfrac{1.8\times10^{4}}{0.01002} \approx 1.80\times10^{6}\ \text{N/C}.

Step 4. For the centre (r=0r = 0, strictly inside the shell), a concentric Gaussian sphere of any radius r<Rr < R encloses zero charge — all of QQ sits on the outer shell, outside this Gaussian surface. So E(4πr2)=0/ε0E(4\pi r^2) = 0/\varepsilon_0, giving E=0E = 0 everywhere inside a uniformly charged thin shell, including at the centre. Answer: just outside the shell, E≈1.80×106 N/CE \approx 1.80\times10^{6}\ \text{N/C}, identical to a point charge QQ at the centre; at the centre (and everywhere inside), E=0E = 0. Timing note: about 90 seconds once you recognise the two regimes. The entire competitive-exam trap here is applying the point-charge formula kQ/r2kQ/r^2 inside the shell by mistake — stop and ask "is my Gaussian sphere's radius bigger or smaller than the shell's radius?" before writing down qencq_{\text{enc}}. If r<Rr < R, no charge is enclosed and E=0E = 0, full stop; the field does not gradually taper to zero, it is exactly zero throughout the empty interior.

Common traps

  • Thinking flux through a Gaussian surface depends on its shape or size — for a fixed enclosed charge, the flux is identical for any closed surface, however oddly shaped, as the first worked example shows with the cube.
  • Forgetting that charges outside the Gaussian surface, even ones sitting right next to it, contribute nothing to the net flux, even though they still affect the actual value of E⃗\vec E at points on the surface.
  • Assuming Gauss's law only works for symmetric charge arrangements — the law itself is always true for any charge distribution; it is only the algebraic shortcut for calculating EE that requires symmetry to pull EE outside the integral.
  • Applying the point-charge-equivalent field kQ/r2kQ/r^2 inside a charged shell or sphere, where it does not apply — inside a uniformly charged thin shell the field is exactly zero, not merely small.
  • Confusing EE (the field, which can vary from point to point) with ϕ\phi (a single number for the whole closed surface) — Gauss's law relates total flux to total enclosed charge, and only symmetry lets you extract a local value of EE from it.

You should be able to…

  • Define electric flux and compute it for a flat surface in a uniform field, including the role of cos⁡θ\cos\theta.
  • State Gauss's law correctly, including precisely what qencq_{\text{enc}} means and why external charges contribute zero net flux.
  • Explain why the law itself is universally true but the algebraic shortcut for finding EE needs a symmetric charge distribution.
  • Choose an appropriate Gaussian surface (cylinder, sphere) for a given symmetry and identify which parts of it contribute zero flux.
  • Derive and use E=λ/(2πε0r)E = \lambda/(2\pi\varepsilon_0 r) for a line charge, and quote the analogous results for an infinite sheet and a charged spherical shell.
  • Correctly state that the field is zero everywhere strictly inside a uniformly charged thin shell, and equal to a point charge's field just outside it.

Ask the tutor: Want to see the pillbox derivation for the infinite charged sheet worked out step by step, or try a mixed problem combining a line charge and a spherical shell? Ask the AI tutor to walk through it with you.

Why don't we have to worry about the shape of the Gaussian surface changing the answer?

Because Gauss's law is a direct consequence of Coulomb's law and the geometry of how field lines spread out from a charge — the total "flow" of field lines out of any closed surface only depends on how many field lines started inside it, and that number is fixed entirely by the enclosed charge. Picture field lines like water pouring out of a source; count how many cross a balloon around the source, and it doesn't matter whether the balloon is a perfect sphere or a lumpy potato, the same number of lines pierce it. That is why the cube and the sphere in the first worked example give the identical total flux for the same point charge.

If Gauss's law is always true, why can we only use it to calculate E for a few special shapes?

Gauss's law gives you one equation, ∮E⃗⋅dA⃗=qenc/ε0\oint \vec E\cdot d\vec A = q_{\text{enc}}/\varepsilon_0, but EE is generally a function that can vary in both magnitude and direction over the surface — you cannot solve one equation for a function with infinitely many unknown values at every point. Symmetry rescues you by telling you in advance, from physical reasoning alone, that EE must be constant in magnitude and either parallel or perpendicular to dA⃗d\vec A over your chosen surface. Then the integral collapses to EE times a plain area, and one equation is enough to solve for the one unknown number EE. Without that symmetry, the equation is still true, just not solvable by hand.

Is the field inside a charged shell really exactly zero, or just very small?

Exactly zero, not approximately zero — this surprises a lot of students the first time they see it. Take any point strictly inside a uniformly charged thin shell and draw a concentric Gaussian sphere through that point. All of the shell's charge sits on the outer surface, at radius RR, which is outside your Gaussian sphere of radius r<Rr < R. So qenc=0q_{\text{enc}} = 0 for that surface, and Gauss's law gives E(4πr2)=0E(4\pi r^2) = 0, forcing E=0E = 0 identically — not a small residual field, a genuine zero, at every point inside, all the way up to (but not including) the shell itself.

Do I need to memorise the proof that Gauss's law follows from Coulomb's law?

No — CBSE explicitly asks only for the statement of Gauss's theorem and its application to the three standard cases (line, sheet, shell); the formal derivation connecting it back to Coulomb's law through the geometry of a point charge's field lines is outside this syllabus's expectations. Spend your revision time instead on being able to reproduce the derivation of EE for a line charge, a sheet, and a shell starting from a stated Gauss's law, since that is exactly what gets asked as a 3-5 mark derivation question.

Before this

Where this leads