Skip to content
GATEiit

GATE EE · Electromagnetic Fields

Gauss's Law

Integral and point forms of Gauss's Law in electrostatics, selection of symmetric Gaussian surfaces, and field profiles across spherical, cylindrical, and planar charges.

Before you start

This topic comes before: Capacitance of simple configurations, Divergence, Effect of dielectric medium, Electric field and potential due to point, line, plane and spherical charge distributions

Concept notes

1. Integral Statement and Outward Flux Conservation

Gauss's law states that the total outward electric flux Ψ leaving any arbitrary closed surface S equals the net free electric charge Qenc enclosed inside the volume V bounded by S:

Ψ=∮SD⋅dS=Qenc=∫Vρv dv

  • External charges contribute zero net flux: Any flux tube entering S from an outside charge exits S on the opposite side, summing to zero.
  • Universal validity vs utility: While Gauss's law holds for every closed surface regardless of shape, solving for D requires selecting a Gaussian surface where ∣D∣ stays uniform and either parallel or perpendicular to dS on every piece.
+Qenc+Qoutclosed surface SΨ = ∮S D·dS = Qencflux from Qout enters andleaves S: net contribution 0
Net outward flux through any closed surface equals the enclosed charge; flux from an outside charge enters and leaves, adding zero.

2. Three High-Symmetry Gaussian Surfaces

Source Symmetry Gaussian Surface Choice Enclosed Charge Result (Dn)
Spherical (r dependence) Concentric sphere of radius r 4πr2Dr=Qenc(r)
Coaxial / Infinite Line (ρ) Coaxial cylinder (ρ, length L) 2πρLDρ=Qenc(ρ)
Infinite Sheet (z) Pillbox cylinder piercing sheet 2ADz=ρSA

For a uniform charged solid sphere of radius a and total charge Q (ρv=3Q4πa3), internal field rises linearly (Er=Qr4πε0a3 for r≤a) before decaying as 1/r2 outside (r≥a).

3. Differential Form and Conductor Interior Screening

Applying the divergence theorem converts the surface integral into Maxwell's first equation at a point:

∇⋅D=ρv

Inside an electrostatic conductor in equilibrium, free charges move until E=0 and D=0 everywhere inside the bulk. Drawing a Gaussian surface just beneath the conductor's surface forces Qenc=0, proving excess free charge resides on the outer surface (ρS=Dn).

Formulas to remember

Gauss's Law (Integral)Uses enclosed free charge Q_enc regardless of closed surface shape
∮SD⋅dS=Qenc
Gauss's Law (Point Form)Maxwell's first equation for electrostatics
∇⋅D=ρv
Solid Uniform Sphere (Inside)Field rises linearly from zero at center to peak at surface r = a
Er=ρvr3ε0=Qr4πε0a3(r≤a)
Conducting Shell ExteriorIdentical to point charge at origin when spherically symmetric
Er=Qtotal4πε0r2(r>b)
Conductor Surface FluxHolds just outside any conductor in electrostatic equilibrium
Dn=ε0En=ρS

Common mistakes

  • Confusing ∮D⋅dS=Qfree with ∮E⋅dS=Qtotal/ε0 across dielectric boundaries.
  • Putting an exterior off-center charge into Qenc just because it lies close to the surface wall.
  • Forgetting both end-caps of an infinite-sheet pillbox (2ADz=ρSA, not ADz when flux leaves both sides).
  • Forgetting that a closed surface passing through the middle of a thick conducting shell must enclose zero total net charge (Qinner wall=−Qcavity).
  • Using E=Q/(4πε0r2) inside a non-conducting solid volume charge where (r/a)3Q is enclosed.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Flux Through an Arbitrary Polyhedron

numerical

Charges +3 nC, −7 nC, and +10 nC sit inside a closed irregular polyhedron while +50 nC sits just outside. Find total outward electric flux Ψ leaving the polyhedron.

  1. Step 1: Identify enclosed vs external charges

    Try it on paper first.

Example 2: Radial Volume Charge Inside a Sphere

numerical

A sphere of radius a has volume charge density ρv(r)=kr for 0≤r≤a and zero outside. Find Dr(r) for r≤a.

  1. Step 1: Integrate charge inside Gaussian sphere of radius r

    Try it on paper first.

Example 3: Coaxial Cylindrical Charge Shells

numerical

Two long concentric cylinders of radii a=2 cm and b=5 cm carry surface charges ρSa=10 nC/m2 and ρSb=−4 nC/m2. Find Dρ at ρ=6 cm.

  1. Step 1: Compute charge per unit length enclosed within rho = 6 cm

    Try it on paper first.

Example 4: Electric Field of an Infinite Charged Slab

conceptual

A thick flat slab −d/2≤z≤d/2 holds uniform volume density ρ0. How does Ez(z) behave inside and outside?

  1. Step 1: Use symmetry across midplane z = 0

    Try it on paper first.

Previous year questions

No official GATE EE question is tagged with this topic yet. The topic test below uses practice questions.

Topic test

8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE EE syllabus; being checked by a reviewer. Updated 2026-12-04. Spotted a mistake? Use Report an issue on any question, or contact us.