Home › Physics › Mechanics › Applications of Gauss's Theorem in Electrostatics and Gravitation
Mechanics

Applications of Gauss's Theorem in Electrostatics and Gravitation

Gauss's theorem relates the surface integral of a vector field over a closed surface to the source enclosed within that surface. It simplifies the evaluation of electric and gravitational fields for highly symmetrical distributions.

UP TGT ScienceUP PGT PhysicsStudy Notes + Practice

Scope and prerequisites

TGT core

Direct application of Gauss's law for symmetric charge distributions (infinite line charge, infinite plane sheet, spherical shell), finding electric field and potential.

PGT extension

Differential form of Gauss's law (divergence theorem application), gravitational field and potential analogues, Poisson's and Laplace's equations, and non-uniform volume distributions.

Prerequisites

  • Vector calculus (divergence, gradient, surface integrals)
  • Concept of electric and gravitational flux
  • Inverse-square force laws

Statement of Gauss's Law in Electrostatics

  • The total electric flux through any closed Gaussian surface is equal to 1/ε0 times the net charge enclosed by the surface.
  • Only the charges enclosed within the Gaussian surface contribute to the net flux on the left-hand side, whereas the electric field E is due to all charges both inside and outside.
  • The Gaussian surface must be a closed, continuous surface chosen to exploit the symmetry of the charge distribution.

Gravitational Analogue of Gauss's Law

  • In gravitation, the flux of the gravitational field intensity g through a closed surface is equal to -4πG times the total mass enclosed.
  • The negative sign arises due to the attractive nature of gravitational forces compared to repulsive/attractive electrostatic forces between like/unlike charges.
  • Expressed mathematically as ∮ g · d$A = -4\piGM_{enclosed}$.

Differential Form of Gauss's Law

  • Relates the local behavior of a vector field to its source density at any point in space using the divergence operator.
  • For electrostatics, ∇ · $E = \rho/\epsilon_{0}$, where ρ is the volume charge density.
  • For gravitation, ∇ · $g = -4\piG\rho_{m}$, where ρm is the mass density.

Symmetry Conditions for Application

  • Spherical symmetry allows the choice of a concentric spherical Gaussian surface where E is constant in magnitude and normal to the surface.
  • Cylindrical symmetry permits a coaxial cylindrical Gaussian surface for line charges or long cylinders.
  • Planar symmetry uses a pillbox Gaussian surface intersecting a sheet of charge perpendicularly.

Derivations

Electric Field due to an Infinite Uniformly Charged Line

Conditions: Infinite length, uniform linear charge density λ, cylindrical symmetry

  • Choose a coaxial cylindrical Gaussian surface of radius r and length l.
  • Evaluate the electric flux through the surface: flux through flat end faces is zero because E is perpendicular to dA; flux through the curved surface is E(2πrl).
  • Equate the total flux to the enclosed charge divided by ε0: E(2πrl) = (λl)/ε0.

Result: $E = \frac{\lambda}{2\pi\varepsilon_0 r}$

Electric Field due to a Uniformly Charged Thin Spherical Shell

Conditions: Radius R, total charge Q, spherical symmetry

  • For a point outside the shell (r > R), choose a spherical Gaussian surface of radius r. Flu$x = E(4\pir^{2}) = Q/\epsilon_{0}$.
  • For a point inside the shell (r < R), the enclosed charge is zero because charge resides entirely on the surface.
  • Equate flux for internal point: E(4πr2) = 0, giving zero internal electric field.

Result: $E_{out} = \frac{1}{4\pi\varepsilon_0}\frac{Q}{r^2} \text{}$ and } $E_{in} = 0$

Formula sheet

Formula / lawEquationVariables and unitsConditions
Integral Form of Gauss's Law (Electrostatics)$$\oint \mathbf{E} \cdot d\mathbf{A} = \frac{Q_{enclosed}}{\varepsilon_0}$$E = Electric field, dA = Area vector element, $Q_enclosed = Total charge inside$, ε_0 = Permittivity of free space
N m2 C-1
Applicable to any closed surface in a vacuum or dielectric medium
Differential Form of Gauss's Law$$\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$$∇ · E = Divergence of electric field, $\rho = Volume charge density$
C m-3 (for divergence: V m-2)
Valid at every point where E is differentiable
Gauss's Law for Gravitation (Integral Form)$$\oint \mathbf{g} \cdot d\mathbf{A} = -4\pi G M_{enclosed}$$g = Gravitational field intensity, $M_enclosed = Mass enclosed$, G = Universal gravitational constant
m3 kg-1 s-2
Valid for any closed surface in a gravitational field
Electric Field of Infinite Plane Sheet of Charge$$E = \frac{\sigma}{2\varepsilon_0}$$$\sigma = Surface charge density$, ε_0 = Permittivity of free space
V m-1 or N C-1
Infinite extent, uniform surface charge density
Electric Field Inside Solid Uniformly Charged Sphere$$E = \frac{\rho r}{3\varepsilon_0} = \frac{Qr}{4\pi\varepsilon_0 R^3}$$$\rho = Volume charge density$, r = Distance from center (r < R), R = Radius of sphere
V m-1
Uniform volume charge distribution inside non-conducting sphere
Poisson's Equation$$\nabla^2 V = -\frac{\rho}{\varepsilon_0}$$V = Electric potential, ∇2 = Laplacian operator, $\rho = Charge density$
V m-2
Relates scalar potential to charge distribution
Laplace's Equation$$\nabla^2 V = 0$$V = Electric potential
V m-2
Valid in charge-free regions ($\rho = 0)$
Gravitational Field Inside Uniform Solid Sphere$$g = -\frac{G M r}{R^3}$$M = Total mass, R = Radius of sphere, r = Radial distance (r < R)
m s-2
Uniform density mass distribution

Graphs and experiments

Electric Field vs Distance for a Charged Conducting Sphere

Draw: A graph with E on the y-axis and r on the x-axis. E is zero from r = 0 to r = R, jumps discontinuously at r = R, and falls off as 1/r2 for r > R.

Interpret: Discontinuity at the boundary $r = R equals \sigma/\epsilon_{0}$, representing the surface charge layer.

Exam use: Frequently asked in MCQ format to identify correct field profiles for conductors vs non-conductors.

Electric Field vs Distance for a Solid Non-Conducting Sphere

Draw: E increases linearly from r = 0 to $r = R (E \propto r)$, reaching a maximum at r = R, then decreases non-linearly (E ∝ 1/r2) for r > R.

Interpret: Illustrates how internal enclosed charge grows proportionally with volume (r3), while the 1/r2 geometric factor causes the field to drop outside.

Exam use: Tested via conceptual matching questions on volumetric scaling.

Cavendish Torsion Balance Experiment

Draw: Schematic setup of two small spheres attached to a light rod suspended by a torsion fiber, influenced by two large lead spheres.

Interpret: Measures the weak gravitational force between laboratory masses, confirming the inverse-square law underpinning gravitational Gauss's law.

Exam use: Asked in descriptive or historical context relating to the determination of G and Earth's mass.

Solved numericals

TGT core

A point charge q is placed at the center of a cube of side a. What is the electric flux passing through one face of the cube?

  • Total electric flux through all 6 faces of the cube according to Gauss's law is Φtotal = q / ε0.
  • Due to the symmetrical placement of the charge at the center, the flux is distributed equally across all 6 identical faces.
  • Flux through one fac$e = \Phi_{total} / 6$.

Answer: q / (6\varepsilon_0)

PGT extension

The electric field in a region is given by $E = 3x^2 i + 4j N/C$. Find the total charge enclosed within a cube defined by x = 0 to 2 m, y = 0 to 2 m, and z = 0 to 2 m.

  • Use the differential form of Gauss's law: ∇ · $E = \rho / \epsilon_{0}$, or Qenclosed = ε0 ∫ (∇ · E) dV.
  • Calculate divergence: ∇ · $E = \partial /\partial x (3x^{2}) + \partial /\partial y (4) + \partial /\partial z (0) = 6x$.
  • Integrate over the volume of the cube: Qenclosed = ε0 ∫02 ∫02 ∫02 (6x) dx dy dz.
  • Evaluate inner integral: ∫02 6x d$x = [3x^{2}]_{0}^{2} = 12$.
  • Multiply by y and z limits (each of length 2): Qenclosed = ε0 × 12 × 2 × $2 = 48\epsilon_{0}$.

Answer: 48\varepsilon_0 \text{ C (or } 4.25 \times 10^{-10} \text{ C)}

PGT extension

A solid non-conducting sphere of radius R has a non-uniform volume charge density given by $\rho = \rho_{0}(r/R)$, where r is the distance from the center. Find the electric field at a distance r (r < R).

  • Set up Gauss's law for a spherical Gaussian surface of radius r (r < R): ∮ E · d$A = E(4\pir^{2}) = Q_{enclosed} / \epsilon_{0}$.
  • Calculate enclosed charge by integrating volume charge density: Qenclosed = ∫0r ρ(r) (4πr2) d$r = \int _{0}^{r} (\rho_{0} r / R) (4\pir^{2}) dr$.
  • Qenclosed = (4πρ0 / R) ∫0r r3 d$r = (4\pi\rho_{0} r^{4}) / (4R) = \pi\rho_{0} r^{4} / R$.
  • Equate to flux: E(4πr2) = (πρ0 r4) / (ε0 R).
  • Solve for E: $E = \rho_{0} r^{2} / (4\epsilon_{0} R)$.

Answer: $E = \frac{\rho_0 r^2}{4\varepsilon_0 R}$

Assumptions and limitations

  • Gauss's law is universally valid for any inverse-square central force field, but it is only practically useful for calculating fields when high spatial symmetry (spherical, cylindrical, or planar) allows E to be factored out of the surface integral.

Common misconceptions

Common error: The electric field on a Gaussian surface is determined solely by the charges enclosed inside it.

Correct: The electric field at any point on the Gaussian surface is the vector sum of fields produced by all charges, both inside and outside the surface.

While outside charges integrate to zero net flux over a closed surface, they still contribute to the local value of the electric field vector at specific points on the surface.

Common error: A Gaussian surface must be a physical boundary made of a real material.

Correct: A Gaussian surface is purely mathematical and imaginary.

It can be chosen arbitrarily in empty space to match the symmetry of the physical problem.

Quick revision

  • Gauss's theorem connects total flux through a closed surface to the enclosed source divided by ε0 (or -4πG for gravity).
  • Integral Form of Gauss's Law (Electrostatics): \oint \mathbf{E} \cdot d\mathbf{A} = \frac{Q_{enclosed}}{\varepsilon_0}
  • Differential Form of Gauss's Law: \nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}

Must remember

  • The total electric flux through any closed Gaussian surface depends exclusively on the net charge enclosed, but the electric field at any point on the surface is due to all charges both inside and outside.
  • The differential form of Gauss's law in electrostatics is given by $\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$.
  • The gravitational analogue of Gauss's law is $\oint \mathbf{g} \cdot d\mathbf{A} = -4\pi G M_{enclosed}$, featuring a negative sign due to the attractive nature of gravity.
  • Inside a uniformly charged solid non-conducting sphere of radius $R$, the electric field varies linearly with distance: $E = \frac{\rho r}{3\varepsilon_0}$.
  • Laplace's equation $\nabla^2 V = 0$ applies in charge-free regions where $\rho = 0$, whereas Poisson's equation $\nabla^2 V = -\frac{\rho}{\varepsilon_0}$ applies in regions with charge.

Glossary

Gaussian SurfaceAn imaginary closed surface chosen to calculate the electric or gravitational flux using symmetry.
Electric FluxThe measure of flow of the electric field through a given surface area, denoted as $\oint \mathbf{E} \cdot d\mathbf{A}$.
Volume Charge Density ($\rho$)The amount of charge per unit volume, measured in $\text{C m}^{-3}$.
Poisson's EquationA partial differential equation relating the Laplacian of the electric potential to the volume charge density: $\nabla^2 V = -\frac{\rho}{\varepsilon_0}$.

Electrostatic vs Gravitational Gauss's Law

ParameterElectrostatic Gauss's LawGravitational Gauss's Law
Integral Form$\oint \mathbf{E} \cdot d\mathbf{A} = \frac{Q_{enclosed}}{\varepsilon_0}$$\oint \mathbf{g} \cdot d\mathbf{A} = -4\pi G M_{enclosed}$
Differential Form$\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$$\nabla \cdot \mathbf{g} = -4\pi G \rho_m$
Source TermPositive/Negative Charge ($Q$)Mass ($M$) - always positive
Sign ConventionPositive flux for net enclosed positive chargeNegative sign due to attractive force

Practice Quiz

Choose an option to reveal the explanation.

1. What is the total electric flux through a closed surface enclosing a dipole consisting of charges $+q$ and $-q$?

Explanation: By Gauss's law, the net flux is $\frac{Q_{enclosed}}{\varepsilon_0}$. Since a dipole has net charge $+q + (-q) = 0$, the total enclosed charge is zero, yielding a net flux of zero.

2. Which of the following fields contributes to the electric field $\mathbf{E}$ at a point on a Gaussian surface?

Explanation: Although only enclosed charges contribute to the net flux integral, the electric field vector $\mathbf{E}$ at any specific point on the surface is the vector sum of fields produced by all charges in the universe.

3. What is the differential form of Gauss's law for electrostatics?

Explanation: The differential form of Gauss's law relates the divergence of the electric field to the local volume charge density: $\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$.

4. Why does a negative sign appear in the gravitational analogue of Gauss's law, $\oint \mathbf{g} \cdot d\mathbf{A} = -4\pi G M_{enclosed}$?

Explanation: The negative sign reflects the attractive nature of gravitational force, pointing the field inward toward masses, whereas electric fields point outward from positive charges.

5. What is the electric field at a distance $r$ ($r < R$) inside a solid non-conducting sphere of radius $R$ and uniform volume charge density $\rho$?

Explanation: Applying Gauss's law with a spherical Gaussian surface of radius $r < R$: $E (4\pi r^2) = \frac{\frac{4}{3}\pi r^3 \rho}{\varepsilon_0}$, which simplifies to $E = \frac{\rho r}{3\varepsilon_0}$.

6. Poisson's equation for electric potential in a region containing charge is given by:

Explanation: Poisson's equation is $\nabla^2 V = -\frac{\rho}{\varepsilon_0}$, which relates the Laplacian of scalar potential $V$ to volume charge density $\rho$.

7. In a charge-free region ($\rho = 0$), Poisson's equation reduces to:

Explanation: When charge density $\rho = 0$, Poisson's equation simplifies to Laplace's equation: $\nabla^2 V = 0$.

8. What is the electric field due to an infinite plane sheet of charge with uniform surface charge density $\sigma$?

Explanation: Using a cylindrical pillbox Gaussian surface, the flux passes through the two flat end caps, yielding $2EA = \frac{\sigma A}{\varepsilon_0}$, so $E = \frac{\sigma}{2\varepsilon_0}$.

9. Which symmetry condition is appropriate for applying Gauss's law to an infinite line charge?

Explanation: An infinite line charge exhibits cylindrical symmetry, requiring a coaxial cylindrical Gaussian surface where the electric field is normal to the curved surface and constant in magnitude.

10. What is the gravitational field intensity inside a uniform solid sphere of mass $M$ and radius $R$ at a distance $r < R$ from its center?

Explanation: By applying the gravitational form of Gauss's law, $g(4\pi r^2) = -4\pi G \left(\frac{4}{3}\pi r^3 \frac{M}{\frac{4}{3}\pi R^3}\right)$, giving $g = -\frac{GMr}{R^3}$.

11. What is the SI unit of electric flux?

Explanation: Electric flux is $\mathbf{E} \cdot d\mathbf{A}$, which has units of electric field ($\text{N C}^{-1}$ or $\text{V m}^{-1}$) multiplied by area ($\text{m}^2$), resulting in $\text{N m}^2 \text{C}^{-1}$.

12. If a point charge $q$ is placed at the center of a cube of side length $a$, what is the electric flux through one face of the cube?

Explanation: The total flux through all 6 faces of the cube is $\frac{q}{\varepsilon_0}$ by Gauss's law. Due to symmetry, the flux through each identical face is $\frac{q}{6\varepsilon_0}$.

13. What happens to the electric field inside a hollow charged conducting spherical shell?

Explanation: Since there is no enclosed charge inside a hollow conducting shell ($Q_{enclosed} = 0$), Gauss's law dictates that the electric field inside is zero.

14. Which of the following statements about a Gaussian surface is correct?

Explanation: A Gaussian surface is entirely mathematical and imaginary, chosen freely to simplify surface integrals using symmetry.

15. What is the divergence of the gravitational field intensity $\mathbf{g}$ in a region with mass density $\rho_m$?

Explanation: The differential form of Gauss's law for gravitation is $\nabla \cdot \mathbf{g} = -4\pi G \rho_m$.

PYQ Patterns

These are pattern-based practice questions. Authentic year labels are only used when verified from a source.

1. A charge $q$ is placed just above the center of a horizontal square surface of side $L$. What is the total electric flux through the square surface?

Explanation: If the charge is placed infinitesimally close to the center of the square, the square can be visualized as one face of a closed cubical Gaussian surface surrounding the charge symmetrically. Thus, half the flux passes upward and half through the base square: $\frac{q}{2\varepsilon_0}$.

2. The electric potential in a region is given by $V(x) = ax^2 - bxy$. What is the $x$-component of the electric field?

Explanation: The electric field is related to potential by $E_x = -\frac{\partial V}{\partial x}$. Differentiating $V = ax^2 - bxy$ with respect to $x$ gives $\frac{\partial V}{\partial x} = 2ax - by$, hence $E_x = -2ax + by$.

3. A solid conducting sphere of radius $R$ carries a total charge $Q$. What is the electrostatic potential energy density at a distance $r > R$ from the center?

Explanation: The electrostatic energy density stored in an electric field $E$ is universally given by $u = \frac{1}{2} \varepsilon_0 E^2$.

4. If the electric field in a region is given by $\mathbf{E} = 3x^2 \hat{i} + 4y \hat{j}$, what is the volume charge density at point $(1, 2)$?

Explanation: Using the differential form $\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$, we calculate divergence: $\nabla \cdot \mathbf{E} = \frac{\partial}{\partial x}(3x^2) + \frac{\partial}{\partial y}(4y) = 6x + 4$. At $(1,2)$, divergence is $6(1) + 4 = 10$? Wait, let's recheck: $6(1)+4=10$. Therefore $\rho = 10\varepsilon_0$. Let's adjust options or explanation. Ah, if divergence is $6x+4$, at $x=1$ it is $6(1)+0=6$. Wait, $\frac{\partial}{\partial x}(3x^2) = 6x$ and $\frac{\partial}{\partial y}(4y)=4$. Sum is $6x+4$. At $x=1$, it is $6(1)+4 = 10$. Let's make options match $10\varepsilon_0$.

5. What is the electric field intensity at a point outside a uniformly charged spherical shell of radius $R$ and total charge $Q$ at distance $r$ ($r > R$)?

Explanation: Outside a spherical shell, the entire charge behaves as if concentrated at the center, yielding $E = \frac{Q}{4\pi \varepsilon_0 r^2}$ by Gauss's law.

6. Which differential equation governs the electrostatic potential in a source-free charge region?

Explanation: In charge-free regions ($\rho = 0$), Poisson's equation ($\nabla^2 V = -\frac{\rho}{\varepsilon_0}$) reduces to Laplace's equation ($\nabla^2 V = 0$).

Timed Topic Test

Attempt these questions under a ten-minute limit using a separate timer.

1. Calculate the net electric flux through a spherical surface of radius $R$ enclosing a point charge $q$ located at its center.

Explanation: According to Gauss's law, total electric flux through any closed surface enclosing a net charge $q$ is equal to $\frac{q}{\varepsilon_0}$, independent of the surface's radius.

2. What is the electric field inside a solid conducting sphere carrying a net static charge $Q$?

Explanation: In electrostatic equilibrium, the electric field inside any solid conductor is always zero because any excess charge resides entirely on its outer surface.

3. The divergence of the electric field vector in a vacuum containing no charges is:

Explanation: In a vacuum with no charges ($\rho = 0$), Gauss's law in differential form ($\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$) dictates that the divergence of $\mathbf{E}$ is zero.

4. If a charge $q$ is enclosed by a surface of arbitrary irregular shape, the total electric flux depends on:

Explanation: Gauss's law states that total flux depends solely on the net enclosed charge and is independent of the size, shape, or position of charges within the closed surface.

5. What is the magnitude of the gravitational field at the center of a uniform solid sphere of mass $M$ and radius $R$?

Explanation: Inside a solid sphere, $g = -\frac{GMr}{R^3}$. At the center ($r = 0$), the gravitational field intensity is zero due to symmetrical cancellation from all directions.

6. Which of the following physical quantities is continuous across a charged boundary layer with surface charge density $\sigma$?

Explanation: Both the tangential component of the electric field and the scalar potential $V$ are continuous across any charged boundary, whereas the normal component of $\mathbf{E}$ is discontinuous by $\frac{\sigma}{\varepsilon_0}$.

7. What is the electric field at distance $r$ from an infinite line charge with linear charge density $\lambda$?

Explanation: Using a cylindrical Gaussian surface of radius $r$ and length $l$, the flux through the curved surface gives $E(2\pi r l) = \frac{\lambda l}{\varepsilon_0}$, leading to $E = \frac{\lambda}{2\pi \varepsilon_0 r}$.

8. What is the Laplacian of the electric potential in a region where volume charge density is $\rho$?

Explanation: Poisson's equation defines the Laplacian of potential as $\nabla^2 V = -\frac{\rho}{\varepsilon_0}$.

9. If the electric flux entering and leaving a closed surface are $\Phi_1$ and $\Phi_2$ respectively, the net charge enclosed is:

Explanation: Net flux is $\Phi_{net} = \Phi_2 - \Phi_1$. By Gauss's law, $Q_{enclosed} = \varepsilon_0 \Phi_{net} = (\Phi_2 - \Phi_1)\varepsilon_0$.

10. Why is Gauss's law generally less convenient than Coulomb's law for calculating electric fields of discrete, asymmetric point charges?

Explanation: Gauss's law holds universally, but without high spatial symmetry (like spherical, cylindrical, or planar), the surface integral cannot be easily factored to solve for $\mathbf{E}$.