Fundamentholfundamenthol

Gauss's Law

PhysicsElectrostaticsFor JEE aspirants

Gauss's law states that the total electric flux through any closed surface equals the net charge enclosed by the surface divided by : . This single law replaces long Coulomb-law integrations whenever the charge distribution has enough symmetry (spherical, cylindrical, or planar). For JEE and NEET, Gauss's law is the fastest route to the field of infinite lines, sheets, solid spheres, and spherical shells - key results that appear in almost every electrostatics problem.

Key Formulas - Quick Reference
  1. Electric flux: ; for uniform and flat area, .
  2. Gauss's law: .
  3. Field near an infinite line charge (linear density ): .
  4. Field near an infinite plane sheet (surface density ): .
  5. Field near a charged conducting surface: (just outside).
  6. Thin spherical shell (charge , radius ): outside; inside.
  7. Solid non-conducting sphere (uniform , radius ): outside; inside.

1. Electric Flux

The electric flux through an area element is the dot product . Physically, it measures how much of the field "pierces" the surface.

For a uniform field through a flat area :

where is the angle between and the outward normal to the surface.

For a non-uniform field or a curved surface, we integrate over the surface:

SI unit: (equivalent to V·m). Flux is a scalar.

Sign convention

The area vector points along the outward normal for a closed surface. Field lines leaving the surface give positive flux; lines entering give negative flux.

2. Gauss's Law (Statement and Meaning)

The total electric flux through any closed surface (called a Gaussian surface) equals the algebraic sum of the charges enclosed by the surface, divided by :
Electric flux through a closed surface enclosing a point charge Closed Gaussian surface enclosing a positive point charge; radial field lines emerge and produce a net outward flux equal to the enclosed charge divided by permittivity of free space. +q Electric flux through a closed surface Gauss law: ∮ E · dA = q_enclosed / ε₀ dA Only enclosed charge contributes to net flux.
Figure 1: Only charges enclosed by the Gaussian surface contribute to the net flux.

Key points about Gauss's law

  • The law is universal - it holds for any closed surface, of any shape, containing any charge distribution.
  • Only the enclosed charge appears on the right side. Charges outside the surface contribute zero net flux (their field lines enter and leave the surface an equal number of times).
  • The field on the left side is the total field due to all charges - inside and outside - even though only enclosed charges appear on the right.
  • Gauss's law is mathematically equivalent to Coulomb's law for static charges, but computationally faster when there is enough symmetry.
  • It is one of Maxwell's equations (the electrostatic one) and remains valid even for changing charge distributions.

When is Gauss's law useful for computing ?

Gauss's law gives directly only when the symmetry is high enough that has constant magnitude and a simple direction on some choice of Gaussian surface. Three classic symmetries:

  • Spherical symmetry (point charges, spheres, shells) - use a concentric spherical Gaussian surface.
  • Cylindrical / line symmetry (long straight wires, cylinders) - use a coaxial cylindrical Gaussian surface.
  • Planar symmetry (infinite sheets, slabs) - use a "pillbox" (short cylinder) crossing the sheet.

3. Applications of Gauss's Law

3.1 Infinite line of charge (linear density )

By symmetry, the field is radial and depends only on the perpendicular distance from the wire. Choose a cylindrical Gaussian surface of radius and length , coaxial with the wire.

Cylindrical Gaussian surface around a long line charge Uniformly charged infinite wire with linear charge density lambda enclosed by a coaxial Gaussian cylinder of radius r and length l used to derive the field via Gauss law. λ E r ℓ Cylindrical Gaussian surface around a line charge
Figure 2: Coaxial Gaussian cylinder used to derive the field of an infinite line charge.

Flux through the two flat end caps is zero because is parallel to the caps (). Flux through the curved surface:

Enclosed charge: . Applying Gauss's law:

Direction: radially outward for .

3.2 Infinite plane sheet of charge (surface density )

By symmetry, the field is uniform and perpendicular to the sheet on both sides. Choose a pillbox (cylinder) of cross-sectional area crossing the sheet.

Flux through the two flat faces (both point away from the sheet): . Flux through the curved side: zero (field is parallel to it).

Enclosed charge: .

The field is independent of the distance from the sheet.

3.3 Thin uniformly charged spherical shell (radius , charge )

By spherical symmetry, is radial and depends only on . Choose a concentric Gaussian sphere of radius .

Outside (): the sphere encloses all charge .

Inside (): no charge enclosed.

3.4 Solid non-conducting sphere with uniform volume density (radius , total charge )

Gaussian spheres for outside and inside points of a solid charged sphere Uniformly charged solid sphere of radius R showing two concentric Gaussian spheres; outer sphere encloses total charge Q, inner sphere encloses only q prime for computing the field inside. Q (radius R) A B r > R r < R Gaussian spheres for outside (A) and inside (B) points Outer sphere encloses full Q; inner encloses only q′ (part of Q).
Figure 3: Choice of Gaussian surface for outside point A and inside point B of a solid charged sphere.

Outside (): as in the shell case, all of is enclosed:

Inside (): the enclosed charge is only the portion inside the Gaussian sphere:

Applying Gauss's law:

The field grows linearly with inside, then falls as outside:

Electric field vs distance for a uniformly charged solid sphere Graph of electric field magnitude E versus radial distance r for a uniformly charged non-conducting solid sphere of radius R; field rises linearly inside and falls as inverse square outside. r E R E_max E ∝ r E ∝ 1/r² Field vs distance for a uniformly charged solid sphere
Figure 4: Field magnitude peaks at the surface (r = R) then falls as 1/r squared.

3.5 Field just outside a charged conductor

Take a small pillbox with one face inside the conductor (where ) and one face just outside, of area . Flux: (outer face only). Enclosed charge: .

Note the factor of (not ) - the field emerges only on one side because inside the conductor it vanishes.

Solved Example 1
Using Gauss's law, find the electric field at a perpendicular distance from a uniformly charged infinite straight wire of linear charge density .
Solution:

From symmetry, due to a uniform linear charge can only be directed radially (perpendicular to the wire) and its magnitude can only depend on . As a Gaussian surface, choose a circular cylinder of radius and length , coaxial with the wire, closed at the two ends by plane caps normal to the axis.

Applying Gauss's law:

Splitting the closed integral into the curved cylindrical part and the two plane end caps:

The plane end caps contribute zero flux because is parallel to their surfaces (perpendicular to the normal). Solving:

The direction of is radially outward for a line of positive charge.

Solved Example 2
A spherically symmetric distribution of total charge is spread uniformly through a solid sphere of radius . Find the electric field at point A outside the distribution () and at point B inside the distribution ().
Solution:

Point A (): Apply Gauss's law to a spherical Gaussian surface of radius centred on the sphere. By spherical symmetry, is radial with magnitude constant on this surface.

Outside the distribution, the sphere behaves as though all its charge were concentrated at its centre.

Point B (): Apply Gauss's law to a spherical Gaussian surface of radius . The enclosed charge is

because the volume charge density is uniform. Then:

The field grows linearly with inside and reaches its maximum at the surface.

Common Mistakes to Avoid

Watch out
  • Confusing "enclosed" with "all": the right side of Gauss's law uses only the charge inside the Gaussian surface. Charges outside contribute nothing to the total flux, even though they contribute to on the surface.
  • vs : at a charged conducting surface, ; on either side of an infinite non-conducting sheet, . Remember which one - use it wrongly and you are off by a factor of 2.
  • Using Gauss's law without symmetry: the flux integral always equals , but you can only solve for if the symmetry lets you pull out of the integral. For irregular shapes, use direct Coulomb integration.
  • Sign of the area vector: for a closed surface, points outward. Flip this and every sign in your calculation flips.
  • Ignoring the flux through end caps: for cylindrical or planar problems, always check whether is parallel or perpendicular to each face. It is easy to double-count or miss a face.
  • Using surface area of the wrong surface: the sphere at radius has area , the cylinder of radius and length has curved area . Mixing these up is a common source of factor-of-2 errors.

Frequently Asked Questions

Q1. Is Gauss's law more fundamental than Coulomb's law?

For static charges the two are mathematically equivalent - each can be derived from the other. But Gauss's law generalizes to time-varying fields as one of Maxwell's equations, whereas Coulomb's law does not. In that sense Gauss's law is considered more fundamental in modern electromagnetism.

Q2. Can Gauss's law be applied to any closed surface?

Yes - Gauss's law holds for every closed surface. But it only helps you find if the geometry has spherical, cylindrical, or planar symmetry so that has constant magnitude and simple direction on the chosen Gaussian surface.

Q3. Why is the electric field inside a conductor zero in electrostatic equilibrium?

If the field were non-zero anywhere inside, free electrons would experience a force and move - which contradicts "equilibrium". So the charges redistribute themselves on the surface until everywhere inside. Applying Gauss's law then shows any Gaussian surface entirely inside the conductor encloses zero net charge.

Q4. What is the difference between electric flux and electric field?

Electric field is a vector defined at every point in space. Electric flux is a scalar - the integral of over a surface. Flux tells you how much field "passes through" a surface; the field itself tells you what force a test charge would feel at a point.

Q5. If a charge is placed at the centre of a cube, what is the flux through one face?

By Gauss's law, the total flux through the cube is . By symmetry, this is shared equally among the six faces, so the flux through one face is .

Q6. Does the flux through a closed surface change if a charge is moved inside the surface?

No - only the total enclosed charge matters. Moving a charge from one point inside the surface to another point still inside does not change the total flux. But moving it across the surface (from inside to outside, or vice versa) does change the flux.

Q7. What is a Gaussian pillbox and when do we use it?

A Gaussian pillbox is a short, flat cylinder used for planar symmetry problems - typically to find the field near an infinite sheet of charge or at the surface of a conductor. Its two flat faces are placed parallel to the sheet, with the charged surface passing through the middle.

Q8. Is Gauss's law valid for a non-uniform charge distribution?

Yes - holds regardless of how the charge is distributed inside the surface. But solving for from it requires symmetry, which is usually only present for uniform distributions.

Previous year questions on Gauss's Law

17 questions from past papers, each with a step-by-step solution.

Show all 17 questions

Ready to master Electrostatics?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.