Gauss's Law — Electric Flux Through a Sphere

medium CBSE JEE-MAIN JEE-ADVANCED JEE Main 2024 4 min read

Question

A point charge qq is placed at the centre of a spherical surface of radius RR. Find the total electric flux through the sphere. Does the answer change if the charge is not at the centre?

Solution — Step by Step

Electric flux Φ\Phi is defined as the surface integral of the electric field over a closed surface:

Φ=EdA\Phi = \oint \vec{E} \cdot d\vec{A}

We need this for a sphere with charge qq at its centre.

Because qq sits exactly at the centre, the electric field at every point on the sphere points radially outward and has the same magnitude. This means E\vec{E} and dAd\vec{A} are always parallel, so EdA=EdA\vec{E} \cdot d\vec{A} = E \, dA.

Without this symmetry argument, the integral would be a nightmare. Symmetry is what makes Gauss’s Law powerful.

At distance RR from a point charge:

E=q4πε0R2E = \frac{q}{4\pi\varepsilon_0 R^2}

This is constant over the entire spherical surface.

Since EE is constant, it comes out of the integral:

Φ=EdA=q4πε0R2×4πR2\Phi = E \oint dA = \frac{q}{4\pi\varepsilon_0 R^2} \times 4\pi R^2

The R2R^2 cancels. We get:

Φ=qε0\boxed{\Phi = \frac{q}{\varepsilon_0}}

The flux is still q/ε0q/\varepsilon_0. Gauss’s Law says the flux depends only on the enclosed charge, not its position inside the surface. Moving the charge off-centre makes EE non-uniform over the surface, but the total flux stays the same.

Why This Works

The R2R^2 in the area formula and the R2R^2 in the denominator of Coulomb’s Law cancel each other — this is not a coincidence. The inverse-square nature of the electric force is precisely why Gauss’s Law holds. If Coulomb’s Law had any other power law, this cancellation wouldn’t happen.

Think of it this way: the charge shoots out a fixed number of “field lines.” No matter how large or small we make the sphere, all those lines must pass through it. A bigger sphere has weaker EE but more area — they balance exactly.

This is also why the shape of the surface doesn’t matter. Any closed surface enclosing charge qq gives Φ=q/ε0\Phi = q/\varepsilon_0. The sphere is just the easiest shape to calculate with.

Alternative Method

We can state Gauss’s Law directly without going through Coulomb’s Law derivation:

EdA=qencε0\oint \vec{E} \cdot d\vec{A} = \frac{q_{\text{enc}}}{\varepsilon_0}

Here qenc=qq_{\text{enc}} = q (the only charge inside), so Φ=q/ε0\Phi = q/\varepsilon_0 immediately. This is the approach to use in JEE when the question just says “find flux through a closed surface enclosing charge qq” — write the law, substitute, done in two lines.

In JEE Main, several questions give an irregular closed surface (a cube, a cone, a random blob) with a charge inside and ask for flux. The answer is always q/ε0q/\varepsilon_0 regardless of shape. Never try to integrate — just apply Gauss’s Law directly.

Common Mistake

Students often write Φ=E×4πR2\Phi = E \times 4\pi R^2 and then substitute E=kq/R2E = kq/R^2, getting the right answer — but then panic when asked the same question with a cube of side 2R2R instead of a sphere. They try to find EE on the cube’s surface (which is non-uniform and has no clean formula). The correct move: Gauss’s Law gives Φ=q/ε0\Phi = q/\varepsilon_0 for any closed surface. The shape and size are irrelevant. This exact trap appeared in JEE Main 2024 Shift 1, where a hemispherical surface with charge at the flat face’s centre confused students who forgot the law applies to closed surfaces only — a hemisphere is open.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next