Q.Consider a sphere of radius R with charge density distributed as ρ(r)=kr for r≤R and ρ(r)=0 for r>R.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Gauss Law
Gauss's Law is a shortcut. Instead of adding up the Coulomb contribution of every charge — a nightmare of vectors and integrals — it lets you read the field straight off the symmetry of a problem. The whole idea rests on one quantity: electric flux.
Flux — field-lines counted through a surface. For a uniform field E crossing a flat area A, the flux is Φ = E·A = EA cosθ, where θ is the angle between the field and the normal to the surface. Picture the field as a bundle of lines; flux is how many pierce the surface. When E is edge-on (θ = 90°) nothing passes through and Φ = 0; when E is ⊥ to the surface (θ = 0) the count is maximal. For a closed surface, Φ is the net number of lines leaving it — lines that enter and exit cancel.
The law itself. Gauss's law states that the net flux out of any closed surface depends only on the charge trapped inside:
Φ = q_enclosed / ε₀.
Two consequences do most of the work. First, only enclosed charge counts — a charge outside sends as many lines in as out, so its net contribution is exactly zero. Second, the surface's shape is irrelevant; move the charge around inside or deform the surface, and Φ never changes.
Why symmetry makes it powerful. By itself Φ = q/ε₀ has E buried in an integral. It becomes a tool only when you pick a Gaussian surface matched to the symmetry — one where E is constant and everywhere either ⊥ to the surface (so Φ = EA) or ∥ to it (contributing nothing). Then E slides out and you solve in one line. This works for exactly three geometries:
1 — Infinite line charge (linear density λ). Use a coaxial cylinder: E = λ / 2πε₀r, falling off as ∝ 1/r.
2 — Infinite sheet (surface density σ). Use a pillbox pierced through the sheet: E = σ / 2ε₀ — uniform and completely independent of distance. The field near a large charged plane simply doesn't weaken as you step back. …
Why this formula?
Gauss's Law: Why It Holds
Gauss's Law is one of the four Maxwell's equations and a cornerstone of electromagnetism. Let's build the understanding from the ground up — not just the formula, but the why.
1. The Core Idea: Flux as "Flow" of Field
Imagine an electric field E passing through a small patch of area dA. The electric flux through that patch is:
dΦE=E⋅dA=EdAcosθ
where θ is the angle between E and the outward normal to the surface.
Why this definition?
- If E is perpendicular to the surface (θ=0), maximum field "flows through".
- If E is parallel (θ=90∘), no flux — the field just slides along the surface.
Total flux through a closed surface S is:
ΦE=∮SE⋅dA
2. The Key Insight: Flux Depends Only on Enclosed Charge
Consider a single point charge +q at the centre of a spherical surface of radius r.
- By Coulomb's law, at every point on the sphere: E=4πε01r2q, radially outward.
- The area vector dA is also radially outward.
- So E⋅dA=EdA everywhere.
The total flux:
ΦE=∮EdA=E∮dA=(4πε01r2q)(4πr2)=ε0q
Notice: The r2 cancels! The flux is independent of the radius.
3. Why Shape Doesn't Matter
Now, what if the surface is not spherical but any closed shape enclosing the charge?
- Draw a small cone from the charge to the surface.
- The flux through a patch dA at distance r is dΦ=4πε01r2qcosθdA.
- But r2cosθdA is exactly the solid angle dΩ subtended by dA at the charge.
So dΦ=4πε0qdΩ.
Integrating over the entire closed surface: ∮dΩ=4π (total solid angle around a point).
Hence:
ΦE=4πε0q⋅4π=ε0q
Result: For any closed surface enclosing q, the flux is ε0q.
4. Multiple Charges: Superposition
If there are many charges q1,q2,…,qn inside the surface, the total electric field is the vector sum of individual fields:
E=E1+E2+⋯+En
Flux is linear: …
- Field from Gauss's law. For a Gaussian sphere of radius r≤R, the enclosed charge is
So E(4πr2)=ε0πkr4, giving
q(r)=∫0r(kr′)4πr′2dr′=4πk∫0rr′3dr′=πkr4.
For r>R the whole charge Q=πkR4 is enclosed, soE=4ε0kr2(r≤R), radially outward.
E=4ε0r2kR4(r>R).
- Where the protons go. With total charge magnitude 2e, the charge inside radius r is q(r)=2e(r/R)4. Place the two protons symmetrically on opposite sides of the centre, each at radius r0 (separation 2r0). The sphere's field pulls each proton inward while the other proton pushes it outward; equating magnitudes, …
Gauss's law gives E=4ε0kr2 inside the sphere and E=4ε0r2kR4 outside; the two protons must sit on opposite sides of the centre, each at r0=R/23/4=R/81/4, where the sphere's inward pull balances the outward proton–proton repulsion.
(a) Electric field everywhere
The distribution is spherically symmetric, so E is radial and depends only on r. Choose a concentric spherical Gaussian surface.
Inside (r≤R). The charge enclosed is the volume integral of ρ=kr:
q(r)=∫0r(kr′)(4πr′2)dr′=4πk∫0rr′3dr′=4πk⋅4r4=πkr4.
Gauss's law E(4πr2)=q(r)/ε0 gives
E=4ε0kr2(r≤R),
directed radially outward for k>0. The field grows as r2 (not linearly) because the density itself increases with r.
Outside (r>R). The full charge Q=πkR4 is enclosed, and the sphere acts like a point charge:
E=4πε0r2Q=4ε0r2kR4(r>R).
(b) Position of the two protons
Take the total charge magnitude as Q=2e, so the charge within radius r is
q(r)=QR4r4=2eR4r4.
By symmetry the two protons must lie on a diameter, one on each side of the centre at the same radius r0, a distance 2r0 apart. Each proton feels two radial forces: …
Method: Gauss's Law with Spherical Symmetry
Concept: For spherically symmetric charge distributions, the electric field is radial and depends only on the enclosed charge. Gauss's Law states:
∮E⋅dA=ε0Qenc
For a spherical Gaussian surface of radius r, this simplifies to:
E(r)⋅4πr2=ε0Qenc(r)
(a) Finding the electric field everywhere
Step 1: Find total charge Qenc(r) inside radius r
For r≤R:
Qenc(r)=∫0rρ(r′)⋅4πr′2dr′=∫0r(kr′)⋅4πr′2dr′=4πk∫0rr′3dr′
Qenc(r)=4πk⋅4r4=πkr4
For r>R:
Qenc=πkR4(total charge of the sphere)
Step 2: Apply Gauss's Law
For r≤R:
E(r)⋅4πr2=ε0πkr4
E(r)=4ε0kr2(radially outward if k>0)
For r>R:
E(r)⋅4πr2=ε0πkR4
E(r)=4ε0r2kR4(same as point charge at origin)
(b) Position for zero force on embedded protons
Step 1: Relate k to total charge
Given total charge Q=2e (positive, since protons are positive and the sphere is negative).
The problem states total charge is 2e and protons are embedded. For force on each proton to be zero, the net electric field at that point must be zero.
Since the sphere has negative charge distribution and total charge is 2e (positive), the sphere must have net positive charge. The protons experience repulsion from the sphere's positive charge.
Step 2: Condition for zero force
For a proton at radius r, the electric field inside the sphere is:
E(r)=4ε0kr2
But k is related to total charge:
Q=πkR4=2e⇒k=πR42e
So inside:
E(r)=4πR4ε02er2=2πR4ε0er2
Step 3: Where can field be zero?
Inside the sphere, E(r)>0 for r>0. Outside, E(r)>0 for all r. The only point where E=0 is at r=0 (the centre). …
Great — this is a classic JEE/NEET problem on non-uniform charge distributions and Gauss’s law. Let’s go through the common mistakes systematically.
🔍 Common Mistake #1: Forgetting that ρ is not constant
Students often treat ρ=kr as if it were uniform and write:
Qenc=ρ⋅34πr3
This is wrong because ρ depends on r.
✓ How to avoid:
Always use the integral form for enclosed charge when ρ is not constant:
Qenc=∫0rρ(r′)⋅4πr′2dr′
For ρ(r)=kr:
Qenc=∫0r(kr′)(4πr′2)dr′=4πk∫0rr′3dr′=4πk⋅4r4=πkr4
🔍 Common Mistake #2: Using the wrong Gaussian surface for r>R
Some students apply Gauss’s law with a sphere of radius r>R but forget that outside the sphere, the charge enclosed is the total charge, not πkr4.
✓ How to avoid:
For r>R, the enclosed charge is fixed:
Qenc=Qtotal=πkR4
Then:
E⋅4πr2=ε0Qtotal⇒E=4πε0r2Qtotal
This is exactly the field of a point charge Qtotal at the centre — a key sanity check.
🔍 Common Mistake #3: Forgetting to find k from total charge
Part (b) gives total charge Qtotal=2e. Students sometimes try to solve without linking k to 2e.
✓ How to avoid:
Always compute k explicitly:
Qtotal=πkR4=2e⇒k=πR42e
Then use this k in the expression for E(r) inside the sphere.
🔍 Common Mistake #4: Misinterpreting “force on each proton is zero”
Students think this means the protons must be at the centre (where E=0). But inside a non-uniform sphere, E=0 only at r=0.
✓ How to avoid:
For a proton to feel zero net force, the electric field at its position must be zero. Since both protons are positive, they repel each other — so they cannot both be at r=0.
The only way both have zero force is if:
- They are placed symmetrically about the centre.
- The net field from the sphere plus the other proton cancels at each location.
This leads to solving: …
- KEAM 2026Set eng-2026-04194 marksMCQQ.If a spherical conductor of 10 cm radius contains 5×106 electrons, then the electric field on its surface (in NC−1) is (A) 0.86 (B) 0.36 (C) 0.45 (D) 1.44 (E) 0.72
›Reveal solutionSolution
Find the surface charge, then use E=kQ/r2 at the sphere's surface.
Total charge:
Q=ne=(5×106)(1.6×10−19)=8×10−13 C.
Field at the surface of a conducting sphere of radius r=0.1 m: …
- KEAM 2026Set eng-2026-04214 marksMCQQ.If an infinitely long uniformly charged wire produces an electric field of intensity E at a distance of d from it, then the linear charge density λ of the wire is (A) πϵ0Ed (B) 2πϵ0Ed (C) 21ϵ0Ed (D) 2πϵ0Ed (E) ϵ0Ed
›Reveal solutionSolution
Invert E=2πϵ0dλ to get λ=2πϵ0Ed.
For an infinite line charge, Gauss's law gives E=2πϵ0dλ at perpendicular distance d. …
- KEAM 2026Set eng-2026-04224 marksMCQQ.A uniformly charged cube of side one cm having surface charge density of 8.85 μC cm−2 is placed inside a hollow metal sphere. The total flux emerging out of the sphere in Nm2C−1 is (ε0=8.85×10−12 C2N−1m−2) (A) 8.85×106 (B) 12×106 (C) 19.7×106 (D) 3×106 (E) 6×106
›Reveal solutionSolution
By Gauss's law the flux out of the enclosing sphere is the total charge divided by ε0.
The cube (side 1 cm) has 6 faces of 1cm2 each, total area 6cm2.
Total charge Q=σA=8.85μC cm−2×6cm2=53.1μC=53.1×10−6C. …
- KEAM 2026Set pha-2026-0420F4 marksMCQQ.Electric-flux through a closed surface depends on the (A) shape of the surface (B) area of the surface (C) volume of the surface (D) electric field outside the surface (E) charge enclosed by the surface
›Reveal solutionSolution
Gauss's law: Φ=qenc/ε0 — only the enclosed charge matters.
Gauss's law states
ΦE=∮E⋅dA=ε0qenclosed. …
- KEAM 2025Set eng-2025-04234 marksMCQQ.The inward and outward electric flux from a closed surface are 6×104 NM2C−1 and 3×104 NM2C−1. Then the net charge (in coulomb) inside the closed surface is (A) −6×104ε0 (B) 6×104ε0 (C) 3×104ε0 (D) 9×104ε0 (E) [AMBIGUOUS]
›Reveal solutionSolution
[!TLDR]
Using Gauss's law with net flux =ϕout−ϕin=−3×104 gives an enclosed charge of −3×104ε0 C, which matches option (E).
Concept
Gauss's law states that the net electric flux through a closed surface equals the enclosed charge divided by the permittivity of free space: ϕnet=ε0qenc. Outward flux is taken positive and inward flux negative — the standard NCERT/CBSE electrostatics convention the KEAM syllabus is aligned with.
Solution
The net flux through the surface is the outward flux minus the inward flux:
ϕnet=ϕout−ϕin=3×104−6×104=−3×104 Nm2C−1.
By Gauss's law the enclosed charge is
qenc=ε0ϕnet=−3×104ε0 C. …
- KEAM 2025Set eng-2025-04274 marksMCQQ.The electric field inside a uniformly charged spherical shell of radius R is: (A) directly proportional to the charge within the shell (B) inversely proportional to R2 (C) same as that outside the shell (D) zero (E) maximum at the centre
›Reveal solutionSolution
A Gaussian surface inside a uniformly charged spherical shell encloses no charge, so E=0 everywhere inside.
For a uniformly charged spherical shell, apply Gauss's law to a concentric spherical surface of radius r<R. It encloses zero net charge, so …
- KEAM 2024Set eng-2024-06094 marksMCQQ.The electric field due to a an infinitely long thin wire with linear charge density λ at a radial distance r is proportional to (A) rλ2 (B) rλ (C) r2λ (D) rλ (E) rλ
›Reveal solutionSolution
By Gauss's law the field of an infinite line charge is E=2πε0rλ, i.e. proportional to λ/r.
Using a cylindrical Gaussian surface of radius r: …
- KEAM 2023Set eng-2023-P1-A14 marksMCQQ.A hollow sphere of radius 'r' encloses an electric dipole composed of two charges +q and −q. The net flux of electric field through the surface of the sphere due to the enclosed dipole is: (A) ε02q (B) ε02q⋅4πr2 (C) infinite (D) zero (E) ε0q
›Reveal solutionSolution
The net electric flux through the sphere is zero.
Concept and Intuition
By Gauss's law the flux depends only on the enclosed net charge. A dipole encloses +q and −q, whose sum is zero.
Step-by-Step Solution
- Enclosed charge =+q+(−q)=0.
- Gauss's law: Φ=ε0Qenc=ε00.
- Φ=0.
Common Mistakes …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.