Opening the book…
Most integrals in physics are built the same way, and once you recognize the pattern they become routine:
- Set up a coordinate system. You need a way to say where each piece is.
- 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.
- 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\).
- Add up the slices with an integral. The limits are the coordinates of the first and last slices.
- 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.
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.
| Integral | Adds up | Where |
|---|---|---|
| \(\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 steps | Eq. (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.
The book could not be loaded just now.