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.
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:
- The angle is always measured from the normal. If the question says “30° with the surface”, it is 60° with the normal.
- The net flux depends only on the charge inside. However large a charge is outside, it contributes zero to the net flux.
- Choose the Gaussian surface to match the symmetry: a sphere for a sphere, a cylinder for a line, a box (pillbox) for a sheet.
- The field inside an insulator is not zero. Count only the charge within .
Electric flux
A uniform field passes through a flat surface of area . The flux is:
is the area vector: its magnitude is the area of the surface and its direction is perpendicular (normal) to the surface. is the angle between and .
| Case | Flux | |
|---|---|---|
| Field perpendicular to the surface (parallel to the normal) | 0° | (largest) |
| Field parallel to the surface | 90° | 0 |
| Field opposite to the normal | 180° |
If the field is not uniform or the surface is curved, you divide the surface into small pieces and add:
Example 1. A uniform field N/C passes through a 0.20 m × 0.30 m rectangle, and the field makes 30° with the normal.
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
is the net charge inside the closed surface (with its sign). .
Why is it true? Wrap a point charge in a sphere of radius . The field is perpendicular to the surface everywhere and has magnitude . The flux is . The 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 nC and nC, and there is nC outside it.
The 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 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:
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 out of the integral. For that you choose the Gaussian surface so that on every part of the surface:
- is perpendicular to the surface and has constant magnitude (then ), or
- is parallel to the surface (then the flux through that part is 0).
This is possible only for three symmetries:
| Symmetry | Gaussian surface | Flux expression |
|---|---|---|
| Spherical (point charge, sphere) | Concentric sphere | |
| Cylindrical (infinite line, cylinder) | Coaxial cylinder | (end caps 0) |
| Planar (infinite sheet) | Box through the sheet | (sides 0) |
Uniformly charged insulating sphere
Radius , total charge , volume density .
Outside (): All the charge is inside the Gaussian sphere.
From outside, the sphere looks like a point charge at its center.
Inside (): Only the charge inside the sphere of radius counts:
It is zero at the center, grows linearly with , reaches its largest value at the surface, then falls as .
Example 4. m, C 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 . The field points radially away from the line (if positive). Choose a cylinder of radius and length . On the end caps the field is parallel to the surface: flux 0. On the side surface the field is perpendicular and constant:
cancelled, as it should. The field falls as , not .
Example 5. , m.
The same method applied inside a uniformly charged cylinder of radius () gives .
Infinite insulating sheet
Surface density . Choose a box (pillbox) of cross-section area 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:
This is the same result we found last week from the limit of the disk formula, but without an integral. For two oppositely charged parallel sheets, the fields add in between () 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 is both constant and perpendicular. You can’t pull 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: . Line: . Plane: independent of . As the number of dimensions of the source grows, the field falls off more slowly with distance.
Common mistakes
| Wrong idea | The truth |
|---|---|
| is the angle between the field and the surface | is between the field and the normal of the surface |
| A charge outside changes the net flux | Only counts |
| If the net flux is zero, everywhere | What enters and what leaves can be equal |
| The flux grows when the Gaussian surface grows | For the same the flux is constant |
| inside an insulating sphere | ; it is the inside of a conductor that is zero |
| inside the sphere | That formula assumes all the charge is inside |
| for an infinite line | |
| for an insulating sheet | A single sheet gives |
| Gauss’s law gives for any surface | The law is always true, but you need symmetry to extract |
| Flux through a dome is | The field is not perpendicular to the dome; compute it as from the base |
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
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?
- 34.6 N·m²/C
- 20.0 N·m²/C
- 40.0 N·m²/C
- 16.0 N·m²/C
- 0
Show answer
, but is the angle between the field and the normal of the surface.
If it is 30° with the plane, it is with the normal. N·m²/C. 34.6: someone who used the given angle directly.
A closed surface encloses charges of nC and nC. A third charge of nC lies outside the surface. What is the net electric flux through the closed surface?
- +339 N·m²/C
- −339 N·m²/C
- +679 N·m²/C
- +1.24 × 10³ N·m²/C
- 0
Show answer
Gauss: . The charge outside does not count. nC. N·m²/C. Negative: the net flux is inward.
A point charge of sits at the exact center of a cube. What is the electric flux through one face of the cube?
- 5.6 × 10⁵ N·m²/C
- 9.4 × 10⁴ N·m²/C
- 1.4 × 10⁵ N·m²/C
- 4.7 × 10⁴ N·m²/C
- It depends on the cube size
Show answer
The total flux is N·m²/C. The charge is at the center and the six faces are symmetric: 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.
A closed cube is placed in a uniform electric field. No charge is inside. Which statement is correct?
- The net flux is positive
- The net flux is negative
- The net flux is zero, but the field is zero on every face
- The net flux is zero, though flux through individual faces may be nonzero
- The flux depends on the orientation of the cube
Show answer
There is no charge inside, so . Flux that enters through one face leaves through another.
Zero net flux does not mean the field is zero.
A very long straight line of charge has . What is the magnitude of the electric field 0.10 m from the line?
- 1.8 × 10⁵ N/C
- 3.6 × 10⁵ N/C
- 3.6 × 10⁶ N/C
- 1.8 × 10⁶ N/C
- 7.2 × 10⁵ N/C
Show answer
Cylindrical Gaussian surface: . N/C.: someone who forgot the 2. : someone who divided by (for a line it is ).
An insulating solid sphere of radius 0.20 m carries a total charge of distributed uniformly through its volume. What is the field magnitude at 0.050 m from the center?
- 2.9 × 10⁷ N/C
- 1.8 × 10⁶ N/C
- 4.5 × 10⁵ N/C
- 0
- 1.1 × 10⁵ N/C
Show answer
Inside, only the charge within counts: . The result is . N/C.: someone who thought all the charge is inside (). 0: someone who treated the insulator like a conductor.
For a uniformly charged insulating sphere of radius , what is the ratio ?
- 1/2
- 1
- 2
- 4
- 1/8
Show answer
Inside: .
Outside: .
The ratio is .
Two large parallel nonconducting sheets carry uniform charge densities and . What are the field magnitudes between the sheets and outside them?
- 1.1 × 10⁵ N/C between, 1.1 × 10⁵ N/C outside
- 2.3 × 10⁵ N/C between, 0 outside
- 0 between, 2.3 × 10⁵ N/C outside
- 2.3 × 10⁵ N/C between, 2.3 × 10⁵ N/C outside
- 4.5 × 10⁵ N/C between, 0 outside
Show answer
Each sheet alone gives . Between the sheets the two fields point the same way: they add. Outside they point opposite ways: they cancel.
Between: N/C, outside: 0.
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 N/C. How much charge is enclosed? Give your answer in μC.
Show answer
. C C. The field points outward, so it is positive.
A very long insulating cylinder of radius 10 cm has a uniform volume charge density . What is the field magnitude at 4.0 cm from the axis?
- 4.5 × 10³ N/C
- 6.8 × 10³ N/C
- 1.4 × 10⁴ N/C
- 1.7 × 10⁴ N/C
- 0
Show answer
Cylindrical Gaussian surface of radius and length : .. N/C.: someone who used the sphere formula .
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
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: . N·m²/C. Using the area of the dome () gives 37.7 and is wrong: the field is not perpendicular to the dome everywhere.
A point charge is enclosed by a spherical Gaussian surface. If the radius of the surface is doubled, the net flux through it:
- doubles
- quadruples
- is halved
- is quartered
- stays the same
Show answer
depends only on the enclosed charge. The field falls as , the area grows as ; 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.