Electric Flux and Gauss's Law

On this page
  1. Direct answer
  2. What you must remember
  3. Choosing the surface is the whole solution
  4. Where the exam tries to catch you
  5. Frequently asked questions
  6. Related topics

Direct answer

Gauss's law states that the net electric flux through any closed surface equals the enclosed charge divided by epsilon_0, whatever the surface's shape. The law becomes a field-finding tool when symmetry makes E constant over a chosen surface, as for an infinite sheet with E = sigma/(2 epsilon_0). Inside a conductor in electrostatics the field is always zero.

What you must remember

  • Flux definition: phi = integral of E·dA; for a flat surface in a uniform field phi = EA cos(theta), and flux can be negative.
  • Gauss's law statement: phi(closed) = q(enclosed)/epsilon_0; charges outside contribute zero net flux, and an enclosed dipole gives zero because its net charge is zero.
  • Infinite sheet: E = sigma/(2 epsilon_0), independent of distance; two oppositely charged sheets give sigma/epsilon_0 between them and zero outside, the capacitor result.
  • Line charge: E = lambda/(2 pi epsilon_0 r), with a coaxial cylinder as the Gaussian surface of choice.
  • Spheres: for a conductor or shell E outside = kq/r^2 and E inside = 0; for a uniform volume charge E = rho r/(3 epsilon_0) inside, matching kq/r^2 at the surface.
  • Cavity result: a charge q inside a cavity induces −q on the cavity wall and +q on the outer surface; an empty cavity has zero field.
  • Flux is not field: zero net flux means zero enclosed charge, not zero field everywhere on the surface.

Choosing the surface is the whole solution

For a uniformly charged solid sphere of charge Q and radius R, symmetry should decide the surface before any integral is written. The steps below find the field inside the sphere.

  1. Fix the symmetry. E must be radial and constant in magnitude at fixed r, so the integral reduces to E times area.
  2. Choose a concentric sphere. Take a Gaussian sphere of radius r smaller than R, since it encloses only part of the charge.
  3. Find the enclosed charge. The enclosed charge is Q r^3/R^3, the volume fraction of Q inside r.
  4. Apply Gauss's law. E times 4 pi r^2 equals the enclosed charge over epsilon_0, so E = Q r/(4 pi epsilon_0 R^3) = rho r/(3 epsilon_0).
  5. Repeat outside. A sphere with r greater than R encloses all of Q and reproduces the point-charge field kQ/r^2.
  6. Read the graph. E rises in a straight line from zero at the centre to a peak at r = R, then falls as 1/r^2.

The cavity problem shows the law's surgical power. Place charge +q inside an empty cavity of a neutral conductor. The inner wall must carry −q, because a Gaussian surface within the metal encloses zero net charge, so +q appears on the outer surface.

Where the exam tries to catch you

The law is always true, so most errors come from using it where its symmetry argument fails.

  • Trap: using Gauss's law on an unsymmetric surface to read off the field Correct: the law yields the field only when E is constant over the surface by symmetry; a cube around a point charge satisfies the law yet gives no field directly.
  • Trap: thinking a charge shifted inside a shell changes the total flux Correct: the total flux stays q/epsilon_0, and only the local distribution of flux over the outer surface changes.
  • Trap: reading zero net flux as zero field Correct: a dipole enclosed in a sphere gives zero net flux while the field on that surface is nonzero.
  • Trap: applying the sheet formula to a finite plate Correct: sigma/(2 epsilon_0) belongs to an infinite sheet, so it fails near a finite plate's edges and overstates the field for a small disc.

Frequently asked questions

What does Gauss's law physically state?

The net electric flux through any closed surface equals the enclosed charge divided by epsilon_0. The geometry of the surface and any charges outside it do not change that total.

When is Gauss's law useful for finding an electric field?

Gauss's law gives the field only when symmetry, spherical, cylindrical or planar, makes E constant and parallel to the area element over the chosen Gaussian surface. The integral then reduces to E times area.

What is the electric field inside a uniformly charged solid sphere?

Inside a uniformly charged solid sphere E = rho r/(3 epsilon_0), rising linearly from zero at the centre to rho R/(3 epsilon_0) at the surface. Outside the sphere the field falls off as 1/r^2.

Why is the electric field zero inside a conductor?

Free charges in a conductor rearrange until the internal field cancels. Any Gaussian surface lying wholly in the metal therefore encloses zero net charge, and electrostatic shielding follows.

What happens to the flux when a charge inside a cavity is shifted within the cavity?

The total flux through an outer enclosing surface stays q/epsilon_0. The induced charge pattern on the cavity wall changes, and so does the local flux pattern on the outer surface.

Same topic for other exams

Practise this in the PrepElephant app

Question banks, previous-year questions, mock tests and revision tools — for Electric Flux and Gauss's Law and JEE Physics. Free to start.

Get the free app WhatsApp