17.4: Applications of Gauss’s Law

Physics: A Foundation for Scientists and Engineers · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    Read aloud

    How

    Speed: 1×
    Light up
    Highlight

    Symbols: Mulberry Symbols, © 2018–2026 Steve Lee, CC BY-SA 4.0 (licence, the set), the site's own copies.

    From LibreTexts, under CC BY 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    17.4: Applications of Gauss’s Law

    Gauss’s law holds for every closed surface around every charge distribution. To use it to find a field, though, we need to be able to pull \(E\) out of the integral, and that requires the symmetries of Section 17.1. The method is always the same.

    Note: A strategy for Gauss’s-law problems
    1. Identify the symmetry, and use it to decide the direction of \(\vec{E}\) and the variable its magnitude depends on.
    2. Choose a Gaussian surface through the point where you want the field, shaped so that on each part of it \(\vec{E}\) is either perpendicular to the surface with constant magnitude, or parallel to the surface so that it contributes no flux.
    3. Write the flux, which will reduce to \(E\) times an area.
    4. Find the charge enclosed by the surface. For a continuous distribution this may take a simple integral of the charge density.
    5. Set the flux equal to \(q_{\text{enc}}/\epsilon_0\) and solve for \(E\).

    Spheres

    For a spherically symmetric distribution, the field is radial with magnitude \(E(r)\), and the natural Gaussian surface is a sphere of radius \(r\) concentric with the charge. On it \(\vec{E}\) is everywhere perpendicular to the surface and constant in magnitude, so the flux is \(E(4\pi r^2)\), and Gauss’s law gives

    \[E(4\pi r^2) = \frac{q_{\text{enc}}}{\epsilon_0} \qquad\Longrightarrow\qquad E = \frac{q_{\text{enc}}}{4\pi\epsilon_0 r^2} = \frac{k_e\,q_{\text{enc}}}{r^2}. \tag{17.5}\]

    Every spherically symmetric distribution obeys equation (17.5), and it contains a great deal.

    A point charge. The Gaussian sphere encloses \(q\), and \(E = k_eq/r^2\). We have derived Coulomb’s law from Gauss’s law. The two contain the same physics for static charges, and either can be derived from the other.

    The shell theorems. For a uniform spherical shell of charge \(Q\) and radius \(R\), a Gaussian sphere with \(r > R\) encloses \(Q\), so \(E = k_eQ/r^2\): outside, the shell acts as a point charge at its center. A Gaussian sphere with \(r < R\) encloses nothing, so \(E = 0\): inside the shell there is no field at all. These are the two shell theorems that Section 16.3 borrowed from Newton, now proved in two lines.

    A uniformly charged solid sphere of radius R, shaded, with two dashed concentric Gaussian spheres.
    Figure 17.7. Spherical Gaussian surfaces for a uniformly charged solid sphere. A Gaussian sphere outside encloses all the charge. One inside, of radius \(r_1\), encloses only the fraction \((r_1/R)^3\) of it, which is why the interior field grows linearly with \(r\).
    Figure descriptionA uniformly charged solid sphere of radius R, shaded, with two dashed concentric Gaussian spheres. The inner Gaussian sphere, of radius r sub 1 less than R, lies inside the charged sphere and encloses only part of its charge. The outer Gaussian sphere, of radius r sub 2 greater than R, encloses all of it. Radial field arrows are drawn on the outer Gaussian sphere.

    A uniformly charged solid sphere. For charge \(Q\) spread uniformly through a sphere of radius \(R\) (Figure 17.7), a Gaussian sphere outside encloses \(Q\), and a Gaussian sphere inside, at radius \(r\), encloses the fraction \((r/R)^3\) of it. Equation (17.5) then gives

    \[E = \frac{k_eQ}{r^2} \quad (r \ge R), \qquad E = \frac{k_e Q r^3/R^3}{r^2} = \frac{k_eQ}{R^3}\,r \quad (r \le R),\]

    exactly equation (16.15).

    Gauss’s law does more than reproduce old results. It handles distributions whose integrals would be miserable, as long as they are spherically symmetric.

    Example 17.6: A sphere whose charge density grows outward

    An insulating sphere of radius \(R\) carries charge with density \(\rho = \rho_0 r/R\), increasing from zero at the center to \(\rho_0\) at the surface. Find the total charge and the field inside and outside the sphere.

    Solution

    The charge is not uniform, but it depends only on \(r\), so the distribution is spherically symmetric and equation (17.5) applies. We only need \(q_{\text{enc}}\). Divide the sphere into thin shells of radius \(r'\) and thickness \(dr'\), each with volume \(4\pi r'^2\,dr'\). The charge inside radius \(r\) is

    \[q_{\text{enc}}(r) = \int_0^r \rho_0\frac{r'}{R}\,4\pi r'^2\,dr' = \frac{4\pi\rho_0}{R}\cdot\frac{r^4}{4} = \frac{\pi\rho_0 r^4}{R},\]

    and the total charge is \(Q = q_{\text{enc}}(R) = \boxed{\pi\rho_0R^3}\).

    Inside, \(r \le R\),

    \[E = \frac{q_{\text{enc}}}{4\pi\epsilon_0 r^2} = \frac{\pi\rho_0 r^4/R}{4\pi\epsilon_0 r^2} = \boxed{\frac{\rho_0\,r^2}{4\epsilon_0 R}}.\]

    Outside, \(r \ge R\), \(E = \boxed{k_eQ/r^2}\), as for any spherical distribution. Check the surface: the inside formula gives \(\rho_0R/4\epsilon_0\), and the outside formula gives \(\pi\rho_0R^3/(4\pi\epsilon_0R^2) = \rho_0R/4\epsilon_0\). They agree. Inside, the field now grows as \(r^2\) rather than \(r\), because more of the charge is concentrated toward the outside.

    Checkpoint 17.4

    A point charge \(+q\) sits at the center of a thin spherical shell that carries a charge \(-2q\) spread uniformly. (a) What is the field inside the shell, at distance \(r\) from the center? (b) What is the field outside the shell? (c) Sketch a few field lines. In which region do they point outward, and in which inward?

    Answer

    Cylinders

    Line of charge with a coaxial cylindrical Gaussian surface of radius r and length L.
    Figure 17.8. A cylindrical Gaussian surface around an infinite line of charge. The field is perpendicular to the curved side and the same everywhere on it. The end caps contribute no flux because the field runs parallel to them.
    Figure descriptionA long vertical line of charge with a coaxial Gaussian cylinder of radius r and length L drawn around it. On the curved side of the cylinder, arrows show the field pointing radially outward, perpendicular to the surface. On the top and bottom end caps, arrows show the outward area vectors pointing up and down, perpendicular to the field, so the caps carry no flux.

    An infinite line of charge. A long straight line carries uniform linear charge density \(\lambda\). By cylindrical symmetry its field points radially away from the line and has a magnitude \(E(r)\) that depends only on the distance \(r\) from it. For the Gaussian surface, take a closed cylinder of radius \(r\) and length \(L\), coaxial with the line (Figure 17.8).

    On the curved side of the cylinder, \(\vec{E}\) points radially outward, along the outward normal, and has the same magnitude \(E(r)\) everywhere, so the flux through the side is \(E\) times its area, \(E(2\pi rL)\). On the two flat end caps the field is parallel to the surface, so their flux is zero. The cylinder encloses a length \(L\) of the line, and so a charge \(\lambda L\). Gauss’s law gives

    \[E(2\pi rL) = \frac{\lambda L}{\epsilon_0} \qquad\Longrightarrow\qquad E = \frac{\lambda}{2\pi\epsilon_0 r}.\]

    This is equation (16.10), which took an integral and a limit in Chapter 16. The arbitrary length \(L\) canceled, as it had to.

    A charged cylindrical shell. Suppose instead that the charge \(\lambda\) per unit length is spread uniformly over the surface of a long, thin-walled cylinder of radius \(R\), a charged pipe. Outside it (\(r > R\)) the same Gaussian cylinder encloses the same charge \(\lambda L\) and gives the same field, \(\lambda/2\pi\epsilon_0 r\): from outside, a charged pipe is indistinguishable from a charged line along its axis. Inside (\(r < R\)) the Gaussian cylinder encloses no charge at all, so \(E(2\pi rL) = 0\) and the field is zero everywhere inside the pipe.

    Example 17.7: A charged insulating rod

    A long, solid plastic rod of radius \(R = 1.0\,\mathrm{cm}\) carries a uniform volume charge density \(\rho = 2.0\times 10^{-5}\,\mathrm{C/m^3}\). Find the electric field (a) \(0.50\,\mathrm{cm}\) from the axis, inside the rod; (b) at its surface; and (c) \(3.0\,\mathrm{cm}\) from the axis.

    Solution

    The rod is cylindrically symmetric, so we use a coaxial Gaussian cylinder of radius \(r\) and length \(L\). In every case the flux is \(E(2\pi rL)\). Only the enclosed charge differs.

    Inside, \(r < R\), the Gaussian cylinder encloses the volume \(\pi r^2 L\), and so charge \(\rho\pi r^2 L\):

    \[E(2\pi rL) = \frac{\rho\pi r^2L}{\epsilon_0} \qquad\Longrightarrow\qquad E = \frac{\rho r}{2\epsilon_0}.\]

    Outside, \(r > R\), it encloses the whole cross-section, charge \(\rho\pi R^2 L\), which is the same as a line with \(\lambda = \rho\pi R^2\):

    \[E = \frac{\rho R^2}{2\epsilon_0 r}.\]

    (a) At \(r = 0.0050\,\mathrm{m}\),

    \[E = \frac{(2.0\times10^{-5})(0.0050)}{2(8.85\times10^{-12})} = \boxed{5.6\times 10^{3}\,\mathrm{N/C}}.\]

    (b) At \(r = R = 0.010\,\mathrm{m}\), either formula gives \(\boxed{1.13\times 10^{4}\,\mathrm{N/C}}\).

    (c) At \(r = 0.030\,\mathrm{m}\),

    \[E = \frac{(2.0\times10^{-5})(0.010)^2}{2(8.85\times10^{-12})(0.030)} = \boxed{3.8\times 10^{3}\,\mathrm{N/C}}.\]

    The field grows linearly inside the rod, peaks at its surface, and falls off as \(1/r\) outside, the cylindrical counterpart of the uniformly charged solid sphere of Section 17.4 (compare Figure 16.12). All three fields point radially away from the axis.

    Planes

    Two panels showing a pillbox Gaussian surface through an infinite plane of positive charge.
    Figure 17.9. A pillbox Gaussian surface through an infinite plane of charge. (a) In three dimensions the pillbox passes straight through the plane, and its two end caps, each of area \(A\), are parallel to the plane. The plane cuts out a patch of area \(A\) inside the pillbox, carrying charge \(\sigma A\). (b) Seen edge-on, the end caps and the plane appear as parallel lines. Flux leaves through both end caps and none through the curved side, so \(2EA = \sigma A/\epsilon_0\).
    Figure descriptionTwo panels showing a pillbox Gaussian surface through an infinite plane of positive charge. Panel a, a three-dimensional view: the charged plane is drawn as a large, slightly transparent sheet seen at an angle, its edges trailing off as dashed lines to show it continues forever. A short, wide cylinder, a pillbox shaped like a coin, passes straight through the sheet with its axis perpendicular to it. Its two circular end caps, each of area A, are parallel to the sheet, one on each side at equal distances. Where the sheet cuts through the pillbox, a circular patch of the sheet, drawn in the same perspective as the sheet and the caps, is shaded darker: this is the enclosed charge, of area A and charge sigma A. Field arrows point straight out of both end caps, away from the plane. Panel b, the same arrangement seen edge-on: the plane is a vertical band, and the pillbox is a rectangle straddling it, with its two end caps drawn as vertical lines parallel to the band. The short piece of the band inside the rectangle is shaded as the enclosed charge. Field arrows leave through both end caps, perpendicular to them, and run parallel to the top and bottom sides, which represent the curved side of the pillbox.

    An infinite plane of charge. An infinite plane carries uniform surface charge density \(\sigma\). By planar symmetry, its field is perpendicular to the plane and points away from it on both sides, with a magnitude that can depend only on the distance from the plane. For the Gaussian surface take a short closed cylinder, often called a pillbox, that pierces the plane at right angles, with end caps of area \(A\) an equal distance from the plane on either side (Figure 17.9).

    On each end cap the field points outward, along the outward normal, with magnitude \(E\), so each cap contributes flux \(EA\). The field runs parallel to the curved side, which contributes nothing. The pillbox encloses a patch of the plane of area \(A\), and so charge \(\sigma A\). Therefore

    \[2EA = \frac{\sigma A}{\epsilon_0} \qquad\Longrightarrow\qquad E = \frac{\sigma}{2\epsilon_0},\]

    which is equation (16.13). Notice that we never had to specify how far the end caps are from the plane. Gauss’s law does not merely tell us the field at one distance: it shows that the field is the same at every distance, a result that was a surprise in Chapter 16. The field of two oppositely charged plates, \(\sigma/\epsilon_0\) between them and zero outside (equation (16.14)), follows from this result by superposition, just as before.

    Example 17.8: A thick charged slab

    A large, flat plastic slab of thickness \(d = 2.0\,\mathrm{cm}\) carries a uniform volume charge density \(\rho = 3.0\times 10^{-6}\,\mathrm{C/m^3}\). Find the electric field (a) \(0.50\,\mathrm{cm}\) from the slab’s midplane, inside it, and (b) outside the slab.

    Solution

    The slab has planar symmetry about its midplane, so the field points away from the midplane on both sides and depends only on the distance \(x\) from it. Use a pillbox centered on the midplane with end caps of area \(A\) at \(\pm x\). The flux is \(2EA\), as for the thin plane.

    Inside, \(x < d/2\), the pillbox encloses a thickness \(2x\) of the slab, charge \(\rho(2xA)\):

    \[2EA = \frac{2\rho xA}{\epsilon_0} \qquad\Longrightarrow\qquad E = \frac{\rho x}{\epsilon_0}.\]

    At \(x = 0.0050\,\mathrm{m}\),

    \[E = \frac{(3.0\times10^{-6})(0.0050)}{8.85\times10^{-12}} = \boxed{1.7\times 10^{3}\,\mathrm{N/C}}.\]

    Outside, \(x > d/2\), the pillbox encloses the full thickness, charge \(\rho dA\):

    \[E = \frac{\rho d}{2\epsilon_0} = \frac{(3.0\times10^{-6})(0.020)}{2(8.85\times10^{-12})} = \boxed{3.4\times 10^{3}\,\mathrm{N/C}},\]

    the same at every distance outside. From outside, the slab acts exactly like a thin plane with \(\sigma = \rho d\). The field is zero at the midplane, grows linearly to the surfaces, and is constant beyond them.

    Answers to Checkpoints

    Checkpoint 17.4. (a) A Gaussian sphere of radius \(r\) inside the shell encloses only \(+q\), so \(E = k_eq/r^2\), pointing outward, exactly as if the shell were absent. (b) A Gaussian sphere outside encloses \(q - 2q = -q\), so \(E = k_eq/r^2\), pointing inward, as if a charge \(-q\) sat at the center. (c) Inside, lines point outward from \(+q\) and end on the shell. Outside, lines come in from far away and end on the shell. The shell’s \(-2q\) absorbs all the lines from \(+q\) plus an equal number more from outside.


    This page titled 17.4: Applications of Gauss’s Law was last modified on Thu, 12 Nov 2026 04:27:11 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Michael Ragsdale.