D.4: Integration in Physics: Slice, Label, Add

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.

    D.4: Integration in Physics: Slice, Label, Add

    Most integrals in physics are built the same way, and once you recognize the pattern they become routine:

    1. Set up a coordinate system. You need a way to say where each piece is.
    2. Slice the object into small pieces and label each piece by a single coordinate. Choose the slices so that everything you need (density, distance, direction) is the same throughout any one slice.
    3. Write the small amount of the quantity you want, contributed by one slice, in terms of that coordinate and its \(d\): for example \(dm = \lambda\,dx\).
    4. Add up the slices with an integral. The limits are the coordinates of the first and last slices.
    5. Check the answer with units, a limiting case, or a rough average.

    The examples below use this recipe on mass and area, where the answers are easy to check. Chapters 15 and 16 use the identical recipe to find forces and fields from continuous charge distributions (Section 15.4).

    Example D.2: Mass of a nonuniform rod

    A thin rod lies along the \(x\)-axis from \(x = 0\) to \(x = 2.0\,\mathrm{m}\). It is made thicker toward one end, so its linear mass density increases along its length as

    \[\lambda(x) = 0.20\,\mathrm{kg/m} + (0.30\,\mathrm{kg/m^2})\,x .\]

    Find the rod’s total mass.

    Solution

    If the density were uniform we would just multiply, \(m = \lambda L\). It is not, so we slice. Cut the rod into thin slices of length \(dx\); the coordinate \(x\) labels each slice. A slice is so thin that \(\lambda\) is constant across it, so its mass is “mass per length times length”:

    \[dm = \lambda\,dx .\]

    The first slice is at \(x = 0\) and the last at \(x = 2.0\,\mathrm{m}\), so the total mass is

    \[m = \int dm = \int_0^{2.0} \bigl(0.20 + 0.30\,x\bigr)\,dx = \Bigl[\,0.20\,x + 0.15\,x^2\,\Bigr]_0^{2.0} = 0.40 + 0.60 = 1.0\,\mathrm{kg}.\]

    Check: the density runs from \(0.20\,\mathrm{kg/m}\) at one end to \(0.80\,\mathrm{kg/m}\) at the other. Since it varies linearly, its average is the midpoint value, \(0.50\,\mathrm{kg/m}\), and \((0.50\,\mathrm{kg/m})(2.0\,\mathrm{m}) = 1.0\,\mathrm{kg}\). The integral and the average agree. For a density that is not linear the simple average will no longer be exact, but it remains an excellent way to catch a large mistake.

    Choosing the slices: the area of a circle

    The same recipe finds areas and volumes. To find the area of a circle of radius \(R\), slice it into thin concentric rings, like the grooves on a vinyl record (Figure D.4). The ring at radius \(r\) has width \(dr\), and \(r\) labels each ring. Imagine cutting one ring and straightening it out: it becomes a thin strip of length \(2\pi r\) (the ring’s circumference) and width \(dr\). So its area is length times width,

    \[dA = 2\pi r\,dr .\]

    The rings run from \(r = 0\) at the center to \(r = R\) at the edge:

    \[A = \int dA = \int_0^R 2\pi r\,dr = 2\pi\,\frac{r^2}{2}\Big|_0^R = \pi R^2,\]

    the familiar result. Building a ball out of thin spherical shells, like the layers of an onion, works the same way in three dimensions: a shell of radius \(r\) and thickness \(dr\) has volume \(dV = 4\pi r^2\,dr\) (its surface area times its thickness), and \(\int_0^R 4\pi r^2\,dr = \tfrac{4}{3}\pi R^3\), the volume of a sphere.

    On the left, a disk of radius R with one thin ring at radius r highlighted.
    Figure D.4. Slicing a disk into rings. A thin ring at radius \(r\) with width \(dr\), cut and straightened, is a strip of length \(2\pi r\) and width \(dr\), so its area is \(dA = 2\pi r\,dr\). Adding the rings from \(r = 0\) to \(r = R\) gives \(\pi R^2\).
    Figure descriptionOn the left, a disk of radius R with one thin ring at radius r highlighted. An arrow from the center marks the radius r, and the ring's small width is labeled d r. On the right, the same ring is shown cut and straightened into a long thin rectangle whose length is labeled two pi r and whose width is labeled d r. The figure shows that the ring's area is approximately its circumference times its width.

    Why rings rather than, say, vertical strips? Both would work for the area alone, but rings make the integral simple because every point of a ring is the same distance from the center. That matters as soon as something depends on \(r\), as in the next example. The general rule: choose slices over which everything in the integrand is constant. For a cylinder whose density changes along its length, slice it crosswise into thin disks of thickness \(dz\). For one whose density changes with distance from its axis, slice it into nested cylindrical shells of thickness \(dr\).

    Example D.3: A disk thinning toward the rim

    A thin disk of radius \(R\) is thickest at its center and tapers to nothing at its edge, so its surface mass density falls off linearly with distance from the center: \(\sigma(r) = \sigma_0\,(1 - r/R)\). It equals \(\sigma_0\) at the center and zero at the rim. Find the mass of the disk.

    Solution

    The density depends on \(r\), so slice into rings: every point of a ring has the same density. The ring at radius \(r\) has area \(dA = 2\pi r\,dr\), so its mass is “mass per area times area,”

    \[dm = \sigma\,dA = \sigma_0\Bigl(1 - \frac{r}{R}\Bigr)\,2\pi r\,dr = 2\pi\sigma_0\Bigl(r - \frac{r^2}{R}\Bigr)dr .\]

    Add the rings from the center to the rim:

    \[m = \int_0^R 2\pi\sigma_0\Bigl(r - \frac{r^2}{R}\Bigr)dr = 2\pi\sigma_0\Bigl(\frac{R^2}{2} - \frac{R^2}{3}\Bigr) = \tfrac{1}{3}\,\sigma_0\,\pi R^2 .\]

    Check: the mass is the same as for a uniform disk with density \(\tfrac{1}{3}\sigma_0\). That is sensible. The density runs from \(\sigma_0\) down to \(0\), so the effective average must lie between them, and it should lie below the midpoint \(\tfrac12\sigma_0\) because most of a disk’s area is near the rim, where the density is low. Had we found an average density larger than \(\sigma_0\), or negative, we would know we had made a mistake.

    Checkpoint D.4

    A long solid cylinder carries charge whose volume density depends only on the distance from its axis. To find its total charge, should you slice it into disks of thickness \(dz\) or into cylindrical shells of thickness \(dr\)? Why?

    When the pieces are vectors

    Sometimes each small piece contributes a vector: a small force or a small electric field, each pointing in its own direction. You cannot add vectors by adding their magnitudes, but you can add their components. So a vector integral is really two or three ordinary integrals, one for each component, often with some of them canceling by symmetry. Chapters 15 and 16 work through this step by step, beginning with equations (15.6) and (16.8). The recipe is the one above; only the bookkeeping is longer.

    Integrals you will meet in this book

    Every integral below means the same thing: add up the small pieces to get the whole.

    Integrals used in this book
    IntegralAdds upWhere
    \(\Delta x = \int v\,dt\)small displacements \(v\,dt\)Ch. 2
    \(W = \int F\,dx\)work over small steps \(F\,dx\)Eq. (7.6)
    \(\vec{J} = \int \vec{F}\,dt\)small momentum changes \(\vec F\,dt\)Eq. (9.4)
    \(I = \int r^2\,dm\)each bit of mass times \(r^2\)Eq. (10.10)
    \(\vec{E} = \int d\vec{E}\)fields of small charges \(dq\)Eq. (16.8)
    \(\Delta V = -\int \vec{E}\cdot d\vec{s}\)potential changes over small stepsEq. (18.1)
    \(\Phi_B = \int \vec{B}\cdot d\vec{A}\)flux through small patches \(d\vec A\)Eq. (24.2)

    Answers to Checkpoints

    Checkpoint D.4. Cylindrical shells. Every point of a thin shell is the same distance from the axis, so the density is constant across the shell and its charge is simply \(dq = \rho\,(2\pi r L)\,dr\). Across a disk, by contrast, the density would vary from center to edge.


    This page titled D.4: Integration in Physics: Slice, Label, Add was last modified on Thu, 12 Nov 2026 04:27:12 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Michael Ragsdale.