PHY1002 · Week 3 · Gauss`s Law: Electric Flux, Gauss, s Law, Application of Gauss`s Law to Charged Insulator.

Electric flux and Gauss's law: applications to insulators

What flux is, why Gauss's law works, and how to find the field of a sphere, an infinite line and an infinite sheet in two lines without integrating.

electric fluxarea vectorclosed surfaceGaussian surfaceGauss's lawenclosed chargepermittivity of free spacespherical symmetrycylindrical symmetryplanar symmetryvolume charge density

Last week you took long integrals for the ring and the disk. Where there is symmetry, Gauss’s law reduces all of those integrals to two lines. The exam has three types of question: compute the flux through a given surface, find the net flux through a closed surface from the enclosed charge, and derive the field of a sphere, a line or a sheet with Gauss’s law. The key to all three is the same: flux is the amount of field lines passing through a surface, and the net number of lines leaving a closed surface depends on the charge inside.

Golden rules:

  1. The angle is always measured from the normal. If the question says “30° with the surface”, it is 60° with the normal.
  2. The net flux depends only on the charge inside. However large a charge is outside, it contributes zero to the net flux.
  3. Choose the Gaussian surface to match the symmetry: a sphere for a sphere, a cylinder for a line, a box (pillbox) for a sheet.
  4. The field inside an insulator is not zero. Count only the charge within rr.

Electric flux

A uniform field passes through a flat surface of area AA. The flux is:

ΦE=E⃗⋅A⃗=EAcos⁡θ[N⋅m2/C]\Phi_E = \vec E \cdot \vec A = EA\cos\theta \qquad [\text{N·m}^2/\text{C}]

A⃗\vec A is the area vector: its magnitude is the area of the surface and its direction is perpendicular (normal) to the surface. θ\theta is the angle between E⃗\vec E and A⃗\vec A.

Caseθ\thetaFlux
Field perpendicular to the surface (parallel to the normal)0°EAEA (largest)
Field parallel to the surface90°0
Field opposite to the normal180°−EA-EA

If the field is not uniform or the surface is curved, you divide the surface into small pieces and add:

ΦE=∫E⃗⋅dA⃗\Phi_E = \int \vec E \cdot d\vec A

Example 1. A uniform field E=500E = 500 N/C passes through a 0.20 m × 0.30 m rectangle, and the field makes 30° with the normal.

Φ=(500)(0.060)cos⁡30∘=26.0 N⋅m2/C\Phi = (500)(0.060)\cos 30^\circ = 26.0\ \text{N·m}^2/\text{C}

Closed surface

On a closed surface (sphere, cube, box) the normal always points outward. So lines going out give positive flux and lines coming in give negative flux. A line that comes from outside and passes through enters once and leaves once: its net contribution is zero. The only lines that contribute to the net flux are those that start or end inside, that is, the charge inside.

Gauss’s law

ΦE=∮E⃗⋅dA⃗=qinε0\Phi_E = \oint \vec E \cdot d\vec A = \frac{q_{in}}{\varepsilon_0}

qinq_{in} is the net charge inside the closed surface (with its sign). ε0=8.85×10−12 C2/(N⋅m2)\varepsilon_0 = 8.85 \times 10^{-12}\ \text{C}^2/(\text{N·m}^2).

Why is it true? Wrap a point charge qq in a sphere of radius rr. The field is perpendicular to the surface everywhere and has magnitude kq/r2kq/r^2. The flux is (kq/r2)(4πr2)=4πkq=q/ε0(kq/r^2)(4\pi r^2) = 4\pi k q = q/\varepsilon_0. The rr cancelled: the size of the sphere does not matter. If you deform the shape, the same lines pass through and the result stays the same.

Example 2. A closed surface contains +3.0+3.0 nC and −5.0-5.0 nC, and there is +1.0+1.0 nC outside it.

Φ=(+3.0−5.0)×10−98.85×10−12=−226 N⋅m2/C\Phi = \frac{(+3.0 - 5.0) \times 10^{-9}}{8.85 \times 10^{-12}} = -226\ \text{N·m}^2/\text{C}

The +1.0+1.0 nC outside does not enter the calculation. But it changes the field on the surface. Gauss’s law tells you the net flux, not the field at each point.

PITFALL · “If the flux is zero, the field is zero.” Wrong. For an empty cube placed in a uniform field, the net flux is zero but the field is not 0 on every face. What enters through one face leaves through the opposite face.

Example 3 (flux by symmetry). A charge q=2.0q = 2.0 nC sits exactly at the center of a cube of side 0.20 m. What is the flux through one face?

The six faces are symmetric, each takes an equal share:

Φface=q6ε0=2.0×10−96(8.85×10−12)=37.7 N⋅m2/C\Phi_{\text{face}} = \frac{q}{6\varepsilon_0} = \frac{2.0 \times 10^{-9}}{6(8.85 \times 10^{-12})} = 37.7\ \text{N·m}^2/\text{C}

On one face the field is neither uniform nor perpendicular. The direct integral is hard; symmetry gives it to you for free.

Finding the field with Gauss’s law

Gauss’s law is always true, but to extract the field from it you need to be able to pull EE out of the integral. For that you choose the Gaussian surface so that on every part of the surface:

  • E⃗\vec E is perpendicular to the surface and has constant magnitude (then ∮E dA=EA\oint E\,dA = EA), or
  • E⃗\vec E is parallel to the surface (then the flux through that part is 0).

This is possible only for three symmetries:

SymmetryGaussian surfaceFlux expression
Spherical (point charge, sphere)Concentric sphereE⋅4πr2E \cdot 4\pi r^2
Cylindrical (infinite line, cylinder)Coaxial cylinderE⋅2πrℓE \cdot 2\pi r\ell (end caps 0)
Planar (infinite sheet)Box through the sheetE⋅2AE \cdot 2A (sides 0)

Uniformly charged insulating sphere

Radius RR, total charge QQ, volume density ρ=Q/(43πR3)\rho = Q/(\tfrac{4}{3}\pi R^3).

Outside (r>Rr > R): All the charge is inside the Gaussian sphere.

E(4πr2)=Qε0⇒E=keQr2E(4\pi r^2) = \frac{Q}{\varepsilon_0} \Rightarrow E = \frac{k_e Q}{r^2}

From outside, the sphere looks like a point charge at its center.

Inside (r<Rr < R): Only the charge inside the sphere of radius rr counts:

qin=ρ⋅43πr3=Qr3R3⇒E=keQR3 rq_{in} = \rho\cdot\tfrac{4}{3}\pi r^3 = Q\frac{r^3}{R^3} \quad\Rightarrow\quad E = \frac{k_e Q}{R^3}\,r

It is zero at the center, grows linearly with rr, reaches its largest value kQ/R2kQ/R^2 at the surface, then falls as 1/r21/r^2.

Example 4. R=0.10R = 0.10 m, Q=+6.0 μQ = +6.0\ \muC uniformly distributed.

r = 0.05 m (inside):   E = kQr/R³ = (8.99e9)(6.0e-6)(0.05)/(0.10)³ = 2.70e6 N/C
r = 0.10 m (surface):  E = kQ/R²  = (8.99e9)(6.0e-6)/(0.10)²    = 5.39e6 N/C
r = 0.20 m (outside):  E = kQ/r²  = (8.99e9)(6.0e-6)/(0.20)²    = 1.35e6 N/C

Halfway inside, the field is half of the surface value. At twice the distance outside, it is a quarter.

Infinite line of charge

Charge density λ\lambda. The field points radially away from the line (if positive). Choose a cylinder of radius rr and length ℓ\ell. On the end caps the field is parallel to the surface: flux 0. On the side surface the field is perpendicular and constant:

E(2πrℓ)=λℓε0⇒E=λ2πε0r=2keλrE(2\pi r\ell) = \frac{\lambda\ell}{\varepsilon_0} \Rightarrow E = \frac{\lambda}{2\pi\varepsilon_0 r} = \frac{2k_e\lambda}{r}

ℓ\ell cancelled, as it should. The field falls as 1/r1/r, not 1/r21/r^2.

Example 5. λ=4.0 μC/m\lambda = 4.0\ \mu\text{C/m}, r=0.12r = 0.12 m.

E=2(8.99×109)(4.0×10−6)0.12=5.99×105 N/CE = \frac{2(8.99 \times 10^{9})(4.0 \times 10^{-6})}{0.12} = 5.99 \times 10^{5}\ \text{N/C}

The same method applied inside a uniformly charged cylinder of radius RR (qin=ρπr2ℓq_{in} = \rho\pi r^2\ell) gives E=ρr/(2ε0)E = \rho r/(2\varepsilon_0).

Infinite insulating sheet

Surface density σ\sigma. Choose a box (pillbox) of cross-section area AA that passes through the sheet. On the side faces the field is parallel: flux 0. On the two end caps the field is perpendicular and outward:

E(2A)=σAε0⇒E=σ2ε0E(2A) = \frac{\sigma A}{\varepsilon_0} \Rightarrow E = \frac{\sigma}{2\varepsilon_0}

This is the same result we found last week from the R→∞R \to \infty limit of the disk formula, but without an integral. For two oppositely charged parallel sheets, the fields add in between (σ/ε0\sigma/\varepsilon_0) and cancel outside (0). This is the foundation of the capacitor topic.

When does Gauss’s law not help?

For a finite rod, a ring or a disk, Gauss’s law is still true, but there is no surface on which EE is both constant and perpendicular. You can’t pull EE out of the integral. That is why last week’s integral method was needed. If you see a question like “use Gauss’s law to find the field of a finite rod” on the exam, there is a catch: either the rod is to be treated as “very long” or you go back to the integral method. The rule is simple: first show the symmetry, then draw the Gaussian surface.

TIP · Check the result by dimension. Point: 1/r21/r^2. Line: 1/r1/r. Plane: independent of rr. As the number of dimensions of the source grows, the field falls off more slowly with distance.

Common mistakes

Wrong ideaThe truth
θ\theta is the angle between the field and the surfaceθ\theta is between the field and the normal of the surface
A charge outside changes the net fluxOnly qinq_{in} counts
If the net flux is zero, E=0E = 0 everywhereWhat enters and what leaves can be equal
The flux grows when the Gaussian surface growsFor the same qinq_{in} the flux is constant
E=0E = 0 inside an insulating sphereE=kQr/R3E = kQr/R^3; it is the inside of a conductor that is zero
E=kQ/r2E = kQ/r^2 inside the sphereThat formula assumes all the charge is inside
E∝1/r2E \propto 1/r^2 for an infinite lineE=2kλ/rE = 2k\lambda/r
E=σ/ε0E = \sigma/\varepsilon_0 for an insulating sheetA single sheet gives σ/(2ε0)\sigma/(2\varepsilon_0)
Gauss’s law gives EE for any surfaceThe law is always true, but you need symmetry to extract EE
Flux through a dome is E⋅2πR2E \cdot 2\pi R^2The field is not perpendicular to the dome; compute it as EπR2E\pi R^2 from the base

Test yourself

Exam-style questions. Solve them on paper first, then reveal the answer.

Question 1easy

A uniform electric field of magnitude 800 N/C passes through a flat surface of area 0.050 m². The field makes an angle of 30° with the plane of the surface. What is the electric flux through the surface?

  1. 34.6 N·m²/C
  2. 20.0 N·m²/C
  3. 40.0 N·m²/C
  4. 16.0 N·m²/C
  5. 0
Show answer
B) 20.0 N·m²/C

Φ=EAcos⁡θ\Phi = EA\cos\theta, but θ\theta is the angle between the field and the normal of the surface.
If it is 30° with the plane, it is 90∘−30∘=60∘90^\circ - 30^\circ = 60^\circ with the normal.Φ=(800)(0.050)cos⁡60∘=20.0\Phi = (800)(0.050)\cos 60^\circ = 20.0 N·m²/C. 34.6: someone who used the given angle directly.

Question 2easy

A closed surface encloses charges of +4.0+4.0 nC and −7.0-7.0 nC. A third charge of +9.0+9.0 nC lies outside the surface. What is the net electric flux through the closed surface?

  1. +339 N·m²/C
  2. −339 N·m²/C
  3. +679 N·m²/C
  4. +1.24 × 10³ N·m²/C
  5. 0
Show answer
B) −339 N·m²/C

Gauss: Φ=qin/ε0\Phi = q_{in}/\varepsilon_0. The charge outside does not count.qin=4.0−7.0=−3.0q_{in} = 4.0 - 7.0 = -3.0 nC.Φ=−3.0×10−98.85×10−12=−339\Phi = \dfrac{-3.0 \times 10^{-9}}{8.85 \times 10^{-12}} = -339 N·m²/C. Negative: the net flux is inward.

Question 3medium

A point charge of 5.0 μC5.0\ \mu\text{C} sits at the exact center of a cube. What is the electric flux through one face of the cube?

  1. 5.6 × 10⁵ N·m²/C
  2. 9.4 × 10⁴ N·m²/C
  3. 1.4 × 10⁵ N·m²/C
  4. 4.7 × 10⁴ N·m²/C
  5. It depends on the cube size
Show answer
B) 9.4 × 10⁴ N·m²/C

The total flux is q/ε0=5.65×105q/\varepsilon_0 = 5.65 \times 10^{5} N·m²/C. The charge is at the center and the six faces are symmetric:Φface=q6ε0=5.0×10−66(8.85×10−12)=9.4×104\Phi_{\text{face}} = \dfrac{q}{6\varepsilon_0} = \dfrac{5.0 \times 10^{-6}}{6(8.85 \times 10^{-12})} = 9.4 \times 10^{4} N·m²/C.
It does not depend on the size of the cube. The field is not uniform over a face, but symmetry makes the integral unnecessary.

Question 4easy

A closed cube is placed in a uniform electric field. No charge is inside. Which statement is correct?

  1. The net flux is positive
  2. The net flux is negative
  3. The net flux is zero, but the field is zero on every face
  4. The net flux is zero, though flux through individual faces may be nonzero
  5. The flux depends on the orientation of the cube
Show answer
D) The net flux is zero, though flux through individual faces may be nonzero

There is no charge inside, so Φnet=0\Phi_{net} = 0. Flux that enters through one face leaves through another.
Zero net flux does not mean the field is zero.

Question 5easy

A very long straight line of charge has λ=2.0 μC/m\lambda = 2.0\ \mu\text{C/m}. What is the magnitude of the electric field 0.10 m from the line?

  1. 1.8 × 10⁵ N/C
  2. 3.6 × 10⁵ N/C
  3. 3.6 × 10⁶ N/C
  4. 1.8 × 10⁶ N/C
  5. 7.2 × 10⁵ N/C
Show answer
B) 3.6 × 10⁵ N/C

Cylindrical Gaussian surface: E(2πrℓ)=λℓ/ε0⇒E=λ2πε0r=2kλrE(2\pi r\ell) = \lambda\ell/\varepsilon_0 \Rightarrow E = \dfrac{\lambda}{2\pi\varepsilon_0 r} = \dfrac{2k\lambda}{r}.E=2(8.99×109)(2.0×10−6)0.10=3.6×105E = \dfrac{2(8.99 \times 10^{9})(2.0 \times 10^{-6})}{0.10} = 3.6 \times 10^{5} N/C.1.8×1051.8 \times 10^{5}: someone who forgot the 2. 3.6×1063.6 \times 10^{6}: someone who divided by r2r^2 (for a line it is 1/r1/r).

Question 6medium

An insulating solid sphere of radius 0.20 m carries a total charge of 8.0 μC8.0\ \mu\text{C} distributed uniformly through its volume. What is the field magnitude at 0.050 m from the center?

  1. 2.9 × 10⁷ N/C
  2. 1.8 × 10⁶ N/C
  3. 4.5 × 10⁵ N/C
  4. 0
  5. 1.1 × 10⁵ N/C
Show answer
C) 4.5 × 10⁵ N/C

Inside, only the charge within rr counts: qin=Q(r/R)3q_{in} = Q(r/R)^3. The result is E=kQrR3E = \dfrac{kQr}{R^3}.E=(8.99×109)(8.0×10−6)(0.050)(0.20)3=4.5×105E = \dfrac{(8.99 \times 10^{9})(8.0 \times 10^{-6})(0.050)}{(0.20)^3} = 4.5 \times 10^{5} N/C.2.9×1072.9 \times 10^{7}: someone who thought all the charge is inside (kQ/r2kQ/r^2). 0: someone who treated the insulator like a conductor.

Question 7medium

For a uniformly charged insulating sphere of radius RR, what is the ratio E(R/2) / E(2R)E(R/2)\,/\,E(2R)?

  1. 1/2
  2. 1
  3. 2
  4. 4
  5. 1/8
Show answer
C) 2

Inside: E(R/2)=kQ(R/2)R3=kQ2R2E(R/2) = \dfrac{kQ(R/2)}{R^3} = \dfrac{kQ}{2R^2}.
Outside: E(2R)=kQ(2R)2=kQ4R2E(2R) = \dfrac{kQ}{(2R)^2} = \dfrac{kQ}{4R^2}.
The ratio is 1/21/4=2\dfrac{1/2}{1/4} = 2.

Question 8medium

Two large parallel nonconducting sheets carry uniform charge densities +2.0 μC/m2+2.0\ \mu\text{C/m}^2 and −2.0 μC/m2-2.0\ \mu\text{C/m}^2. What are the field magnitudes between the sheets and outside them?

  1. 1.1 × 10⁵ N/C between, 1.1 × 10⁵ N/C outside
  2. 2.3 × 10⁵ N/C between, 0 outside
  3. 0 between, 2.3 × 10⁵ N/C outside
  4. 2.3 × 10⁵ N/C between, 2.3 × 10⁵ N/C outside
  5. 4.5 × 10⁵ N/C between, 0 outside
Show answer
B) 2.3 × 10⁵ N/C between, 0 outside

Each sheet alone gives σ/(2ε0)\sigma/(2\varepsilon_0). Between the sheets the two fields point the same way: they add. Outside they point opposite ways: they cancel.
Between: E=σ/ε0=2.0×10−68.85×10−12=2.26×105E = \sigma/\varepsilon_0 = \dfrac{2.0 \times 10^{-6}}{8.85 \times 10^{-12}} = 2.26 \times 10^{5} N/C, outside: 0.

Question 9medium

A spherical Gaussian surface of radius 0.30 m is centered on a charge distribution with spherical symmetry. The field on the surface points radially outward with magnitude 2.0×1042.0 \times 10^{4} N/C. How much charge is enclosed? Give your answer in μC.

Show answer
0.20 μC

Φ=E⋅4πr2=qin/ε0\Phi = E \cdot 4\pi r^2 = q_{in}/\varepsilon_0.qin=ε0E(4πr2)=(8.85×10−12)(2.0×104)(4π)(0.30)2q_{in} = \varepsilon_0 E(4\pi r^2) = (8.85 \times 10^{-12})(2.0 \times 10^{4})(4\pi)(0.30)^2qin=2.0×10−7q_{in} = 2.0 \times 10^{-7} C =0.20 μ= 0.20\ \muC. The field points outward, so it is positive.

Question 10hard

A very long insulating cylinder of radius 10 cm has a uniform volume charge density ρ=3.0×10−6 C/m3\rho = 3.0 \times 10^{-6}\ \text{C/m}^3. What is the field magnitude at 4.0 cm from the axis?

  1. 4.5 × 10³ N/C
  2. 6.8 × 10³ N/C
  3. 1.4 × 10⁴ N/C
  4. 1.7 × 10⁴ N/C
  5. 0
Show answer
B) 6.8 × 10³ N/C

Cylindrical Gaussian surface of radius rr and length ℓ\ell: qin=ρπr2ℓq_{in} = \rho\pi r^2\ell.E(2πrℓ)=ρπr2ℓε0⇒E=ρr2ε0E(2\pi r\ell) = \dfrac{\rho\pi r^2\ell}{\varepsilon_0} \Rightarrow E = \dfrac{\rho r}{2\varepsilon_0}.E=(3.0×10−6)(0.040)2(8.85×10−12)=6.8×103E = \dfrac{(3.0 \times 10^{-6})(0.040)}{2(8.85 \times 10^{-12})} = 6.8 \times 10^{3} N/C.4.5×1034.5 \times 10^{3}: someone who used the sphere formula ρr/(3ε0)\rho r/(3\varepsilon_0).

Question 11hard

A hemisphere of radius 0.10 m sits with its flat base perpendicular to a uniform field of 600 N/C. What is the magnitude of the flux through the curved surface?

Show answer
18.8 N·m²/C

The hemisphere plus its flat base is a closed surface with no charge inside: the net flux is zero.
The flux entering through the base must leave through the dome: ∣Φdome∣=∣Φbase∣=EπR2|\Phi_{dome}| = |\Phi_{base}| = E\pi R^2.Φ=(600)π(0.10)2=18.8\Phi = (600)\pi(0.10)^2 = 18.8 N·m²/C. Using the area of the dome (2πR22\pi R^2) gives 37.7 and is wrong: the field is not perpendicular to the dome everywhere.

Question 12easy

A point charge is enclosed by a spherical Gaussian surface. If the radius of the surface is doubled, the net flux through it:

  1. doubles
  2. quadruples
  3. is halved
  4. is quartered
  5. stays the same
Show answer
E) stays the same

Φ=qin/ε0\Phi = q_{in}/\varepsilon_0 depends only on the enclosed charge. The field falls as 1/r21/r^2, the area grows as r2r^2; the product does not change.

Verification: All numerical answers were computed with node (verify/PHY1002/03.mjs): the flux through a cube face and a hemisphere was computed with a numerical surface integral, and the field inside a sphere was recomputed with Gauss's law from the enclosed charge found by splitting into shells, then compared with the closed-form formulas.

Review card

Flux: Φ = E A cos θ θ = angle between E and the surface NORMAL unit N·m²/C On a closed surface the normal points OUTWARD. Outgoing flux is +, incoming flux is −. Gauss: Φ_net = ∮E·dA = q_in / ε0 ε0 = 8.85e-12 C²/(N·m²) Outside charges do not enter the net flux (but they do contribute to E). To find E with Gauss: SYMMETRY is required (sphere, infinite cylinder, infinite plane). Point charge / outside a sphere: E = kQ / r² Inside a uniform insulating sphere: E = kQr / R³ (0 at the center, max at the surface) Infinite line: E = λ / (2π ε0 r) = 2kλ / r (1/r!) Inside a cylinder (ρ): E = ρr / (2ε0) inside a sphere (ρ): E = ρr / (3ε0) Infinite sheet: E = σ / (2ε0) between two opposite sheets: σ / ε0, outside 0 Cube with q at the center: one face gets q/(6ε0) When the radius changes the flux does not change, the field does.