Topic 8.6

Gauss's law

Net flux through a closed surface and the charge inside it; fields of spheres, cylinders and planes of charge.

7 min read2 worked examples3 questions to check yourself

Big idea

The net electric flux through any closed surface equals the charge enclosed divided by ε0\varepsilon_0, and when the charge is arranged symmetrically that one statement gives the field directly.

Field diagram: electric field lines of 2 point charges (+2q, +2 at (−1.2, 0); -q, −1 at (1.8, 0)); lines leave positive charges and end on negative ones, 12 per unit of the smallest charge; a dashed Gaussian surface S_1 enclosing net charge +2; a dashed Gaussian surface S_2 enclosing net charge −1; a dashed Gaussian surface S_3 enclosing net charge +1; a dashed Gaussian surface S_4 enclosing net charge 0.S1S2S3S4++2q−-q

Four closed surfaces around charges +2q+2q and −q-q. S1S_1 encloses +2q+2q: every line crosses it outward, flux +2q/ε0+2q/\varepsilon_0. S2S_2 encloses −q-q: lines cross inward, flux −q/ε0-q/\varepsilon_0. S3S_3 encloses both: net flux +q/ε0+q/\varepsilon_0. S4S_4 encloses nothing: any line that enters it leaves again, so its net flux is zero.

Explanation

Gauss's law says that the net flux through any closed surface depends only on the charge inside it: ∮E⃗⋅dA⃗=qenc/ε0\oint\vec{E}\cdot d\vec{A} = q_{\text{enc}}/\varepsilon_0. The surface, called a Gaussian surface, is imaginary and can be any shape. Charges outside still contribute to the field on the surface, but each of their lines goes in one side and out the other, adding no net flux.

The law is always true, but it hands you the field only when symmetry lets you take EE out of the integral. You need a surface on which the field is either perpendicular with the same magnitude all over, so the flux is EE times the area, or parallel to it, so the flux is zero. Three shapes of charge allow this. Spherical symmetry: use a concentric sphere, of area 4πr24\pi r^2. Cylindrical symmetry (a long line or cylinder of charge): use a coaxial cylinder; the curved side has area 2πrL2\pi rL and the flat ends carry no flux. Planar symmetry (a large sheet): use a small cylinder straddling the sheet; flux leaves through its two end caps only.

To find a field, argue from symmetry which way the field points and what it can depend on. Choose the Gaussian surface through the point of interest and write the flux as EE times an area. Find the enclosed charge, integrating the density if it is not uniform, and solve for EE.

Equations

  • ∮E⃗⋅dA⃗=qencε0\oint \vec{E}\cdot d\vec{A} = \frac{q_{\text{enc}}}{\varepsilon_0}

    The net outward electric flux through a closed surface equals the net charge inside it divided by the permittivity of free space.

    E⃗\vec{E}

    electric field on the surface, from all charges, inside and outside (N/C)

    A⃗\vec{A}

    area; $d\vec{A}$ is an outward patch of the closed surface (m²)

    qencq_{\text{enc}}

    net charge enclosed by the surface (C)

    ε0\varepsilon_0

    permittivity of free space, $8.85 \times 10^{-12}$ (C²/(N·m²))
    Use it when

    Always true. Useful for finding flux from charge (or charge from flux) for any closed surface, and for finding the field when there is spherical, cylindrical or planar symmetry.

    Not when

    It cannot give the field for an unsymmetric arrangement such as a short rod or two point charges; integrate instead (topic 8.4).

  • E=14πε0Qr2E = \frac{1}{4\pi\varepsilon_0}\frac{Q}{r^2}

    Outside any spherically symmetric charge, the field is the same as that of a point charge at the centre.

    EE

    magnitude of the field, directed radially (N/C)

    QQ

    total charge of the sphere or shell (C)

    rr

    distance from the centre, with r at least the object's radius (m)

    ε0\varepsilon_0

    permittivity of free space (C²/(N·m²))
    Use it when

    Outside a uniformly charged sphere or spherical shell.

    Not when

    Not inside the charge, where only part of it is enclosed. Inside a uniformly charged shell the field is zero.

  • E=λ2πε0rE = \frac{\lambda}{2\pi\varepsilon_0 r}

    The field of a long straight line of charge points radially away from the line and falls off as one over the distance.

    EE

    magnitude of the field (N/C)

    λ\lambda

    linear charge density (C/m)

    rr

    perpendicular distance from the line (m)

    ε0\varepsilon_0

    permittivity of free space (C²/(N·m²))
    Use it when

    Close to a long, straight, uniformly charged wire or rod, far from its ends.

    Not when

    Not near the ends, or at distances comparable with the rod's length, where the cylindrical symmetry fails.

  • E=σ2ε0E = \frac{\sigma}{2\varepsilon_0}

    The field of a large uniform sheet of charge is perpendicular to the sheet and the same at every distance.

    EE

    magnitude of the field on either side (N/C)

    σ\sigma

    surface charge density (C/m²)

    ε0\varepsilon_0

    permittivity of free space (C²/(N·m²))
    Use it when

    Close to a large, flat, uniformly charged insulating sheet, far from its edges.

    Not when

    Not at distances comparable with the sheet's size, where it starts to look like a point charge.

Where it comes from

Worked examples

  1. Field of a long charged rod

    Step by step

    A long, straight, thin rod carries a uniform charge of +30 nC+30\ \text{nC} on each metre of its length. Use Gauss's law to find the electric field 4.0 cm4.0\ \text{cm} from the rod, far from its ends. Use ε0=8.85×10−12 C2/(N⋅m2)\varepsilon_0 = 8.85 \times 10^{-12}\ \text{C}^2/(\text{N·m}^2).

    0 of 5 steps
  2. A cylinder whose charge density is not uniform

    Written as an exam answer

    A very long, solid insulating cylinder of radius 0.10 m0.10\ \text{m} has volume charge density ρ=βr\rho = \beta r, where rr is the distance from its axis and β=2.0 μC/m4\beta = 2.0\ \mu\text{C/m}^4. Derive an expression for the electric field inside, far from the ends, and evaluate it at r=0.060 mr = 0.060\ \text{m}. Use ε0=8.85×10−12 C2/(N⋅m2)\varepsilon_0 = 8.85 \times 10^{-12}\ \text{C}^2/(\text{N·m}^2).

    1. Step 1:

      The density depends only on rr, so the field is radial and depends only on rr. A coaxial Gaussian cylinder of radius r<0.10 mr < 0.10\ \text{m} and length LL has flux E(2πrL)E(2\pi rL), all through its curved side.

    2. Step 2:

      The density varies, so integrate the enclosed charge over thin shells of volume 2πr′L dr′2\pi r'L\,dr': qenc=∫0r(βr′) 2πr′L dr′=23πβLr3q_{\text{enc}} = \displaystyle\int_0^r (\beta r')\,2\pi r'L\,dr' = \tfrac{2}{3}\pi\beta Lr^3.

    3. Step 3:

      Gauss's law: E(2πrL)=2πβLr33ε0E(2\pi rL) = \dfrac{2\pi\beta Lr^3}{3\varepsilon_0}, so E=βr23ε0E = \dfrac{\beta r^2}{3\varepsilon_0}, radially outward.

    4. Step 4:

      At r=0.060 mr = 0.060\ \text{m}: E=(2.0×10−6)(0.060)23(8.85×10−12)=2.7×102 N/CE = \dfrac{(2.0 \times 10^{-6})(0.060)^2}{3(8.85 \times 10^{-12})} = 2.7 \times 10^2\ \text{N/C}.

    Answer

    E=βr23ε0=2.7×102 N/CE = \dfrac{\beta r^2}{3\varepsilon_0} = 2.7 \times 10^2\ \text{N/C}, radially outward

Common mistakes

  • Mistake

    Gauss's law gives the field of any charge distribution: divide qenc/ε0q_{\text{enc}}/\varepsilon_0 by the area of a surface around it.

    What is true

    That gives EE only if the field has the same magnitude all over the surface and is perpendicular to it, which needs spherical, cylindrical or planar symmetry. Around a short rod the law still gives the correct flux, but not the field.

  • Mistake

    Inside a uniformly charged sphere, at radius rr, use the sphere's whole charge QQ in Gauss's law.

    What is true

    Only the charge inside the Gaussian surface counts: Qr3/R3Qr^3/R^3 for a uniform sphere. The charge farther out than rr contributes no net field there.

  • Mistake

    A Gaussian surface encloses no net charge, so the electric field is zero everywhere on it.

    What is true

    Zero enclosed charge means zero net flux, not zero field. Surface S4S_4 in the picture has field all over it; the flux entering equals the flux leaving.

Check yourself

  1. 1.

    A +3.0 nC+3.0\ \text{nC} point charge sits inside a cube, away from its centre. What is the net flux through the cube? Can Gauss's law give the field at a point on one face?

  2. 2.

    A thin spherical shell of radius RR carries charge QQ uniformly. What is the field at a point inside the shell?

  3. 3.

    Why does the field of a large charged sheet not weaken as you move away from it?

Try it

Grow the Gaussian surface around +2q+2q. While it encloses only +2q+2q the net flux is 2q/ε02q/\varepsilon_0. Once it also takes in −q-q, some lines turn back and end inside, and the net flux drops to q/ε0q/\varepsilon_0: count lines out minus lines in.

1.5
Field diagram (charge enclosed = +2q): electric field lines of 2 point charges (+2q, +2 at (0, 0); -q, −1 at (2, 0)); lines leave positive charges and end on negative ones, 12 per unit of the smallest charge; a dashed Gaussian surface S enclosing net charge +2.S++2q−-qcharge enclosed = +2q

Builds on

Practice 8.6 with feedback

Problem sets for Unit 8 grade themselves, and Raise hints at the next step instead of giving the answer.

Spotted a mistake in this lesson? Tell us and we will fix it.