Module 1: The Definite Integral and the Fundamental Theorem
Define the definite integral as a limit of Riemann sums and connect it to antiderivatives through the Fundamental Theorem of Calculus.
Area, Riemann Sums, and the Definite Integral
- Approximate the area under a curve with left, right, and midpoint Riemann sums.
- Express a definite integral as the limit of a Riemann sum.
- State the basic properties of the definite integral.
A curved region can be approximated by rectangles even when no familiar area formula applies. The choice of sample points changes each finite approximation. A definite integral is the common limit, when it exists, as the largest subinterval width tends to zero. We begin with a nonnegative function, then distinguish signed accumulation from geometric area.
The big picture
For y = x2 on [0, 2], four right-endpoint rectangles have total area 3.75, while the region itself has area 8/3. The discrepancy is the starting point: we want a definition that separates a finite approximation from its exact limiting value.
For a continuous nonnegative function, increasingly fine partitions give sums converging to the area under its graph. For a function that takes both signs, the same construction measures signed accumulation. The area of the whole region between the graph and the axis is the integral of |f| instead.[2][2]
Key idea: a definite integral is a common limit of Riemann sums when that limit exists; it is not an ordinary sum of rectangles whose widths are literally zero.
Building a Riemann sum, one piece at a time
Think of the region as a loaf of bread you are cutting into equal slices. Here is the recipe.
- Pick how many strips you want, and call that number n. For a continuous function, the sums converge as the largest strip width tends to zero. A particular increase in the number of strips need not reduce the error monotonically.
- Find the width of each strip. Cut the interval from a to b into n equal pieces, so each strip has width
Delta x = (b - a)/n. Read that as "the width equals b minus a, divided by n." - For each strip, choose one x-value and measure the height of the curve there, which is
fat that x. - Each rectangle has area height times width. Add up all n rectangle areas. That total is a Riemann sum.
Written out, a Riemann sum looks like this:
S = f(x1) Delta x + f(x2) Delta x + ... + f(xn) Delta x
The only choice left is where in each strip to measure the height. Use the left edge of every strip and you get a left sum. Use the right edge and you get a right sum. Use the middle and you get a midpoint sum. For a curve that is climbing the whole way, the left sum comes out a little low and the right sum a little high, because the left edge of a rising strip is its shortest point and the right edge is its tallest.
Key idea: a Riemann sum has exactly three ingredients - how many strips, how wide each one is, and where inside each strip you sample the height.
Sigma notation, so we can talk about all n strips at once
Writing f(x1) Delta x + f(x2) Delta x + ... + f(xn) Delta x every time is tiring, and the dots hide exactly the thing we want to control. The compact form uses the summation sign:
Sn = sum from i = 1 to n of f(xi) Delta x
Read it as "add up f of x-sub-i times dx, letting the counter i run from 1 up to n." Nothing new has happened; we have only given the pattern a name. The sample points follow a pattern too: for a right sum the i-th edge is xi = a + i*Delta x, for a left sum xi = a + (i - 1)*Delta x, and for a midpoint sum xi = a + (i - 0.5)*Delta x.
One closed-form sum, provable by induction, lets us collapse the whole thing into a formula in n:
sum from i = 1 to n of i2 = n(n + 1)(2n + 1)/6
Sanity-check it on n = 3: 1 + 4 + 9 = 14, and the formula gives 3*4*7/6 = 84/6 = 14. It holds, and we will use it shortly to get an exact area rather than an estimate.
Key idea: sigma notation plus a closed formula turns "add up n rectangles" into "simplify one expression in n," which is what makes the limit computable.
Let us work one all the way through
Estimate the area under f(x) = x2 on the interval from 0 to 2, using a right sum with n = 4 strips. We will take it one small step at a time.
- Find the strip width. Here a = 0 and b = 2 and n = 4, so
Delta x = (2 - 0)/4 = 0.5. Each strip is half a unit wide. - List the right edges of the four strips. Starting at 0 and stepping by 0.5, the right edges are 0.5, 1.0, 1.5, and 2.0.
- Find the height at each right edge. Since
f(x) = x2means "square the input," we getf(0.5) = 0.25,f(1) = 1,f(1.5) = 2.25, andf(2) = 4. - Add the four heights first.
0.25 + 1 + 2.25 + 4 = 7.5. - Multiply that total by the common width.
7.5 * 0.5 = 3.75.
So our estimate is 3.75. The true area, which we will confirm below, is 8/3 ~= 2.667. Our estimate is a bit high, exactly as expected for a right sum of a rising curve. Read that once more if you like: right edges are the tall side of each rising strip, so the rectangles stick out above the curve and the total overshoots. Using more strips would shrink the overshoot.
The same problem with left and midpoint samples
Change only the sampling rule and rerun the identical recipe. The interval, the function, and n = 4 all stay put, so Delta x = 0.5 throughout.
Left sum. The left edges are 0, 0.5, 1.0, 1.5. Their heights are f(0) = 0, f(0.5) = 0.25, f(1) = 1, f(1.5) = 2.25. Add the heights: 0 + 0.25 + 1 + 2.25 = 3.5. Times the width: 3.5 * 0.5 = 1.75. As promised for a rising curve, the left sum undershoots the true 2.667.
Midpoint sum. The midpoints sit half a step in from each left edge: 0.25, 0.75, 1.25, 1.75. Squaring each gives 0.0625, 0.5625, 1.5625, 3.0625. Add them: 0.0625 + 0.5625 + 1.5625 + 3.0625 = 5.25. Times the width: 5.25 * 0.5 = 2.625.
Now line the three up against the exact answer 8/3 = 2.6667 (four decimals):
| Rule | Estimate | Error |
| Left, n = 4 | 1.7500 | 0.9167 low |
| Right, n = 4 | 3.7500 | 1.0833 high |
| Midpoint, n = 4 | 2.6250 | 0.0417 low |
The midpoint error is less than one twentieth of either endpoint error in this example, and the reason is visible if you draw one strip. A midpoint rectangle cuts the curve: too short on the right half of the strip, too tall on the left half, and the two errors very nearly cancel. An endpoint rectangle makes its whole error in one direction with nothing to cancel against. With bounded second derivative, the standard midpoint error bound is proportional to 1/n2; endpoint bounds with a bounded first derivative are proportional to 1/n. These are bounds, not a promise that every actual error has that exact ratio.[3] Averaging the left and right sums, (1.75 + 3.75)/2 = 2.75, gives the trapezoid rule, whose error of 0.0833 is exactly twice the midpoint error.
Key idea: sampling matters: midpoint sampling is especially effective for this smooth parabola, but no sampling rule wins for every integrand.
![Four left and four right rectangles approximate x squared on [0,2], below and above the curve respectively.](/assets/img/math-calc2-reviewed/riemann-endpoints.png)
From a sum to the integral sign
Write the finite strip width as Delta x = (b - a)/n. For sample points xi* in their respective strips, the equal-width sum is Sn = sum f(xi*) Delta x. If all choices of sample points lead to the same finite limit as n grows, we write that limit as integral from a to b of f(x) dx. The dx in integral notation identifies the integration variable; it is distinct from the positive finite width Delta x.[2]
The general definition also allows unequal widths Delta xi. The sum is then sum f(xi*) Delta xi, and the largest width, called the mesh, must tend to zero. Merely increasing n is insufficient if one interval stays wide. Continuity on [a, b] guarantees Riemann integrability. Bounded functions with finitely many jump discontinuities are also integrable; not every bounded function is.[2]
For example, take f(x) = 1 at rational x and 0 at irrational x on [0, 1]. Rational samples give sum 1, while irrational samples give sum 0, however fine the partition. There is no common Riemann-sum limit. This counterexample explains why sample independence belongs in the definition.
When f is negative, f(xi*) Delta x is a signed contribution. The integral of sin(x) on [0, 2*pi] is zero, although its total geometric area is 4.
Remember: check the existence of a common finite limit before treating an integral as a number.
Getting the exact area from the definition, with no shortcuts
We claimed the true area under x2 from 0 to 2 is 8/3. Let us earn that number using nothing but the definition and the sum formula. This is the only time you will do it the hard way, and it is worth doing once so the shortcut in the next lesson feels like the gift it is.
- Set up the general right sum. With a = 0, b = 2, and n strips, the width is
Delta x = (2 - 0)/n = 2/n. - Locate the i-th right edge:
xi = 0 + i*(2/n) = 2i/n. - Find its height:
f(xi) = (2i/n)2 = 4i2/n2. - Write the sum:
Sn = sum from i = 1 to n of (4i2/n2)*(2/n) = (8/n3) * sum from i = 1 to n of i2. The constants 8 and n3 do not depend on i, so they slide out in front of the sum. - Replace the sum with its closed form:
Sn = (8/n3) * n(n + 1)(2n + 1)/6. - Expand the numerator:
(n + 1)(2n + 1) = 2n2 + 3n + 1, soSn = (8/6) * (2n2 + 3n + 1)/n2 = (4/3)*(2 + 3/n + 1/n2). - Take the limit. As
n -> infinity, both3/nand1/n2go to 0, leavingSn -> (4/3)*2 = 8/3.
So integral from 0 to 2 of x2 dx = 8/3 exactly, and 8/3 = 2.6667 to four places. Check the formula against the arithmetic we already did: at n = 4 it predicts (4/3)*(2 + 0.75 + 0.0625) = (4/3)*(2.8125) = 3.75, which is precisely the right sum we computed strip by strip. The formula and the hand count agree, which is the sort of cross-check worth insisting on.
The formula also settles how fast the estimate improves. At n = 8 it gives (4/3)*(2 + 0.375 + 0.015625) = 3.1875, an error of 0.5208 against the earlier 1.0833 - just under half, exactly the 1/n behaviour claimed above. An absolute error below 0.0005 needs at least 8001 right-endpoint strips here, since the exact error is 4/n + 4/(3n2), which is a good reason to want the Fundamental Theorem.
Key idea: the definite integral is defined as a limit, and for simple functions you really can evaluate that limit by hand; every later technique is a way of avoiding this labour.
Bounds that catch impossible answers
Suppose f is integrable and m <= f(x) <= M on [a, b], with a < b. Every Riemann sum is trapped between m(b - a) and M(b - a), so its limit is too. For x2 on [0, 2], this gives 0 <= integral <= 8. It is a coarse check, but it immediately rejects a negative answer or an answer larger than the enclosing rectangle.[2]
A stronger comparison uses integrable functions g and f. If g(x) <= f(x) everywhere on the interval, then integral g <= integral f. Also, |integral f| <= integral |f|. Cancellation can reduce signed accumulation; it cannot increase it beyond total magnitude.
![The line x-1 creates two triangular areas of one half, negative on [0,1] and positive on [1,2].](/assets/img/math-calc2-reviewed/signed-cancellation.png)
Four properties that save work
For integrable functions on the intervals involved, these rules follow from the Riemann-sum definition, and they mirror the limit laws you already used in Calculus I.
integral from a to a of f dx = 0. No width from a to a means no area.integral from a to b of f dx = - integral from b to a of f dx. Sweeping the region backward flips the sign.integral from a to b of [f + g] dx = integral f Delta x + integral g dx. The area of a sum is the sum of the areas.integral from a to c of f Delta x + integral from c to b of f dx = integral from a to b of f dx. You can split a region at any inside point c and add the pieces.
Common misconceptions
- Forgetting to multiply by Delta x. This is far and away the most common slip. It is easy to add up the heights and stop, but a Riemann sum is a sum of areas, and every area is height times width. Skipping Delta x in our example would have produced 7.5 instead of 3.75. A quick habit: after you add the heights, ask "times the width?" before writing anything down.
- "A Riemann sum is the exact area." A finite Riemann sum is generally an approximation, though it can be exact, for example for a constant function. The exact area is the limit as the largest subinterval width tends to zero. Our n = 4 right sum of 3.75 misses the true 8/3 by more than a whole unit.
- "Right sums are always too big." They overshoot for a rising curve, but for a falling curve the right edge is the short side, so a right sum undershoots. It is the direction of the function, not the word "right," that decides. On
f(x) = 4 - xover [0, 4] the right sum is the low one. - "The integral is always positive." A nonnegative function has a nonnegative integral, but a function that takes both signs can also have a positive integral if its positive contributions dominate. On [0, 2*pi] the integral of sin(x) is 0, because the hump above the axis and the trough below cancel exactly. The integral tracks signed area, and a question about total distance travelled or total physical area needs the absolute value instead.
- Counting the sample points wrong. With n strips there are n + 1 grid points but only n rectangles. A right sum on [0, 2] with n = 4 uses 0.5, 1.0, 1.5, 2.0 and never uses 0; a left sum uses 0, 0.5, 1.0, 1.5 and never uses 2. Using all five values gives an answer wrong by a whole rectangle. Related: the width is
(b - a)/n, notn/(b - a), so if Delta x comes out bigger than the interval you have flipped the fraction.
Recap
- To find area under a curve, cover it with n rectangles of width
Delta x = (b - a)/nand add their areas. That total is a Riemann sum, written compactly assum from i = 1 to n of f(xi) Delta x. - Left, right, and midpoint sums differ only in where you measure each rectangle's height. For a rising curve the left sum is low and the right sum is high; the midpoint sum uses midpoints, rather than averaging the endpoint sums, and is more accurate in our example.
- Under the corresponding bounded-derivative assumptions, standard error bounds are of order 1/n for endpoint sums and 1/n2 for midpoint and trapezoid sums. Actual errors may be smaller or zero.
- With the closed form
sum i2 = n(n + 1)(2n + 1)/6the right sum forx2on [0, 2] simplifies to(4/3)(2 + 3/n + 1/n2), whose limit is exactly 8/3. - The definite integral
integral from a to b of f(x) dxis the limit of those sums as the largest subinterval width tends to zero, giving exact signed area. - Handy properties: equal limits give 0, swapping limits flips the sign, integrals of sums split apart, and an interval can be split at an interior point.
Computing every integral from its definition would be unbearable. The next lesson supplies the shortcut that makes 8/3 appear in one line.
Retrieve, explain, and revisit
Close the notes and respond: Reconstruct a right-endpoint sum from the interval and n. Explain why a signed integral can be zero while geometric area is positive. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.1 Approximating Areas. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.2 The Definite Integral. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.6 Numerical Integration. Read the section.
- Key terms
- Riemann sum
- A finite sum of sampled function values times subinterval widths, approximating signed accumulation.
- Definite integral
- The common finite limit of Riemann sums as the partition mesh tends to zero, when that limit exists.
- Limits of integration
- The lower and upper bounds a and b of a definite integral.
- Signed area
- Area above the axis counted positive and area below counted negative.
- Integrand
- The function f(x) being integrated inside the integral.
The Fundamental Theorem of Calculus
- State both parts of the Fundamental Theorem of Calculus.
- Differentiate a function defined by an integral.
- Evaluate definite integrals using antiderivatives.
For a continuous rate, the derivative of its running integral recovers the rate. Conversely, an antiderivative evaluates a definite integral by its values at the endpoints. These two statements form the Fundamental Theorem of Calculus. Their hypotheses explain why a discontinuity or an interior singularity needs separate attention.
The big picture
Picture a car with an odometer and a speedometer. The speedometer reading is the rate of change of the odometer. Run that backward: if you know the speed at every instant and add it all up, you recover the total distance on the odometer. The Fundamental Theorem of Calculus (FTC) says this always works: integrating a rate gives back the total, and differentiating a running total gives back the rate. Integration and differentiation undo each other. The theorem comes in two parts. In the version used here, f is continuous on the interval in question. Speed accumulates total distance; signed velocity accumulates displacement.[1]
Key idea: integration and differentiation are opposite operations, so an area problem can be solved with an antiderivative instead of an infinite sum.
Part 1: the running-total function
Fix a starting point a, and let x be a movable right edge. Define the accumulation function
g(x) = integral from a to x of f(t) dt
which reads "g of x equals the area under f from a out to x." As you slide x to the right, signed accumulation g(x) grows where f is positive and decreases where f is negative. How fast does it grow? Exactly at the current height of the curve. A taller curve piles on area faster. For continuous f and x in the interior of its interval, Part 1 states:
d/dx integral from a to x of f(t) dt = f(x)
Differentiating the area function hands you back the original curve. When the top edge is itself a function u(x) rather than a plain x, tack on the chain rule: d/dx integral from a to u(x) of f(t) dt = f(u(x)) * u'(x). For instance, d/dx integral from 0 to x2 of cos(t) dt = cos(x2) * 2x, because the top edge x2 has derivative 2x.

Why Part 1 is true
The argument is short enough to follow completely, and seeing it makes the theorem stop feeling like magic. Start from the definition of the derivative applied to g:
g'(x) = lim(h -> 0) [ g(x + h) - g(x) ] / h
- Interpret the numerator.
g(x + h)is the area from a out to x + h, andg(x)is the area from a out to x. Subtracting leaves only the sliver between x and x + h, sog(x + h) - g(x) = integral from x to x+h of f(t) dt. - Estimate the sliver. It is a strip of width h whose height is f, and over a tiny interval a continuous f barely changes, so its area is close to
f(x) * h. Precisely, the Mean Value Theorem for integrals guarantees some c between x and x + h withintegral from x to x+h of f(t) dt = f(c) * hexactly. - Divide by h: the quotient is exactly
f(c). - Let
h -> 0. Then c is squeezed between x and x + h, soc -> x, and because f is continuous,f(c) -> f(x). Thereforeg'(x) = f(x).
Notice where continuity was used, in step 4. That hypothesis is not decoration, and a later example shows what goes wrong when it fails.
Key idea: the area function grows at the rate given by the current height, because a sliver of width h has area about f(x) times h.
Worked Part 1 problems
Three variations, in increasing difficulty. In each case do not integrate anything - just read off the answer.
g(x) = integral from 1 to x of the square root of (1 + t3) dt, with x > -1. Nobody can write an elementary antiderivative for that integrand, and it does not matter. Part 1 givesg'(x) = the square root of (1 + x3)immediately: replace t by x and stop.d/dx integral from x to 5 of cos(t2) dt. Here x is the bottom limit. Flip it to the top first, which costs a minus sign: the integral equals- integral from 5 to x of cos(t2) dt, whose derivative is-cos(x2).d/dx integral from x to x2 of ln(t) dt. The real logarithm requires x > 0. Both limits move, so split at a positive constant, say 2: the integral isintegral from 2 to x2 of ln(t) dt - integral from 2 to x of ln(t) dt. Differentiate each piece with the chain rule:ln(x2) * 2x - ln(x) * 1 = 4x*ln(x) - ln(x), usingln(x2) = 2 ln(x).
Part 2: the workhorse for evaluating integrals
Part 2 is the one you will use constantly. If f is continuous on [a, b] and F is any antiderivative of f, meaning a function whose derivative is f, then
integral from a to b of f(x) dx = F(b) - F(a)
In plain words: find an antiderivative, plug in the top limit, plug in the bottom limit, and subtract. The bracket shorthand [F(x)] from a to b just means "F at b minus F at a."
Part 2 follows from Part 1 in two lines. The accumulation function g(x) = integral from a to x of f(t) dt has g' = f by Part 1, and F has F' = f by assumption. Two functions with the same derivative differ by a constant, so F(x) = g(x) + C. Then F(b) - F(a) = [g(b) + C] - [g(a) + C] = g(b) - g(a), and since g(a) = 0 (no width, no area), that is exactly integral from a to b of f(x) dx. The constant cancels, which is why definite integrals never carry a "+ C".
Key idea: "any antiderivative" really means any - the arbitrary constant subtracts itself away.
A short table you should be able to reconstruct
Every entry below is verified the same way: differentiate the right column and check you get the left. Do that, out loud, every time you use one.
| f(x) | An antiderivative F(x) | Check: F'(x) |
| xn, n not -1 | xn+1/(n + 1) | (n + 1)xn/(n + 1) = xn |
| 1/x | ln|x| | 1/x |
| ekx, k not 0 | ekx/k | k*ekx/k = ekx |
| sin(x) | -cos(x) | -(-sin x) = sin x |
| cos(x) | sin(x) | cos x |
| sec2(x) | tan(x) | sec2 x |
| 1/(1 + x2) | arctan(x) | 1/(1 + x2) |
The power rule fails at n = -1 because dividing by n + 1 = 0 is illegal, and that gap is exactly where the logarithm lives. The absolute value in ln|x| matters: it makes the formula valid on the negative side of the axis as well, where d/dx ln(-x) = (-1)/(-x) = 1/x still.
Worked example one, step by step
Evaluate integral from 0 to 2 of x2 dx.
- Find an antiderivative of x2, a function whose derivative is x2. That is
F(x) = x3/3, since the derivative of x3/3 is x2. - Plug in the top limit, x = 2:
F(2) = 23/3 = 8/3. - Plug in the bottom limit, x = 0:
F(0) = 03/3 = 0. - Subtract, top minus bottom:
8/3 - 0 = 8/3.
So the exact area is 8/3 ~= 2.667. That matches the prediction from last lesson, where the right sum of 3.75 was an overestimate. No infinite sum needed this time.
Worked example two, watch the signs
Evaluate integral from 0 to pi of sin(x) dx.
- Find an antiderivative of sin(x). The derivative of
-cos(x)is sin(x), soF(x) = -cos(x). - Plug in the top limit, x = pi:
-cos(pi) = -(-1) = 1. - Plug in the bottom limit, x = 0:
-cos(0) = -(1) = -1. - Subtract, top minus bottom:
1 - (-1) = 2.
The area under one arch of the sine curve is exactly 2, a strikingly clean result. Verify the antiderivative before trusting it: d/dx[-cos(x)] = -(-sin x) = sin x. It checks.
Worked example three, a fractional power
Evaluate integral from 1 to 4 of 1/(the square root of x) dx.
- Rewrite the integrand as a power:
1/(the square root of x) = x-1/2. - Apply the power rule with n = -1/2, so n + 1 = 1/2:
F(x) = x1/2/(1/2) = 2*x1/2. - Verify by differentiating back:
d/dx[2x1/2] = 2*(1/2)*x-1/2 = x-1/2. That is the integrand, so F is right. - Evaluate:
F(4) - F(1) = 2*2 - 2*1 = 4 - 2 = 2.
Worked example four, and a trap worth meeting early
Evaluate integral from 0 to 1 of e3x dx. An antiderivative is F(x) = e3x/3; check it, d/dx[e3x/3] = 3e3x/3 = e3x. Then F(1) - F(0) = e3/3 - 1/3 = (e3 - 1)/3, which is about (20.086 - 1)/3 = 6.362. The forgotten 1/3 is the single most common error here; it comes from the chain rule when you differentiate back, which is exactly why you differentiate back.
Now the trap. Try integral from -1 to 1 of 1/x2 dx mechanically. An antiderivative of x-2 is -x-1 = -1/x, so the machine produces [-1/x] from -1 to 1 = (-1/1) - (-1/(-1)) = -1 - 1 = -2. That answer is impossible: the integrand 1/x2 is positive everywhere it is defined, so any honest area must be positive. The error is that 1/x2 is not continuous on [-1, 1] - it blows up at x = 0 - so the continuous-function version of Part 2 does not apply. This unbounded integral requires separate one-sided limits at zero. The true value is not -2; the integral does not converge at all, as the improper-integral lesson will show. Check the hypothesis before you turn the crank.
Key idea: continuity on the closed interval is a sufficient hypothesis for the FTC version proved here. More general versions exist, but an interior blow-up must be treated as an improper integral.
An integrable function whose accumulation has a corner
Let f(t) = -1 for t < 0 and f(t) = 1 for t >= 0. Define g(x) = integral from -1 to x of f(t) dt. For x <= 0, g(x) = -x - 1. For x >= 0, g(x) = x - 1. Thus g is continuous at zero but has a corner there: its left derivative is -1 and its right derivative is 1. There is no g'(0), although the integral exists.
This example separates three ideas: existence of an integral, continuity of its accumulation function, and differentiability at a point. Continuity of f guarantees the last step of FTC Part 1; mere integrability does not. On either side of zero, the theorem still gives g'(x) = f(x).[1][2]
Before using an antiderivative table, specify an interval on which the formula is defined. For example, ln|x| differentiates to 1/x separately on x < 0 and x > 0, not across zero. For a general real exponent xn, work on a real interval where the power and derivative formula are defined. For ekx, the case k = 0 has antiderivative x, not e0x/0.

Common misconceptions
- Subtracting in the wrong order. It is always F(top) minus F(bottom), never the reverse. Reversing them flips the sign of the whole answer, and because a wrong sign often still looks plausible, nothing warns you.
- Losing a double negative. In the sine example,
1 - (-1)is1 + 1 = 2, not 0. When a minus meets a negative they combine into a plus. Write the parentheses and slow that line down. - "I need the +C on a definite integral." No. Any constant cancels in
F(b) - F(a), as the two-line derivation above shows. Keep the +C for indefinite integrals, where the answer really is a whole family of functions. - Forgetting the inner constant. The antiderivative of
e3xise3x/3, note3x, and the antiderivative ofcos(5x)issin(5x)/5. Differentiating your candidate back catches this in one line, every time. - Applying Part 2 across a discontinuity. The
1/x2example produced -2 for a strictly positive integrand. Before evaluating, glance at the integrand for a denominator that vanishes or a logarithm of zero inside the interval. - "Part 1 and Part 2 are unrelated." They are one fact seen twice, and Part 2 was derived from Part 1 above. Part 1 says differentiating an area returns the curve; Part 2 turns that around to evaluate areas.
- "Every function has an easy antiderivative." Finding one is usually the hard part, and some integrands such as
e-x2have no elementary antiderivative at all. The next several lessons build the techniques; Part 2 is only easy once F is in hand.
Recap
- FTC Part 1: the derivative of the running-area function
integral from a to x of f(t) dtis just f(x); with a function on top, multiply by its derivative (chain rule), and with x on the bottom, flip the limits and pick up a minus sign. - Part 1 holds because the sliver from x to x + h has area
f(c)*hfor some c in between, and continuity forcesf(c) -> f(x). - FTC Part 2:
integral from a to b of f(x) dx = F(b) - F(a)for any antiderivative F, provided f is continuous on the closed interval [a, b]. - The recipe is: antiderivative, verify by differentiating back, plug in top, plug in bottom, subtract in that order.
- The arbitrary constant cancels in the subtraction, so definite integrals carry no "+ C".
- The theorem ties the two halves of calculus together, and almost every integral from here on leans on it.
Retrieve, explain, and revisit
Close the notes and respond: State both parts of the Fundamental Theorem with their hypotheses. Differentiate an integral with two moving endpoints and explain why a pole cannot be crossed by direct evaluation. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.3 The Fundamental Theorem Of Calculus. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.2 The Definite Integral. Read the section.
- Key terms
- Fundamental Theorem of Calculus
- The theorem linking integration and differentiation as inverse operations.
- Accumulation function
- g(x) = integral from a to x of f(t) dt, the running area to a moving upper limit.
- FTC Part 1
- If f is continuous, the derivative of its accumulation function equals f at interior points.
- FTC Part 2
- For continuous f on [a, b] and F prime = f, the integral of f is F(b) - F(a).
- Bracket notation
- [F(x)] from a to b means F(b) - F(a).
The Net Change Theorem and Basic Applications
- Interpret a definite integral as accumulated net change.
- Relate displacement and total distance for a moving object.
- Compute the average value of a function.
Integrals are not only about area on a graph. They answer a very practical kind of question: if you know the rate at which something changes, how much does it change in total? If water flows into a tub at a known rate each second, the integral of that rate is the total water added. This one idea connects integrals to physics, biology, and money.
The big picture
The Fundamental Theorem said integral from a to b of F'(x) dx = F(b) - F(a). Read the left side as "add up the rate of change." Read the right side as "the net change in the quantity." So integrating a rate gives the total change. That is the Net Change Theorem.
Key idea: the integral of a rate of change over an interval is the net change in the quantity across that interval.
Displacement versus total distance
Velocity is the rate of change of position, so integrating velocity gives the change in position, called displacement:
displacement = integral from a to b of v(t) dt
Here is the catch that surprises people. Velocity can be negative when the object moves backward, and those backward stretches subtract from the total. So displacement is "where you ended up compared to where you started," which can be small even after a long trip. To get the actual total distance covered, integrate the speed, which is the absolute value of velocity so every bit of motion counts as positive:
total distance = integral from a to b of |v(t)| dt
![Velocity 2t-4 changes sign at t=2, making signed areas -4 and +1 on [0,3].](/assets/img/math-calc2-reviewed/motion-signed-distance.png)
Worked example: an object that backs up, then moves forward
An object has velocity v(t) = t - 2 meters per second for t from 0 to 3. Find both its displacement and its total distance.
First the displacement, in tiny steps.
- An antiderivative of
t - 2ist2/2 - 2t. - Plug in the top, t = 3:
32/2 - 2*3 = 4.5 - 6 = -1.5. - Plug in the bottom, t = 0:
0 - 0 = 0. - Subtract:
-1.5 - 0 = -1.5meters. The object ends up 1.5 meters behind where it started.
Now the total distance. The velocity t - 2 is negative before t = 2 and positive after, so the object first backs up, then goes forward. We split the trip at t = 2 and add the sizes of the two pieces.
- From 0 to 2:
[t2/2 - 2t] from 0 to 2 = (2 - 4) - 0 = -2. That is 2 meters of backward travel, so the distance is 2. - From 2 to 3:
[t2/2 - 2t] from 2 to 3 = (4.5 - 6) - (2 - 4) = -1.5 - (-2) = 0.5. That is 0.5 meters forward. - Add the two distances:
2 + 0.5 = 2.5meters.
So displacement is -1.5 meters but total distance is 2.5 meters. They differ because the object doubled back. Read that once more: displacement is net position change; distance is how far the object actually traveled.
Key idea: integrate v for displacement and |v| for distance. Distance equals signed displacement when v is nonnegative; if v is nonpositive, distance is the negative of displacement. With no direction reversal, distance equals the magnitude of displacement.
Second worked example: a trigonometric velocity
A particle has velocity v(t) = sin(t) meters per second for t from 0 to 3*pi/2. Find displacement and total distance.
- An antiderivative of sin(t) is
-cos(t); check by differentiating,d/dt[-cos t] = sin t. - Displacement:
[-cos t] from 0 to 3pi/2 = -cos(3pi/2) - (-cos 0) = -0 + 1 = 1meter. - Find the sign changes. On [0, pi] the sine is at or above zero; on [pi, 3pi/2] it is at or below zero. So split at t = pi.
- First piece:
[-cos t] from 0 to pi = -(-1) - (-1) = 1 + 1 = 2. Positive, so it contributes 2 meters. - Second piece:
[-cos t] from pi to 3pi/2 = -cos(3pi/2) - (-cos pi) = 0 - 1 = -1. Its size is 1 meter. - Total distance:
2 + 1 = 3meters.
Displacement 1 metre, distance 3 metres. The particle went 2 metres forward, then 1 metre back, and finished 1 metre ahead - and the arithmetic says exactly that.
Symmetry: two shortcuts you should always look for
For an integrable function on a symmetric interval [-a, a], with a > 0, check symmetry before computing. For an improper integral, establish convergence first; oddness alone does not assign it a value.[1]
- If f is odd, meaning
f(-x) = -f(x), thenintegral from -a to a of f(x) dx = 0. The area on the left is the exact negative of the area on the right, and they annihilate. - If f is even, meaning
f(-x) = f(x), thenintegral from -a to a of f(x) dx = 2 * integral from 0 to a of f(x) dx. The two halves are mirror images, so compute one and double it.
Test both on cases you can check by hand. For the odd function x3: [x4/4] from -2 to 2 = 16/4 - 16/4 = 0, as promised. For the even function x2: the rule predicts 2*[x3/3] from 0 to 2 = 2*(8/3) = 16/3, and the direct computation gives [x3/3] from -2 to 2 = 8/3 - (-8/3) = 16/3. They agree. On an exam this can turn a page of work into a single word, "odd."
Net change beyond motion
The theorem has nothing to do with physics in particular; it applies wherever a rate is known and a total is wanted.
A filling tank. Water enters at r(t) = 20 - 2t litres per minute. How much enters during the first 5 minutes? Integrate the rate: integral from 0 to 5 of (20 - 2t) dt = [20t - t2] from 0 to 5 = (100 - 25) - 0 = 75 litres. Verify the antiderivative: d/dt[20t - t2] = 20 - 2t. Correct. Note the units multiply properly - litres per minute times minutes gives litres - and units are a free error check on every applied integral.
Marginal cost. In economics, marginal cost C'(x) is the derivative of a continuous cost model at production level x. It approximates the cost of one additional discrete unit; the exact modeled increase is C(x + 1) - C(x). The added cost of going from 10 units to 20 units is therefore integral from 10 to 20 of C'(x) dx. If C'(x) = 3x2 + 10 dollars per unit, then [x3 + 10x] from 10 to 20 = (8000 + 200) - (1000 + 100) = 8200 - 1100 = 7100 dollars. Check the antiderivative: d/dx[x3 + 10x] = 3x2 + 10. Correct.
Population growth rates, drug elimination rates, rainfall intensity, and electric current all work the same way: integrate the rate over the interval, and the answer is the total.
Key idea: whenever a problem hands you a "per unit time" or "per unit item" quantity and asks for a total, you are being asked for an integral.
A change needs an initial value
If a tank starts with 120 litres and its net inflow is r(t) = 20 - 2t litres per minute over 0 <= t <= 5, its change is 75 litres and its final volume is 195 litres. The integral gives the change, not the initial stock. If there is both inflow and outflow, r must be their signed difference. Extending this linear model past the stated interval needs a physical justification.[1]
The average value of a function
Assume a < b and f is integrable. You know how to average a list of numbers. But a function has infinitely many values across an interval, so we use an integral to add them all and then divide by the width of the interval:
favg = (1/(b - a)) * integral from a to b of f(x) dx
Worked example. Find the average value of f(x) = x2 on the interval from 0 to 3.
- Integrate:
integral from 0 to 3 of x2 dx = [x3/3] from 0 to 3 = 27/3 = 9. - Divide by the width, which is
3 - 0 = 3:favg = 9/3 = 3.
The average value is 3. Sanity-check it against the function's range on [0, 3], which runs from 0 up to 9: an average of 3 sits inside that range, low rather than central because x2 spends most of the interval small and only shoots up near the right end. An average outside the range would be an immediate sign of an arithmetic error.
The Mean Value Theorem for Integrals promises that a continuous function actually attains its own average somewhere on the interval. Here we can find the spot: solve x2 = 3 to get x = the square root of 3 ~= 1.732, which does lie in (0, 3). Geometrically the theorem says a rectangle of height 3 and width 3, area 9, has exactly the same area as the region under the parabola - you can always flatten a curved region into a rectangle of the same area, and the required height is a value the function really takes.
Key idea: the average value is the height of the rectangle with the same width and the same area as the region under the curve.
![The area under x squared on [0,3] equals the area of a rectangle of width 3 and height 3.](/assets/img/math-calc2-reviewed/average-area.png)
Common misconceptions
- Reporting displacement when the question asks for distance. This is the classic error, and the tell is a sign change in velocity. Before integrating, solve
v(t) = 0and check whether any root lies strictly inside the interval. If one does, split there and add the sizes; if none does, the two answers agree in size. - Taking absolute values at the wrong moment. Total distance is
integral |v| dt, not|integral v dt|. In the first worked example those give 2.5 and 1.5 respectively - different numbers. The absolute value has to go inside, before the accumulation, or the cancellation has already happened. - "Average value is (f(a) + f(b))/2." That averages two points and ignores everything between them. On
x2over [0, 3] the endpoint rule gives(0 + 9)/2 = 4.5, half again as large as the true average of 3. - Forgetting to divide by the width. The integral alone is the accumulated total, not the average. Dropping the
1/(b - a)in the example would report 9 instead of 3, and 9 is the maximum of f on that interval. A range check alone therefore misses this error; the definition requires division by the width. - "A negative integral is a mistake." Negative results are meaningful: net motion in the negative direction, a tank draining, a population shrinking. Only quantities that cannot be negative, such as total distance or physical area, warrant suspicion.
- Ignoring units. A rate in litres per minute integrated over minutes gives litres. If your answer's units do not match what was asked, you have integrated the wrong thing - often the quantity rather than its rate.
Recap
- Net Change Theorem: integrating a rate of change gives the total change, since
integral F' dx = F(b) - F(a). - Displacement is
integral v dt; total distance isintegral |v| dt. Split at every sign change of v, then add the sizes of the pieces. - For
v(t) = t - 2on [0, 3] the displacement is -1.5 m and the distance is 2.5 m; forv(t) = sin ton [0, 3pi/2] they are 1 m and 3 m. - Integrable odd functions have zero integral over intervals centred at 0; even integrands are twice the half-interval, and checking symmetry first can eliminate the work entirely.
- Average value is
(1/(b - a)) integral from a to b of f dx, the height of the rectangle with the same area as the region. - The Mean Value Theorem for Integrals says a continuous function actually attains its average value at some interior point.
- Any "per unit" rate - litres per minute, dollars per unit, people per year - integrates to a total in the matching units.
Retrieve, explain, and revisit
Close the notes and respond: Explain when displacement equals distance and when its absolute value equals distance. Recover a final amount from its initial value and a rate integral. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.4 Integration Formulas And The Net Change Theorem. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.2 The Definite Integral. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.3 The Fundamental Theorem Of Calculus. Read the section.
- Key terms
- Net Change Theorem
- Integrating a rate of change gives the net change: integral of F' equals F(b) - F(a).
- Displacement
- The net change in position, the integral of velocity over time.
- Total distance
- The integral of speed, the absolute value of velocity, over time.
- Average value
- (1/(b - a)) times the integral of f over [a, b].
- Mean Value Theorem for Integrals
- A continuous function attains its average value at some point in the interval.
Module 2: Techniques of Integration
Master the core methods that turn hard antiderivatives into solvable ones: substitution, parts, trig methods, and partial fractions.
Integration by Substitution
- Reverse the chain rule using u-substitution.
- Change the limits of integration for a definite integral.
- Choose an effective substitution.
The chain rule gives d[sin(x2)]/dx = 2x cos(x2). Substitution reverses this pattern: setting u = x2 and du = 2x dx turns the corresponding integral into an integral of cos(u). The essential check is whether the differential and the rest of the integrand have all been expressed in the new variable.
The big picture
Back in Calculus I, the chain rule differentiated a function-inside-a-function. Substitution runs that rule in reverse. When an integrand contains an inner function and (up to a constant) its own derivative, we rename the inner function u, and the integral collapses into something simple.
Key idea: substitution reverses the chain rule by renaming the inner function u, so that integral f(g(x)) g'(x) dx becomes the easy integral f(u) du.
The method in three moves
- Choose
uto be the inner function, the thing tucked inside something else. - Differentiate it to get
du = g'(x) dx. Read this as "a small change in u equals the derivative of u, times dx." - Swap every x-piece for a u-piece. If the integral now reads entirely in u, you are set. Integrate, then rename u back to x at the end.
Worked example one, a perfect match
Evaluate integral 2x cos(x2) dx.
- The inner function is x2, so let
u = x2. - Differentiate:
du = 2x dx. - Notice the integrand already contains
2x dx, so it swaps out cleanly. The integral becomesintegral cos(u) du. - Integrate:
integral cos(u) du = sin(u) + C. - Rename u back to x2:
sin(x2) + C.
Worked example two, fixing a missing constant
Often the derivative is almost present, off by a number. You patch that with a fraction. Evaluate integral x(x2 + 1)5 dx.
- Let
u = x2 + 1, the inner function. - Differentiate:
du = 2x dx. - The integrand has only
x dx, not2x dx. Solve for what you have:x dx = du/2. - Substitute:
integral u5 (du/2) = (1/2) integral u5 du. - Integrate:
(1/2)(u6/6) = u6/12. - Rename back:
(x2 + 1)6/12 + C.
Verify by differentiating: d/dx[(x2 + 1)6/12] = 6(x2 + 1)5*(2x)/12 = x(x2 + 1)5. That is the integrand, so the answer stands. Do this after every substitution until it becomes automatic - it costs one line and it catches every dropped constant.
How to recognise a substitution problem
A particularly direct substitution works when two things are true at once: the integrand contains a composite function f(g(x)), and the derivative g'(x) appears as a factor, up to a constant multiple. Other substitutions can work by expressing every remaining x in terms of u, as in the last worked example. In practice you spot the composite first and then hunt for its derivative:
- Something in parentheses raised to a power, as in
(x3 + 4)2. Try u = the thing in parentheses. Its derivative3x2should be sitting outside. - Something under a root, as in
the square root of (x2 + 9). Try u = the expression under the root. - An exponent on e, as in
esin x. Try u = the exponent; look forcos xoutside. - The argument of a trig or log function, as in
cos(x2)orln(3x + 1). Try u = the argument. - A fraction whose numerator looks like the derivative of its denominator. Try u = the denominator; the answer will be a logarithm.
And here is the negative test, which matters just as much. If, after computing du, a stray variable is left over that you cannot express in u, substitution alone will not finish the job. A constant left over is fine, because constants pass through the integral sign; a leftover x means that the change of variables is incomplete, not necessarily impossible. That is why x*ex resists substitution - the derivative of x is 1, not ex, and the derivative of ex is ex, not x. The choice u = ex changes this to integral ln(u) du, which still needs another technique. Integration by parts, in the next lesson, gives a direct route.
Key idea: a direct reverse-chain-rule pattern is useful, but the decisive check is whether the entire integral has been rewritten correctly in one variable.
A substitution can reverse direction
If g has continuous derivative and f is continuous on the range of g, then integral from a to b of f(g(x))g'(x) dx = integral from g(a) to g(b) of f(u) du. This follows by differentiating F(g(x)), where F' = f. This form does not require g to be one-to-one.[1]
For integral from -1 to 1 of 2x cos(x2) dx, let u = x2. Both endpoint values of u are 1, so the result is zero. The change from u = 1 down to 0 and back to 1 cancels as signed accumulation. This does not say the integrand or the geometric area is zero.
If instead you solve for x as a function of u, select a valid inverse branch and split the interval where needed. For x/sqrt(x + 1), the real domain is x > -1, so u = x + 1 > 0. Domain restrictions remain part of the answer.

Definite integrals: change the limits
For a definite integral you have a clean option: convert the x-limits into u-limits, and then you never need to rename back. Evaluate integral from 0 to 2 of x(x2 + 1)3 dx.
- Let
u = x2 + 1, sodu = 2x dx, which givesx dx = du/2. - Change the bottom limit: when x = 0,
u = 02 + 1 = 1. - Change the top limit: when x = 2,
u = 22 + 1 = 5. - Rewrite the whole integral in u:
(1/2) integral from 1 to 5 of u3 du. - Integrate:
(1/2)[u4/4] from 1 to 5 = (1/8)(54 - 14) = (1/8)(625 - 1) = 624/8 = 78.
The answer is 78. Because we switched the limits to u-values, the 1 and 5 already belong to u, so there is nothing to undo.
![Two shaded integrals have value 3/2: 2x(1+x squared) over [0,1] and u over [1,2].](/assets/img/math-calc2-reviewed/substitution-bounds.png)
A special case worth memorizing
On an interval where differentiable g is nonzero, the reverse-chain-rule formula gives a logarithm:[2] integral g'(x)/g(x) dx = ln|g(x)| + C. That is just u = g(x) turning the integral into integral du/u. For example, integral (2x)/(x2 + 1) dx = ln(x2 + 1) + C, since the top 2x is exactly the derivative of the bottom x2 + 1.
Worked example three: an exponential composite
Evaluate integral esin x cos(x) dx.
- The composite is
e(something), so letu = sin(x), the exponent. - Differentiate:
du = cos(x) dx. That factor is present exactly, with no constant to patch. - Substitute:
integral eu du = eu + C. - Rename back:
esin x + C. - Verify:
d/dx[esin x] = esin x * cos(x). Correct.
Worked example four: a definite integral of tan(x)
Evaluate integral from 0 to pi/4 of tan(x) dx. There is no composite in sight until you rewrite the integrand.
- Rewrite:
tan(x) = sin(x)/cos(x). Now it is a fraction whose numerator is nearly the derivative of its denominator. - Let
u = cos(x), sodu = -sin(x) dx, which givessin(x) dx = -du. - Change the limits: when x = 0,
u = cos(0) = 1; when x = pi/4,u = cos(pi/4) = (the square root of 2)/2. - Rewrite:
integral from 1 to (sqrt2)/2 of (-du)/u = -[ln|u|] from 1 to (sqrt2)/2. - Evaluate:
-[ln((sqrt2)/2) - ln(1)] = -ln((sqrt2)/2). Since(sqrt2)/2 = 1/(sqrt2) = 2-1/2, this is-(-1/2)ln(2) = (1/2)ln(2) ~= 0.3466.
Verify the antiderivative: d/dx[-ln|cos x|] = -(-sin x)/cos(x) = tan(x). Correct. The answer is positive, which it must be, since tan(x) is positive on (0, pi/4).
Worked example five: when you must solve for x too
Sometimes du removes only part of the x's, and you finish by substituting for x itself. Evaluate integral x/(the square root of (x + 1)) dx.
- Let
u = x + 1, the expression under the root. Thendu = dx. - The numerator x is still there. But
u = x + 1rearranges tox = u - 1, so replace it: the integral becomesintegral (u - 1)/(u1/2) du. - Split the fraction:
integral (u1/2 - u-1/2) du. - Integrate term by term:
u3/2/(3/2) - u1/2/(1/2) = (2/3)u3/2 - 2u1/2 + C. - Rename back:
(2/3)(x + 1)3/2 - 2(x + 1)1/2 + C.
Verify: d/dx[(2/3)(x+1)3/2] = (x+1)1/2 and d/dx[-2(x+1)1/2] = -(x+1)-1/2. Adding, (x+1)1/2 - (x+1)-1/2 = [(x + 1) - 1]/(x+1)1/2 = x/(the square root of (x + 1)). That is the integrand, so the answer is right. This "solve for x as well" trick rescues many integrals that look hopeless at step 2.
Key idea: a leftover x must be rewritten in terms of u; when u is a simple shift or scaling, solve for x and continue.
Common misconceptions
- Choosing u badly. The make-or-break step is picking u so that its derivative actually appears. After you write du, look back and ask "is the rest of this du, maybe off by a constant?" If a stray x survives and cannot be rewritten as
u - 1or similar, try a different inner piece or a different technique. - Pulling a variable outside the integral. You may move only constants across the integral sign. Writing
integral x(x2+1)5 dx = x integral (x2+1)5 dxis simply false, because x is not constant with respect to x. Only the constant 1/2 was legitimately moved in the worked example. - Leaving the answer in u. For an indefinite integral you must rename back to x - the question was about x. For a definite integral you may change the limits and stop in u, if you convert back to x, convert the bounds back too. The variable in the antiderivative and the values substituted into it must match.
- Mixing the two definite-integral habits. Either convert the limits to u-values and evaluate in u, or keep the x-limits and rename back before plugging in. Evaluating
[u4/8]at the original x-limits 0 and 2 gives 2, not 78. Pick one habit and never blend them. - Dropping the minus sign. When
du = -sin(x) dx, the substitution introduces a minus that must survive to the end, as in the tan(x) example. Omitting it turns+0.3466into-0.3466, a negative area under a positive curve. - Forgetting the absolute value in ln|u|. It matters whenever u can be negative on the interval. Here
cos(x)stayed positive on [0, pi/4], but on[0, 3pi/4]it would not, and the integral would in fact diverge at pi/2. - "Substitution works on every integral." A substitution is useful when the complete change of variables produces a simpler integral. Products like
x*ex, quotients of polynomials, and expressions likethe square root of (1 - x2)need the tools of the next three lessons.
Recap
- Substitution reverses the chain rule: let u be the inner function, compute du, and rewrite the integral entirely in u.
- Recognise it by a composite - a parenthesis raised to a power, a root, an exponent, a trig or log argument, a denominator - whose derivative also appears as a factor.
- If a constant is off, solve du for the piece you have (for example
x dx = du/2) and carry the fraction along. A leftover variable means a different u or a different technique, unless u can be solved for x. - For definite integrals, either change the limits to u-values or rename back to x before plugging in, never a mix.
- Special case: the top being the derivative of the bottom gives
integral g'/g dx = ln|g| + C; this is whereintegral tan(x) dx = -ln|cos x| + Ccomes from. - Differentiate every answer back before you write it down. It is one line and it catches missing constants and lost minus signs.
Retrieve, explain, and revisit
Close the notes and respond: Choose a substitution, transform the entire integrand and bounds, and verify the result by differentiation. Explain why a nonmonotone substitution can still be valid. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.5 Substitution. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.6 Integrals Involving Exponential And Logarithmic Functions. Read the section.
- Key terms
- Substitution
- Replacing the inner function with u to reverse the chain rule.
- u-substitution
- Setting u = g(x) so that du = g'(x) dx simplifies the integral.
- Differential
- The expression du = g'(x) dx that replaces part of the integrand.
- Changing limits
- Converting x-bounds to u-bounds for a definite integral after substituting.
- Logarithmic integral
- integral of g'(x)/g(x) dx = ln|g(x)| + C.
Integration by Parts
- Apply the integration by parts formula.
- Choose u and dv using the LIATE guideline.
- Use parts more than once and handle the boomerang case.
The product rule says d(xex)/dx = ex + xex. Rearranging and integrating gives an antiderivative of xex. Integration by parts generalizes this calculation. A useful choice of factors makes the remaining integral simpler, and definite integrals also require the boundary term.
The big picture
Integration by parts reverses the product rule, the same way substitution reverses the chain rule. You split the integrand into two pieces: a part called u that you will differentiate, and a part called dv that you will integrate. For u and v with continuous derivatives on the interval, the product rule gives the formula below. It trades one integral for another, which may be easier.[1]
integral u dv = u*v - integral v du
Read it aloud: "the integral of u dv equals u times v, minus the integral of v du." The whole goal is that the new integral, integral v du, is simpler than the one you started with.
Key idea: split the product into u (to differentiate) and dv (to integrate), then apply integral u dv = uv - integral v du to turn a hard integral into an easier one.
Choosing u with LIATE
Which piece should be u? The mnemonic suggests trying the first applicable type in this list, then checking that dv can be integrated and the new integral is useful:
- L, Logarithmic, like ln(x)
- I, Inverse trig, like arctan(x)
- A, Algebraic, like x or x2
- T, Trig, like sin(x) or cos(x)
- E, Exponential, like ex
Whatever is left over, together with the dx, becomes dv. Treat the list as a starting suggestion, not a decision that overrides the integrand.
LIATE is a heuristic, not a theorem, and it is worth knowing why it usually works. A logarithm differentiates into 1/x, a positive integer power drops by one degree. These changes often help, but a negative or fractional power need not become simpler. Trig and exponential functions differentiate into functions of the same complexity, so they are better used as dv, which you integrate. The list is ordered from "improves most when differentiated" to "does not improve at all."
Where the formula comes from
Start with the product rule, which you already know: d/dx[u*v] = u'*v + u*v'. Integrate both sides with respect to x. The left side undoes itself, giving u*v, so
u*v = integral u'*v dx + integral u*v' dx
Solve for the second integral: integral u*v' dx = u*v - integral u'*v dx. Now rename in differential notation, with dv = v' dx and du = u' dx, and that is exactly integral u dv = u*v - integral v du. The whole formula is one rearrangement of the product rule, which is why the minus sign is there: it is the price of moving a term across the equals sign.
One convenience falls out of the derivation. When you integrate dv to get v, you may drop the constant of integration and take the simplest v available. Any constant you added would appear as +C*u in the first term and -C*integral du = -C*u in the second, and the two cancel exactly.

How to recognise a parts problem
Reach for parts when the integrand is a product of two functions of different families and one of them gets simpler when differentiated. The recurring shapes are:
- Polynomial times exponential, such as
x exorx2e-3x. Take u = the polynomial; each round lowers its degree by one. - Polynomial times trig, such as
x sin(x). Same choice, same reason. - Polynomial times logarithm, such as
x2ln(x). Here u = ln(x), because differentiating the log removes it entirely. - A lone logarithm or inverse trig function, such as
ln(x)orarctan(x). There is no visible product, so manufacture one withdv = dx. - Exponential times trig, such as
exsin(x). Neither ever simplifies, so this one boomerangs and is finished with algebra.
The negative test is just as useful: if the two factors are related by differentiation, as in x cos(x2), you want substitution, not parts. Check for substitution first every time; it is faster when it applies.
Key idea: substitution for a composite and its derivative, parts for a product of unrelated types.
Worked example one, step by step
Evaluate integral x ex dx.
- Apply LIATE. The algebraic x comes before the exponential ex, so
u = xanddv = ex dx. - Differentiate u:
du = dx. - Integrate dv to get v:
v = ex. - Put the pieces into the formula:
u*v - integral v du = x ex - integral ex dx. - Finish the leftover integral:
x ex - ex + C.
So integral x ex dx = ex(x - 1) + C. You can check any antiderivative by differentiating it, and the product rule brings you right back to x ex.
Worked example two, a lone logarithm
Evaluate integral ln(x) dx. There is no obvious antiderivative of ln(x), so let the whole thing be u and let dv be just dx.
- Set
u = ln(x)anddv = dx. - Differentiate u:
du = (1/x) dx. - Integrate dv:
v = x. - Apply the formula:
x ln(x) - integral x*(1/x) dx. - The leftover simplifies because x times 1/x is 1:
x ln(x) - integral 1 dx = x ln(x) - x + C.
Verify: d/dx[x ln(x) - x] = ln(x) + x*(1/x) - 1 = ln(x) + 1 - 1 = ln(x). Correct. The same manufacture-a-dv trick handles inverse trig. For integral arctan(x) dx, take u = arctan(x) and dv = dx, so du = dx/(1 + x2) and v = x. The formula gives x arctan(x) - integral x/(1 + x2) dx, and that leftover is a substitution with w = 1 + x2, yielding (1/2)ln(1 + x2). So the answer is x arctan(x) - (1/2)ln(1 + x2) + C. Differentiating back gives arctan(x) + x/(1 + x2) - x/(1 + x2) = arctan(x). Correct.
![The graph ln x tends downward without bound near zero, but its improper integral on [0,1] is finite and equals -1.](/assets/img/math-calc2-reviewed/parts-improper-log.png)
When you need parts more than once
A higher power needs parts repeated, once per degree. Evaluate integral x2 ex dx.
- Take
u = x2anddv = ex dx, sodu = 2x dxandv = ex. - Apply the formula:
x2ex - integral ex*2x dx = x2ex - 2 integral x ex dx. - The leftover is worked example one:
integral x ex dx = ex(x - 1). - Substitute it in:
x2ex - 2ex(x - 1) = x2ex - 2x ex + 2ex. - Factor:
ex(x2 - 2x + 2) + C.
Verify with the product rule: d/dx[ex(x2 - 2x + 2)] = ex(x2 - 2x + 2) + ex(2x - 2) = ex*x2. Correct. Note the pattern: x3ex would take three rounds, and each round costs one degree.
The boomerang case, worked in full
Evaluate I = integral ex sin(x) dx. Neither factor simplifies under differentiation, so no choice of u makes visible progress - and that is exactly the signal for this method.
- First round. Take
u = sin(x),dv = ex dx, sodu = cos(x) dxandv = ex. ThenI = exsin(x) - integral excos(x) dx. Call that new integral J. - Second round, on J. Take
u = cos(x),dv = ex dx, sodu = -sin(x) dxandv = ex. ThenJ = excos(x) - integral ex*(-sin x) dx = excos(x) + I. The original integral has come back. - Substitute J into the first line.
I = exsin(x) - [excos(x) + I] = exsin(x) - excos(x) - I. - Solve algebraically. Add I to both sides:
2I = ex(sin(x) - cos(x)), soI = ex(sin(x) - cos(x))/2 + C.
Verify: d/dx[ex(sin x - cos x)/2] = (1/2)[ex(sin x - cos x) + ex(cos x + sin x)] = (1/2)ex(2 sin x) = exsin(x). Correct. One caution: on the second round you must keep the same kind of choice, integrating the exponential both times. If you switch and integrate the trig function on round two, you simply undo round one and arrive at the true but useless statement I = I.
Key idea: when the original integral reappears, it is not a failure - move it to the left side and divide.
Parts on a definite integral
The formula becomes integral from a to b of u dv = [u*v] from a to b - integral from a to b of v du: the boundary term is evaluated at both limits, and the remaining integral keeps the same limits. Evaluate integral from 0 to 1 of x e2x dx.
u = x,dv = e2x dx, sodu = dxandv = e2x/2. Note the 1/2 from the chain rule; forgetting it is the classic slip here.- Boundary term:
[x e2x/2] from 0 to 1 = (1*e2/2) - (0) = e2/2. - Remaining integral:
integral from 0 to 1 of (e2x/2) dx = [e2x/4] from 0 to 1 = e2/4 - 1/4. - Subtract:
e2/2 - (e2/4 - 1/4) = e2/4 + 1/4 = (e2 + 1)/4 ~= 2.097.
Verify the underlying antiderivative F(x) = x e2x/2 - e2x/4: F'(x) = e2x/2 + x e2x - e2x/2 = x e2x. Correct. As a rough sanity check, the integrand rises from 0 to e2 ~= 7.39 across [0, 1], so an answer near 2 is plausible.
Combining methods rather than obeying a mnemonic
For integral x3 ex2 dx, blindly putting the whole polynomial into u leaves dv = ex2 dx, which has no elementary antiderivative. First set w = x2. Then x3 dx = w dw/2, so the integral becomes (1/2) integral w ew dw. Parts now gives (1/2)ex2(x2 - 1) + C. Differentiate to obtain x3ex2 again.
For an improper endpoint, apply parts on a closed subinterval before taking a limit. For example, integral from epsilon to 1 of ln(x) dx is [x ln(x) - x] from epsilon to 1. Since epsilon ln(epsilon) tends to zero as epsilon approaches zero from above, integral from 0 to 1 of ln(x) dx = -1. The boundary expression at zero is a limit, not the undefined product 0 ln(0).[2]
Common misconceptions
- The minus sign. The formula is
uv - integral v du, and the subtraction applies to the entire remaining integral. Keep it in one set of mental parentheses. In thex cos(x)problem the leftover integrates to-cos(x), and subtracting that flips it to+cos(x); losing track there gives the wrong sign on the final term. - Differentiating both pieces, or integrating both. You differentiate u and integrate dv, never the same operation twice. If the new integral is harder, reassess the choice or try a different method. Correct use of parts can still produce an unhelpful integral.
- Choosing dv you cannot integrate. LIATE puts the log first partly because you cannot integrate ln(x) at that stage anyway. dv must be something you can antidifferentiate immediately; if it is not, that choice is unavailable regardless of what the mnemonic says.
- Losing the inner constant in v. The antiderivative of
e2x dxise2x/2, and ofcos(3x) dxissin(3x)/3. This single omission wrecks more definite-integral answers than the minus sign does. - Undoing your own work in the boomerang case. On the second application you must integrate the same family you integrated the first time. Switching returns you to the starting integral and the equation collapses to
I = I. - Forgetting to evaluate the boundary term at both limits. In a definite integral,
[u*v]must be evaluated at b and at a and subtracted, exactly like any other antiderivative. Plugging in only the top limit is a common and invisible error. - Trying parts when substitution would work. For
integral x cos(x2) dx, the x is the derivative of the inside, so substitution finishes it in two lines while parts goes nowhere. Always test for substitution first.
Recap
- Integration by parts reverses the product rule:
integral u dv = uv - integral v du, obtained by integratingd/dx[uv] = u'v + uv'and rearranging. - Choose u by LIATE (Log, Inverse trig, Algebraic, Trig, Exponential); whatever remains, together with dx, is dv. The ordering reflects how much each family simplifies when differentiated.
- Recognise parts by a product of unrelated types, or by a lone log or inverse trig function where you set
dv = dx. - Differentiate u, integrate dv (dropping the constant, which cancels), substitute, and finish the leftover integral.
- With u chosen as a degree-n polynomial and dv = ex dx, n rounds reduce it to a constant;
integral x2ex dx = ex(x2 - 2x + 2) + C. - Exponential-times-trig boomerangs:
integral exsin(x) dx = ex(sin x - cos x)/2 + C, found by solving for the integral algebraically. - For definite integrals, evaluate the
[uv]term at both limits and keep the same limits on the remaining integral.
Retrieve, explain, and revisit
Close the notes and respond: Derive integration by parts from the product rule. Choose u and dv for a polynomial times an exponential and check that the remaining integral is simpler. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.1 Integration By Parts. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.7 Improper Integrals. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.5 Other Strategies For Integration. Read the section.
- Key terms
- Integration by parts
- integral of u dv = u v - integral of v du, reversing the product rule.
- LIATE
- A guideline for choosing u: Logarithmic, Inverse trig, Algebraic, Trig, Exponential.
- dv
- The part of the integrand, including dx, that you integrate to find v.
- Repeated parts
- Applying integration by parts more than once for higher powers.
- Boomerang integral
- A case where the original integral reappears and is solved algebraically.
Trigonometric Integrals and Trigonometric Substitution
- Integrate products of powers of sine and cosine.
- Use Pythagorean identities to simplify trig integrals.
- Apply trigonometric substitution to integrands with square roots.
This lesson bundles two techniques that both lean on trig identities you have met before. The first handles integrals built from powers of sine and cosine. The second, called trigonometric substitution, tackles integrals with an awkward square root like the square root of 4 - x2. Both turn a hard-looking problem into a familiar trig integral. One note on notation up front: sin3(x) means (sin(x)) cubed, the whole sine value raised to a power.
The big picture
Trig identities let you rewrite an integrand into a shape that substitution can finish. For powers of sine and cosine, the Pythagorean identity sin2 + cos2 = 1 lets you trade one function for the other. For a square root of a quadratic, replacing x with a trig function makes the root simplify to a single clean term.
Key idea: a well-chosen trig identity or trig substitution reshapes a messy integrand into a plain trig integral you already know how to do.
Powers of sine and cosine
For integral sinm(x) cosn(x) dx, with nonnegative integer powers m and n, look at whether the powers are odd or even.[1]
- If the power of sine is odd: peel off one sin(x) to pair with dx, rewrite the rest using
sin2 = 1 - cos2, and letu = cos(x). - If the power of cosine is odd: peel off one cos(x), rewrite the rest with
cos2 = 1 - sin2, and letu = sin(x). - If both powers are even: use the half-angle identities
sin2(x) = (1 - cos 2x)/2andcos2(x) = (1 + cos 2x)/2to lower the powers first.
Worked example. Evaluate integral sin3(x) cos2(x) dx.
- The power of sine is 3, which is odd, so split off one sine:
sin3 = sin2 * sin. - Rewrite the sin2 using the identity:
sin2 = 1 - cos2. The integral becomesintegral (1 - cos2x) cos2x * sin(x) dx. - Let
u = cos(x), sodu = -sin(x) dx. The leftover sin(x) dx becomes -du. - Substitute:
-integral (1 - u2) u2 du = -integral (u2 - u4) du. - Integrate:
-(u3/3 - u5/5). - Rename u back to cos(x):
-cos3(x)/3 + cos5(x)/5 + C.
Verify: d/dx[-cos3x/3] = -3cos2x*(-sin x)/3 = cos2x sin x, and d/dx[cos5x/5] = 5cos4x*(-sin x)/5 = -cos4x sin x. Their sum is cos2x sin x (1 - cos2x) = cos2x sin x * sin2x = sin3x cos2x. That is the integrand. Correct.
![A nonnegative hump of sin cubed x times cos squared x on [0,pi/2] has area 2/15.](/assets/img/math-calc2-reviewed/trig-power-integral.png)
Worked example: both powers even
Evaluate integral sin2(x) cos2(x) dx. Nothing is odd, so there is no factor to peel off and a half-angle identity is an effective route.
- Group the product as a square:
sin2x cos2x = (sin x cos x)2. - Use the double-angle identity
sin(2x) = 2 sin x cos x, sosin x cos x = sin(2x)/2and the integrand becomessin2(2x)/4. - Lower the remaining even power with
sin2(A) = (1 - cos 2A)/2, taking A = 2x:sin2(2x) = (1 - cos(4x))/2. The integrand is now(1 - cos 4x)/8. - Integrate term by term:
(1/8)*[x - sin(4x)/4] = x/8 - sin(4x)/32 + C.
Verify: d/dx[x/8 - sin(4x)/32] = 1/8 - 4cos(4x)/32 = (1 - cos 4x)/8, which is what we showed the integrand equals. Correct. Notice the pattern: every even power costs one application of a half-angle identity, and each application doubles the angle inside.
A quick definite version worth remembering: integral from 0 to pi of sin2(x) dx = integral from 0 to pi of (1 - cos 2x)/2 dx = [x/2 - sin(2x)/4] from 0 to pi = pi/2. The average height of sin2 over a half period is exactly 1/2, so a sinusoidal quantity squared has mean 1/2 over this interval when its amplitude is 1.
Key idea: odd power means peel and substitute; all even means half-angle identities until something is odd or linear.
Tangent and secant powers, and unequal frequencies
For integral tanm(x) secn(x) dx with nonnegative integer powers, an even n >= 2 lets you save sec2(x) dx and set u = tan(x); replace the other secant squares by 1 + tan2(x). For integral tan3(x) sec4(x) dx, this gives integral u3(1 + u2) du = tan4(x)/4 + tan6(x)/6 + C.[1]
If m is odd and n >= 1, you can instead save sec(x)tan(x) dx, set u = sec(x), and convert remaining tangent squares to sec2(x) - 1. Thus integral sec3(x)tan(x) dx = sec3(x)/3 + C. Work on intervals avoiding zeros of cos(x). Not every pair of powers fits these cases; for example, integral sec(x) dx = ln|sec(x) + tan(x)| + C, and integral sec3(x) dx can be found by parts.
Different frequencies call for a product-to-sum identity. Since sin(2x)cos(3x) = [sin(5x) - sin(x)]/2, its integral is -cos(5x)/10 + cos(x)/2 + C. Differentiating restores both terms. This also explains why an identity can be more useful than guessing u.[1]
Trigonometric substitution
When an integrand hides a square root of a quadratic, a trig substitution replaces x with a trig function so a Pythagorean identity collapses the root. Here are three common patterns, with a > 0. Choose an angular interval before removing any absolute values.[2]
| You see | Substitute | Identity that fires |
| square root of a2 - x2 | x = a sin(theta) | 1 - sin2 = cos2 |
| square root of a2 + x2 | x = a tan(theta) | 1 + tan2 = sec2 |
| square root of x2 - a2 | x = a sec(theta) | sec2 - 1 = tan2 |
Worked example. Evaluate integral dx / (square root of 4 - x2).
- Match the pattern: 4 - x2 is a2 - x2 with a = 2. So let
x = 2 sin(theta)with -pi/2 < theta < pi/2. Then cos(theta) > 0 and -2 < x < 2. - Differentiate:
dx = 2 cos(theta) d(theta). - Simplify the root:
square root of (4 - 4 sin2 theta) = square root of 4(1 - sin2 theta) = 2 cos(theta). - Put it together:
integral (2 cos theta)/(2 cos theta) d(theta) = integral 1 d(theta) = theta + C. - Rename back. Since
x = 2 sin(theta), we havesin(theta) = x/2, sotheta = arcsin(x/2).
The answer is arcsin(x/2) + C, confirming the standard formula integral dx / (square root of a2 - x2) = arcsin(x/a) + C. Verify: d/dx[arcsin(x/2)] = (1/2)/(the square root of (1 - x2/4)), and since the square root of (1 - x2/4) = (the square root of (4 - x2))/2, that equals 1/(the square root of (4 - x2)). Correct.

How to recognise a trig substitution problem, and when NOT to use it
The signal is a square root of a quadratic - or a quadratic raised to any half-integer power such as (x2 + 9)3/2 - that plain substitution cannot touch. The test that separates the two techniques is short:
integral x/(the square root of (9 - x2)) dx: the derivative of the inside is-2xand an x is sitting right there. Use plain substitution withu = 9 - x2. Trig substitution would also work but wastes several lines.integral (the square root of (9 - x2)) dx: no x factor is available to serve as du. A direct inner-function substitution does not simplify this expression; usex = 3 sin(theta).
So: look for a lone x factor first. If it is there, substitute. If it is absent, or if the root sits in a denominator with extra powers of x, go trigonometric. And always match the pattern by sign and order - a2 - x2 uses sine, a2 + x2 uses tangent, x2 - a2 uses secant - because a poorly matched substitution can leave a harder radical or fail to cover the real domain.
Second worked trig substitution: the tangent pattern
Evaluate integral dx/(x2 + 9)3/2. There is no lone x, and the base is a2 + x2 with a = 3.
- Substitute
x = 3 tan(theta), with -pi/2 < theta < pi/2 so sec(theta) is positive, anddx = 3 sec2(theta) d(theta). - Simplify the base:
x2 + 9 = 9 tan2(theta) + 9 = 9(tan2 + 1) = 9 sec2(theta). - Raise it to the 3/2 power:
(9 sec2)3/2 = 27 sec3(theta). (Take the 3/2 power of 9 to get 27, and of sec2 to get sec3.) - Assemble:
integral [3 sec2(theta)]/[27 sec3(theta)] d(theta) = (1/9) integral d(theta)/sec(theta) = (1/9) integral cos(theta) d(theta). - Integrate:
(1/9) sin(theta) + C. - Convert back with a reference triangle. From
tan(theta) = x/3, use the identity on this tangent branch, preserving the sign of x; for x >= 0 a right triangle can also have opposite side x and adjacent side 3; the hypotenuse isthe square root of (x2 + 9). Thensin(theta) = opposite/hypotenuse = x/(the square root of (x2 + 9)). - Final answer:
x/(9 * the square root of (x2 + 9)) + C.
Verify by the quotient rule: differentiating x/(9(x2+9)1/2) gives (1/9)*[(x2+9)1/2 - x2(x2+9)-1/2]/(x2+9). The bracket is [(x2+9) - x2]/(x2+9)1/2 = 9/(x2+9)1/2, so the whole thing collapses to 1/(x2+9)3/2. Correct.
Third worked trig substitution, with a geometric check
Evaluate integral (the square root of (9 - x2)) dx.
- Pattern
a2 - x2with a = 3 and -pi/2 <= theta <= pi/2, sox = 3 sin(theta)anddx = 3 cos(theta) d(theta). - The root collapses:
the square root of (9 - 9sin2theta) = 3 cos(theta). - Assemble:
integral 3cos(theta) * 3cos(theta) d(theta) = 9 integral cos2(theta) d(theta). - Both powers even, so half-angle:
9 integral (1 + cos 2theta)/2 d(theta) = (9/2)theta + (9/4)sin(2theta) + C. - Convert back.
theta = arcsin(x/3). For the second term usesin(2theta) = 2 sin(theta)cos(theta) = 2*(x/3)*((the square root of (9 - x2))/3) = 2x(the square root of (9 - x2))/9, so(9/4)sin(2theta) = x(the square root of (9 - x2))/2. - Final answer:
(9/2)arcsin(x/3) + x(the square root of (9 - x2))/2 + C.
Two checks. Differentiating gives (9/2)/(the square root of (9-x2)) + (9 - 2x2)/(2 * the square root of (9-x2)), which combines to (18 - 2x2)/(2 * the square root of (9-x2)) = the square root of (9 - x2). Correct. And geometrically, y = the square root of (9 - x2) is the upper half of a circle of radius 3, so the integral from -3 to 3 must equal the semicircle area 9pi/2. The formula gives (9/2)arcsin(1) - (9/2)arcsin(-1) = (9/2)(pi/2) + (9/2)(pi/2) = 9pi/2. It matches exactly.
The secant case and the sign of a square root
For x > 3, evaluate integral sqrt(x2 - 9)/x dx. Set x = 3sec(theta), with 0 < theta < pi/2. Then sqrt(x2 - 9) = 3tan(theta) and dx = 3sec(theta)tan(theta) dtheta. The integral becomes 3 integral tan2(theta) dtheta = 3tan(theta) - 3theta + C. Returning to x gives sqrt(x2 - 9) - 3 arccos(3/x) + C.
The branch matters: sqrt(tan2(theta)) is |tan(theta)|, not automatically tan(theta). On x < -3, choose a branch covering those x-values and redo the signs. One antiderivative valid on each of the two separate intervals is sqrt(x2 - 9) - 3 arccos(3/|x|) + C; constants may differ between intervals. A triangle uses nonnegative side lengths and cannot by itself determine all coordinate signs.[2]
Similarly, sqrt(a2 cos2(theta)) = a|cos(theta)| for a > 0. The sine branch [-pi/2, pi/2] makes cos(theta) nonnegative. The tangent branch (-pi/2, pi/2) makes sec(theta) positive, which justifies the earlier simplifications.
![The square root of x squared minus nine has nonnegative branches outside [-3,3] and is not real inside.](/assets/img/math-calc2-reviewed/secant-two-branches.png)
Completing the square first
A quadratic that is not already in one of the three shapes often becomes one after completing the square. Evaluate integral dx/(the square root of (x2 + 6x + 13)).
- Complete the square:
x2 + 6x + 13 = (x2 + 6x + 9) + 4 = (x + 3)2 + 4. - Shift with
w = x + 3,dw = dx. The integral becomesintegral dw/(the square root of (w2 + 4)), the tangent pattern with a = 2. - That standard form integrates to
ln|w + the square root of (w2 + 4)| + C. - Undo the shift:
ln|x + 3 + the square root of (x2 + 6x + 13)| + C.
Verify: the derivative of the log is [1 + (x+3)/R]/(x + 3 + R) where R = the square root of (x2+6x+13). Writing the numerator over R gives (R + x + 3)/R, and the (x + 3 + R) cancels, leaving 1/R. Correct.
Key idea: complete the square whenever the quadratic has a linear term; the shift turns it into one of the three memorised patterns.
Common misconceptions
- Not asking "is either power odd?" first. That single question decides the whole strategy. Odd means peel one factor and substitute; only all-even sends you to the half-angle identities, which lower the even powers.
- Peeling from the wrong function. You peel a factor off the function with the odd power and then substitute the other one. In
sin3x cos2xyou peel a sine and setu = cos x. Peeling a cosine here leavessin3x cos xwith an odd sine power still stuck in the way. - Losing the minus sign from du.
u = cos(x)givesdu = -sin(x) dx. That minus propagates through every term of the answer, and dropping it flips the sign of the entire result. - Grabbing the wrong trig-substitution pattern. Match by sign and order:
a2 - x2uses sine,a2 + x2uses tangent,x2 - a2uses secant. Using tangent on4 - x2producesthe square root of (4 - 4tan2), which no identity simplifies. - Using trig substitution when plain substitution would do. If a lone factor of x sits outside the root,
u =the inside finishes it in two lines. Check for that first. - Forgetting to convert dx. When
x = 3 sin(theta), you must also replacedxwith3 cos(theta) d(theta). Substituting only inside the root and leaving dx alone is the single most common trig-substitution error. - Leaving the answer in theta. An indefinite integral must come back to x. Draw the reference triangle from the substitution equation - opposite, adjacent, hypotenuse - and read off whichever trig function you need. Do not try to remember conversion formulas; the triangle regenerates them.
- Assuming the root has to be visible.
(x2 + 9)3/2is a root in disguise, andx2 + 6x + 13becomes one of the three patterns only after completing the square.
Recap
- Odd power of sine: peel one sine, use
sin2 = 1 - cos2, let u = cos(x). Odd power of cosine: mirror it with u = sin(x). - Both powers even: lower them with the half-angle identities
sin2x = (1 - cos 2x)/2andcos2x = (1 + cos 2x)/2, repeating as needed. Worked result:integral sin2x cos2x dx = x/8 - sin(4x)/32 + C. - Trig substitution:
a2 - x2usesa sin(theta),a2 + x2usesa tan(theta),x2 - a2usesa sec(theta). - Check first for a simpler algebraic substitution. An extra x factor is a useful clue, not a complete decision rule for all integrals.
- Worked results to know:
integral dx/(x2+9)3/2 = x/(9 * the square root of (x2+9)) + C, andintegral (the square root of (9 - x2)) dx = (9/2)arcsin(x/3) + x(the square root of (9 - x2))/2 + C, whose value from -3 to 3 is the semicircle area9pi/2. - Complete the square when the quadratic carries a linear term, then shift to reach a standard pattern.
- Always convert the final answer back to the original variable x, using a reference right triangle.
Retrieve, explain, and revisit
Close the notes and respond: Compare an odd sine power with two even trig powers. State the branch and absolute-value checks needed when removing a square root by trigonometric substitution. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.2 Trigonometric Integrals. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.3 Trigonometric Substitution. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.7 Integrals Resulting In Inverse Trigonometric Functions. Read the section.
- Key terms
- Pythagorean identity
- Relations like sin^2 + cos^2 = 1 and 1 + tan^2 = sec^2 used to simplify integrals.
- Half-angle identity
- sin^2 x = (1 - cos 2x)/2 and cos^2 x = (1 + cos 2x)/2, used when both powers are even.
- Trigonometric substitution
- Replacing x with a sin, a tan, or a sec of theta to remove a square root.
- Odd power strategy
- Peel off one factor for du and convert the rest with a Pythagorean identity.
- Back-substitution
- Rewriting the trig answer in terms of the original variable x.
Partial Fractions
- Decompose a proper rational function into partial fractions.
- Integrate the resulting simple fractions.
- Handle repeated and irreducible quadratic factors.
Adding 2/x and -1/(x + 1) gives (x + 2)/[x(x + 1)]. Partial fractions reverses that calculation so a rational function can be integrated one simpler term at a time. Polynomial division, the factorization of the denominator, and its real zeros determine the correct setup and the intervals where the result is valid.
The big picture
A rational function is a ratio of two polynomials, like (5x - 4)/(x2 - x - 2). On its own it is hard to integrate. But split into 2/(x - 2) + 3/(x + 1), each piece integrates to a logarithm in one line. Partial fractions is the un-mixing step that makes that possible.
Key idea: break a rational function into a sum of simpler fractions, then integrate each piece, usually into logarithms and arctangents.
Two setup rules before you start
- The fraction must be proper: the top degree must be less than the bottom degree. If it is not, do polynomial long division first, and work on the leftover proper piece.
- Factor the bottom completely. Then write one partial fraction for each factor, with a numerator of degree less than the factor: constants for linear factors and linear expressions for irreducible quadratics. Repeated factors need a term for each power.[1] For two different linear factors:
(top)/((x - r1)(x - r2)) = A/(x - r1) + B/(x - r2).
Worked example, two different linear factors
Evaluate integral (5x - 4)/(x2 - x - 2) dx.
- Factor the bottom:
x2 - x - 2 = (x - 2)(x + 1). - Set up the split with unknowns:
(5x - 4)/((x - 2)(x + 1)) = A/(x - 2) + B/(x + 1). - Multiply both sides by the bottom to clear fractions:
5x - 4 = A(x + 1) + B(x - 2). - Substitute a root to isolate one unknown. Let x = 2:
5*2 - 4 = A(3), so6 = 3AandA = 2. - Substitute the other root. Let x = -1:
5*(-1) - 4 = B(-3), so-9 = -3BandB = 3. - Integrate each simple piece:
integral [2/(x - 2) + 3/(x + 1)] dx = 2 ln|x - 2| + 3 ln|x + 1| + C.
The trick in steps 4 and 5, plugging in one root at a time, makes the other term vanish, so each unknown pops out immediately. Read that once more: choosing x to be a root zeroes out one factor and hands you the other constant.
Verify the whole answer by differentiating: d/dx[2 ln|x - 2| + 3 ln|x + 1|] = 2/(x - 2) + 3/(x + 1). Put that over the common denominator: [2(x + 1) + 3(x - 2)]/((x-2)(x+1)) = (2x + 2 + 3x - 6)/(x2 - x - 2) = (5x - 4)/(x2 - x - 2). That is the original integrand. Correct.
Key idea: substituting each root of the denominator kills every term but one, which is why linear factors are almost free.
![On [1,4], the sum of 2/x and -1/(x+1) lies exactly on (x+2)/(x(x+1)).](/assets/img/math-calc2-reviewed/partial-fraction-recombination.png)
How to recognise a partial-fractions problem
The signal is unambiguous: the integrand is a rational function, a polynomial divided by a polynomial, and plain substitution does not apply because the numerator is not the derivative of the denominator up to a constant. Two quick sub-tests:
integral (2x)/(x2 + 1) dx: the numerator is the derivative of the denominator. Substitute; do not decompose.integral (5x - 4)/(x2 - x - 2) dx: the derivative of the bottom is2x - 1, which is not a multiple of5x - 4. Decompose.
The technique always terminates, because every real polynomial factors into linear and irreducible-quadratic pieces, and each of those pieces has a known antiderivative. That is a genuine theorem, not a hope: partial fractions gives an elementary antiderivative for every rational function.
Case one: an improper fraction needs division first
Evaluate integral x3/(x2 - 1) dx. The top has degree 3 and the bottom degree 2, so the fraction is improper and the standard decomposition must include the polynomial quotient.
- Divide. Ask what times
x2 - 1approximatesx3: the answer is x, andx(x2 - 1) = x3 - x. Subtracting leaves a remainder of x. - Rewrite:
x3/(x2 - 1) = x + x/(x2 - 1). The leftover is now proper. - Decompose the leftover:
x/((x-1)(x+1)) = A/(x - 1) + B/(x + 1), sox = A(x + 1) + B(x - 1). Let x = 1:1 = 2A, soA = 1/2. Let x = -1:-1 = -2B, soB = 1/2. - Integrate everything:
integral x dx + (1/2) integral dx/(x-1) + (1/2) integral dx/(x+1) = x2/2 + (1/2)ln|x - 1| + (1/2)ln|x + 1| + C. - Combine the logs:
x2/2 + (1/2)ln|x2 - 1| + C.
Verify: d/dx[x2/2] = x and d/dx[(1/2)ln|x2-1|] = x/(x2-1). Their sum is [x(x2-1) + x]/(x2-1) = x3/(x2-1). Correct. Skipping the division here would have given a decomposition with no solution, and there is no error message to warn you.
Case two: a repeated linear factor
Evaluate integral (x2 + 2x + 3)/((x - 1)(x + 1)2) dx. The factor (x + 1) appears squared, so it earns two terms, one for each power.
- Set up:
(x2+2x+3)/((x-1)(x+1)2) = A/(x - 1) + B/(x + 1) + C/(x + 1)2. - Clear denominators:
x2 + 2x + 3 = A(x + 1)2 + B(x - 1)(x + 1) + C(x - 1). - Let x = 1: the B and C terms vanish, leaving
1 + 2 + 3 = A(4), soA = 3/2. - Let x = -1: the A and B terms vanish, leaving
1 - 2 + 3 = C(-2), so2 = -2CandC = -1. - The roots are used up, so match a coefficient for B. The
x2coefficient on the right isA + B, and on the left it is 1, soB = 1 - 3/2 = -1/2. - Check with the constant term:
A(1) + B(-1) + C(-1) = 3/2 + 1/2 + 1 = 3, matching the left side. The constants are right. - Integrate:
(3/2)ln|x - 1| - (1/2)ln|x + 1| + integral (-1)(x+1)-2 dx = (3/2)ln|x - 1| - (1/2)ln|x + 1| + 1/(x + 1) + C.
Note that the squared term did not become a logarithm - (x+1)-2 is an ordinary power, integrating to -(x+1)-1, and the leading -1 makes it +1/(x+1). Verify by recombining the derivative over (x-1)(x+1)2: the numerator is (3/2)(x+1)2 - (1/2)(x-1)(x+1) - (x - 1) = (1.5x2 + 3x + 1.5) - (0.5x2 - 0.5) - x + 1 = x2 + 2x + 3. Correct.
Case three: an irreducible quadratic factor
Evaluate integral (2x + 1)/(x(x2 + 1)) dx. The factor x2 + 1 has no real roots, so it is irreducible and takes a full linear numerator.
- Set up:
(2x + 1)/(x(x2+1)) = A/x + (Bx + C)/(x2 + 1). - Clear denominators:
2x + 1 = A(x2 + 1) + (Bx + C)x = (A + B)x2 + Cx + A. - Match coefficients. Constant:
A = 1. Coefficient of x:C = 2. Coefficient of x2:A + B = 0, soB = -1. - Rewrite:
integral [1/x + (-x + 2)/(x2 + 1)] dx. Split the second fraction into the two building blocks below. - Integrate:
ln|x| - (1/2)ln(x2 + 1) + 2 arctan(x) + C.
Verify: 1/x - x/(x2+1) + 2/(x2+1) = 1/x + (2 - x)/(x2+1). Over the common denominator: [(x2 + 1) + x(2 - x)]/(x(x2+1)) = (2x + 1)/(x(x2+1)). Correct.
Two building blocks handle first powers of x2 + 1: integral dx/(x2 + 1) = arctan(x) + C, and integral x dx/(x2 + 1) = (1/2)ln(x2 + 1) + C by substitution. Split any (Bx + C)/(x2+1) into a multiple of each. When the quadratic carries a linear term, complete the square first and shift, exactly as in the last lesson.
Key idea: one term per power of a repeated factor, and a linear numerator over every irreducible quadratic.
Repeated quadratics and intervals of validity
A factor (x2 + 1)2 needs (Ax + B)/(x2 + 1) + (Cx + D)/(x2 + 1)2. Omitting either power can make the coefficient system impossible. For the remaining integral of 1/(x2 + 1)2, set x = tan(theta). Then dx = sec2(theta) dtheta and the integrand becomes cos2(theta) dtheta. Its antiderivative is (1/2)arctan(x) + x/[2(1 + x2)] + C. This illustrates why repeated quadratics may need a trig substitution or a reduction formula in addition to the two basic blocks.[1]
The identity obtained after clearing denominators is a polynomial identity, so you may substitute a denominator root into that identity to find coefficients. You are not claiming that the original rational function is defined at that root. In the first example, the antiderivative is valid separately on (-infinity, -1), (-1, 2), and (2, infinity), with independently chosen constants. A definite integral crossing a pole still requires an improper-integral test.
Cancel common factors only while retaining original domain restrictions. A removable hole can often be filled without changing an integral, whereas a pole cannot. Decomposition changes the expression, not the conditions under which the original problem makes sense.

Which technique do I reach for?
You now own the whole standard toolkit. Run this checklist in order; use the result to choose a promising route, then check whether it simplifies the problem.
- Simplify algebraically first. Expand a product, split a fraction term by term, cancel a common factor, or apply a trig identity.
integral (x2 + 1)/x dxis not a partial-fractions problem; it isintegral (x + 1/x) dx. - Is it already a known form? Powers,
ekx,1/x, basic trig,1/(1 + x2),1/(the square root of (1 - x2)). Write the answer down. - Substitution. Is there a composite whose inside's derivative appears as a factor, up to a constant? This is the cheapest technique, so always test it before anything else.
- Integration by parts. A product of unrelated families - polynomial times exponential, trig, or log - or a lone logarithm or inverse trig function.
- Rational function? Divide if improper, factor the denominator, then partial fractions.
- Powers of trig functions? Odd power means peel and substitute; all even means half-angle identities.
- Square root of a quadratic with no lone x outside? Trig substitution, completing the square first if there is a linear term.
- Still stuck? Try a clever rewrite - multiply by a conjugate, add and subtract a term - or accept that some integrands such as
e-x2,sin(x)/x, andthe square root of (1 + x4)have no elementary antiderivative at all, and go numerical.
Two habits make the checklist reliable. First, spend ten seconds classifying before writing anything; most wasted pages come from starting on a technique that was never going to apply. Second, differentiate your answer. Differentiating checks an antiderivative on its domain; you must still check bounds, convergence, units, and the question being asked.
Common misconceptions
- Skipping the proper-fraction check. This is the top mistake. If the top degree is not strictly smaller than the bottom, divide first. Attempting the decomposition anyway produces a system with no solution, and nothing tells you why.
- Giving a squared factor only one term.
(x - r)2contributes bothA/(x - r)andB/(x - r)2, and a cubed factor contributes three terms. Count the powers and give each its own fraction, or the system will be short one unknown. - Putting a constant over an irreducible quadratic. It needs a full linear numerator
(Bx + C). Using just B loses a degree of freedom and the system becomes inconsistent. - Running out of roots and stopping. Substituting the roots gives you only as many equations as there are distinct roots. With repeated or quadratic factors you must finish by matching coefficients of like powers, as in case two.
- Expecting every piece to become a logarithm. Distinct linear factors give logs, but repeated factors give ordinary powers like
1/(x + 1), and irreducible quadratics give an arctangent as well as a log. - Dropping the absolute value. Write
ln|x - 2|, notln(x - 2). The bars are what make the antiderivative valid on both sides of the root. - Factoring the denominator incompletely.
x4 - 1is not(x2-1)(x2+1)for these purposes; push on to(x-1)(x+1)(x2+1). A factor you leave unfactored will not decompose.
Recap
- Make the fraction proper (divide first if needed), then factor the denominator completely into linear and irreducible-quadratic pieces.
- Write one fraction per factor with unknown tops, clear denominators, and solve - by plugging in roots where you can and matching coefficients where you cannot.
- Repeated factors need one term per power; irreducible quadratics take a linear numerator
Ax + B. - Worked results:
integral (5x-4)/(x2-x-2) dx = 2ln|x-2| + 3ln|x+1| + C;integral x3/(x2-1) dx = x2/2 + (1/2)ln|x2-1| + C;integral (2x+1)/(x(x2+1)) dx = ln|x| - (1/2)ln(x2+1) + 2arctan(x) + C. - Integrating the pieces produces logarithms, ordinary powers, and arctangents. Every rational function has an elementary antiderivative for exactly this reason.
- Use the eight-step checklist to classify an integral before you start, and differentiate your answer before you finish.
Retrieve, explain, and revisit
Close the notes and respond: Set up decompositions for a repeated linear factor and a repeated irreducible quadratic. Explain why a polynomial identity at a root does not restore the rational function there. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.4 Partial Fractions. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.5 Other Strategies For Integration. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.3 Trigonometric Substitution. Read the section.
- Key terms
- Partial fractions
- Decomposing a rational function into a sum of simpler fractions to integrate it.
- Proper rational function
- One whose numerator degree is less than its denominator degree.
- Distinct linear factors
- Denominator factors like (x - r) that each get a constant numerator A.
- Repeated factor
- A factor (x - r)^k needing one term for each power from 1 to k.
- Irreducible quadratic
- A quadratic with no real roots, given a linear numerator Ax + B.
Module 3: Improper and Numerical Integrals
Use limits to define improper integrals, then approximate finite integrals with explicit error bounds.
Improper Integrals and Convergence
- Evaluate improper integrals with infinite limits using a limit.
- Handle integrands that blow up inside the interval.
- Use the comparison test to decide convergence.
Here is a question that sounds impossible at first: can a region that stretches out forever still have a finite area? Sometimes yes. An improper integral is how we make sense of that. The definite integral needed a bounded function on a bounded interval. An improper integral relaxes those conditions, and a limit does the careful work of deciding whether the total is finite.
The big picture
There are two ways an integral becomes improper: the interval runs to infinity, or the function is unbounded near an endpoint or an interior point. In both cases we do not just plug in infinity. We integrate up to a movable stopping point, then take a limit. If that limit is a finite number, the integral converges. If the limit is infinite or does not exist, the integral diverges.
Key idea: an improper integral is a limit of ordinary integrals; a finite limit means it converges, otherwise it diverges.
Type 1: the interval runs to infinity
We define integral from a to infinity of f(x) dx = lim(t -> infinity) integral from a to t of f(x) dx. Integrate up to t, then let t march off to infinity.
Worked example that converges. Evaluate integral from 1 to infinity of 1/x2 dx.
- Integrate up to t:
integral from 1 to t of x-2 dx = [-1/x] from 1 to t = -1/t + 1. - Take the limit as t -> infinity: the term
-1/tgoes to 0, leaving1 - 0 = 1.
The integral converges to 1. A region stretching forever to the right can still enclose a finite area of 1.
Worked example that diverges. Evaluate integral from 1 to infinity of 1/x dx.
- Integrate up to t:
[ln x] from 1 to t = ln t - 0 = ln t. - Take the limit as t -> infinity:
ln tgrows without bound, so the limit is infinite.
This integral diverges. The graphs of 1/x and 1/x2 look almost the same, yet one traps finite area and the other does not. The power matters.
The p-integral, derived in general
Since the exponent decides everything, let us settle every case at once. Consider integral from 1 to infinity of x-p dx for any real constant p.
- Case p is not 1. The power rule applies:
integral from 1 to t of x-p dx = [x1-p/(1 - p)] from 1 to t = (t1-p - 1)/(1 - p). - Now watch the exponent
1 - p. Ifp > 1then1 - pis negative, sot1-p = 1/tp-1 -> 0, and the limit is(0 - 1)/(1 - p) = 1/(p - 1). Finite: converges. - If
p < 1then1 - pis positive, sot1-p -> infinityand the limit is infinite: diverges. - Case p = 1. The power rule breaks down (it would divide by zero), and the antiderivative is
ln(t), which grows without bound: diverges.
So integral from 1 to infinity of dx/xp converges exactly when p > 1, with value 1/(p - 1). Check it against the cases we did by hand: at p = 2 the formula gives 1/(2-1) = 1, and at p = 3 it gives 1/(3-1) = 1/2. Both match. Notice that p = 1 is not merely a boundary case to memorise - it is the exact point where the antiderivative changes species, from a power to a logarithm, and a logarithm grows slower than any positive power but still without bound.
Key idea: within the power family x-p, p > 1 gives convergence at infinity. This threshold is not a complete rule for all functions.

Type 2: the function blows up inside
If f shoots up to infinity at an endpoint, say at x = 0, we define integral from 0 to 1 of f dx = lim(t -> 0+) integral from t to 1 of f dx, starting just to the right of the trouble spot and sliding toward it.
Worked example that converges. Evaluate integral from 0 to 1 of 1/(the square root of x) dx.
- Note the trouble: at x = 0 the integrand is undefined and grows without bound, so this is improper at the left endpoint.
- Cut short:
integral from t to 1 of x-1/2 dx = [2x1/2] from t to 1 = 2 - 2(the square root of t). - Let
t -> 0+: the square root of t goes to 0, so the limit is 2.
It converges to 2, even though the integrand is undefined and unbounded near 0 - an infinitely tall spike can still enclose finite area if it is thin enough fast enough.
Worked example that diverges. Evaluate integral from 0 to 1 of dx/x. Cut short: [ln|x|] from t to 1 = ln(1) - ln(t) = -ln(t). As t -> 0+, ln(t) -> -infinity, so -ln(t) -> +infinity. It diverges.
The same power-rule argument as before, run on integral from 0 to 1 of x-p dx, gives (1 - t1-p)/(1 - p), which converges exactly when p < 1, with value 1/(1 - p). Check against the worked example: p = 1/2 gives 1/(1 - 1/2) = 2. Correct.
Put the two rules side by side, because the reversal catches almost everyone:
| Integral | Converges when | Value |
| integral from 1 to infinity of dx/xp | p > 1 | 1/(p - 1) |
| integral from 0 to 1 of dx/xp | p < 1 | 1/(1 - p) |
The logic behind the reversal is worth saying plainly. Far out at infinity, a large p makes the function tiny, so the tail is thin and the area is finite. Near zero, a large p makes the function enormous, so the spike is fat and the area blows up. Same p, opposite effect, because x-p is small when x is large and large when x is small.
The trap: a blow-up in the middle
An integrand can be improper at an interior point with nothing in the notation to warn you. Consider integral from -1 to 1 of dx/x2, the example that produced the impossible answer -2 back in Lesson 2.
- Spot the trouble: the integrand blows up at x = 0, which is inside [-1, 1].
- Split at the trouble spot: the integral is
integral from -1 to 0 of dx/x2 + integral from 0 to 1 of dx/x2, and the whole thing converges only if both pieces do. - Test the right piece: it is
integral from 0 to 1 of x-p dxwith p = 2, and 2 is not less than 1, so it diverges. - One divergent piece is enough. The original integral diverges, and the mechanical answer -2 was meaningless.
The habit that prevents this: before evaluating any definite integral, ask where the integrand is undefined, and check whether any such point lies in the interval. Denominators that vanish, logarithms of zero, and tangents at odd multiples of pi/2 are the usual suspects. One caution about splitting: you must let each piece take its limit independently. Letting both sides approach zero at the same rate would give 0 for integral from -1 to 1 of dx/x, which is called the principal value and is not the same thing as convergence.
Key idea: improperness at an interior point is invisible in the notation; find it by inspecting the integrand's domain, then split and test each piece separately.
Two infinite ends and a slower-than-power distinction
Define an integral over the whole real line by splitting at a finite c: integral from -infinity to c plus integral from c to infinity. Both independent limits must converge. For f(x) = x/(1 + x2), every symmetric truncation from -R to R is zero, but the positive tail diverges and the negative tail diverges. Its symmetric principal value is zero; its ordinary improper integral does not exist.[1]
For q real, consider integral from e to infinity of 1/[x(ln x)q] dx. Let u = ln x; du = dx/x. The integral becomes integral from 1 to infinity of u-q du, so it converges exactly when q > 1. Both 1/(x ln x) and 1/[x(ln x)2] are smaller than 1/x and have ratio tending to zero compared with 1/x. Yet the first integral diverges and the second converges. Being smaller than a divergent comparison does not settle the question.

The comparison test
Sometimes you cannot find an antiderivative, but you can still decide convergence by comparing with a simpler function. If 0 <= f(x) <= g(x), then:
- If the bigger one,
integral g, converges, then the smallerintegral fconverges too (it is trapped underneath something finite). - If the smaller one,
integral f, diverges, then the biggerintegral gdiverges too.
For instance, integral from 1 to infinity of 1/(x2 + 1) dx converges, because 1/(x2 + 1) <= 1/x2 and the 1/x2 integral already converged.
Worked comparison where no antiderivative exists. Decide whether integral from 1 to infinity of e-x2 dx converges. This integrand has no elementary antiderivative at all, so comparison offers a convenient convergence proof; numerical methods or special functions can also describe its value.
- Find a bound. For
x >= 1we havex2 >= x, so-x2 <= -x, and since the exponential is increasing,e-x2 <= e-x. Both functions are positive, so the setup of the test is satisfied. - Evaluate the bigger one:
integral from 1 to t of e-x dx = [-e-x] from 1 to t = e-1 - e-t, and ast -> infinitythis tends to1/e. It converges. - Apply the test: the smaller function is squeezed under something with finite area, so
integral from 1 to infinity of e-x2 dxconverges by the comparison test.
Note what was and was not proved. We showed the value is finite and at most 1/e ~= 0.368; we did not find it. (Its true value is about 0.1394.) Comparison answers the yes-or-no question only, and that is usually the question that matters.
The limit comparison test
Direct comparison needs a clean inequality, which is sometimes fiddly to arrange. The limit comparison test avoids that: if f and g are positive and lim(x -> infinity) f(x)/g(x) = L with 0 < L < infinity, then the two integrals either both converge or both diverge. A finite nonzero ratio means the two functions decay at the same rate, and on the tail the positive functions bound one another by constant multiples. Both must also be integrable on every finite subinterval away from their improper endpoints.
Worked example. Decide whether integral from 1 to infinity of (x + 1)/(x3 + 2) dx converges.
- Identify the dominant behaviour. For large x the top behaves like x and the bottom like
x3, so the whole thing behaves like1/x2. Takeg(x) = 1/x2. - Form the ratio:
f/g = [(x + 1)/(x3 + 2)] * x2 = (x3 + x2)/(x3 + 2). - Take the limit by dividing top and bottom by
x3:(1 + 1/x)/(1 + 2/x3) -> 1. The limit is 1, which is finite and positive. - Since
integral from 1 to infinity of dx/x2converges (p = 2 > 1), the given integral converges by the limit comparison test.
The practical recipe: strip the integrand down to its highest power on top over its highest power on bottom, and compare with that. It converts almost every rational-looking convergence question into a p-integral lookup.
Finite volume, infinite surface, and a normalized tail
Rotate y = 1/x for x >= 1 about the x-axis. The disk formula, developed in the volume lesson, gives volume pi integral from 1 to infinity of x-2 dx = pi. The lateral surface-area formula gives 2pi integral from 1 to infinity of (1/x)sqrt(1 + x-4) dx. Its integrand is at least 2pi/x, so the lateral surface area is infinite.[2]
This is a mathematical object, Gabriel's horn, with finite volume and infinite surface area. The familiar paint story is only an analogy. A uniform coating of positive thickness would require more modeling, especially in the arbitrarily narrow tail. A zero-thickness surface does not itself require a positive volume of paint.
A related use of a finite improper integral is normalization of a density. Let p(x) = 2/x3 for x >= 1 and zero otherwise. Its integral is 1, so it is a probability density. The probability of x >= 2 is integral from 2 to infinity of 2/x3 dx = 1/4. A finite total does not force every weighted integral to be finite: the mean is integral from 1 to infinity of 2/x2 dx = 2, but the second moment is integral from 1 to infinity of 2/x dx and diverges.
Common misconceptions
- Plugging infinity into the antiderivative. Infinity is a limit, not a number. Writing
[-1/x] from 1 to infinity = 0 + 1happens to give the right answer here and trains a habit that fails elsewhere. Introduce t, integrate, then take the limit - every time. - Missing an interior blow-up. Nothing in
integral from -1 to 1 of dx/x2announces that it is improper, and turning the crank gives -2 for a positive integrand. Check the integrand's domain against the interval before you evaluate. - Mixing up the two p-thresholds. At infinity you need
p > 1; at zero you needp < 1. They point opposite ways for a reason: a big p makes the function small far out and huge near zero. - Reversing the comparison test. Only two conclusions are available: a convergent upper bound forces convergence, and a divergent lower bound forces divergence. Showing your function is smaller than something divergent proves nothing at all, and neither does showing it is bigger than something convergent.
- Using a comparison function that is not positive. Direct comparison uses 0 <= f <= g near the problematic endpoint. Limit comparison uses positive f and g with a finite nonzero limiting ratio; it does not require f <= g. On an integrand that changes sign, cancellation can produce convergence that no size comparison would predict.
- Reporting a value from a comparison test. Comparison decides convergence, not the number. Our bound showed
integral e-x2is at most 1/e; the actual value is about 0.139, and the test never claimed otherwise. - "Infinite extent means infinite area." Not so.
1/x2over an infinite interval gives area 1, and1/(the square root of x)under an infinite spike gives area 2. Extent is not the issue; decay rate is. - Letting both halves approach the singularity together. Each side of an interior blow-up must take its own independent limit. Coupling them computes a principal value, which can be finite even when the integral genuinely diverges.
Recap
- An improper integral is defined as a limit: integrate to a finite endpoint, then take the limit. A finite limit means convergence; an infinite or nonexistent limit means divergence.
- Type 1 is an infinite interval; Type 2 is an infinite integrand. An integrand that blows up inside the interval must be split at the blow-up, and every piece must converge.
integral from 1 to infinity of dx/xpconverges exactly whenp > 1, with value1/(p - 1).integral from 0 to 1 of dx/xpconverges exactly whenp < 1, with value1/(1 - p).- The direct comparison test decides convergence without an antiderivative: a convergent upper bound drags the smaller function down, a divergent lower bound pushes the bigger one up.
- The limit comparison test needs only a finite nonzero ratio; strip the integrand to its dominant power and compare with a p-integral.
integral from 1 to infinity of e-x2 dxconverges by comparison withe-x, even though it has no elementary antiderivative.- Every convergence conclusion should be stated with the test that produced it: "converges by the p-test with p = 2," "converges by limit comparison with 1/x2."
Retrieve, explain, and revisit
Close the notes and respond: State the p-integral thresholds near zero and at infinity. Explain why two divergent one-sided integrals cannot cancel to define an ordinary improper integral. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.7 Improper Integrals. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.4 Arc Length Of A Curve And Surface Area. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.5 Substitution. Read the section.
- Key terms
- Improper integral
- An integral over an infinite interval or with an unbounded integrand, defined by a limit.
- Converges
- An improper integral converges when its defining limit is a finite number.
- Diverges
- An improper integral diverges when its limit is infinite or fails to exist.
- p-integral
- integral from 1 to infinity of 1/x^p dx converges if and only if p > 1.
- Comparison test
- Deciding convergence by comparing f with a simpler function g bounding it.
Numerical Integration and Error Control
- Compute midpoint, trapezoidal, and Simpson approximations from a function or a table.
- Choose a subdivision count using a justified derivative bound.
- Distinguish truncation error, rounding error, and uncertainty in measured data.
One integral, three approximations
The integral of x4 from 0 to 2 is 32/5 = 6.4. With four equal intervals, the trapezoidal rule gives 7.0625 and Simpson's rule gives 6.4166667. Both use the same five endpoint values, but combine them differently. This known answer lets us examine the approximation methods before using them where an elementary antiderivative is unavailable.
Numerical integration replaces a function by simpler pieces whose integrals we can calculate. Midpoint rectangles use constant pieces, trapezoids use straight lines, and Simpson's rule uses quadratics over pairs of intervals. A number with many displayed digits is not automatically accurate. We need a way to connect the calculation with a bound on the possible error.[1]
Key idea: an approximation is useful when you can explain how it was computed, what assumptions it uses, and how accurately it answers the question.
Set up the grid before applying weights
Let I = integral from a to b of f(x) dx, with a < b. Choose a positive integer n and equal width h = (b - a)/n. The grid points are xi = a + ih for i = 0 through n. There are n intervals but n + 1 endpoints. Midpoints are mi = a + (i - 1/2)h for i = 1 through n.
The midpoint formula is Mn = h sum from i = 1 to n of f(mi). You need n midpoint values, which are generally different from the endpoint data. Do not use endpoint values in a midpoint formula just because a table contains n convenient rows.
For x4 on [0, 2] with n = 4, h = 1/2 and the midpoint inputs are 1/4, 3/4, 5/4, and 7/4. Their fourth powers sum to (1 + 81 + 625 + 2401)/256 = 777/64. Multiplying by h gives M4 = 777/128 = 6.0703125, an underestimate of 6.4.
Continuity of f on the closed interval ensures that midpoint approximations converge to I as n tends to infinity. The stronger error bounds below require more derivatives. Keep these two statements separate: convergence as the grid shrinks does not yet tell you the error for your chosen finite grid.[1][2]
Trapezoids and the shared endpoints
On one interval [xi-1, xi], the line joining the two endpoint heights has integral h[f(xi-1) + f(xi)]/2. Adding these expressions counts each interior endpoint twice. Therefore
Tn = (h/2)[f(x0) + 2f(x1) + ... + 2f(xn-1) + f(xn)].
The first and last weights are 1, and all interior weights are 2. For a common equal grid, Tn also equals (Ln + Rn)/2, the mean of the left and right sums.[1]
| x | x4 | Trapezoid weight | Simpson weight |
|---|---|---|---|
| 0 | 0 | 1 | 1 |
| 1/2 | 1/16 | 2 | 4 |
| 1 | 1 | 2 | 2 |
| 3/2 | 81/16 | 2 | 4 |
| 2 | 16 | 1 | 1 |
Using that table, T4 = (1/4)[0 + 2(1/16) + 2(1) + 2(81/16) + 16] = 113/16 = 7.0625. The exact error is 7.0625 - 6.4 = 0.6625. Here f''(x) = 12x2 is nonnegative, so the graph is convex: its secant segments lie above the curve, explaining the overestimate. For convex functions, midpoint rectangles underestimate and trapezoids overestimate the integral. Concavity reverses those directions; a change in concavity prevents this simple global conclusion.
![Four midpoint rectangles underestimate the integral of x to the fourth, while four trapezoids overestimate it on [0,2].](/assets/img/math-calc2-reviewed/quadrature-curvature.png)
Simpson's rule needs pairs of intervals
Fit a quadratic through the three points at x0, x1, x2. Integrating that quadratic over the pair of intervals gives h[f(x0) + 4f(x1) + f(x2)]/3. The same construction on successive pairs yields
Sn = (h/3)[f(x0) + 4f(x1) + 2f(x2) + 4f(x3) + ... + 4f(xn-1) + f(xn)].
The composite Simpson formula requires an even positive n and equal spacing. Endpoints get weight 1, odd interior indices get 4, and even interior indices get 2. A last unmatched interval cannot simply be assigned another weight 4.[1]
For the table above, S4 = (1/6)[0 + 4/16 + 2 + 4(81/16) + 16] = (1/6)(38.5) = 77/12, about 6.4166667. Its exact error is 77/12 - 32/5 = 1/60. Simpson's rule is exact for polynomials of degree at most 3, even though its construction uses quadratic pieces. This follows by checking 1, x, x2, and x3 on each symmetric pair, then using linearity. It is not exact for every smooth function, as x4 demonstrates.
Error bounds and their hypotheses
Assume f has a continuous second derivative on [a, b], with |f''(x)| <= K2 throughout the interval. Then the composite bounds are
|I - Mn| <= K2(b - a)3/(24n2) and |I - Tn| <= K2(b - a)3/(12n2).
If f has a continuous fourth derivative with |f(4)(x)| <= K4, then, for even n, |I - Sn| <= K4(b - a)5/(180n4). A valid upper bound need not be the smallest possible maximum, but it must hold everywhere on the interval.[1]
For x4 on [0, 2], take K2 = 48 and K4 = 24. With n = 4, the midpoint bound is 1, the trapezoid bound is 2, and the Simpson bound is 1/60. The actual midpoint and trapezoid errors are about 0.32969 and 0.6625, comfortably below their bounds. Simpson's bound happens to equal the actual error here. A conservative bound can be useful even when it is not tight.
To guarantee Simpson error at most 0.001 for this same integral, solve 24(25)/(180n4) <= 0.001. This gives n4 >= 4266.6667. The smallest even integer satisfying it is n = 10, giving a bound about 0.000426667. n = 8 gives about 0.00104167, so rounding the requirement down would fail the guarantee.
![Simpson error bounds for x to the fourth on [0,2] drop below 0.001 at n=10; n=8 remains just above.](/assets/img/math-calc2-reviewed/quadrature-grid-bound.png)
Data, rounding, and choosing an adaptive grid
Suppose velocity measurements in metres per second at t = 0, 1, 2, 3, 4 seconds are 0, 1, 4, 9, 16. The trapezoidal estimate of displacement is (1/2)[0 + 2(1) + 2(4) + 2(9) + 16] = 22 m. Simpson gives (1/3)[0 + 4(1) + 2(4) + 4(9) + 16] = 64/3 m. If the true velocity is t2, Simpson is exact. If these are only measurements, no rule tells us the curve between them exactly.
If every measured ordinate has absolute error at most delta, the positive trapezoidal weights sum to b - a. Thus the uncertainty contributed by the ordinate errors is at most delta(b - a), separate from approximation error. The same weight-sum argument holds for this composite Simpson rule. A derivative bound for a fitted model does not automatically bound the unknown physical signal.
For unequal spacing, the trapezoidal rule can still be applied separately as sum (xi - xi-1)[f(xi-1) + f(xi)]/2. The standard 1, 4, 2 Simpson pattern does not apply unchanged. If an integrand has a singularity, inspect it analytically first; a table that misses the singularity can return a misleading finite result.
Adaptive algorithms place more subintervals where a local error estimate is large. Comparing n and 2n approximations can guide refinement, but their agreement alone is not a proof: both grids may miss the same narrow feature. Report the method, grid or tolerance, assumptions, and error estimate. Carry extra digits through the calculation and round the final result only after checking the error budget.
Common misconceptions
- More decimal places mean more accuracy. A computer can print many digits of a poor approximation. The error bound addresses accuracy.
- Simpson works with any n. The composite formula taught here requires an even number of equal subintervals.
- A bound is the actual error. Usually it is only an upper limit; equality in the x4 example is a special case.
- All smooth curves favor the same rule equally. Curvature, available samples, derivative bounds, and computational cost affect the choice.
- The antiderivative must be non-elementary to use a numerical rule. Numerical methods also check exact answers and integrate sampled data.
What to carry forward
Build the grid first, then attach the correct weights and width. Midpoint, trapezoidal, and Simpson rules approximate different simple pieces. For a guaranteed tolerance, check the derivative hypotheses, choose a valid global bound, and round the required n upward, to an even value for Simpson. Keep truncation, rounding, and measurement errors distinct.
Remember: a numerical result should come with enough information for another student to reproduce it and assess its precision.
Retrieve, explain, and revisit
Close the notes and respond: Reconstruct midpoint, trapezoid, and Simpson weights. State the needed derivative bounds and why the standard composite Simpson rule needs an even number of equal intervals. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.6 Numerical Integration. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.1 Approximating Areas. Read the section.
- Key terms
- Midpoint rule
- A Riemann-sum approximation using each subinterval midpoint.
- Trapezoidal rule
- Integration of piecewise linear interpolation through endpoint samples.
- Simpson's rule
- A composite quadrature rule with weights 1, 4, 2, ..., 4, 1 on an even, equally spaced grid.
- Absolute error
- The absolute difference between an exact value and its approximation.
- Error bound
- A justified upper limit on possible error under stated assumptions.
- Truncation error
- Error introduced by replacing an exact process with a finite approximation.
Module 4: Applications of Integration
Build area, volume, length, surface, work, fluid-force, and center-of-mass integrals from small pieces, checking geometry and units.
Area Between Curves
- Set up an integral for the area between two curves.
- Find intersection points to determine the limits of integration.
- Choose whether to integrate with respect to x or y.
Between y = x and y = x2 on [0,1], a vertical strip has height x - x2. Integrating that height gives the area. This setup requires knowing which curve is above the other throughout the interval. When the boundaries cross, we must split the interval or use an absolute difference.
The big picture
If the curve f(x) sits on top of g(x) across an interval, the region between them has area equal to the integral of the gap, top minus bottom.
A = integral from a to b of [f(x) - g(x)] dx
For a region enclosed only by the two graphs, intersections determine its boundaries. Other problems give vertical or horizontal boundary lines explicitly. Identify the whole region before choosing limits.[1] Subtracting bottom from top keeps the gap positive everywhere, so the area comes out positive.
Why the integrand is top minus bottom
Every application in this module is built the same way, and it is worth doing the construction once, slowly, because the pattern repeats for volumes and arc length.
- Slice. Cut the region with a thin vertical strip at position x. This strip is called the representative rectangle, and everything depends on describing it correctly.
- Measure one slice. Its width is dx. Its height reaches from the lower boundary up to the upper boundary, so the height is
f(x) - g(x). - Write its area. Height times width:
[f(x) - g(x)] dx. - Add and take the limit. Summing over all strips and letting the width shrink turns the sum into
integral from a to b of [f(x) - g(x)] dx.
That is the whole derivation, and it explains details that otherwise look arbitrary. The subtraction is there because a height is a difference of two positions, not because of a rule about areas. The order is top minus bottom because heights are positive. And the strip is vertical - width dx - precisely because we chose to integrate with respect to x; a horizontal strip would have thickness dy and force the other variable.
The construction also survives cases that trip people up. If the region dips below the x-axis, nothing changes: the height is still upper minus lower, and both may be negative numbers whose difference is positive. On f(x) = -1 and g(x) = -3 over [0, 2], the height is -1 - (-3) = 2 and the area is 4, exactly as the picture demands.
Key idea: the area between two curves is the integral of the top curve minus the bottom curve, over the interval where they overlap - and the integrand is a difference because it measures the height of one representative strip.
Worked example, step by step
Find the area enclosed between the line y = x + 2 and the parabola y = x2.
- Find where they cross by setting them equal:
x + 2 = x2, which rearranges tox2 - x - 2 = 0, and factors as(x - 2)(x + 1) = 0. So the crossings are x = -1 and x = 2. These are your limits. - Decide which curve is on top by testing one inside point. At x = 0 the line gives 2 and the parabola gives 0, so the line is on top.
- Set up the integral, top minus bottom:
A = integral from -1 to 2 of [(x + 2) - x2] dx. - Find the antiderivative:
x2/2 + 2x - x3/3. - Evaluate at the top, x = 2:
2 + 4 - 8/3 = 6 - 8/3 = 10/3. - Evaluate at the bottom, x = -1:
1/2 - 2 + 1/3 = -7/6. - Subtract, top minus bottom:
10/3 - (-7/6) = 20/6 + 7/6 = 27/6 = 9/2.
The enclosed area is 9/2. Here is the region, with the line riding above the parabola between the two crossings.
Verify the antiderivative: d/dx[x2/2 + 2x - x3/3] = x + 2 - x2, which is top minus bottom. Correct. As a rough check, the region is roughly 3 units wide and at most about 2.25 units tall, so an area of 4.5 is plausible.
When the curves swap places inside the interval
If the two curves cross between your limits, a fixed signed difference can cancel area when "top" changes identity. You may use one integral of |f - g|, or split it into intervals with a fixed top and bottom. Find the area enclosed between y = x and y = x3.
- Find all crossings:
x = x3givesx3 - x = 0, sox(x - 1)(x + 1) = 0and the crossings are x = -1, 0, 1. Three crossings mean two separate regions. - Test each subinterval. At
x = -0.5:x3 = -0.125andx = -0.5, so the cubic is on top on (-1, 0). Atx = 0.5:x3 = 0.125andx = 0.5, so the line is on top on (0, 1). - Left piece:
integral from -1 to 0 of (x3 - x) dx = [x4/4 - x2/2] from -1 to 0 = 0 - (1/4 - 1/2) = 1/4. - Right piece:
integral from 0 to 1 of (x - x3) dx = [x2/2 - x4/4] from 0 to 1 = 1/2 - 1/4 = 1/4. - Total area:
1/4 + 1/4 = 1/2.
Now see what happens if you skip the split and write one integral from -1 to 1 of (x - x3): the antiderivative x2/2 - x4/4 takes the value 1/4 at both endpoints, so the answer comes out 0. The two halves cancelled, because on the left half the integrand was negative. Zero for a visibly non-empty region is the loudest possible warning, but a subtler example might have produced a merely wrong positive number with no warning at all. Always find every crossing, not just the outermost two.
Key idea: solve for all intersection points, split there, and integrate each piece with its own top and bottom.

Sometimes it is easier to integrate in y
When the curves are simpler to write as x in terms of y, for example sideways-opening parabolas, slice the region with horizontal strips instead and integrate right curve minus left curve: A = integral from c to d of [xright(y) - xleft(y)] dy. The principle is identical, just rotated: the strip now has thickness dy and length right-minus-left. Pick whichever direction keeps the boundaries as clean functions.
Worked example. Find the area enclosed by the line y = x - 1 and the sideways parabola y2 = 2x + 6.
- Solve both boundaries for x: the line becomes
x = y + 1, and the parabola becomesx = (y2 - 6)/2. - Find the crossings in y:
y + 1 = (y2 - 6)/2. Multiply by 2:2y + 2 = y2 - 6, soy2 - 2y - 8 = 0, which factors as(y - 4)(y + 2) = 0. The limits are y = -2 and y = 4. - Decide which boundary is on the right by testing an inside value, say y = 0: the line gives
x = 1, the parabola givesx = -3. The line is on the right. - Set up:
A = integral from -2 to 4 of [(y + 1) - (y2 - 6)/2] dy = integral from -2 to 4 of (-y2/2 + y + 4) dy. - Antiderivative:
-y3/6 + y2/2 + 4y. Check it:d/dy = -y2/2 + y + 4. Correct. - At y = 4:
-64/6 + 8 + 16 = -32/3 + 24 = 40/3. At y = -2:8/6 + 2 - 8 = 4/3 - 6 = -14/3. - Subtract:
40/3 - (-14/3) = 54/3 = 18.
The area is 18. Now consider the cost of the other choice. Integrating in x, the parabola's upper and lower branches are y = the square root of (2x + 6) and y = -the square root of (2x + 6), and the region's lower boundary switches from the parabola's lower branch to the line at x = -1. You would need two integrals, two square roots, and a careful argument about where the switch happens - to reach the same 18. Choosing the slicing direction is a real decision, and the rule of thumb is simple: slice so that each strip enters and exits through the same pair of boundaries all the way across.
Key idea: pick the direction of slicing that lets a single integral describe the whole region.

Common misconceptions
- Guessing which curve is on top. Always test one point strictly between the crossings and see which function is larger there. Guessing from a rough sketch fails exactly when the curves are close, which is when it matters.
- Missing an interior crossing. Solving
f(x) = g(x)and keeping only the outermost roots is the error that turned a region of area 1/2 into an answer of 0 above. Find every root, then split at each one. - Subtracting in the wrong order. A negative result means the area setup or arithmetic is wrong. Check the order, the bounds, all changes in order, and the antiderivative. Taking an absolute value at the end can hide a missing split.
- Skipping the search for limits. Intersections determine limits only when they form the boundaries of the requested region. If a problem supplies limits explicitly, still check whether the curves cross inside them.
- Forgetting that both curves can be negative. Height is upper minus lower regardless of sign. A region entirely below the axis has a perfectly positive area.
- Slicing in the harder direction. If a vertical strip enters through one curve at some x-values and a different curve at others, switch to horizontal strips and integrate in y. The parabola example is 18 in one integral that way, and two messy integrals the other way.
- Mixing dx with functions of y. If your integrand is written in y, the differential must be dy and the limits must be y-values. Pairing
xright(y) - xleft(y)with x-limits is a common and fatal mismatch.
Recap
- Area between curves is
integral from a to b of [top - bottom] dx, and the integrand is a difference because it is the height of one representative strip of width dx. - Find the limits by setting the curves equal, then test a point in each subinterval to see which curve is on top.
- If the curves cross inside the interval, split there and integrate each piece separately; a single integral of a signed difference could let the pieces cancel; integral |f - g| is a valid unsplit formulation.
- Worked results: line
y = x + 2abovey = x2encloses 9/2;y = xandy = x3enclose 1/2 in two pieces of 1/4 each. - A negative result cannot be geometric area; inspect the full setup and arithmetic before correcting it.
- When the boundaries are cleaner as functions of y, use horizontal strips:
integral from c to d of [right - left] dy. The liney = x - 1and the parabolay2 = 2x + 6enclose area 18, in one integral this way. - Choose the slicing direction so that every strip enters and exits through the same pair of boundaries.
Retrieve, explain, and revisit
Close the notes and respond: Find intersections and determine which boundary is on top on each interval. Explain how integrating in y can simplify a region with awkward vertical slices. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.1 Areas Between Curves. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 1.2 The Definite Integral. Read the section.
- Key terms
- Area between curves
- The integral of the upper curve minus the lower curve over their overlap.
- Intersection points
- Points where curves meet, found by solving their equations together; they may form region boundaries.
- Upper and lower curve
- The larger function is subtracted by the smaller so the integrand is non-negative.
- Vertical strip
- A thin rectangle of width dx whose height is the gap between the curves.
- Integrating in y
- Using horizontal strips and right-minus-left when curves are functions of y.
Volumes by Slicing: Disks and Washers
- Compute a volume of revolution using the disk method.
- Use the washer method when the solid has a hole.
- Set up the correct radius from the axis of rotation.
Spin a flat region around a line and it sweeps out a solid, the way a shape spinning on a potter's wheel or a lathe carves out a vase or a table leg. This lesson finds the volume of such a solid by slicing it into thin coins, measuring each coin, and adding them up with an integral. It is the same slice-and-add idea as area, now in three dimensions.
The big picture
Take the region between a continuous nonnegative function y = f(x), the x-axis, and x = a and x = b, where a < b. Rotate that region around the x-axis.[1] Each thin vertical strip sweeps out a flat disk, like a coin, standing on edge. A coin has volume pi * (radius)2 * (thickness). The radius is the height of the curve, f(x), and the thickness is dx. Add up all the coins with an integral and you have the volume.
V = integral from a to b of pi * [f(x)]2 dx
Key idea: a solid of revolution is a stack of thin disks; each disk is pi times radius squared times thickness, and the integral adds them all.
Why the integrand looks like that
Do not memorise the formula. Rebuild it, in four steps that will work for every volume problem in this module.
- Choose a slicing direction. Cut the solid perpendicular to the axis of rotation. Rotating about a horizontal axis means vertical cuts, so the thickness is dx.
- Describe one slice. When a vertical strip at position x is spun about the x-axis, it sweeps a full circle. The slice is a disk of thickness dx.
- Measure it. The radius is the distance from the axis of rotation out to the curve. For rotation about the x-axis that distance is just the height
f(x). So the slice has areapi[f(x)]2and volumepi[f(x)]2 dx. - Add and take the limit. Summing over all slices gives
V = integral from a to b of pi[f(x)]2 dx.
Every part of the integrand now has a job. The pi and the square come from the area of a circle. The f(x) is a distance from the axis, which is why the formula changes when the axis moves off the x-axis. And the dx is the thickness of one slice, which is why the limits must be x-values.
The washer version comes from the same construction with one change at step 3. If the region does not touch the axis, the spun strip sweeps an annulus rather than a full disk: a big circle of radius R with a small circle of radius r removed. Its area is pi R2 - pi r2 = pi(R2 - r2), so the volume of one slice is pi(R2 - r2) dx. The disk method is simply the washer method with r = 0; there is one formula here, not two.
The disk method, step by step
Rotate the region between y = sqrt(x), y = 0, x = 0, and x = 4 about the x-axis.
- Identify the radius: it is the height of the curve,
f(x) = the square root of x. - Square the radius:
[f(x)]2 = x. This squaring step is the one students most often forget. - Set up the integral:
V = integral from 0 to 4 of pi * x dx. - Integrate:
pi * [x2/2] from 0 to 4 = pi * (16/2). - Finish:
pi * 8 = 8 pi.
The volume is 8 pi cubic units.
Two checks against formulas you already trust
A method that reproduces geometry you learned in school is a method you can rely on. Both classical volume formulas fall out of the disk integral in three lines.
The cone. A cone of radius r and height h is what you get by rotating the line y = (r/h)x from x = 0 to x = h about the x-axis - a straight line from the tip out to the rim.
- Radius of a slice:
(r/h)x. Square it:(r2/h2)x2. - Set up:
V = pi(r2/h2) integral from 0 to h of x2 dx. - Integrate:
pi(r2/h2) * [x3/3] from 0 to h = pi(r2/h2)(h3/3) = pi r2h/3.
That is the cone formula exactly, one third of the cylinder that contains it.
The sphere. Rotate the semicircle y = the square root of (R2 - x2) from x = -R to x = R about the x-axis.
- Square the radius:
[the square root of (R2 - x2)]2 = R2 - x2. The root disappears, which is why sphere problems are easier than they look. - Set up and integrate:
V = pi integral from -R to R of (R2 - x2) dx = pi[R2x - x3/3] from -R to R. - Evaluate: at R this is
R3 - R3/3 = 2R3/3; at -R it is-2R3/3. Subtracting gives4R3/3, soV = 4pi R3/3.
The integral reproduces 4pi R3/3. This checks the algebra and geometric setup for a familiar solid.
Key idea: when a new method reproduces a formula you already trust, you have earned the right to use it on shapes with no formula.
The washer method, when there is a hole
If the region is rotated about an axis it does not touch, each slice is not a full coin but a washer: a disk with a circular hole punched out. It has an outer radius R reaching to the far curve and an inner radius r reaching to the near curve. The slice area is the big circle minus the small circle, pi(R2 - r2), so:
V = integral from a to b of pi ([R(x)]2 - [r(x)]2) dx
Worked example. Rotate the region between y = x and y = x2 about the x-axis. On the interval from 0 to 1, the line y = x is farther from the axis (outer) and the parabola y = x2 is nearer (inner).
- Outer radius
R = x, inner radiusr = x2. - Square each and subtract:
R2 - r2 = x2 - x4. - Set up:
V = integral from 0 to 1 of pi (x2 - x4) dx. - Integrate:
pi [x3/3 - x5/5] from 0 to 1 = pi (1/3 - 1/5). - Combine the fractions:
pi (5/15 - 3/15) = 2 pi/15.
The volume is 2 pi/15. Notice that squaring first was essential: (R - r)2 = (x - x2)2 = x2 - 2x3 + x4, which integrates to pi(1/3 - 1/2 + 1/5) = pi/30 - one quarter of the right answer, and wrong for a reason that no arithmetic check would catch.

Rotating about a line that is not an axis
Nothing in the derivation assumed the axis was the x-axis. What the formula actually needs is the distance from the axis of rotation to each boundary. Rotate the region between y = x2 and the x-axis, for x from 0 to 1, about the horizontal line y = -1.
- Draw the axis and measure distances to it. The far boundary is the curve
y = x2, at distancex2 - (-1) = x2 + 1from the line. The near boundary is the x-axis, at distance0 - (-1) = 1. - So
R = x2 + 1andr = 1. The region does not touch the axis, so there is a hole and this is a washer problem. - Square each and subtract:
R2 - r2 = (x2 + 1)2 - 1 = x4 + 2x2 + 1 - 1 = x4 + 2x2. - Integrate:
V = pi integral from 0 to 1 of (x4 + 2x2) dx = pi[x5/5 + 2x3/3] from 0 to 1 = pi(1/5 + 2/3). - Combine:
pi(3/15 + 10/15) = 13pi/15.
Sanity-check the size. Rotating the same region about the x-axis would give pi integral from 0 to 1 of x4 dx = pi/5 = 3pi/15. Moving the axis one unit away pushes the material further out and should increase the volume, and 13pi/15 is indeed larger. If your relocated-axis answer comes out smaller, you have almost certainly forgotten to shift one of the radii.
Key idea: a radius is always a distance from the axis of rotation - use the nonnegative distance |boundary coordinate - axis coordinate|, and never assume the radius equals the function value.
When the axis passes through the region
Determine the set swept out by each slice, rather than always subtracting the squares of the two boundary values. Rotate the rectangle 0 <= x <= 1, -1 <= y <= 2 about the x-axis. Each vertical segment crosses the axis and sweeps a full disk of radius 2. Thus V = integral from 0 to 1 of 4pi dx = 4pi. Subtracting pi(22 - 12) would invent a hole that is not there.
For a vertical segment from g(x) to f(x) and horizontal axis y = k, if g(x) <= k <= f(x), use inner radius 0 and outer radius max(|f(x) - k|, |g(x) - k|). If the whole segment lies on one side, use its farthest and nearest distances. Split where these roles change. Regions with several separate vertical segments may need the union of their radial intervals so overlapping material is counted once.
Slicing in y: rotating about a vertical axis
Rotating about a vertical line means the slices are horizontal, so the thickness is dy and everything must be written in terms of y. Rotate the region bounded by y = x2, y = 4, and x = 0 about the y-axis.
- Slice horizontally at height y. Spinning that strip about the y-axis sweeps a disk whose radius is the horizontal distance from the axis to the curve.
- Solve the boundary for x:
y = x2givesx = the square root of yon the right-hand branch. So the radius isthe square root of y. - Square it:
[the square root of y]2 = y. - The limits are now y-values, running from 0 up to 4:
V = pi integral from 0 to 4 of y dy = pi[y2/2] from 0 to 4 = 8pi.
The volume is 8 pi. Keep that number - the next lesson computes the same solid by a completely different method and must get 8 pi again. Agreement between two independent setups is the strongest check available in this whole module.
Slicing solids that are not made by rotation
If a solid has integrable cross-sectional area A(x) perpendicular to the x-axis, its volume is V = integral from a to b of A(x) dx. A(x) is an area, so multiplying by a slice thickness gives volume. Disks and washers are special cases.[1]
Suppose the base is bounded by y = 1 - x2 and y = 0 on [-1, 1], and cross-sections perpendicular to the x-axis are squares whose sides span the base. The side is s(x) = 1 - x2, so A(x) = (1 - x2)2. Therefore V = [x - 2x3/3 + x5/5] from -1 to 1 = 16/15. There is no pi because the slices are squares.
If the slices are instead equilateral triangles with that same side, A(x) = sqrt(3)s(x)2/4 and V = 4sqrt(3)/15. A base region alone does not determine volume; the cross-section shape and how its dimensions attach to the base are essential.
![A square cross-section has side 1-x squared and area its square, whose integral on [-1,1] is 16/15.](/assets/img/math-calc2-reviewed/square-slice-volume.png)
Common misconceptions
- Forgetting to square the radius. The formula is pi times radius squared. Integrating
pi f(x)instead ofpi[f(x)]2is the single most common error, and the answer looks perfectly reasonable. - Writing (R - r)2 for R2 - r2. For 0 <= r <= R, they are equal only if r = 0 or R = r, the latter being a zero-area cross-section. In the worked washer they give
2pi/15andpi/30- a factor of four apart. Square each radius separately, then subtract. - Using the function value as the radius when the axis has moved. A radius is a distance to the axis. Rotating about
y = -1makes the radiusf(x) + 1, and rotating abouty = 5makes it5 - f(x). Sketch the axis and measure. - Mismatching the slice direction and the variable. Slices must be perpendicular to the axis. A horizontal axis forces dx and x-limits; a vertical axis forces dy, y-limits, and boundaries solved for x in terms of y.
- Not noticing a hole. If the region does not touch the axis, there is a hole and you need washers. For the region between y = x and y = x2, every cross-section with 0 < x < 1 has inner radius x2 > 0. Touching the axis at the single endpoint x = 0 does not remove these washer holes.
- Losing the pi. It multiplies the whole integral, so factor it out at the start and it cannot be forgotten mid-computation.
- Never checking the result. Compare against a bounding cylinder: the solid must fit inside
pi Rmax2 * (length). The8pifromy = the square root of xon [0, 4] sits comfortably under the bounding cylinder'spi*4*4 = 16pi. An answer larger than the bounding cylinder is definitely wrong.
Recap
- Build every volume the same way: slice perpendicular to the axis, describe one slice, measure it, integrate.
- Disk method:
V = integral pi[radius]2 d(thickness), for a solid with no hole. Washer method:V = integral pi(R2 - r2) d(thickness), when the region does not touch the axis. They are one formula, with r = 0 in the first case. - The radius is the distance from the axis of rotation to the boundary curve, not the function value, whenever the axis is not a coordinate axis.
- Always square each radius before integrating, and subtract the squares rather than squaring the difference.
- Worked results:
y = the square root of xon [0, 4] about the x-axis gives 8 pi; the region betweeny = xandy = x2gives2pi/15; the region undery = x2on [0, 1] abouty = -1gives13pi/15. - The method reproduces the cone volume
pi r2h/3and the sphere volume4pi R3/3in three lines each, which is why it can be trusted on shapes with no formula. - Rotating about a vertical axis means horizontal slices, dy, and boundaries written as x in terms of y.
Retrieve, explain, and revisit
Close the notes and respond: Draw a washer about a shifted axis and label both radii as distances. Explain why touching the axis at one endpoint does not remove holes in other slices. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.2 Determining Volumes By Slicing. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.1 Areas Between Curves. Read the section.
- Key terms
- Solid of revolution
- The three-dimensional solid formed by rotating a plane region about an axis.
- Disk method
- V = integral of pi [f(x)]^2 dx, for a solid with no hole rotated about an axis.
- Washer method
- V = integral of pi (R^2 - r^2) dx, for a solid with a hole.
- Outer radius R
- The distance from the axis to the farther boundary curve.
- Inner radius r
- The distance from the axis to the nearer boundary curve, the hole.
Volumes by Cylindrical Shells
- Compute a volume of revolution using the shell method.
- Identify the shell radius and height from the region.
- Choose between shells and washers for a given problem.
The disk method slices a solid into flat coins. The shell method builds the same kind of solid a different way: out of thin nested tubes, like the rings of a tree or a set of tin cans that fit one inside the next. This second method shines when you rotate a region about a vertical axis, where disks would be awkward to set up.
The big picture
Imagine the solid made of many thin cylindrical shells nested inside each other. For 0 <= a < b and continuous f(x) >= 0, take the region 0 <= y <= f(x) on [a, b]. A strip at x has radius x and height f(x) when rotated about the y-axis.[1] Now slit it down the side and unroll it flat. It becomes a thin rectangular sheet: its length is the circumference 2 pi x, its height is f(x), and its thickness is dx. So one shell has volume 2 pi x * f(x) * dx. Add up all the shells with an integral, for rotation about the y-axis:
V = integral from a to b of 2 pi x * f(x) dx
Read the three factors as radius (x), height (f(x)), and thickness (dx).
Key idea: a shell unrolls into a flat sheet of area circumference times height, so its volume is 2 pi x times f(x) times dx.
Why the integrand takes that form, exactly
A shell with constant height h, inner radius r, and positive finite thickness Delta r has volume pi h[(r + Delta r)2 - r2] = 2pi r h Delta r + pi h(Delta r)2. For a bounded height function, the sum of the last terms is bounded by pi H times (largest Delta r) times (total radial interval), where H bounds the heights. This tends to zero as the partition mesh tends to zero.
Using continuous shell heights and taking the limit gives V = integral 2pi(radius)(height) d(radius). When distance from the axis is x, the thickness is dx. For a vertical axis x = k and strips on one side of it, radius is |x - k| and height is top minus bottom; the corresponding integral in x uses positive slice thickness. With horizontal strips, use y and right minus left.[1]
Key idea: the shell formula follows from a limit of finite volumes. Its radius and height are nonnegative geometric lengths, and every shell must be counted once.
Worked example, step by step
Rotate the region under y = x2 on the interval from 0 to 2 about the y-axis.
- Identify the shell radius: the distance from the y-axis to the strip, which is x.
- Identify the shell height: the height of the region,
f(x) = x2. - Set up the integral:
V = integral from 0 to 2 of 2 pi x * (x2) dx = 2 pi integral from 0 to 2 of x3 dx. - Integrate:
2 pi [x4/4] from 0 to 2 = 2 pi (16/4). - Finish:
2 pi * 4 = 8 pi.
The volume is 8 pi. Solving this with washers would force you to rewrite y = x2 as x = the square root of y and use outer radius 2 and inner radius sqrt(y) for 0 <= y <= 4. One washer integral works: pi integral from 0 to 4 of (4 - y) dy = 8pi. Shells keep everything in terms of x, which is much cleaner here.
The same solid, both ways
The strongest confidence-builder available is computing one volume by two independent methods. In the last lesson we rotated the region bounded by y = x2, y = 4, and x = 0 about the y-axis and got 8 pi using disks in y. Redo it with shells.
- Slice vertically. A strip at position x runs from the parabola up to the line
y = 4, so the shell height is4 - x2. - The radius is the distance from the y-axis to the strip, which is x.
- The region spans x from 0 (the y-axis) to 2 (where
x2 = 4). - Set up:
V = 2pi integral from 0 to 2 of x(4 - x2) dx = 2pi integral from 0 to 2 of (4x - x3) dx. - Integrate:
2pi[2x2 - x4/4] from 0 to 2 = 2pi[8 - 4] = 8pi.
The two methods agree exactly, having shared no steps at all: one sliced horizontally and squared a radius, the other sliced vertically and multiplied a circumference by a height. When a setup feels shaky, this is the check to run.
A region bounded by two curves
Rotate the region between y = x and y = x2 about the y-axis.
- Crossings:
x = x2gives x = 0 and x = 1, so those are the limits. - Shell height is top minus bottom. Testing x = 0.5 gives
0.5for the line and0.25for the parabola, so the height isx - x2. - Radius is x. Set up:
V = 2pi integral from 0 to 1 of x(x - x2) dx = 2pi integral from 0 to 1 of (x2 - x3) dx. - Integrate:
2pi[x3/3 - x4/4] from 0 to 1 = 2pi(1/3 - 1/4) = 2pi(1/12) = pi/6.
The volume is pi/6. Note that this is a completely different solid from the 2pi/15 in the previous lesson, even though the region is identical - there we rotated about the x-axis, here about the y-axis. The axis is part of the problem, not a detail.
Rotating about a vertical line that is not the y-axis
Just as with washers, only the radius changes. Rotate the region under y = x2 from x = 0 to x = 2 about the line x = -1.
- The strip at position x is now
x - (-1) = x + 1units from the axis, so the shell radius isx + 1. - The height is unchanged at
x2, and the limits are still 0 to 2. - Set up:
V = 2pi integral from 0 to 2 of (x + 1)x2 dx = 2pi integral from 0 to 2 of (x3 + x2) dx. - Integrate:
2pi[x4/4 + x3/3] from 0 to 2 = 2pi[4 + 8/3] = 2pi(20/3) = 40pi/3.
Check the size: rotating the same region about the y-axis gave 8 pi, about 25.1, and pushing the axis one unit further away should sweep out more, which 40pi/3 ~= 41.9 does. If a relocated axis makes your volume smaller, the radius was shifted the wrong way.

When shells keep the algebra shorter
Rotate the region under y = sin(x) from x = 0 to x = pi about the y-axis. With washers you would have to invert the sine - two separate branches, x = arcsin(y) and x = pi - arcsin(y) - and integrate pi times the difference of their squared radii in y. With shells the setup is immediate.
- Radius x, height
sin(x), limits 0 to pi:V = 2pi integral from 0 to pi of x sin(x) dx. - The remaining integral is integration by parts with
u = x,dv = sin(x) dx, sodu = dxandv = -cos(x). - Apply the formula:
[-x cos(x)] from 0 to pi + integral from 0 to pi of cos(x) dx. - Boundary term:
-pi cos(pi) - 0 = -pi(-1) = pi. Remaining integral:[sin(x)] from 0 to pi = 0 - 0 = 0. - So the integral is pi, and
V = 2pi * pi = 2pi2 ~= 19.74.
This is where the whole integration toolkit earns its keep: a geometry problem produced an integral that needed a technique from Module 2. Applications are rarely self-contained.
Key idea: choose the method that keeps the region describable in one variable; the arithmetic afterwards is whatever it is.
Horizontal shells and overlapping radii
Rotate the region between y = x2 and y = x on [0, 1] about the x-axis, using horizontal shells. At height y in [0, 1], the left boundary is x = y and the right is x = sqrt(y). Radius is y, height is sqrt(y) - y, and V = 2pi integral from 0 to 1 of y(sqrt(y) - y) dy = 2pi(2/5 - 1/3) = 2pi/15. This matches the washer result.[2]
If the region straddles the axis, integrating both sides can count the same shells twice. The rectangle -1 <= x <= 1, 0 <= y <= 1 rotated about the y-axis is a radius-1, height-1 cylinder of volume pi. The naive expression 2pi integral from -1 to 1 of |x| dx gives 2pi because x and -x sweep identical shells. Use only 0 <= x <= 1, or describe the union at each radius. Simply inserting an absolute value does not repair overlapping coverage.
![The rectangle [-1,1] by [0,1] has strips at opposite x coordinates with the same distance to the y-axis.](/assets/img/math-calc2-reviewed/shell-overlap.png)
Choosing between shells and washers
| Situation | Often easier |
| Rotating about the x-axis, region given as y = f(x) | Disks or washers |
| Rotating about the y-axis, region given as y = f(x) | Shells |
| A representative strip runs parallel to the axis of rotation | Shells |
| A representative strip runs perpendicular to the axis | Disks or washers |
Both methods always give the same volume. The choice is only about which integral is easier to set up. Here is a reliable rule of thumb: sketch one strip, then look at how it sits relative to the axis. If the strip runs parallel to the axis, use shells. If it runs perpendicular, use disks or washers.
Common misconceptions
- Confusing radius with height. The radius is how far the strip sits from the axis; the height is how tall the region is at that spot. Label both on a sketch before writing anything. In the
y = sin(x)problem the radius is x and the height issin(x)- swapping the two factors in a product never changes its value. The danger is misidentifying the geometry when the axis or region changes, which changes the formula for a distance or height. - Squaring the radius. Shells use
2 pi r h, with the radius to the first power. The square belongs to disks and washers. Mixing the formulas is the most damaging error in this lesson. - Forgetting that height is top minus bottom. When two curves bound the region, the shell height is their difference, exactly as with area between curves. Using only the upper curve silently adds the solid underneath.
- Not shifting the radius for a relocated axis. About
x = -1the radius isx + 1; aboutx = 5it is5 - x. Write the distance, do not guess the sign, and check that it is positive across the whole interval. - Mismatching the differential. Rotating about a vertical axis and slicing vertically gives shells in dx with x-limits. Rotating about a horizontal axis with shells means horizontal strips, thickness dy, and everything written in y.
- "Shells and washers give different answers." They never do. Getting two different numbers means one setup has an error, and comparing them line by line will find it.
- Choosing the method by habit. Draw one strip and look. Parallel to the axis means shells; perpendicular means disks or washers. That single glance is faster than starting the wrong integral.
Recap
- Shell method:
V = integral 2 pi (radius)(height) d(thickness), building the solid from nested cylindrical shells. - For finite shell width Delta x, the constant-height volume has a leading term 2pi x h Delta x and a correction pi h(Delta x)2. The summed correction tends to zero with the partition mesh.
- Radius is the distance from the axis to the strip; height is the length of the strip, which is top minus bottom when two curves bound the region.
- Worked results:
y = x2on [0, 2] about the y-axis gives 8 pi; the region betweeny = xandy = x2about the y-axis givespi/6; the same parabolic region aboutx = -1gives40pi/3; andy = sin(x)on [0, pi] about the y-axis gives2pi2. - Shells and disks always agree - the region under
y = x2,y = 4,x = 0about the y-axis gives 8 pi by either method - so computing both is a genuine check. - Rule of thumb: strip parallel to the axis means shells; strip perpendicular means disks or washers.
- Some regions strongly favor one method: inverting
y = sin(x)for washers takes two branches, while shells set it up in a single line.
Retrieve, explain, and revisit
Close the notes and respond: Derive shell circumference times height times thickness. Explain why strips on both sides of the axis can count the same cylindrical layers twice. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.3 Volumes Of Revolution Cylindrical Shells. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.2 Determining Volumes By Slicing. Read the section.
- Key terms
- Shell method
- V = integral of 2 pi (radius)(height) dx, building the solid from cylindrical shells.
- Cylindrical shell
- A thin nested cylinder whose unrolled area is circumference times height.
- Shell radius
- The distance from the axis of rotation to the shell, often x.
- Shell height
- The length of a generating strip, usually top minus bottom or right minus left.
- Method choice
- Strips parallel to the axis suggest shells; strips perpendicular suggest disks or washers.
Arc Length
- Set up the arc length integral for a smooth curve.
- Compute the length of a curve y = f(x).
- Recognize when an arc length integral must be estimated.
How long is a curved path, like a winding road or a bent wire? You cannot lay a straight ruler along a curve. But you can approximate the curve with many tiny straight segments, measure each with the Pythagorean theorem, and add them up. Let the segments shrink and the sum becomes an integral. That integral is the arc length.
The big picture
Assume a < b and f has a continuous derivative on [a, b]. These hypotheses guarantee the arc-length formula below. Piecewise smooth curves can be split into smooth pieces.[1] Zoom in on a tiny piece of the curve. It has a small horizontal run dx and a small vertical rise dy, so by the Pythagorean theorem its length is the square root of (dx2 + dy2). Factor out dx and use the fact that the slope dy/dx = f'(x), and you get the arc length of y = f(x) from a to b:
L = integral from a to b of the square root of (1 + [f'(x)]2) dx
The 1 comes from the horizontal run, and the [f'(x)]2 comes from the slope. The whole formula is just the Pythagorean theorem applied to infinitely many infinitely short segments.
Key idea: arc length adds up tiny Pythagorean hypotenuses, giving L = integral the square root of (1 + [f'(x)]2) dx.
Where the formula comes from, step by step
The informal version above is right, but the derivation is worth doing carefully because it shows exactly where the 1 and the square both come from.
- Approximate with a polygon. Mark n + 1 points along the curve and connect consecutive points with straight segments. The total length of this polygon underestimates the curve, since a straight line is the shortest path between two points, and inserting additional points cannot decrease the polygonal length. For continuous derivative, the lengths tend to the arc length as the partition mesh tends to zero.
- Measure one segment. Between consecutive points the run is
dxand the rise isdy, so the segment length isthe square root of (dx2 + dy2)by the Pythagorean theorem. - Factor out dx. Write
dx2 + dy2 = dx2(1 + (dy/dx)2), so the segment length isthe square root of (1 + (dy/dx)2) dx. Here is the 1: it is the horizontal run, after the factoring. - Use the Mean Value Theorem. On each subinterval there is a point where the segment's slope
dy/dxequals the curve's derivative exactly, so we may writef'(x)in place of the ratio. - Add and take the limit. The polygon's length becomes
L = integral from a to b of the square root of (1 + [f'(x)]2) dx.
Two consequences follow immediately and are useful as checks. First, since 1 + [f'(x)]2 >= 1, the integrand is at least 1, so the arc length is always at least the width of the interval, b - a. Second, the arc length is always at least the straight-line distance between the endpoints. Any answer that violates either bound is wrong.

Worked example, step by step
Find the length of y = (2/3) x3/2 from x = 0 to x = 3. This curve is chosen so the algebra comes out clean.
- Differentiate:
f'(x) = (2/3)*(3/2)*x1/2 = x1/2, which is the square root of x. - Square the derivative:
[f'(x)]2 = x. - Build the integrand:
the square root of (1 + x). - Set up:
L = integral from 0 to 3 of the square root of (1 + x) dx. Letu = 1 + x, givingintegral u1/2 du = (2/3) u3/2. - Evaluate:
(2/3)[(1 + x)3/2] from 0 to 3 = (2/3)(43/2 - 13/2). - Simplify the powers:
43/2 = (the square root of 4) cubed = 23 = 8, so(2/3)(8 - 1) = 14/3.
The arc length is 14/3, about 4.667. Check it against the two bounds: the interval width is 3, and the straight-line distance from (0, 0) to (3, 2*33/2/3) = (3, 3.464) is the square root of (9 + 12) = 4.583. Our 4.667 exceeds both, as it must, and only slightly exceeds the chord, which fits a curve this gently bent.
Second worked example: engineering the perfect square
Find the length of y = x3/6 + 1/(2x) from x = 1 to x = 2. The strange-looking function is the point: watch what happens under the root.
- Differentiate:
f'(x) = 3x2/6 - 1/(2x2) = x2/2 - 1/(2x2). - Square it, carefully keeping the cross term:
[f'(x)]2 = x4/4 - 2*(x2/2)*(1/(2x2)) + 1/(4x4) = x4/4 - 1/2 + 1/(4x4). - Add 1. The cross term was
-1/2, so adding 1 turns it into+1/2:1 + [f'(x)]2 = x4/4 + 1/2 + 1/(4x4). - Recognise the perfect square: that is
(x2/2 + 1/(2x2))2, the same two terms asf'(x)but with a plus sign. The root comes off cleanly:x2/2 + 1/(2x2). - Integrate:
L = integral from 1 to 2 of (x2/2 + x-2/2) dx = [x3/6 - 1/(2x)] from 1 to 2. Verify the antiderivative:d/dx[x3/6 - (1/2)x-1] = x2/2 + (1/2)x-2. Correct. - Evaluate: at x = 2,
8/6 - 1/4 = 4/3 - 1/4 = 13/12; at x = 1,1/6 - 1/2 = -1/3 = -4/12. Subtract:13/12 + 4/12 = 17/12.
The length is 17/12 ~= 1.417. Check: the endpoints are (1, 2/3) and (2, 19/12), a chord of the square root of (1 + 0.9172) ~= 1.356. The arc is slightly longer. Correct.
The trick generalises. For nonzero g(x), any derivative of the form f'(x) = g(x) - 1/(4g(x)) makes 1 + [f']2 a perfect square, because the cross term is exactly -1/2. Textbook arc-length problems are built backwards from this identity, which gives a way to construct examples with elementary length integrals. Other textbook and applied examples require numerical evaluation.
Arc length in terms of y
If a curve is easier to describe as x = g(y), or if it has a vertical tangent (where f'(x) blows up), swap the roles. The identical derivation with dy factored out gives
L = integral from c to d of the square root of (1 + [g'(y)]2) dy
For example, the curve x = y2 from y = 0 to y = 1 has g'(y) = 2y, so L = integral from 0 to 1 of the square root of (1 + 4y2) dy. Written as y = the square root of x instead, the derivative 1/(2 the square root of x) is infinite at x = 0 and the integral is improper - the same curve, but one description is well behaved and the other is not.
When the integral fights back
Arc length integrands often hide a square root with no elementary antiderivative. The length of the parabola y = x2 from 0 to 1 leads to integral from 0 to 1 of the square root of (1 + 4x2) dx, which needs a trig substitution. Doing it that way gives the antiderivative (x/2) the square root of (1 + 4x2) + (1/4)ln(2x + the square root of (1 + 4x2)), and evaluating from 0 to 1 gives (1/2)(the square root of 5) + (1/4)ln(2 + the square root of 5) ~= 1.1180 + 0.3609 = 1.4789.
Confirm it numerically with Simpson's rule on four strips, h = 0.25. The integrand values are 1, 1.1180, 1.4142, 1.8028, 2.2361, and Simpson's weighting gives (0.25/3)[1 + 4(1.1180) + 2(1.4142) + 4(1.8028) + 2.2361] = (0.08333)(17.7477) = 1.4790. Using unrounded function values gives about 1.47898 for Simpson's rule, compared with about 1.47894 exactly. Their agreement is a useful cross-check, not a proof of a prescribed error tolerance. And the chord from (0,0) to (1,1) is the square root of 2 ~= 1.4142, comfortably below.
Most arc lengths in practice - a coastline, a suspension cable, a spacecraft trajectory - are computed numerically. The setup is always the same, and setting it up correctly is the real skill.
The companion formula: surface area of revolution
Spin the curve rather than the region beneath it and you sweep out a surface. One tiny arc of length ds at nonnegative distance |f(x)| from the x-axis traces a thin band whose circumference is 2 pi |f(x)|, so the band's area is 2 pi |f(x)| ds. Since ds = the square root of (1 + [f'(x)]2) dx:
S = integral from a to b of 2 pi |f(x)| * the square root of (1 + [f'(x)]2) dx
Test it on a cone. Rotating y = (r/h)x from 0 to h about the x-axis gives a cone of radius r and height h. Here f' = r/h, so the square root of (1 + r2/h2) = (the square root of (h2 + r2))/h, which is the slant height divided by h. Writing s for the slant height:
S = integral from 0 to h of 2pi(r/h)x * (s/h) dx = (2pi r s/h2)[x2/2] from 0 to h = pi r s
That is precisely the classical lateral-surface formula for a cone, pi times radius times slant height. The construction checks out.
Key idea: arc length uses ds; surface area multiplies ds by the circumference the arc sweeps.
Lateral surface area and missing end caps
The formula S = integral 2pi(radius) ds measures the surface swept out by the curve. It does not automatically include planar end caps. For y = 2 on [0, 3], rotation about the x-axis gives lateral area integral from 0 to 3 of 4pi dx = 12pi. A closed cylinder also has two disks, each area 4pi, so its total boundary area is 20pi.
About a horizontal line y = k, replace |f(x)| by |f(x) - k|. Do not use the radius squared: that belongs to cross-sectional volume, not to a circumference. State whether the requested surface includes caps and whether the generating curve sweeps a surface more than once.[1]
Numerical integration is useful even for an elementary antiderivative, for example as an independent check. To claim a guaranteed tolerance, use a justified error bound or another validated numerical method, not merely agreement between two rounded outputs.[2]

Common misconceptions
- Dropping the 1 under the root. It is not decoration; it is the horizontal run of each tiny segment. Without it the "length" of a horizontal line would come out as zero.
- Forgetting to square the derivative. The integrand is
the square root of (1 + [f'(x)]2), in that exact shape. Do four small steps in order - writef'(x), square it, add 1, take the root - and the setup is reliable. - Integrating f(x) instead of the arc-length integrand. Arc length has nothing to do with the area under the curve. A curve can be long and enclose almost no area, and vice versa.
- Botching the cross term when squaring.
(A - B)2 = A2 - 2AB + B2. The middle term is exactly what makes the perfect square appear after adding 1, so losing it destroys the whole problem. - Missing that the root simplifies. If
1 + [f']2is a perfect square, replace sqrt(H(x)2) by |H(x)|. Its sign and the resulting integral still need checking. Before reaching for a technique, try to factor it. - Expecting every arc length to be elementary. Most are not - even the parabola needs a trig substitution, and
y = x3has no elementary answer at all. Setting up correctly and then integrating numerically is a complete solution, not a failure. - Not sanity-checking against the chord. The arc length must be at least both the interval width
b - aand the straight-line distance between the endpoints. Two seconds of checking catches most algebra errors. - Confusing arc length with surface area. Surface area carries an extra factor of
2 pi |f(x)|, the circumference the arc sweeps out. Arc length is measured in units of length, surface area in units of length squared.
Recap
- Arc length is
L = integral from a to b of the square root of (1 + [f'(x)]2) dx, the Pythagorean theorem applied to infinitely many tiny segments and justified by the Mean Value Theorem. - Steps: find f'(x), square it, add 1, take the square root, then integrate.
- Worked results:
y = (2/3)x3/2on [0, 3] has length 14/3;y = x3/6 + 1/(2x)on [1, 2] has length 17/12. - Some worked problems are chosen so that
1 + [f']2is a perfect square; real curves usually are not, andy = x2on [0, 1] gives1.4789, closely approximated by Simpson's rule. - When x is the simpler function, integrate in y:
L = integral the square root of (1 + [g'(y)]2) dy. This also rescues curves with vertical tangents. - Every arc length is at least
b - aand at least the chord between the endpoints. Use both as checks. - Surface area of revolution multiplies the arc element by the circumference it sweeps:
S = integral 2 pi |f(x)| the square root of (1 + [f'(x)]2) dx, which reproduces the cone'spi r s.
Retrieve, explain, and revisit
Close the notes and respond: Derive the arc-length element from a short tangent segment. State the radius in a surface-area integral and explain why the end caps require separate areas. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.4 Arc Length Of A Curve And Surface Area. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.6 Numerical Integration. Read the section.
- Key terms
- Arc length
- The length of a curve, L = integral of sqrt(1 + [f'(x)]^2) dx.
- Line element
- A tiny piece of curve of length sqrt(dx^2 + dy^2).
- Smooth curve
- A curve with a continuous derivative, so arc length is well defined.
- Perfect square integrand
- A setup where 1 + [f'(x)]^2 simplifies to a square, making the integral elementary.
- Numerical integration
- Estimating an integral when no elementary antiderivative exists.
Work, Pumping, and Hydrostatic Force
- Construct a work integral from a variable force or a lifted slice.
- Model ideal pumping work using density, slice area, and lifting distance.
- Integrate hydrostatic pressure over a vertical plate and distinguish force from work.
A force that grows as a spring stretches
A spring requires an applied force of 80 newtons to hold it 0.20 metres beyond its natural length. If the spring follows Hooke's law over the range used, how much work does it take to stretch it to 0.30 metres? Multiplying the final force by the whole distance would use too much force at the earlier positions. Integration accounts for the changing force.
Every application in this lesson begins with a small piece. For motion, the piece contributes force times displacement. For pumping, it contributes a layer's weight times its lifting distance. For pressure, it contributes pressure times surface area. The different factors determine both the integral and the units.[1]
The point: identify what one small piece contributes before deciding which formula to integrate.
Work is signed force along a displacement
In one-dimensional motion, let F(x) be the component of a specified force in the positive x-direction. Its work from position a to b is W = integral from a to b of F(x) dx. A force in the same direction as displacement does positive work; a force opposing displacement does negative work. In SI units, newtons times metres gives joules. Work is energy transferred by a force, not the force itself.[1]
For a constant force F, the integral reduces to F(b - a). For F(x) = 5 + 2x newtons along a positive displacement from x = 0 to x = 3 metres, W = [5x + x2] from 0 to 3 = 24 J. The final force is 11 N, but 11 times 3 = 33 J overstates the work because that force was not applied throughout. The average force along the displacement is 24/3 = 8 N.
If the force depends on velocity or on how the object moves, a formula F(x) may not describe the whole situation. More generally along a known one-dimensional trajectory, W = integral F(t)x'(t) dt. We will use position-dependent forces and quasistatic lifting models here, so the simpler formulas apply.
Hooke's law with a reference length
Let x measure extension from the spring's natural length, rather than its total physical length. The spring's restoring force is -kx, with k > 0. To stretch it slowly while keeping acceleration negligible, the opposing applied force is approximately kx. The work done by that applied force from extension a to extension b is k(b2 - a2)/2.
For the opening problem, 80 = k(0.20), so k = 400 N/m. Stretching from 0 to 0.30 m requires integral from 0 to 0.30 of 400x dx = [200x2] from 0 to 0.30 = 18 J. Stretching from 0.10 to 0.30 m instead requires 200(0.09 - 0.01) = 16 J. It is not the work for a 0.20 m extension from rest, because the force starts at 40 N.
The spring force does -18 J during the first stretch, while the external applied force does +18 J in the ideal slow process. Saying whose work you are calculating resolves the apparent sign conflict. Hooke's law is a model over an elastic range; the exercise supplies that assumption rather than claiming every spring obeys it at any extension.[1]

A cable whose hanging weight decreases
A uniform 12 m cable hangs vertically over an edge. Its linear mass density is 2 kg/m. Find the ideal work to pull the entire cable up onto the platform, taking g = 9.8 m/s2 and ignoring friction and changes in kinetic energy.
There are two useful setups. First, label a small piece by its initial depth y below the platform. Its mass is approximately 2 Delta y kg and its weight is 19.6 Delta y N. It must rise distance y, so its work contribution is 19.6y Delta y. Taking the limit gives W = integral from 0 to 12 of 19.6y dy = 1411.2 J.
Second, let s be the length already pulled up. The hanging length is 12 - s, so the applied lifting force is 19.6(12 - s) N. Its work is integral from 0 to 12 of 19.6(12 - s) ds, again 1411.2 J. The first variable labels material; the second labels motion. Both describe the same change in gravitational potential energy.
The total cable mass is 24 kg and its center of mass rises 6 m, giving the independent check 24 times 9.8 times 6 = 1411.2 J. Using the full cable weight over 12 m would double the correct answer, because not every piece starts at the bottom.
Pumping a tank one horizontal layer at a time
Use a coordinate y measured upward from a tank's bottom. Suppose liquid of constant mass density rho fills 0 <= y <= h, the horizontal cross-sectional area is A(y), and the outlet is at height H >= h. A thin layer has volume A(y) Delta y, mass rho A(y) Delta y, and weight rho g A(y) Delta y. Its lifting distance is H - y.
The ideal lifting work is therefore W = integral from 0 to h of rho g A(y)(H - y) dy. If weight density gamma in N/m3 is supplied, use gamma instead of rho g. Multiplying a weight density by g again would count gravity twice. This is ideal gravitational work; actual pump input also depends on efficiency and losses.[1]
A rectangular tank has horizontal area 3 m2, water depth 2 m, and an outlet 3 m above the bottom. Use the model values rho = 1000 kg/m3 and g = 9.8 m/s2. Then W = 29400 integral from 0 to 2 of (3 - y) dy = 29400[3y - y2/2] from 0 to 2 = 117600 J.
Check the units: (kg/m3)(m/s2)(m2)(m)(m) gives kg m2/s2, a joule. Check the scale too: 6 m3 of water has weight 58800 N, and its average lifting distance in this constant-area tank is 2 m. Their product is 117600 J.
A cone changes the slice area
Consider an inverted conical tank with vertex at y = 0, rim height 3 m, and rim radius 2 m. It is full of the same modeled water, pumped just over the rim. Similar triangles give r(y)/y = 2/3, so r(y) = 2y/3 and A(y) = 4pi y2/9. This is the slice-area calculation from the volume lessons.[2]
Each layer rises 3 - y, giving W = (39200pi/9) integral from 0 to 3 of y2(3 - y) dy. An antiderivative of 3y2 - y3 is y3 - y4/4. At y = 3 it is 27 - 81/4 = 27/4, so W = 29400pi J, about 92363 J.
If the tank is initially only half full by height, change the upper integration limit to 1.5 while keeping outlet height 3 and radius formula 2y/3. Half the height does not mean half the volume, and it does not mean half the work. If you instead pump only the upper layers and leave the lower liquid behind, specify those material layers as the integration interval. The geometry and the destination remain the same.
In every pumping problem, label the coordinate origin on the sketch. Confusing height above the bottom with depth below the surface can replace H - y by y, producing a plausible but wrong result. The bottommost layer should have the greatest lifting distance in this setup.

Pressure varies with depth
For a stationary incompressible liquid with constant density, the gauge pressure at depth z below a free surface is p = rho g z. Gauge pressure means pressure above the surface pressure. If a plate has the same atmospheric pressure acting on the other side, that common pressure cancels in the net force. Otherwise include the pressure difference explicitly.[1]
A vertical plate 2 m wide extends from depth 1 m to depth 3 m. A strip of thickness Delta z has area 2 Delta z, so its force contribution is approximately (9800d)(2 Delta z) N. The gauge force on one side is F = 19600 integral from 1 to 3 of z dz = 78400 N. The variable z measures depth downward from the surface.
This is force, not work. No lifting distance multiplies the pressure-area product. The result can be checked using pressure at the plate's centroid, depth 2 m, times area 4 m2: 19600 Pa times 4 m2 = 78400 N. For a tilted or curved surface, direction and geometry require additional care; this lesson treats flat vertical plates.
A triangular plate needs a changing width
A vertical triangular plate has its vertex at the water surface and a horizontal base of width 2 m at depth 3 m. By similar triangles its width at depth z is w(z) = 2d/3. The pressure is still 9800d Pa, but the strip area is now (2d/3) Delta z. Hence F = (19600/3) integral from 0 to 3 of z2 dz = 58800 N.
The triangle's area is 3 m2 and its centroid is 2 m below the surface, giving 9800 times 2 times 3 = 58800 N as a check. The force does not act at the centroid in general: the deeper parts receive more pressure, so the center of pressure is a separate moment calculation. Do not infer a line of action from the total-force calculation alone.
A useful comparison is the upside-down triangle with its full 2 m width at the surface and its vertex at depth 3 m. Its width is 2(1 - z/3), so F = 9800 integral from 0 to 3 of 2d(1 - z/3) dz = 29400 N. Equal area and equal maximum depth do not imply equal total force; the distribution of area with depth matters.

Common misconceptions
- Use final force times total distance. That only works for constant force. Integrate a variable force.
- Spring extension is total spring length. Extension is measured from natural length.
- Every layer rises the same distance. In a tank pumped to a fixed outlet, lower layers rise farther.
- Density always means kg/m3. A problem can give mass density or weight density. Read the units before using g.
- Pressure times area is work. It is force. Work requires a displacement component as well.
- An ideal work calculation specifies pump power. Power also requires a time or flow model; real input energy requires losses or efficiency.
Putting it together
Write one contribution with its units, then integrate over the correct labels. For a spring, use applied force kx over extension. For a cable or tank, use each piece's weight times its rise. For a plate, use pressure times strip area. State the idealizations and compare the result with an independent estimate when the geometry permits.
What matters here: the small-piece model determines the integral. The algebra comes after the geometry, reference position, and units.
Retrieve, explain, and revisit
Close the notes and respond: Write one spring, pumped-layer, and pressure-strip contribution with units. Distinguish force, work, and power before choosing an integral. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.5 Physical Applications. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.2 Determining Volumes By Slicing. Read the section.
- Key terms
- Work
- The integral of the component of force along a displacement, measured in joules in SI.
- Hooke's law
- Within an assumed elastic range, the restoring spring force is -kx.
- Mass density
- Mass per unit volume, for example kg/m^3.
- Weight density
- Weight per unit volume, equal to rho g for constant gravitational acceleration.
- Hydrostatic pressure
- For constant density, pressure increases with depth by rho g times depth.
- Gauge pressure
- Pressure measured relative to a reference surface or atmospheric pressure.
Moments and Centers of Mass
- Compute mass and first moment for particles or a rod with variable density.
- Derive the centroid of a uniform planar region using thin strips.
- Check a center of mass using symmetry, units, and a centroid theorem.
Where would a nonuniform rod balance?
A rod occupies 0 <= x <= 2 metres and has linear density rho(x) = 1 + x kilograms per metre. Its right end is heavier than its left end. The midpoint x = 1 describes the geometry, but it need not describe the balance point. To locate that point, we must weight each position by the mass there.
The same idea connects a few particles on a balance, a continuous rod, and a thin flat plate. Add mass to find total mass. Add position times mass to find a first moment. Divide the first moment by mass to find the corresponding coordinate of the center of mass.[1]
Key idea: a center of mass is a weighted average of positions. A centroid is the corresponding geometric average; it equals the center of mass for a body with uniform density.
Particles establish the balancing equation
Suppose positive point masses mi are at positions xi on a horizontal line in a uniform gravitational field. Their total mass is m = sum mi. Their first moment about the origin is M = sum mixi. The center of mass is x-bar = M/m. Positions to the left of the origin contribute negative moments; mass itself remains positive.
Why does this locate balance? The net gravitational torque about a proposed support x = c is proportional to sum mi(xi - c). This equals M - cm. It is zero exactly when c = M/m. The common gravitational acceleration cancels, so the formula uses mass rather than weight. The ideal model treats the support and rod geometry without extra torques.
For 2 kg at x = 0 and 1 kg at x = 3 m, total mass is 3 kg and M = 3 kg m. The balance point is x-bar = 1 m, nearer the heavier particle. Relative to that point, the two moments are 2(0 - 1) = -2 and 1(3 - 1) = 2 kg m. Their sum is zero. Taking the unweighted mean of the two positions would give 1.5 m and would fail this check.
A negative coordinate does not mean negative mass. If the same particles are described in a coordinate system shifted 2 m to the right, their positions become -2 and 1, and their center is -1. Translating the coordinate origin changes the numerical position, not the physical balance point.
A rod replaces sums by integrals
Let a rod occupy [a, b], with nonnegative integrable linear density rho(x) and positive total mass. A short piece of length Delta x near x has mass approximately rho(x) Delta x and first moment approximately x rho(x) Delta x. Passing to limits gives
m = integral from a to b of rho(x) dx; M = integral from a to b of x rho(x) dx; x-bar = M/m.
These are the continuous versions of the particle sums. The density has units mass per length. Consequently m has units mass, M has units mass times length, and M/m has units length. Calling integral rho(x) dx a coordinate would be dimensionally wrong.[1][4]
For the opening rod, m = integral from 0 to 2 of (1 + x) dx = [x + x2/2] from 0 to 2 = 4 kg. Its moment is M = integral from 0 to 2 of (x + x2) dx = [x2/2 + x3/3] from 0 to 2 = 14/3 kg m. Thus x-bar = (14/3)/4 = 7/6 m, about 1.167 m.
The result lies between 0 and 2 and to the right of the midpoint, as expected. If the density were multiplied by 5 everywhere, both m and M would multiply by 5, leaving x-bar unchanged. Redistributing mass can move a center; uniformly scaling every mass does not.
For a rod with density symmetric about its midpoint c, paired positions c - u and c + u have equal density and opposite contributions to the moment about c. Their contributions cancel, so x-bar = c. Symmetry of the shape alone is insufficient when the density is not symmetric.

Area and mass of a uniform lamina
A lamina is a thin planar plate. Consider the region between y = f(x) and y = g(x) for a <= x <= b, with continuous functions and f(x) >= g(x). Its area is A = integral from a to b of [f(x) - g(x)] dx. Assume A > 0 and uniform positive area density delta, measured in kilograms per square metre. Its mass is m = delta A.
A narrow vertical strip has area approximately [f(x) - g(x)] Delta x. Its x-coordinate is approximately x, and its mean y-coordinate is [f(x) + g(x)]/2. The latter is the midpoint of the strip, even when one or both bounding functions are negative. Multiplying strip mass by the relevant coordinate builds the two moments.[1][2]
Use axis names carefully. The moment about the y-axis uses horizontal position x: My = delta integral x[f(x) - g(x)] dx. The moment about the x-axis uses vertical position y: Mx = (delta/2) integral [f(x)2 - g(x)2] dx. The bounds on both integrals are a and b.
The factor in the second formula follows from [(f + g)/2](f - g) = (f2 - g2)/2. It is a signed first moment, not the area of a washer. Negative y-coordinates can make Mx negative. Squaring the functions does not remove the sign of their difference.
Centroid formulas and a complete example
Because the density is constant, it cancels on dividing moments by mass. The centroid coordinates are
x-bar = [integral x(f - g) dx]/A; y-bar = [integral (f squared - g squared) dx]/(2A).
Find the centroid between y = x and y = x2 on [0, 1]. First establish the order: x - x2 = x(1 - x) is nonnegative there, so f = x and g = x2. The area is A = [x2/2 - x3/3] from 0 to 1 = 1/6.
The first area moment about the y-axis is integral from 0 to 1 of (x2 - x3) dx = 1/3 - 1/4 = 1/12. Hence x-bar = (1/12)/(1/6) = 1/2. The first area moment about the x-axis is (1/2) integral from 0 to 1 of (x2 - x4) dx = (1/2)(1/3 - 1/5) = 1/15. Thus y-bar = (1/15)/(1/6) = 2/5.
The centroid is (1/2, 2/5). At x = 1/2 the region extends from y = 1/4 to y = 1/2, so this point lies inside the region. That is a useful check in this example, not a rule that every region contains its centroid: the centroid of a uniform circular ring lies in its empty central hole.
Do not average just the boundary heights at x-bar. Here that average is (1/2 + 1/4)/2 = 3/8, not 2/5. Strips have different areas, so the global average depends on all of them. The strip midpoint was a local ingredient in the integral, not a shortcut for the entire plate.
![The region between x squared and x on [0,1] has centroid(1/2,2/5), indicated inside the shaded region.](/assets/img/math-calc2-reviewed/mass-lamina-centroid.png)
Composite shapes and symmetry
For nonoverlapping uniform pieces with areas Ai and centroids (xi, yi), combine first area moments: x-bar = sum Aixi/sum Ai, and similarly for y-bar. A removed hole can be represented by subtracting its area and moments from those of the full shape. This subtraction is bookkeeping for missing material, not a claim of negative physical mass.
A uniform triangle with vertices (0, 0), (b, 0), and (0, h), where b and h are positive, has upper boundary h(1 - x/b) for 0 <= x <= b. Its area is bh/2. Integration gives first area moments hb2/6 about the y-axis and bh2/6 about the x-axis. Division gives centroid (b/3, h/3).
If a uniform region is symmetric about a line, its centroid lies on that line. If it has two symmetry axes, the centroid lies at their intersection. For example, a rectangle centered at the origin has centroid (0, 0). Symmetry can save an integral, but it must apply to the mass distribution if you seek a center of mass rather than a geometric centroid.
If density varies in two directions, the constant-density cancellation is invalid. One needs mass-weighted area integrals, developed systematically in multivariable calculus. For a density depending only on x, the strip approach still works by including that density in both moment integrals and in the mass integral.
A volume check using the centroid
Pappus's volume theorem provides a useful connection with solids of revolution: rotating a planar region of area A about an axis in its plane that does not intersect the region gives volume V = A times the distance traveled by its centroid, or V = 2pi d A, where d is the perpendicular distance from the centroid to the axis. The condition avoids overlap that would invalidate this simple volume count.[1]
Rotate the region between x and x2 about the line x = 2. Its centroid has x-coordinate 1/2, so d = 3/2. The theorem gives V = 2pi(3/2)(1/6) = pi/2. Independently, shells give 2pi integral from 0 to 1 of (2 - x)(x - x2) dx. Expanding gives 2x - 3x2 + x3, whose integral is 1/4. Multiplying by 2pi confirms pi/2.
This check links two methods without treating either as a guess. Draw the axis and region before using the theorem. An axis through the interior can cause different points to sweep through the same volume, and inserting d = 0 would plainly fail for a region rotated about its own central axis.
Check the answer before accepting it
- Weights: use masses for particles, density times length for rods, and density times area for plates.
- Axes: My determines x-bar; Mx determines y-bar.
- Units: a moment divided by mass must have units of position.
- Location: positive masses on [a, b] have a center in [a, b]. In two dimensions the center need not lie in the material itself.
- Symmetry: check density as well as shape before using it.
- Scale: multiplying all densities by the same positive constant leaves the center unchanged.
To reconstruct the formulas from memory, start with one small piece. Write its mass and its two coordinates, multiply to form moments, add by integration, and divide by total mass. This reasoning is more portable than trying to remember which axis name goes with which integral.
What to remember
A center of mass is a weighted average. Define the density and total mass before taking moments; divide the moment about the y-axis by mass to find x-bar, and the moment about the x-axis by mass to find y-bar. Uniform density cancels from centroid formulas. Symmetry is useful only when the mass distribution has that symmetry.
Key idea: Moment divided by mass gives position, and the units should confirm that interpretation.
Common misconceptions
A geometric midpoint is not automatically a center of mass: density can shift the balance point. The moment about the y-axis determines the x-coordinate, not the y-coordinate. A centroid can lie in a hole, so being outside the material alone does not invalidate an answer. Pappus requires an appropriate external axis; applying it through the region can count overlapping rotation incorrectly.
Retrieve, explain, and revisit
Close the notes and respond: Reconstruct mass and moments from one small piece. Explain why the moment about the y-axis determines x-bar and when a centroid equals a center of mass. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.6 Moments And Centers Of Mass. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.1 Areas Between Curves. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 2.3 Volumes Of Revolution Cylindrical Shells. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2, 2.5 Physical Applications, mass from linear density. OpenStax, Rice University. Read the mass-density formula.
- Key terms
- Center of mass
- The mass-weighted average position of a distribution with positive total mass.
- First moment
- A sum or integral of a signed position coordinate times mass.
- Linear density
- Mass per unit length along a rod or curve.
- Lamina
- A thin planar plate modeled by an area and an area density.
- Centroid
- The geometric average position of a region, equal to its center of mass when density is uniform.
- Pappus's volume theorem
- For rotation about a nonintersecting axis in the plane, volume equals area times the distance traveled by the centroid.
Module 5: Sequences and Infinite Series
Move from finite sums to the infinite, defining sequences, series, and the tests that decide convergence.
Sequences and Their Limits
- Define a sequence and its limit.
- Determine whether a sequence converges or diverges.
- Apply limit techniques to sequences.
The second half of this course studies the infinite, and it starts with something down to earth: a list of numbers that follows a rule. Think of an account balance printed each month, or a row of steps numbered by position. A sequence is exactly that, an ordered list. The one question we keep asking is: as you go further and further out, where do the numbers head?
The big picture
A sequence is an ordered list a1, a2, a3, ..., produced by a rule for the general term an (read "a sub n," the nth term). For example, an = 1/n gives the list 1, 1/2, 1/3, 1/4, .... The big question is about the far-off behavior: do the terms settle toward a single number, or not?
Key idea: a sequence is a list defined by a rule for its nth term, and the central question is what value the terms approach as n grows.
The limit of a sequence
A sequence converges to a limit L if the terms get and stay arbitrarily close to L as n goes to infinity, written lim(n -> infinity) an = L. If there is no single finite value the terms approach, the sequence diverges. Because n is marching off to infinity, evaluating these limits uses the very same tricks you used for limits at infinity in Calculus I.
Worked example one. Does an = 1/n converge? As n grows, 1/n shrinks toward 0, so lim(n -> infinity) 1/n = 0. It converges to 0.
Worked example two. Does an = (3n2 + 1)/(2n2 - n) converge? Divide top and bottom by the highest power, n2:
- Top becomes
3 + 1/n2. - Bottom becomes
2 - 1/n. - As n -> infinity the small pieces 1/n2 and 1/n vanish, leaving
3/2.
It converges to 3/2. Check the claim against actual terms: a10 = 301/190 = 1.5842, a100 = 30001/19900 = 1.5076, a1000 = 1.5008. They are closing in on 1.5 from above, exactly as predicted.
What "arbitrarily close" actually means
The phrase "gets and stays close to L" is doing real work, and the precise version is worth seeing once. We say an -> L if for every tolerance epsilon > 0, however small, there is an index N such that |an - L| < epsilon for all n > N. Read it as a challenge and a response: you name a tolerance, and I must produce a point in the list beyond which every single term is within that tolerance.
Worked verification. Prove that an = 1/n converges to 0.
- Write down what must be shown:
|1/n - 0| < epsilon, which is just1/n < epsilonsince 1/n is positive. - Solve for n:
n > 1/epsilon. - So choose N to be any integer at least
1/epsilon. Then every term past N satisfies the requirement. - Test with a number. If
epsilon = 0.01, take N = 100; every term froma101 = 0.0099onward is within 0.01 of 0. If you demandepsilon = 0.000001, takeN = 1000000. There is always an answer, which is exactly what convergence means.
Notice what the definition rules out. "Gets close once" is not enough - the terms must stay close. That single word is why (-1)n fails: it hits 1 infinitely often, but it never stays near 1.
Key idea: convergence is a promise that can be kept for every tolerance, no matter how strict, from some point onward.
Two patterns that show up constantly
- Powers rn: if
|r| < 1, thenrn -> 0(for instance(1/2)n -> 0); if |r| > 1, their magnitudes grow without bound (negative r also alternates sign); if r = 1, they sit at 1. - Factorial growth:
n!(n factorial) eventually outgrows np for fixed p > 0 and bn for fixed b > 1, so terms liken10/n!and2n/n!head to 0.
Worked example three. Does an = (-1)n converge? The terms are -1, 1, -1, 1, ... forever, never settling on one value, so the sequence diverges by oscillation.
The growth hierarchy, with real numbers attached
Almost every sequence limit in this course is decided by knowing which of two expressions grows faster. For fixed p > 0 and fixed b > 1, the following ratios describe relative growth as n tends to infinity:[1]
ln(n) << np << bn (for b > 1) << n! << nn
The symbol << means "is eventually dwarfed by," so any ratio with a slower item on top goes to 0. Numbers make the gaps vivid. At n = 20: ln(20) ~= 3.0, 202 = 400, 220 = 1048576, 20! ~= 2.4 * 1018, and 2020 ~= 1.0 * 1026. Each step up is not a small edge but a change of scale, and by n = 100 the gaps are astronomically wider.
Use it directly. n10/n! has the slower item on top, so it goes to 0 - even though the first several terms grow enormously before reaching its maximum at n = 6 and decreasing thereafter. 2n/n100 has the faster item on top, so it diverges, however patient you have to be. (ln n)/n0.001 still goes to 0, because a logarithm loses to every positive power.
A bridge to functions
If an = f(n) for some function f and lim(x -> infinity) f(x) = L, then lim(n -> infinity) an = L as well. This lets you bring in calculus tools, including L'Hopital's rule, to handle a sequence. For example, lim(n -> infinity) (ln n)/n is an infinity-over-infinity form; L'Hopital on the function version gives (1/x)/1 = 1/x -> 0, so the sequence limit is 0.
The bridge runs one way only. If the function limit fails to exist, the sequence may still converge, because the sequence only samples the function at integers. Take f(x) = sin(pi x), which oscillates forever and has no limit, while an = sin(pi n) = 0 for every integer n and converges to 0 immediately.
The squeeze theorem for sequences
When a sequence is hard to evaluate but easy to trap, squeeze it. If bn <= an <= cn and both bn and cn converge to the same L, then an -> L too.
Worked example. Find lim(n -> infinity) sin(n)/n. There is no formula for sin(n) at integer arguments and the values jump around forever, so a direct attack is hopeless.
- Bound the numerator:
-1 <= sin(n) <= 1for every n. - Divide by n, which is positive, so the inequalities keep their direction:
-1/n <= sin(n)/n <= 1/n. - Both outer sequences converge to 0.
- By the squeeze theorem,
sin(n)/n -> 0.
Monotone and bounded means convergent
One theorem lets you conclude convergence without knowing the limit at all. If a sequence is increasing and bounded above, it converges; likewise if it is decreasing and bounded below. Intuitively the terms keep moving one way but cannot escape past the bound, so they must pile up somewhere.
Worked example. Show that an = n/(n + 1) converges.
- Rewrite it:
n/(n + 1) = 1 - 1/(n + 1). - Increasing? As n grows,
1/(n + 1)shrinks, so we are subtracting less each time. Yes, increasing. Terms:1/2, 2/3, 3/4, 4/5, .... - Bounded above?
1/(n + 1)is always positive, soan < 1always. Yes, bounded by 1. - Therefore it converges - and here the limit is visibly 1.
Recursive sequences are where this theorem earns its keep, because a simple closed formula may be unavailable or unnecessary. Define a1 = 2 and an+1 = (an + 2/an)/2.
- Compute terms:
a1 = 2;a2 = (2 + 1)/2 = 1.5;a3 = (1.5 + 1.33333)/2 = 1.416667;a4 = (1.416667 + 1.411765)/2 = 1.414216. - Prove the bounds rather than infer them from four values. If a >= sqrt(2), then (a + 2/a)/2 - sqrt(2) = (a - sqrt(2))2/(2a) >= 0. Also (a + 2/a)/2 - a = (2 - a2)/(2a) <= 0. Starting with a1 = 2, induction shows every term is at least sqrt(2) and the sequence is nonincreasing. The monotone convergence theorem now guarantees a positive limit.[1]
- Now find it. Since both
anandan+1approach the same L, take the limit of both sides of the recursion:L = (L + 2/L)/2. - Solve:
2L = L + 2/L, soL = 2/L, soL2 = 2andL = the square root of 2(the positive root, since all terms are positive).
Compare: the square root of 2 = 1.4142136, and a4 = 1.414216 already matches to five decimals. This recursion is Newton's method for the square root, and the same argument - prove a limit exists, then solve for it - is the standard way to analyse any iterative algorithm.
Key idea: you must establish that a limit exists before solving for it; setting L = f(L) on a divergent recursion produces a confident, meaningless number.

Oscillation can shrink, and a finite list cannot decide a limit
The sequence (-1)n/n alternates sign but converges to zero because its absolute value is 1/n. Oscillation alone is not divergence. By contrast, (-1)n has even terms 1 and odd terms -1, so two subsequences have different limits.
A convergent sequence need not ever equal its limit: 1/n never equals zero. Changing finitely many initial terms does not alter a limit, because the definition concerns all sufficiently large n. Likewise, any finite table can be extended by a rule that approaches a different limit or diverges. Use tables to explore; use the rule and a theorem to justify the conclusion.[1]

Common misconceptions
- Confusing a sequence with a series. This is the biggest source of trouble in the whole module. A sequence is the list of terms; a series is what you get when you add them. The sequence
1/nconverges to 0, while the series1 + 1/2 + 1/3 + ...built from the same terms diverges. Same numbers, opposite answers. - "Bounded means convergent." Only with monotonicity attached.
(-1)nstays inside [-1, 1] forever and still diverges, because it never settles on one value. - "Monotone means convergent." Only with boundedness attached.
an = nis increasing and diverges. You need both halves of the theorem. - Solving
L = f(L)before proving L exists. Applied toan+1 = 2anwitha1 = 1, this "gives"L = 2L, soL = 0- but the terms are1, 2, 4, 8, ...and diverge. Establish convergence first, then solve. - Assuming factorials and exponentials are comparable. Factorials win decisively, which is why
2n/n!goes to 0 despite the numerator's early lead. At n = 20 the factorial is over a trillion times larger. - Reading the first few terms as the trend.
n10/n!reaches about 83,981 at n = 6 before collapsing toward 0. Early terms are not evidence about a limit. - Applying L'Hopital in reverse. A missing function limit does not imply a missing sequence limit, since the sequence only samples integer inputs -
sin(pi x)versussin(pi n)is the standard counterexample.
Recap
- A sequence is an ordered list with a rule for the nth term
an. It converges if the terms approach a single finite limit L, and diverges otherwise, including by oscillation. - Formally,
an -> Lmeans: for everyepsilon > 0there is an N with|an - L| < epsilonfor alln > N. For 1/n -> 0, take an integer N >= 1/epsilon. - Divide by the highest power for rational terms;
rn -> 0when|r| < 1; and the growth hierarchy isln n << np << bn << n! << nn. - If
an = f(n)and the function limit exists, the sequence shares it, so L'Hopital's rule is available. The converse fails. - Trap hard sequences between two easy ones with the squeeze theorem;
sin(n)/n -> 0this way. - A monotone bounded sequence converges even when the limit is unknown, which is how recursive sequences are handled: prove a limit exists, then solve
L = f(L). The recursionan+1 = (an + 2/an)/2converges tothe square root of 2.
Retrieve, explain, and revisit
Close the notes and respond: Explain convergence using an epsilon and a tail index. Give an oscillating convergent sequence and describe why a finite prefix cannot prove convergence. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.1 Sequences. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.2 Infinite Series. Read the section.
- Key terms
- Sequence
- An ordered list of numbers a_1, a_2, a_3, ... defined by a rule for a_n.
- Convergent sequence
- A sequence whose terms approach a finite limit L as n goes to infinity.
- Divergent sequence
- A sequence with no finite limit, whether it grows or oscillates.
- nth term
- The general term a_n, the formula that produces each entry of the sequence.
- Oscillation
- Variation back and forth; it prevents convergence only when the variation does not shrink toward a single limit.
Infinite Series and the Geometric Series
- Define an infinite series through its partial sums.
- Evaluate a convergent geometric series.
- Apply the nth term test for divergence.
The geometric terms 1, 1/2, 1/4, ... tend to zero, while their partial sums tend to 2. These are two different sequences. A series converges when its partial sums have a finite limit; terms tending to zero alone do not establish that limit. We will derive the geometric sum and compare it with divergent examples.
The big picture
An infinite series is the sum of every term of a sequence: a1 + a2 + a3 + ..., written sum from n=1 to infinity of an. We make sense of an endless sum by watching its partial sums, the totals you get by stopping after 1 term, 2 terms, 3 terms, and so on.
Key idea: an infinite series is really the limit of its partial sums; if those running totals approach a number, the series converges to it.
Partial sums define the total
The nth partial sum is Sn = a1 + a2 + ... + an, which adds only the first n terms. The series converges to a sum S if the partial sums approach S, that is lim(n -> infinity) Sn = S. If the partial sums have no finite limit, the series diverges. So a series is a limit of ordinary finite sums in disguise.
This is worth stating carefully because it is where the whole subject sits. Two sequences are in play at once and they behave differently. The terms an are the individual numbers being added; the partial sums Sn are the running totals. Convergence of a series is a statement about the second sequence, never the first. Keeping them apart resolves most of the confusion in Module 5.

A worked telescoping series
Very few series let you write down Sn in closed form, but when you can, the definition does all the work. Evaluate sum from n=1 to infinity of 1/(n(n + 1)).
- Decompose the term by partial fractions:
1/(n(n+1)) = A/n + B/(n+1)gives1 = A(n+1) + Bn. Setting n = 0 givesA = 1; setting n = -1 gives1 = -B, soB = -1. The term is1/n - 1/(n + 1). - Write out the partial sum:
Sn = (1 - 1/2) + (1/2 - 1/3) + (1/3 - 1/4) + ... + (1/n - 1/(n+1)). - Cancel. Every negative piece is destroyed by the positive piece of the next bracket. Only the very first and very last survive:
Sn = 1 - 1/(n + 1). The collapse is why these are called telescoping series. - Take the limit:
lim(n -> infinity) [1 - 1/(n+1)] = 1.
The series converges to 1. Check the formula at n = 3: it predicts 1 - 1/4 = 3/4, and adding directly gives 1/2 + 1/6 + 1/12 = 6/12 + 2/12 + 1/12 = 9/12 = 3/4. It matches.
Key idea: when a term splits into a difference of consecutive pieces, the partial sum collapses and the series can be evaluated exactly rather than merely classified.
The geometric series, the one to know cold
In a geometric series, each term is a fixed ratio r times the term before it: a + a r + a r2 + a r3 + .... For nonzero first term a, it converges exactly when |r| < 1, and then it has a clean closed-form sum:
sum from n=0 to infinity of a rn = a/(1 - r), valid when |r| < 1
If a is nonzero and |r| >= 1, the terms fail to tend to zero and the series diverges. If a = 0, every term is zero, so the series converges to zero for any fixed finite r.[1]
Worked example. Evaluate 1 + 1/2 + 1/4 + 1/8 + ...
- Identify the first term and ratio:
a = 1and each term is half the one before, sor = 1/2. - Check the condition:
|1/2| < 1, so the series converges. - Apply the formula:
a/(1 - r) = 1/(1 - 1/2) = 1/(1/2) = 2.
The sum is exactly 2. Infinitely many positive numbers added up to a finite total, because the terms shrank quickly enough. As another example, sum from n=1 to infinity of (1/3)n = (1/3)/(1 - 1/3) = (1/3)/(2/3) = 1/2. Note that this one starts at n = 1, so its first term is 1/3, not 1.
Where the geometric formula comes from
The formula is not something to take on faith; it drops out of one algebraic trick.
- Write the partial sum:
Sn = a + ar + ar2 + ... + arn-1. - Multiply the whole thing by r:
rSn = ar + ar2 + ... + arn-1 + arn. This is the same list shifted one place. - Subtract. Every middle term appears in both lines and cancels, leaving
Sn - rSn = a - arn. - Factor and divide:
Sn(1 - r) = a(1 - rn), soSn = a(1 - rn)/(1 - r)wheneverris not 1. - Take the limit. The only part depending on n is
rn. If|r| < 1thenrn -> 0andSn -> a/(1 - r). For a nonzero first term and |r| >= 1, the term test proves divergence. At r = 1 the partial sum is na; the divided formula above is not valid.
Test the partial-sum formula on the example above: with a = 1, r = 1/2, n = 4, it predicts (1 - 1/16)/(1/2) = (15/16)(2) = 15/8 = 1.875. Adding directly: 1 + 0.5 + 0.25 + 0.125 = 1.875. Correct - and you can see the running total creeping up on 2, never reaching it.
Notice also where the condition |r| < 1 comes from. It is not a convention; it is precisely the condition under which rn dies out, and it fails at r = -1 as well as at r = 1, since (-1)n oscillates forever.
Two places geometric series show up immediately
Repeating decimals are geometric series. What rational number is 0.474747...? Write it as 47/100 + 47/10000 + 47/1000000 + ..., which is geometric with a = 47/100 and r = 1/100. The formula gives (47/100)/(1 - 1/100) = (47/100)/(99/100) = 47/99. Dividing 47 by 99 does indeed give 0.474747..., so every repeating decimal is a fraction - and the argument is a geometric series, not a trick.
The same machinery settles a famous argument. Is 0.999... = 1? As a series it is 0.9 + 0.09 + 0.009 + ..., geometric with a = 0.9 and r = 0.1, summing to 0.9/(1 - 0.1) = 0.9/0.9 = 1. Exactly 1, not merely close. The discomfort people feel comes from imagining the sum as a process that never finishes, whereas the definition makes it the limit of the partial sums, and that limit is 1.
A bouncing ball. A ball dropped from 10 metres rebounds to 60 percent of its previous height each bounce. How far does it travel in total? It falls 10 metres, then each subsequent bounce contributes an up-trip and a down-trip of equal length:
- Rebound heights:
6, 3.6, 2.16, ..., geometric witha = 6andr = 0.6. - Their total is
6/(1 - 0.6) = 6/0.4 = 15metres. - Each of those heights is travelled twice, up and down, so the bouncing contributes
2 * 15 = 30metres. - Add the initial drop:
10 + 30 = 40metres.
This idealized model assumes a constant rebound-height ratio at every bounce, with no threshold at which the ball stops. Under constant gravitational acceleration and instantaneous impacts, flight duration is proportional to the square root of the bounce height, so successive full-bounce durations have ratio sqrt(0.6), also below 1. The ideal total flight time is finite. A real ball deforms, loses energy in a more complicated way, and eventually stops being well described by this model.
The nth term test for divergence
Here is a fast necessary check. If a series converges, its terms must shrink to 0. Turn that around: the nth term test says that if lim(n -> infinity) an is not 0 (or does not exist), the series diverges. For example, sum of n/(n + 1) diverges because an -> 1, not 0.
Two more worked applications. For sum of n/(2n + 1), divide top and bottom by n to get 1/(2 + 1/n) -> 1/2. Since 1/2 is not 0, the series diverges by the nth term test. For sum of cos(n), the terms oscillate without approaching anything, so the limit fails to exist and the series again diverges by the nth term test. Both conclusions took one line, which is the point of running this test first.
One firm warning: this test can only prove divergence. Terms going to 0 does not guarantee convergence, as the harmonic series in the next lesson will show. Reason about it this way: shrinking terms are necessary for the running total to settle, but they are not sufficient, because the terms might shrink too slowly to stop the total climbing. When lim an = 0, the correct thing to say is that the test is inconclusive - not that the series converges, and not that it diverges.
Key idea: the nth term test is a one-way door - it can send a series to "diverges" but it can never send one to "converges".
A finite prefix and a tail estimate
For |r| < 1, after N terms a through arN-1, the remaining tail is RN = arN/(1 - r). Its absolute value is |a||r|N/|1 - r|. For 1 + 1/2 + 1/4 + ..., N = 8 leaves tail 1/128 = 0.0078125. This is an exact tail, not a guess from the last displayed digit.[1]
Adding, deleting, or changing finitely many finite terms leaves convergence unchanged, but can change the sum. For example, sum from n = 3 to infinity of (1/2)n begins at 1/8 and equals (1/8)/(1 - 1/2) = 1/4. Always state the starting index.
Telescoping must be done with finite partial sums before taking a limit. Splitting sum [1/n - 1/(n + 1)] into two separate infinite harmonic sums would try to subtract two divergent quantities. The finite cancellation is valid; an expression such as infinity minus infinity is not a real-number subtraction.

Common misconceptions
- Skipping the ratio condition. The formula
a/(1 - r)only applies when|r| < 1. Applied blindly to1 + 2 + 4 + 8 + ...it produces1/(1 - 2) = -1, a negative sum for a series of positive terms. Check|r|first, every time. - Getting the first term wrong. In
a/(1 - r), the letter a is the actual first term you are adding. Forsum from n=1 to infinity of (1/3)nthat is1/3, not 1, giving1/2rather than3/2. Write out the first two terms before naming a and r. - Reading the ratio off the exponent. The ratio is
an+1/an, so compute it rather than guessing. Forsum of 3n/4n+1, the ratio is 3/4 and the first term is3/16if the sum starts at n = 1. - "If the terms go to 0, the series converges." The most consequential error in the module. The nth term test detects divergence only; when the limit is 0 the test says nothing at all, and the harmonic series is the standing counterexample.
- Confusing the terms with the partial sums. For
sum 1/(n(n+1))the terms go to 0 and the partial sums go to 1. Asking "does the sequence converge?" about a series question is a different question with a different answer. - Expecting to evaluate every convergent series. Geometric and telescoping series can be summed exactly. Other important series also have known sums, but many cannot be evaluated with elementary formulas, and the tests in the next three lessons decide convergence without producing a value.
- Treating
0.999...as an approximation. It is a limit, and the limit equals 1 exactly. Nothing is left over.
Recap
- An infinite series converges when its partial sums
Snapproach a finite limit. Convergence is a statement about the running totals, not the terms. - Telescoping series collapse:
sum from n=1 to infinity of 1/(n(n+1))hasSn = 1 - 1/(n+1), so it converges to 1. - A geometric series sums to
a/(1 - r)when|r| < 1, and, for a nonzero first term, diverges when |r| >= 1. The formula comes fromSn = a(1 - rn)/(1 - r)and the fact thatrn -> 0exactly when|r| < 1. - Identify a as the actual first term and r as the common ratio, and mind where the sum begins.
- Repeating decimals are geometric series:
0.474747... = 47/99and0.999... = 1exactly. - The nth term test: if the terms do not go to 0, the series diverges. If they do go to 0, the test is inconclusive - it proves nothing either way.
- Infinitely many positive lengths can have a finite sum; applying that mathematics to motion requires stated physical assumptions.
Retrieve, explain, and revisit
Close the notes and respond: Derive a geometric partial sum, then take its limit under the correct conditions. Distinguish the limit of terms from the limit of partial sums. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.2 Infinite Series. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.3 The Divergence And Integral Tests. Read the section.
- Key terms
- Infinite series
- The sum of all terms of a sequence, sum from n=1 to infinity of a_n.
- Partial sum
- S_n, the sum of the first n terms of a series.
- Convergent series
- A series whose partial sums approach a finite limit S.
- Geometric series
- A series a + ar + ar^2 + ... that sums to a/(1 - r) when |r| < 1.
- nth term test
- If a_n does not go to 0, the series diverges; it cannot prove convergence.
Convergence Tests for Positive Series
- Apply the integral test and the p-series result.
- Use the comparison and limit comparison tests.
- Select an appropriate test for a given series.
The geometric series was special because we could compute its exact sum. Most series are not that friendly, and often you do not need the sum at all, only a yes-or-no answer: does it converge? This lesson gives you a small toolbox of tests that decide convergence for series with positive terms, without ever finding the total.
The big picture
For a series of positive terms, a handful of tests settle convergence by comparing the series to something you already understand, either an integral or a simpler series. Start every problem with the nth term test from last lesson (if the terms do not go to 0, you are done, it diverges), then reach for one of the tools below.
Key idea: convergence tests decide whether a positive series adds up to a finite total by comparing it to a known integral or a known series.
The integral test and the p-series
If an = f(n) for a function f that is positive, nonincreasing, and continuous on [1, infinity), then the series sum of an and the improper integral integral from 1 to infinity of f(x) dx either both converge or both diverge. The hypotheses may instead hold from an integer N onward; finitely many initial terms do not change convergence. This ties series back to improper integrals.[1]
The most useful consequence is the p-series rule:
sum from n=1 to infinity of 1/np converges if and only if p > 1
So sum of 1/n2 converges (p = 2), while the famous harmonic series sum of 1/n diverges (p = 1), even though its terms go to 0. The harmonic series is the classic reminder that shrinking terms are not enough for convergence.
Why the integral test works
The argument is a picture, and once you see it the test stops feeling like an unrelated coincidence.
- Draw the curve
y = f(x), positive and decreasing. - Over each interval
[n, n+1], draw a rectangle of width 1 and heightf(n), the value at the left end. Because f is decreasing, this rectangle sits entirely above the curve. Adding them:a1 + a2 + ... + aN-1 >= integral from 1 to N of f(x) dx. - Now use the right-end value instead, height
f(n+1). Those rectangles sit entirely below the curve, givinga2 + a3 + ... + aN <= integral from 1 to N of f(x) dx. - Combine. The partial sums and the integral are pinned within one term of each other, forever. If the integral is finite, the second inequality caps the partial sums, and an increasing bounded sequence converges. If the integral is infinite, the first inequality forces the partial sums up with it.
Two conditions did real work. Decreasing is what puts the rectangles on the correct side of the curve. Positive is what makes the partial sums increasing, so that boundedness implies convergence. Drop either and the argument collapses; the test genuinely does not apply to sum of (-1)n/n, which needs Lesson 16.
Note also what the test does not give you. The series and the integral converge together, but they almost never converge to the same number. integral from 1 to infinity of dx/x2 = 1, while sum of 1/n2 = pi2/6 ~= 1.6449 - a value that the integral test itself does not compute.[4]
The harmonic series, worked two ways
Why does sum of 1/n diverge when its terms so obviously shrink to zero? Two independent arguments settle it.
Argument one, the integral test.
- Set
f(x) = 1/x. Check the hypotheses: it is positive on[1, infinity), continuous there, and decreasing since its derivative-1/x2is negative. All three hold. - Evaluate the integral:
integral from 1 to t of dx/x = [ln x] from 1 to t = ln(t). - Take the limit:
ln(t) -> infinity, so the improper integral diverges. - Conclude: the series
sum of 1/ndiverges by the integral test.
The same rectangles give ln(N + 1) <= HN <= 1 + ln(N), where HN is the Nth harmonic partial sum. These bounds show slow but unbounded growth. For N = 1,000,000, they place the sum between about 13.8155 and 14.8155. A finite numerical table may look nearly flat while these proven lower bounds continue to grow.
Argument two, grouping into doubling blocks. Group the terms in blocks of doubling length:
1 + 1/2 + (1/3 + 1/4) + (1/5 + 1/6 + 1/7 + 1/8) + (1/9 + ... + 1/16) + ...
- The block
1/3 + 1/4is larger than1/4 + 1/4 = 1/2, because 1/3 exceeds 1/4. - The block
1/5 + 1/6 + 1/7 + 1/8is larger than four copies of1/8, which is1/2. - In general the block from
1/(2k+1)to1/2k+1has2kterms, each at least 1/2k+1, so the block exceeds2k/2k+1 = 1/2. - So the total exceeds
1 + 1/2 + 1/2 + 1/2 + ..., infinitely many halves. It cannot be finite.
This also explains the slowness: you need to double the number of terms just to add another half, which is exactly logarithmic growth.
And why p = 2 converges. Run the identical test on f(x) = 1/x2, which is likewise positive, continuous, and decreasing on [1, infinity). Then integral from 1 to t of x-2 dx = [-1/x] from 1 to t = 1 - 1/t -> 1. The integral converges, so sum of 1/n2 converges by the integral test. The rectangle inequality even bounds it: the sum is at most a1 + integral from 1 to infinity of f = 1 + 1 = 2, and the true value pi2/6 ~= 1.645 obeys that bound.[4]
The whole difference between the two cases is the antiderivative. For 1/x it is ln(x), which grows without bound; for 1/x2 it is -1/x, which levels off at 0. The terms of both series shrink to zero, but only the second shrinks fast enough for the accumulated total to settle.
Key idea: convergence is decided by how fast the terms shrink, not whether they shrink, and p = 1 is the boundary for the particular family 1/np. Other families need their own tests.
Estimating the sum with the integral test
The same rectangles bound the error left after stopping at N terms. Writing RN = S - SN for the tail,
integral from N+1 to infinity of f(x) dx <= RN <= integral from N to infinity of f(x) dx
For sum of 1/n2 with N = 10, the right bound is integral from 10 to infinity of dx/x2 = 1/10 = 0.1 and the left bound is 1/11 ~= 0.0909. So ten terms leave an error between 0.0909 and 0.1. The true value confirms it: S10 = 1.549768 and pi2/6 = 1.644934, a gap of 0.09517. Inside the predicted window, as promised. This is how you decide in advance how many terms a computation needs.[4]

The comparison test
Compare your mystery series to a known one, term by term. If 0 <= an <= bn, then:
- If the bigger series
sum of bnconverges, the smallersum of anconverges too. - If the smaller series
sum of andiverges, the biggersum of bndiverges too.
Worked example one. Does sum of 1/(n2 + 1) converge? Since n2 + 1 > n2, a bigger denominator makes a smaller fraction: 1/(n2 + 1) < 1/n2. The larger series sum of 1/n2 converges as a p-series with p = 2, so the smaller one converges by the direct comparison test.
Worked example two, the other direction. Does sum from n=1 to infinity of ln(n)/n converge? For every n >= 3 we have ln(n) > 1, so ln(n)/n > 1/n. The smaller series sum of 1/n is the harmonic series, which diverges. A divergent lower bound pushes everything above it up, so the series diverges by the direct comparison test. Dropping the first two terms is harmless: adding or removing finitely many terms never changes whether a series converges, only what it converges to.
Watch the direction. Showing 1/(n2 + 1) < 1/n is perfectly true and completely useless, because being smaller than something divergent tells you nothing. The only two valid conclusions are convergent-upper-bound and divergent-lower-bound.
The limit comparison test
Direct comparison can be fussy about which way the inequality points, so the limit comparison test is often smoother. If an and bn are positive and lim(n -> infinity) an/bn = c for some finite positive number c, then the two series do the same thing: converge together or diverge together.
Worked example. Does sum of (2n + 1)/(n3 + 5) converge?
- Keep only the dominant powers to guess a comparison. For large n it behaves like
2n/n3 = 2/n2. - Compare with
bn = 1/n2. Form the ratioan/bn = (2n + 1)n2/(n3 + 5), which approaches 2. - Since 2 is a finite positive number and
sum of 1/n2converges, the original series converges by the limit comparison test.
Do the ratio carefully, since this is where slips happen. an/bn = [(2n+1)/(n3+5)] * n2 = (2n3 + n2)/(n3 + 5). Divide top and bottom by n3: (2 + 1/n)/(1 + 5/n3) -> 2. Finite and positive, so the test applies.
The limit comparison test is usually the right first choice for anything that looks like a ratio of polynomials, because the comparison series is read straight off the leading powers and no inequality has to be arranged.
Logarithmic factors and one-sided limit comparisons
For n >= 2, compare sum 1/[n(ln n)q] with f(x) = 1/[x(ln x)q]. For q = 1 or q = 2, f is positive, continuous, and decreasing for x > 1. Substitution u = ln x in its integral gives integral u-q du. Thus q = 1 diverges, while q = 2 converges. The bare observation that the terms are smaller than 1/n does not decide either case.[1]
If an/bn tends to zero and sum bn converges, then sum an converges by eventual direct comparison. If the ratio tends to infinity and sum bn diverges, sum an diverges. The reversed conclusions are not valid. A finite positive ratio is special because it gives bounds in both directions.[2]
For a convergent positive series satisfying the integral-test hypotheses, the remainder bounds apply only once the decreasing tail begins. To guarantee a tail error at most 0.001 for sum 1/n2, the upper bound 1/N permits N = 1000. This is a sufficient bound, not a claim that 1000 is the smallest possible number.

Choosing a test: a short decision guide
- nth term test. Does
anfail to approach 0? Then it diverges and you are finished. Otherwise carry on - this tells you nothing more. - Is it geometric or telescoping? Then evaluate it exactly rather than testing it.
- Is it a p-series, or a ratio of polynomials? Use the p-rule directly, or limit comparison against
1/npwith p = (bottom degree) minus (top degree). - Does the term look like a function you can integrate? Terms with logarithms or
1/(n ln n)shapes are integral-test problems. - Can you bound it above by something convergent, or below by something divergent? Direct comparison.
- Factorials or nth powers present? Save it for the ratio and root tests in the next lesson.
Two habits matter more than the list. First, state the test by name in your conclusion - "converges by limit comparison with 1/n2" is an answer, while "converges" is a guess. Second, check the hypotheses before applying a test, because the comparison tests require nonnegative or positive terms as stated, and the integral test requires an eventually positive, continuous, nonincreasing matching function. The nth-term divergence test itself does not require positivity.
Common misconceptions
- "The harmonic series converges because its terms go to 0." It diverges, by the integral test and by grouping into doubling blocks. It is the p-series at p = 1, exactly on the boundary where convergence fails. Numerical evidence is no help: a million terms only reach 14.4.
- "Any p-series converges." Only for
p > 1. Atp = 1and below it diverges, andp = 0.999diverges whilep = 1.001converges - the threshold is genuinely sharp. - Confusing the two p-thresholds. For series
sum 1/npand for the improper integralintegral from 1 to infinity dx/xp, the condition is the same,p > 1. It isintegral from 0 to 1 dx/xpthat flips top < 1. Match the interval before quoting a rule. - Comparing in a useless direction. The only valid conclusions are convergent-upper-bound and divergent-lower-bound. Showing your series is smaller than a divergent one, or bigger than a convergent one, proves nothing.
- Skipping the hypotheses of the integral test. The function must be positive, continuous, and decreasing.
f(x) = (sin2x)/x2is not decreasing, so the test does not apply even though the series converges for other reasons. - Believing the integral equals the sum. They converge together and rarely agree.
integral from 1 to infinity of dx/x2 = 1while the series sums topi2/6 ~= 1.645. The integral test gives a verdict, not a value. - Getting the limit-comparison ratio upside down. Either orientation works as long as the limit is finite and positive, but a limit of 0 or infinity makes the test inconclusive in one direction, so simplify carefully rather than guessing.
- Announcing a verdict without a test. Always name the test and the comparison series. That habit is what makes an answer checkable.
Recap
- Start with the nth term test, then pick a tool for positive series, and name the test in your conclusion.
- The integral test compares a series with an improper integral using rectangles that straddle the curve; it needs f positive, continuous, and decreasing.
- The p-series
sum of 1/npconverges exactly whenp > 1. The harmonic series (p = 1) diverges becauseintegral dx/x = ln xgrows without bound, and each successive doubling block contributes at least 1/2. The p = 2 series converges becauseintegral dx/x2levels off at 1. - The harmonic partial sums satisfy ln(N + 1) <= HN <= 1 + ln(N), proving slow unbounded growth.
- The integral test also bounds the tail:
integral from N+1 to infinity of f <= RN <= integral from N to infinity of f. Forsum 1/n2at N = 10 that predicts an error between 0.0909 and 0.1, and the true error is 0.0952. - Comparison test: a convergent upper bound pulls the smaller series down; a divergent lower bound pushes the bigger one up. No other direction concludes anything.
- Limit comparison: if
an/bnapproaches a finite positive c, both series share the same fate. Read the comparison series off the leading powers.
Retrieve, explain, and revisit
Close the notes and respond: State the integral and comparison test conditions. Determine how a logarithmic factor changes a borderline 1/n series and give an integral remainder bound. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.3 The Divergence And Integral Tests. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.4 Comparison Tests. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 3.7 Improper Integrals. Read the section.
- National Institute of Standards and Technology. Digital Library of Mathematical Functions, equation 25.6.1, zeta(2) = pi squared / 6. Integer arguments of the zeta function.
- Key terms
- Integral test
- If a_n = f(n) and f is eventually positive, continuous, and nonincreasing, the series and its tail integral converge or diverge together.
- p-series
- sum of 1/n^p converges if and only if p > 1.
- Harmonic series
- sum of 1/n, the p-series with p = 1, which diverges despite terms going to 0.
- Comparison test
- Bounding a_n between 0 and a known b_n to inherit its convergence behavior.
- Limit comparison test
- If a_n/b_n approaches a finite positive c, both series share the same fate.
Alternating Series, Ratio Test, and Absolute Convergence
- Apply the alternating series test.
- Use the ratio test for convergence.
- Distinguish absolute from conditional convergence.
Two kinds of series need tools we have not built yet: series whose signs flip back and forth, and series stuffed with factorials or nth powers. This lesson adds an alternating series test and a ratio test to your kit, plus a sharper way to talk about convergence that will matter for the power series coming next.
The big picture
When signs alternate, a series can converge even if the same terms without signs would not, because the plus and minus terms partly cancel. When terms contain factorials or powers, the ratio of consecutive terms reveals whether they shrink fast enough. These two tests, plus the idea of absolute convergence, round out how you classify series.
Key idea: alternating signs can rescue convergence, and the ratio of consecutive terms measures how fast the terms shrink.
The alternating series test
An alternating series flips sign every term, like sum of (-1)n bn with bn > 0. The alternating series test says it converges if two conditions both hold:
- The sizes
bnare eventually decreasing. lim(n -> infinity) bn = 0.
Worked example. The alternating harmonic series 1 - 1/2 + 1/3 - 1/4 + ... has bn = 1/n. Check both conditions: 1/n decreases as n grows, and 1/n -> 0. Both hold, so it converges by the alternating series test. Its sum is ln 2 ~= 0.6931. Compare that with the plain harmonic series, which diverges: the alternating signs are what pull this one back to convergence.
Why the alternating series test works
Watch the partial sums of 1 - 1/2 + 1/3 - 1/4 + ... as they are built:
S1 = 1, S2 = 0.5, S3 = 0.8333, S4 = 0.5833, S5 = 0.7833, S6 = 0.6167
They overshoot, undershoot, overshoot, undershoot - and each swing is shorter than the last, because the terms are shrinking. Precisely: the odd partial sums decrease, the even ones increase, and every even one stays below every odd one. The two subsequences squeeze together, and since the gap between consecutive partial sums is bn, which goes to 0, they must meet at a single value. That value is the sum.
Both hypotheses earn their place in that argument. Decreasing is what makes each swing shorter than the last, so the intervals nest. Terms going to 0 is what shrinks the nested intervals to a point. Drop the first and the argument fails even if the terms tend to 0 - which is why "eventually decreasing" must actually be checked, not assumed from the fact that a formula looks like it should shrink.

The alternating series error bound
The nesting gives a simple remainder bound, complementing the integral-test remainder bounds from the preceding lesson.[1] Since the true sum always lies between consecutive partial sums,
|S - SN| <= bN+1
Once the omitted magnitudes form a nonincreasing sequence tending to zero, the error after N terms is no bigger than the first omitted magnitude. The error has the sign of the first omitted term unless the remainder is zero. Test it on the alternating harmonic series, whose sum is ln 2 = 0.693147. Stopping at S5 = 0.783333, the bound promises an error at most b6 = 1/6 = 0.1667. The actual error is 0.783333 - 0.693147 = 0.090186, comfortably inside. Correct.
Now use it in reverse, which is the practical direction. How many terms guarantee absolute error less than 0.0005? Solve bN+1 = 1/(N+1) < 0.0005, giving N + 1 > 2000, so N = 2000 is sufficient. This absolute-error guarantee alone need not guarantee the correctly rounded three-decimal answer if the approximation is close to a rounding boundary. That is painfully slow, and it explains why nobody computes ln 2 this way.
Compare a faster series: sum from n=1 to infinity of (-1)n-1/n2 = pi2/12 ~= 0.822467. Here S4 = 1 - 0.25 + 0.111111 - 0.0625 = 0.798611, and the bound is b5 = 1/25 = 0.04. The actual error is 0.023856, again inside the bound. Four terms of the squared version beat five terms of the harmonic one, because its terms shrink faster.
Key idea: for an alternating series meeting both conditions, the error is bounded by the first omitted term - the cheapest error estimate in all of series analysis.
The ratio test
The ratio test is your go-to when terms contain factorials or nth powers. Assume an is nonzero for all sufficiently large n. If the limit below exists, compute the size of the ratio of consecutive terms:[2]
L = lim(n -> infinity) |an+1/an|
- If
L < 1, the series converges (in fact absolutely). - If
L > 1, the series diverges. - If
L = 1, the test is inconclusive, so try a different test.
Worked example. Does sum of 2n/n! converge?
- Write the ratio of the next term to the current one:
an+1/an = [2n+1/(n+1)!] * [n!/2n]. - Cancel: the powers give one factor of 2, and the factorials give
1/(n + 1), so the ratio is2/(n + 1). - Take the limit:
2/(n + 1) -> 0, which is less than 1, so the series converges.
A factorial denominator alone does not decide convergence. For example, nn/n! has ratio tending to e > 1, so its series diverges. Evaluate the full ratio.[2]
A harder ratio. Does sum of n!/nn converge? Here a factorial fights an nth power, so the answer is not obvious.
- Form the ratio:
an+1/an = [(n+1)!/(n+1)n+1] * [nn/n!]. - The factorials simplify:
(n+1)!/n! = n + 1. So the ratio is(n + 1) * nn/(n+1)n+1. - Split the power:
(n+1)n+1 = (n+1)(n+1)n, so one factor ofn + 1cancels, leavingnn/(n+1)n = (n/(n+1))n. - Rewrite as
1/(1 + 1/n)n, and recall that(1 + 1/n)n -> e. SoL = 1/e ~= 0.368. - Since
L < 1, the series converges by the ratio test. The nth power beats the factorial, matching the growth hierarchy from Lesson 13.
Why L = 1 really is inconclusive. Do not take this on trust; two examples settle it. For sum of 1/n, the ratio is n/(n+1) -> 1, and the series diverges. For sum of 1/n2, the ratio is n2/(n+1)2 -> 1, and the series converges. Same L, opposite outcomes, so no rule could possibly decide from L alone. When L = 1, go to the integral test or a comparison - and note that the ratio test is always inconclusive on p-series, which is exactly the family it should never be used on.
The root test
Where the ratio test compares consecutive terms, the root test looks at the nth root of a single term:
L = lim(n -> infinity) |an|1/n
If this root limit exists, the conclusions are identical: L < 1 converges absolutely, L > 1 diverges, L = 1 is inconclusive. Reach for it when the whole term is raised to the nth power, since the root then cancels the exponent in one step.
Worked example. Does sum of (n/(2n + 1))n converge? Take the nth root and the outer exponent disappears: |an|1/n = n/(2n + 1). Divide top and bottom by n: 1/(2 + 1/n) -> 1/2. Since 1/2 < 1, the series converges by the root test. The ratio test would have required expanding ((n+1)/(2n+3))n+1 against (n/(2n+1))n, which is genuinely unpleasant.
Second example. Does sum from n=2 to infinity of 1/(ln n)n converge? The nth root is 1/ln(n), which goes to 0 as n grows. Since 0 < 1, it converges by the root test.
Absolute versus conditional convergence
A series sum of an converges absolutely if the series of sizes sum of |an| converges. Absolute convergence is the stronger, better-behaved kind, and it guarantees ordinary convergence. If a series converges but the absolute-value version diverges, it is conditionally convergent. The alternating harmonic series is the star example: sum of (-1)n/n converges, but sum of 1/n diverges, so it converges conditionally. This distinction matters because you can safely rearrange an absolutely convergent series, but rearranging a conditionally convergent one can actually change its sum.
That last sentence deserves more than a mention, because it is one of the genuinely startling facts in mathematics. Riemann's rearrangement theorem says that a conditionally convergent series can be reordered to converge to any real number you choose, or to diverge to plus or minus infinity. Nothing is added or removed; only the order changes.
Here is why it is possible. In the alternating harmonic series the positive terms alone, 1 + 1/3 + 1/5 + ..., sum to infinity, and the negative terms alone, -1/2 - 1/4 - ..., sum to minus infinity. So you can pile up positive terms until you pass any target, then add negative terms until you fall below it, then more positives, and so on. Since all the terms shrink to 0, the overshoots shrink too, and the running total closes in on whatever target you named.
A concrete case: take the alternating harmonic series and rearrange it as 1 + 1/3 - 1/2 + 1/5 + 1/7 - 1/4 + ..., two positive terms for every negative one. This rearrangement converges to (3/2)ln(2) ~= 1.0397, not to ln(2) ~= 0.6931. Same terms, same signs, different order, fifty percent larger sum.
For an absolutely convergent series none of this can happen: every rearrangement converges to the same value. That is the practical reason absolute convergence is the property worth wanting, and it is why the next lesson's power series manipulations - differentiating and integrating term by term - are stated inside the interval where convergence is absolute.
Key idea: absolute convergence means the series behaves like a finite sum under reordering; conditional convergence means the order is part of the answer.
An inconclusive test is not a divergent series
The alternating-series conditions are sufficient, not necessary. Consider magnitudes b2k-1 = 1/k2 and b2k = 2/k2. They increase within every pair, so eventual nonincrease fails. Nevertheless, sum bn = 3 sum 1/k2 converges, and any alternating assignment of those magnitudes converges absolutely.
If a ratio or root limit does not exist, the simple limit version stated here gives no conclusion. The root test can also be formulated using a limit superior, which is beyond the version needed here. A failed test is a reason to choose another argument, not a reason to declare divergence.
For the two-positive, one-negative rearrangement above, after N complete blocks the partial sum is H4N - (1/2)H2N - (1/2)HN. Rewriting this as (H4N - H2N) + (1/2)(H2N - HN) shows its limit is ln 2 + (1/2)ln 2 = (3/2)ln 2. Each harmonic difference tends to integral from 1 to 2 of 1/x dx by a Riemann-sum argument. The one or two additional terms in an incomplete block tend to zero, so the full rearranged series has that limit.

Common misconceptions
- Checking only one condition of the alternating series test. The terms must be decreasing and go to 0. People routinely verify the limit and skip the decreasing check, which is exactly what makes the nested-interval argument work.
- Concluding divergence from L = 1. It is inconclusive, full stop.
sum 1/nandsum 1/n2both give L = 1 and behave oppositely. Switch to the integral test or a comparison. - Using the ratio test on p-series. It is always inconclusive there, because polynomial terms give a ratio limit of exactly 1. Recognise a p-series and use the p-rule instead.
- Forgetting the absolute values in the ratio test. The test uses
|an+1/an|, which is why it detects absolute convergence and works on alternating series without modification. - Applying the alternating error bound to a series that fails the test. The bound
|S - SN| <= bN+1depends on the nesting, which depends on both hypotheses. If the terms are not decreasing, the bound is not available. - Confusing absolute with conditional. Absolute means the all-positive version also converges; conditional means only the signed version does. The alternating harmonic series is the standard conditional example, and the alternating
1/n2series is absolute. - Assuming a convergent series can be reordered. Only absolutely convergent ones. Riemann's theorem says a conditionally convergent series can be rearranged to hit any target you name.
- Reaching for the root test when nothing is raised to the nth power. Its advantage is cancelling an outer exponent. Without one, the ratio test is usually easier.
Recap
- Alternating series test:
sum of (-1)n bnconverges ifbnis eventually decreasing and tends to 0. The proof nests the odd and even partial sums. - Error bound, free with the test:
|S - SN| <= bN+1, the first omitted term. For the alternating harmonic series, N = 2000 guarantees absolute error less than 0.0005. - Ratio test: with
L = lim |an+1/an|,L < 1converges absolutely,L > 1diverges,L = 1is inconclusive. Best for factorials and exponentials;sum n!/nngivesL = 1/eand converges. - Root test: with
L = lim |an|1/n, same three conclusions. Best when the whole term carries an nth power;sum (n/(2n+1))ngivesL = 1/2and converges. - Absolute convergence (the sizes converge) implies convergence and allows safe rearrangement.
- Conditional convergence means the signed series converges but the all-positive version diverges. Riemann's rearrangement theorem shows such a series can be reordered to reach any value; regrouping the alternating harmonic series two-positives-to-one-negative gives
(3/2)ln 2instead ofln 2.
Retrieve, explain, and revisit
Close the notes and respond: State the alternating-series conditions and remainder bound. Explain why a ratio or root limit equal to one is inconclusive, and distinguish absolute from conditional convergence. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.5 Alternating Series. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.6 Ratio And Root Tests. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.3 The Divergence And Integral Tests. Read the section.
- Key terms
- Alternating series
- A series whose terms alternate sign, sum of (-1)^n b_n with b_n > 0.
- Alternating series test
- Converges if b_n decreases to 0.
- Ratio test
- If lim |a_(n+1)/a_n| < 1 the series converges, > 1 diverges, = 1 is inconclusive.
- Absolute convergence
- The series of absolute values converges; this implies ordinary convergence.
- Conditional convergence
- The series converges but the absolute-value series diverges.
Module 6: Power Series and Taylor Series
Construct power and Taylor series, test endpoints, prove error bounds, and use expansions for integrals, products, and limits.
Power Series and Radius of Convergence
- Define a power series centered at a point.
- Find the radius and interval of convergence using the ratio test.
- Recognize a power series as a function on its interval.
A finite polynomial can be evaluated with finitely many additions and multiplications. A power series has infinitely many terms, so it first needs a convergence argument. Even when a power series represents a function, computation uses a finite partial sum and an estimate of the omitted tail. This lesson determines the inputs where the series converges.
The big picture
A power series is a series whose terms are constants times powers of (x - c). Centered at c, it looks like:
sum from n=0 to infinity of an (x - c)n = a0 + a1(x - c) + a2(x - c)2 + ...
The number c is the center and the an are the coefficients. For each fixed value of x, this is just a series of numbers that either converges or diverges. So a power series quietly defines a function, whose domain is the set of x-values where it converges.
Key idea: a power series is an infinite polynomial in (x - c); plug in a number for x and it becomes an ordinary series that may converge or diverge.
Radius and interval of convergence
A real power series converges absolutely for |x - c| < R and diverges for |x - c| > R. Its interior convergence interval is symmetric about c, but inclusion of the endpoints may be asymmetric.[1] The radius of convergence R is the distance from c to either boundary of this open interval when 0 < R < infinity: the series converges for |x - c| < R and diverges for |x - c| > R. The two endpoints must be tested separately, because either one might converge or diverge. The ratio test often finds R. The root test is also useful, especially when some coefficients vanish or a ratio limit does not exist. At x = c, evaluate directly instead of forming a ratio of zero terms.
Worked example, an infinite radius. Find where sum from n=0 to infinity of xn/n! converges (this one is centered at 0).
- Form the ratio of consecutive terms:
|an+1/an| = |xn+1/(n+1)! * n!/xn| = |x|/(n + 1). - Take the limit:
lim(n -> infinity) |x|/(n + 1) = 0for every fixed x. - Since the limit 0 is less than 1 no matter what x is, the series converges for all real x. So
R = infinity.
This particular series turns out to equal ex everywhere, which the next lesson explains.
Worked example, a finite radius
Find the radius of convergence of sum from n=0 to infinity of xn.
- Recognize it: this is geometric with ratio x, so it converges exactly when
|x| < 1. - Therefore
R = 1, and on that interval the sum is1/(1 - x).
So 1/(1 - x) = 1 + x + x2 + x3 + ... for |x| < 1, our first everyday function written as a power series. Check it at x = 0.5: the left side is 1/0.5 = 2, and the right side is 1 + 0.5 + 0.25 + 0.125 + ... = 2, the geometric series from Lesson 14. They agree.
There is a third possibility besides R = infinity and a finite R. Consider sum of n! xn. The ratio is |(n+1)! xn+1/(n! xn)| = (n + 1)|x|, which tends to infinity for every nonzero x. So the series converges only at x = 0, and R = 0. Those are all the cases: R is 0, a positive number, or infinity.
Finding a full interval of convergence, endpoints included
The radius is only half the job. Here is the complete procedure on sum from n=1 to infinity of (x - 2)n/(n * 3n).
- Form the ratio.
|an+1/an| = |(x-2)n+1/((n+1)3n+1)| * |(n)(3n)/(x-2)n|. The powers of(x-2)leave one factor, the powers of 3 leave1/3, and the n's leaven/(n+1): the ratio is(|x - 2|/3) * n/(n+1). - Take the limit.
n/(n+1) -> 1, soL = |x - 2|/3. - Impose L < 1. That gives
|x - 2| < 3, soR = 3. The centre is 2, so the open interval runs from2 - 3 = -1to2 + 3 = 5. - Test the right endpoint, x = 5. Then
x - 2 = 3, and the term becomes3n/(n * 3n) = 1/n. That is the harmonic series, which diverges. So 5 is excluded. - Test the left endpoint, x = -1. Then
x - 2 = -3, and the term becomes(-3)n/(n * 3n) = (-1)n/n. That is the alternating harmonic series, which converges by the alternating series test. So -1 is included. - State the interval: the series converges exactly on
[-1, 5).
Look at what happened at the two ends. Same series, same radius, and opposite verdicts - one endpoint in, one out. That is why the ratio test alone never finishes the problem: it is silent precisely when L = 1, which is exactly what happens at both endpoints.
A second interval, with both endpoints in. Take sum from n=1 to infinity of (x + 1)n/n2.
- Ratio:
|x + 1| * n2/(n+1)2 -> |x + 1|. SoR = 1, centred atc = -1, giving the open interval from -2 to 0. - At
x = 0: the term is1/n2, a convergent p-series with p = 2. Converges. - At
x = -2: the term is(-1)n/n2, which converges absolutely sincesum 1/n2converges. Converges. - Interval of convergence: the closed interval
[-2, 0].
Key idea: the ratio test gives you R; only a separate test at each endpoint gives you the interval, and the two ends genuinely can disagree.

Building new series from old ones
For a power series with R > 0, term-by-term differentiation and integration preserve the radius R. They may change convergence at the endpoints. Addition is valid on the common domain of convergence, but cancellation can enlarge the resulting radius. Substitution changes the convergence condition. These operations do not all preserve the original interval.[2]
Differentiate. From 1/(1 - x) = sum from n = 0 to infinity of xn for |x| < 1, obtain 1/(1 - x)2 = sum from n = 1 to infinity of n xn-1 on the same open interval. At x = 1/2, the first eight terms total 3.921875; the full sum is 4.
Integrate with an anchor. Integrate from 0 to x, staying inside (-1, 1). The left side is -ln(1 - x), and the right side is sum from n = 1 to infinity of xn/n. The constant is zero because both sides vanish at x = 0. At x = 1/2, the first five terms total about 0.688542, and the full sum is ln 2, about 0.693147. A displayed ellipsis is not a finite computation.
Substitute, then integrate. Replacing x by -x2 in the geometric identity gives 1/(1 + x2) = sum from n = 0 to infinity of (-1)nx2n for |x| < 1. Integrating from 0 to x gives arctan(x) = x - x3/3 + x5/5 - ... on that interval. If instead you replace x by 2x in the original geometric series, convergence requires |2x| < 1, so the new radius is 1/2.
Endpoints need a separate justification of both convergence and equality to the function. For arctan at x = 1, use the finite geometric identity before integrating: 1/(1 + t2) = sum from k = 0 to N of (-1)kt2k + (-1)N+1t2N+2/(1 + t2). The integral of the remainder from 0 to 1 has absolute value at most 1/(2N + 3), which tends to zero. Therefore arctan(1) = pi/4 equals the alternating odd-reciprocal series. This finite remainder argument establishes endpoint equality without assuming term-by-term integration is automatically valid there.
The same idea proves ln 2 = 1 - 1/2 + 1/3 - ... by integrating the finite expansion of 1/(1 + t) over [0, 1]. The remainder has absolute integral at most 1/(N + 2). Thus the identity for -ln(1 - x) extends to x = -1 with value -ln 2, although its original geometric-series derivation was on the open interval.
Remember: preserve the domain at every operation, and justify endpoints after the operation rather than by analogy.

Common misconceptions
- Confusing radius with interval. The radius R is a single number, the reach from the centre. The interval of convergence is the actual set of x-values, obtained by taking that reach and then testing both endpoints. "R = 3" is not an answer to "find the interval of convergence."
- Skipping the endpoint checks. This is the standard oversight, and the two ends genuinely can disagree -
sum (x-2)n/(n 3n)converges atx = -1and diverges atx = 5. - Trying to use the ratio test at an endpoint. At an endpoint
L = 1exactly, so the ratio test is silent by construction. Substitute the endpoint value and treat the result as an ordinary numerical series. - Forgetting the centre when writing the interval. With
|x - 2| < 3the interval is from -1 to 5, not from -3 to 3. Solve the inequality rather than reading R off as if the centre were 0. - Assuming the radius is always positive.
sum n! xnhasR = 0and converges only at its centre;sum xn/n!hasR = infinity. Both are legitimate answers. - Believing endpoint behaviour survives differentiation. Term-by-term differentiation and integration preserve R but can change what happens at the endpoints. Recheck them after any such operation.
- Treating a power series as a formal object with no domain. Outside its interval the sum simply does not exist. Writing
1/(1 - x) = 1 + x + x2 + ...atx = 2would give-1 = 1 + 2 + 4 + ..., which is nonsense.
Recap
- A power series is
sum of an(x - c)n, an infinite polynomial centred at c, and it defines a function on the set of x where it converges. - It converges for
|x - c| < Rand diverges for|x - c| > R. R can be 0, a positive number, or infinity. - Find R with the ratio test, then test each endpoint separately as an ordinary numerical series.
sum (x-2)n/(n 3n)hasR = 3and interval[-1, 5);sum (x+1)n/n2hasR = 1and interval[-2, 0]. - Term-by-term differentiation and integration preserve R when R > 0. Substitution changes the inequality defining convergence, and cancellation in a sum can enlarge the radius.
- From
1/(1-x) = sum xnalone we obtained1/(1-x)2 = sum n xn-1,-ln(1-x) = sum xn/n, andarctan(x) = x - x3/3 + x5/5 - ..., whose value at x = 1 givespi/4.
Retrieve, explain, and revisit
Close the notes and respond: Find a radius, test the two endpoints independently, and check the center directly. Explain why substitution can change the radius while termwise differentiation preserves it. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 6.1 Power Series And Functions. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 6.2 Properties Of Power Series. Read the section.
- Key terms
- Power series
- An infinite polynomial sum of a_n (x - c)^n.
- Center
- The point c around which a power series is expanded.
- Radius of convergence
- R, the distance from the center within which the series converges.
- Interval of convergence
- The set of x where the series converges, found by adding endpoint checks to the radius.
- Term-by-term operations
- Inside R, a power series may be differentiated and integrated term by term.
Taylor and Maclaurin Series
- Construct the Taylor series of a function about a point.
- Write the Maclaurin series for common functions.
- Use Taylor polynomials to approximate values.
Two terms, 1 - x2/2, give 0.995 at x = 0.1, close to cos(0.1). The useful question is how close, and what justifies using a polynomial at all. Taylor polynomials match derivatives at a chosen center. A Taylor series represents the original function only where its remainder tends to zero.
The big picture
The Taylor series of f centered at c is:
sum from n=0 to infinity of [f(n)(c)/n!] (x - c)n
Here f(n)(c) means the nth derivative of f, evaluated at c. Written out, that is f(c) + f'(c)(x - c) + [f''(c)/2!](x - c)2 + [f'''(c)/3!](x - c)3 + .... When the center is c = 0, the expansion has its own name, a Maclaurin series, which is the most common case.
Key idea: the derivatives determine the Taylor coefficients. Equality between the series and f requires a separate remainder argument.[1]
Worked example, building e to the x
Find the Maclaurin series of f(x) = ex.
- Differentiate repeatedly. Every derivative of ex is again ex.
- Evaluate each at 0. Since e0 = 1, every derivative gives
f(n)(0) = 1. - Plug into the formula:
sum of [1/n!] xn = 1 + x + x2/2! + x3/3! + ...
So ex = sum from n=0 to infinity of xn/n!, matching the series from last lesson. It converges for all real x by the ratio test, and its remainder tends to zero for each fixed x, as shown below.
Where the formula comes from
The 1/n! is not a convention to memorise; it is forced. Suppose f can be written as a power series about c, f(x) = a0 + a1(x - c) + a2(x - c)2 + a3(x - c)3 + ..., and hunt for the coefficients.
- Set
x = c. Every term with a factor(x - c)dies, leavingf(c) = a0. - Differentiate once:
f'(x) = a1 + 2a2(x - c) + 3a3(x - c)2 + .... Setx = cagain:f'(c) = a1. - Differentiate twice:
f''(x) = 2a2 + 6a3(x - c) + .... Settingx = cgivesf''(c) = 2a2, soa2 = f''(c)/2. - In general, differentiating
an(x - c)nexactly n times producesn * (n-1) * ... * 1 * an = n! an, and every other term either has died or still carries a factor of(x - c). Sof(n)(c) = n! an, givingan = f(n)(c)/n!.
The factorial is simply what falls out of differentiating a power n times. And notice the logic: if a power series representation exists, its coefficients must be these. Whether the resulting series actually converges back to f is a separate question, settled by the remainder below.
Deriving the sine series from scratch
Do it the long way once, computing every derivative, so the pattern is earned rather than quoted. Take f(x) = sin(x) and c = 0.
f(x) = sin(x), sof(0) = 0.f'(x) = cos(x), sof'(0) = 1.f''(x) = -sin(x), sof''(0) = 0.f'''(x) = -cos(x), sof'''(0) = -1.f(4)(x) = sin(x), sof(4)(0) = 0- and we are back where we started. The derivatives cycle with period 4, and the values at 0 cycle as0, 1, 0, -1.
Now assemble, term by term, dividing each derivative value by n!:
0 + (1)x + (0)x2/2! + (-1)x3/3! + (0)x4/4! + (1)x5/5! + ... = x - x3/3! + x5/5! - x7/7! + ...
Every even power vanished because the even derivatives of sine at 0 are all 0, which is the analytic reflection of sine being an odd function. Check the first two terms against a calculator at x = 0.2: 0.2 - 0.008/6 = 0.198667, and sin(0.2) = 0.198669. Two terms, five correct digits.
The three Maclaurin series worth memorizing
These come up again and again across mathematics and physics.
| Function | Maclaurin series |
| ex | 1 + x + x2/2! + x3/3! + ... |
| sin(x) | x - x3/3! + x5/5! - x7/7! + ... |
| cos(x) | 1 - x2/2! + x4/4! - x6/6! + ... |
Notice sine keeps only odd powers and cosine only even powers, matching the symmetry of each function. All three converge for every real x.
Finding the interval of convergence
"Converges for every real x" is a claim, and the ratio test proves it. For the sine series the terms are (-1)nx2n+1/(2n+1)!, so
|an+1/an| = |x2n+3/(2n+3)!| * |(2n+1)!/x2n+1| = x2/[(2n+2)(2n+3)]
For any fixed x the numerator is a constant while the denominator grows without bound, so the limit is 0, which is less than 1 for every x. Hence R = infinity and the interval of convergence is all real numbers. The same argument works for ex and cos(x): for these fixed-x series the computed ratio limits are zero. Convergence of the series still needs to be distinguished from equality to its proposed function.
A series with a finite interval. Derive the Maclaurin series of f(x) = ln(1 + x) and find exactly where it is valid.
- Compute derivatives at 0:
f(0) = ln(1) = 0;f'(x) = 1/(1+x)sof'(0) = 1;f''(x) = -1/(1+x)2sof''(0) = -1;f'''(x) = 2/(1+x)3sof'''(0) = 2;f(4)(x) = -6/(1+x)4sof(4)(0) = -6. - Divide by the factorials:
1/1! = 1,-1/2! = -1/2,2/3! = 1/3,-6/4! = -1/4. - So
ln(1 + x) = x - x2/2 + x3/3 - x4/4 + ..., matching what term-by-term integration gave last lesson. - Ratio test:
|xn+1/(n+1)| * |n/xn| = |x| * n/(n+1) -> |x|. SoR = 1and the open interval is(-1, 1). - Endpoint
x = 1: the series is1 - 1/2 + 1/3 - ..., the alternating harmonic series, which converges to ln 2; the finite geometric-remainder argument in the power-series lesson proves this endpoint equality. - Endpoint
x = -1: the series is-1 - 1/2 - 1/3 - ..., minus the harmonic series, which diverges - as it must, sinceln(0)is undefined. - Interval of convergence:
(-1, 1].
The two endpoints behaving differently is not an accident here; it is the function telling you where it breaks. Do not infer R just from visible real-domain problems. The function 1/(1 + x2) is smooth for every real x, yet its Maclaurin series has R = 1. Complex singularities explain that example in complex analysis; here the ratio or root test supplies the radius.
Taylor series about a point other than 0
Expanding ln(x) about c = 0 is impossible, since ln(0) does not exist. Centre it at c = 1 instead.
f(1) = ln(1) = 0;f'(x) = 1/xsof'(1) = 1;f''(x) = -1/x2sof''(1) = -1;f'''(x) = 2/x3sof'''(1) = 2;f(4)(x) = -6/x4sof(4)(1) = -6.- Assemble in powers of
(x - 1):ln(x) = (x - 1) - (x - 1)2/2 + (x - 1)3/3 - (x - 1)4/4 + ... - The interval follows from the previous result with
u = x - 1: valid for0 < x <= 2.
Test it at x = 1.5 with four terms: 0.5 - 0.125 + 0.041667 - 0.015625 = 0.401042, against ln(1.5) = 0.405465. Close, and the next term +0.55/5 = 0.00625 would bring it to 0.407292, straddling the answer as an alternating series should.
Key idea: choose the centre where you know the derivatives and near where you want to evaluate; accuracy is best close to c and degrades as you move away.
Taylor polynomials as approximations
Chop the series off after a few terms and you get a Taylor polynomial that approximates f near the center. If the remainder tends to zero at the chosen x, the sequence of Taylor polynomials approaches f(x). Error need not decrease at every single degree.
Worked example. Approximate cos(0.1) with two terms, using cos(x) ~= 1 - x2/2.
- Substitute x = 0.1:
1 - (0.1)2/2. - Square:
(0.1)2 = 0.01. - Divide and subtract:
1 - 0.01/2 = 1 - 0.005 = 0.995.
The true value is 0.995004..., so just two terms already give four correct digits. This demonstrates polynomial approximation. Actual numerical libraries may use argument reduction, specially optimized polynomials, rational approximations, tables, or other algorithms; this lesson does not claim a particular calculator implementation.

How wrong can a Taylor polynomial be? The remainder bound
"Close enough" is not a mathematical statement. Write Pn(x) for the Taylor polynomial of degree n and Rn(x) = f(x) - Pn(x) for the error. If f has continuous derivatives through order n + 1 on the interval between c and x, Taylor's theorem in Lagrange's form says[1] there is some z between c and x with
Rn(x) = [f(n+1)(z)/(n+1)!] * (x - c)n+1
You never know z, but you do not need to. Bound |f(n+1)| by some number M on the interval between c and x, and the error obeys
|Rn(x)| <= M|x - c|n+1/(n+1)!
Read the shape of that bound. It is the size of the first omitted term with the unknown derivative replaced by its worst case. For fixed M and fixed x - c it tends to zero as n grows. In a general function, however, the bound M for the (n + 1)st derivative may itself grow with n, and it grows as x moves away from c, because of the power.
Numerical demonstration one: approximating e0.5.
- Use the cubic Maclaurin polynomial
P3(x) = 1 + x + x2/2 + x3/6. - Evaluate at 0.5:
1 + 0.5 + 0.125 + 0.0208333 = 1.6458333. - Bound the error before checking. Here
f(4)(z) = ez, and on [0, 0.5] it is below 2. One justification without first evaluating e0.5 is ln 2 = integral from 1 to 2 of 1/t dt > 1/2, hence e0.5 < 2. Take M = 2. - Apply the bound:
|R3| <= 2 * (0.5)4/4! = 1/192 = 0.00520834(rounded upward). - Now compare with reality:
e0.5 = 1.6487213, so the actual error is0.0028880. That is indeed less than the proved bound 1/192.
The bound is conservative and is about 1.8 times the actual error. Note the order of operations: the bound was computed before looking up the true value, which is the whole point. In a real computation there is no true value to look up.
Numerical demonstration two: how tight it can get. Return to cos(0.1) ~= 0.995. Since the x3 coefficient of cosine is 0, that estimate is also P3, so use n = 3. The fourth derivative of cosine is cos(z), and |cos(z)| <= 1 always, so M = 1:
|R3(0.1)| <= 1 * (0.1)4/4! = 0.0001/24 = 0.0000041667
The true value is cos(0.1) = 0.9950041653, so the actual error is 0.0000041653. The bound is 0.0000041667. They agree to four significant figures - the estimate is essentially exact.
Using the bound in reverse. The practical question is not "how wrong am I?" but "how many terms do I need?" Suppose you want e1 = e with absolute error below 0.0000005. On [0, 1] we have ez <= e < 3, so take M = 3 and solve
3 * 1n+1/(n+1)! < 0.0000005, that is (n+1)! > 6000000
Since 10! = 3628800 is too small and 11! = 39916800 is comfortably large, take n + 1 = 11, so a degree-10 polynomial suffices. Eleven terms for an absolute-error bound below 0.0000005, decided in advance with no trial and error. That is what a remainder bound is for.
Key idea: a Taylor approximation without an error bound is a guess; the Lagrange remainder converts it into a guarantee.
When infinitely many derivatives still do not reconstruct a function
Define f(0) = 0 and f(x) = e-1/x2 for x not equal to zero. This function has derivatives of every order at zero, and all those derivatives are zero. To see why this is plausible, every derivative away from zero is an exponential times a polynomial in 1/x; the exponential tends to zero faster than any such polynomial grows. Repeated limit arguments establish the derivatives at zero.
Its Maclaurin series is therefore the zero series, converging everywhere. But f(x) is positive for every nonzero x. Smoothness alone does not guarantee representation by a Taylor series. A function equal to its Taylor series on a neighborhood is called analytic there.
For sine and cosine, every derivative is bounded in magnitude by 1. Their remainder bounds |x|n+1/(n + 1)! tend to zero for each fixed x, proving equality to their Maclaurin series. For ex, a bound e|x| works on the interval between zero and that fixed x, independently of n, and gives the same conclusion. Those are the missing equality arguments that a ratio test alone cannot provide.
A tolerance such as 5 times 10-7 is an absolute-error target. Correct decimal rounding is a separate issue: to certify a rounded digit, ensure the entire error interval lies within the same rounding bin. Also include the error caused by rounding the polynomial calculation itself.
For the flat-function example, each derivative away from zero has the form P(1/x)e^(-1/x^2), where P is a polynomial. Differentiating preserves this form. Every power |1/x|^m times e^(-1/x^2) tends to zero as x tends to zero, because exponential decay dominates a fixed power. Induction using the derivative definition at zero therefore gives every derivative there equal to zero. This verifies the counterexample rather than inferring analyticity from smoothness.

Common misconceptions
- Dropping the 1/n!. Write the factorial in before the derivative value, as a fixed habit. It is the single most common omission, and it wrecks every term past the first two.
- Evaluating at c before differentiating.
f(n)(c)means differentiate n times and then substitute c. Substituting first turns f into a constant whose derivatives are all zero. - Thinking Taylor and Maclaurin are different recipes. A Maclaurin series is a Taylor series with
c = 0. There is one formula. - Expanding about a point where the function is undefined.
ln(x)has no Maclaurin series becauseln(0)does not exist; centre it at 1 instead. Check that f and all its derivatives exist at c before starting. - Assuming the series converges everywhere. Only some do.
ln(1+x)converges on(-1, 1]and nowhere else, and using it atx = 2produces a divergent series, not a bad approximation. - Quoting an approximation with no error estimate. "About 1.6458" means nothing on its own. The Lagrange bound turns it into "1.6458333, with truncation error at most 1/192, plus any rounding error."
- Choosing M badly. M must bound
|f(n+1)|over the whole interval between c and x, not just at one point. Picking too small an M yields a bound that is simply false. - Expecting accuracy far from the centre. The bound carries
|x - c|n+1, so error grows quickly with distance. Approximatinge5with a cubic centred at 0 is hopeless; centre it near 5, or usee5 = (e1)5.
Recap
- Taylor coefficients are f(n)(c)/n!. The resulting series equals f(x) only where the remainder tends to zero. The factorial is forced, because differentiating
(x-c)nn times producesn!. - A Maclaurin series is the special case centred at
c = 0. - Memorise
ex,sin(x), andcos(x); sine has only odd powers, cosine only even, and all three converge for every real x because the factorial drives the ratio to 0. - Building a series from scratch means computing derivatives at c until the pattern is clear: sine's cycle at 0 is
0, 1, 0, -1, which producesx - x3/3! + x5/5! - .... - Not every series converges everywhere.
ln(1 + x) = x - x2/2 + x3/3 - ...hasR = 1, converges atx = 1toln 2, diverges atx = -1, so its interval is(-1, 1]. - Truncating gives a Taylor polynomial. The Lagrange remainder bounds its error by
M|x - c|n+1/(n+1)!: fore0.5with a cubic the bound is 1/192, about 0.00521, against an actual error of about 0.00289, and forcos(0.1)the bound 0.00000417 matches the true error to four figures. - Run the bound backwards to choose the number of terms in advance: a degree-10 polynomial suffices for absolute error below 0.0000005 when approximating e with M = 3.
Retrieve, explain, and revisit
Close the notes and respond: Reconstruct Taylor coefficients from derivatives. State a remainder condition that establishes equality with the function, and explain why smoothness alone is insufficient. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 6.3 Taylor And Maclaurin Series. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 6.4 Working With Taylor Series. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 6.2 Properties Of Power Series. Read the section.
- Key terms
- Taylor series
- The series with coefficients f^(n)(c)/n!, which represents f where the Taylor remainder tends to zero.
- Maclaurin series
- A Taylor series centered at c = 0.
- Taylor polynomial
- A finite truncation of a Taylor series that approximates the function near the center.
- nth derivative
- f^(n)(c), the result of differentiating f n times and evaluating at c.
- Factorial coefficient
- The 1/n! that scales each Taylor term.
Applications of Taylor and Binomial Series
- Build new series by substitution, multiplication, and integration within justified intervals.
- Use generalized binomial coefficients for fractional and negative powers.
- Bound approximation error and evaluate limits using the first nonzero term.
An integral without an elementary antiderivative
The function e-x^2 is smooth and positive, but its antiderivative cannot be expressed by a finite combination of elementary functions. A definite integral such as integral from 0 to 1/2 of e-x^2 dx can still be approximated and bounded. One approach is numerical quadrature. Another is to expand the function into powers of x and integrate those powers.[1]
This lesson connects series with calculation. We will approximate a square root, estimate that integral, and resolve a limit in which the leading terms cancel. Each example has two parts: construct the polynomial, then control what was omitted. A polynomial alone is an approximation proposal; its remainder tells us how much trust to place in the answer.
Build from a small set of justified series
For every real x, ex = sum from n = 0 to infinity of xn/n!, sin x = sum from n = 0 to infinity of (-1)nx2n+1/(2n + 1)!, and cos x = sum from n = 0 to infinity of (-1)nx2n/(2n)!. The factorial remainders tend to zero on each bounded interval, justifying equality with these functions.[2]
The geometric series 1/(1 - u) = sum from n = 0 to infinity of un requires |u| < 1. Substitution must preserve that condition. For 1/(1 + x2), set u = -x2. The resulting series 1 - x2 + x4 - ... converges for |x| < 1, not for every real x just because the original function has no real singularity.
For 1/(1 - 2x), substituting u = 2x gives sum (2x)n, so |x| < 1/2. For e-x^2, substitute -x2 into the exponential series to obtain sum (-1)nx2n/n!. This series converges for every real x because the exponential series accepts every real input.
Write the first few terms before using a general formula. Here e-x^2 = 1 - x2 + x4/2 - x6/6 + x8/24 - ... . The denominator is n!, not (2n)!. Substitution changes the power of x; it does not replace the original coefficient's factorial.
The generalized binomial series
For a real exponent alpha and |x| < 1, the binomial series is
(1 + x)^alpha = 1 + alpha x + alpha(alpha - 1)x^2/2! + alpha(alpha - 1)(alpha - 2)x^3/3! + ... .
The coefficient of xn is alpha(alpha - 1)...(alpha - n + 1)/n! for n >= 1, and the constant coefficient is 1. These coefficients come from successive derivatives at zero. The binomial series theorem establishes equality on |x| < 1; merely computing derivatives would not by itself prove equality.[1][2]
When alpha is a nonnegative integer, a factor eventually becomes zero and the expansion terminates. For alpha = 3, it gives 1 + 3x + 3x2 + x3, an exact polynomial for all real x. For a negative integer or a noninteger exponent, the series generally continues indefinitely, and the |x| < 1 condition applies before any separate endpoint analysis.
For alpha = 1/2, the first terms are 1 + x/2 - x2/8 + x3/16 - 5x4/128 + ... . For alpha = -1, they are 1 - x + x2 - x3 + ... , agreeing with the geometric series for 1/(1 + x). For alpha = -2, they are 1 - 2x + 3x2 - 4x3 + ... . These cross-checks help catch sign and factorial errors.
To expand sqrt(4 + x), first factor out the constant: sqrt(4 + x) = 2(1 + x/4)1/2. Substitute x/4 into the binomial series and multiply every term by 2. The beginning is 2 + x/4 - x2/64 + x3/512 + ... , valid initially for |x| < 4. The expansion variable and its allowed size must be stated together.
Approximate a square root with a proved bound
Use the quadratic binomial polynomial to approximate sqrt(1.04). Here x = 0.04, so P2 = 1 + 0.04/2 - (0.04)2/8 = 1.0198. To bound the error directly, let f(x) = sqrt(1 + x). Its third derivative is 3/[8(1 + x)5/2], which is positive and at most 3/8 on [0, 0.04].
Taylor's theorem gives R2 = f'''(c)(0.04)3/3! for some c in (0, 0.04). Hence 0 < R2 <= (3/8)(0.04)3/6 = 0.000004. We have therefore proved 1.0198 < sqrt(1.04) <= 1.019804. This interval is more informative than reporting a long decimal from a calculator without an error statement.
Notice what has been bounded: absolute error in the function value. Relative error divides that quantity by the true magnitude of the value. Correct rounding to a specified decimal place is another question; the entire error interval must lie in the same rounding interval. Do not replace an absolute-error claim with a stronger rounding claim without checking that condition.
![The square-root function and its quadratic polynomial almost coincide on [0,0.15], with the checked input 0.04 marked.](/assets/img/math-calc2-reviewed/binomial-square-root.png)
Integrate the Gaussian series term by term
A power series may be integrated term by term within its interval of convergence, and on closed subintervals inside that interval the usual justification uses uniform convergence. The exponential series after substitution has infinite radius, so [0, 1/2] lies safely inside. Integrating each term gives
integral from 0 to a of e^(-x^2) dx = a - a^3/3 + a^5/10 - a^7/42 + a^9/216 - ... .
The general term is (-1)na2n+1/[n!(2n + 1)]. For a = 1/2, keeping the first three terms yields 1/2 - 1/24 + 1/320 = 443/960, about 0.4614583333. The next term is negative with magnitude (1/2)7/42 = 1/5376, about 0.000186012.
The magnitudes decrease to zero: the ratio of the next magnitude to the current one is a2(2n + 1)/[(n + 1)(2n + 3)], which is less than 1 for a = 1/2. The alternating-series remainder bound therefore applies. If I denotes the integral, then 443/960 - 1/5376 <= I <= 443/960. The three-term estimate is an overestimate, and its absolute error is at most 1/5376.
Including the fourth term gives the lower estimate 443/960 - 1/5376, about 0.4612723214. Its next omitted term has magnitude 1/110592, about 0.00000904225. Thus the four-term approximation has error at most 1/110592. We did not need an elementary antiderivative to produce an auditable interval containing the answer.
Do not integrate a pointwise-convergent series over an arbitrary interval without justification. The power-series theorem supplies that justification here. Also check the error after integration; the omitted term in the integrand and the omitted term in the definite integral are different expressions.
![The polynomial1-x squared+x fourth/2 approximates e to the negative x squared on [0,0.5], above the exact curve.](/assets/img/math-calc2-reviewed/taylor-gaussian-integral.png)
Products require coefficient bookkeeping
Inside the common open interval where two power series converge absolutely, their product can be formed by collecting all pairs whose exponents add to the desired degree. If A(x) = sum anxn and B(x) = sum bnxn, the coefficient of xn in the product is sum from k = 0 to n of akbn-k.[3]
For excos x, multiply (1 + x + x2/2 + x3/6 + ...) by (1 - x2/2 + ...). The constant coefficient is 1 and the linear coefficient is 1. The quadratic coefficient is 1/2 - 1/2 = 0. The cubic coefficient is 1/6 - 1/2 = -1/3. Therefore the cubic Taylor polynomial is 1 + x - x3/3.
Multiplying two truncated polynomials can create terms of degrees higher than either truncation order. Those terms are not automatically the correct higher-order coefficients of the original product, because omitted terms can contribute at those degrees. Specify the requested order, include every contribution through that order, and discard claims beyond it unless you have computed the needed coefficients.
Limits follow the first surviving term
To evaluate limit as x approaches 0 of (sin x - x)/x3, use sin x = x - x3/6 + R, where |R| <= |x|5/120 near zero. The same cubic polynomial is also the fourth-degree Taylor polynomial because the x4 coefficient vanishes. Subtract x and divide by x3 for x not equal to zero:
(sin x - x)/x^3 = -1/6 + R/x^3, with |R/x^3| <= x^2/120.
The bound tends to zero, so the limit is -1/6. This is a proof of the limit, rather than an informal replacement of sin x by x. In fact that first-order replacement would erase exactly the cubic term that determines the answer.
Similarly, cos x = 1 - x2/2 + R with |R| <= |x|4/24. Therefore (1 - cos x)/x2 tends to 1/2. In each case, find how many leading terms cancel and keep enough terms to identify the first nonzero contribution. Then check that the divided remainder still tends to zero.
Decide whether the approximation fits the task
A local expansion is centered at a specific point. If the input is far from that point or near a convergence boundary, many terms may be needed. Rewriting the expression, choosing a better center, or using numerical integration can be more efficient. A small parameter such as x = 0.04 makes the square-root expansion useful; calling an unspecified quantity small is not an error analysis.
- State the function, center, and input interval.
- Check the series' convergence conditions after every substitution.
- Keep all terms through the required order, including cross terms in products.
- Choose a remainder theorem whose hypotheses hold on the whole interval used.
- Report an error bound or enclosing interval along with the numerical result.
- Use a separate computational method as a check, not as a replacement for the stated proof.
Series turn a difficult function into a sequence of polynomial calculations. The convergence and remainder arguments connect those calculations back to the original function. Both parts are essential when the requested answer has a specified accuracy.
Putting it together
Start with a series whose representation and interval have been justified. After substitution, multiplication, or integration, check the resulting domain and retain enough terms for the requested accuracy. A remainder bound supplies information that agreement on a graph or calculator cannot establish.
Key idea: State the approximation and a justified bound on its error together.
Common misconceptions
A convergent Taylor series need not represent its generating function without a remainder argument. A polynomial that looks close on a graph has no proved accuracy until its error is bounded. After cancellation in a quotient, a small numerator remainder must still be divided by the denominator. Correct decimal rounding requires the entire possible-value interval to stay on one side of a rounding boundary.
Retrieve, explain, and revisit
Close the notes and respond: Expand a fractional power, integrate a justified power series, and bound the omitted terms. Explain why a cancellation limit may require more than the leading term. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 6.4 Working With Taylor Series. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 6.3 Taylor And Maclaurin Series. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 6.2 Properties Of Power Series. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 5.5 Alternating Series. Read the section.
- Key terms
- Generalized binomial coefficient
- The coefficient alpha(alpha - 1)...(alpha - n + 1)/n!, with coefficient 1 when n = 0.
- Binomial series
- The power series for (1 + x)^alpha, valid for |x| < 1 and terminating for nonnegative integer alpha.
- Termwise integration
- Integrating each term of a power series, justified inside its convergence interval.
- Cauchy product
- A series product whose nth coefficient sums all pairs of coefficients with indices adding to n.
- Truncation error
- The difference between the full function or sum and a retained finite expression.
- Absolute error
- The absolute magnitude of the difference between an approximation and the true value.
Module 7: Parametric and Polar Calculus
Extend derivatives, tangents, area, and arc length to parametric curves and polar coordinates.
Parametric Equations and Their Calculus
- Describe a curve with parametric equations.
- Find the slope dy/dx of a parametric curve.
- Compute arc length for a parametric curve.
The circle x2 + y2 = 1 cannot be represented by one function y = f(x), but x = cos(t), y = sin(t) traces it as t varies. Parametric equations describe both coordinates through a shared parameter. The parameter can represent time, although it need not, and its interval determines the direction and number of traversals.
The big picture
Parametric equations give both coordinates as functions of a third variable, the parameter t (often time):
x = f(t), y = g(t)
As t runs over an interval, the point (x, y) sweeps out the curve. For example, x = cos(t), y = sin(t) for t in [0, 2 pi] traces the unit circle, since x2 + y2 = cos2 t + sin2 t = 1. Parametric form also records the direction and speed of travel, information a plain y = f(x) graph throws away.
Key idea: parametric equations trace a curve as a point moving in time, giving x and y each as a function of the parameter t.
Eliminating the parameter, and what gets lost
Sometimes you can remove t and recover a familiar equation. Take x = t + 1, y = t2. Solve the first for t, getting t = x - 1, and substitute: y = (x - 1)2. The path is a parabola with vertex at (1, 0).
But be careful about what elimination throws away. Two examples make the danger concrete.
x = cos(t),y = sin(t)fortin[0, pi]satisfiesx2 + y2 = 1, the full unit circle - but the actual path is only the upper half, traced right to left. The Cartesian equation describes a superset of the real curve.x = t2,y = t4givesy = x2, but sincet2is never negative, only the right half of the parabola,x >= 0, is traced.
So after eliminating the parameter, always check the range of x and y that the parametrisation actually produces, and note the direction of travel. That direction, called the orientation, is real information: x = cos(t), y = sin(t) and x = cos(-t), y = sin(-t) trace the same circle in opposite directions and are genuinely different parametrisations of the same set of points.
Slope of a parametric curve
You can find the slope dy/dx without eliminating t. By the chain rule, dy/dt = (dy/dx)(dx/dt), so solving for the slope gives:
dy/dx = (dy/dt)/(dx/dt), as long as dx/dt is not 0
Worked example. For x = t2, y = t3 - 3t, find the slope of the tangent at t = 2.
- Differentiate each coordinate:
dx/dt = 2tanddy/dt = 3t2 - 3. - Form the ratio:
dy/dx = (3t2 - 3)/(2t). - Plug in t = 2:
(3*4 - 3)/(2*2) = (12 - 3)/4 = 9/4.
The slope at that point is 9/4. With continuously differentiable coordinates, a horizontal tangent occurs when dy/dt = 0 and dx/dt is nonzero (here t = 1 or -1). A vertical tangent occurs when dx/dt = 0 and dy/dt is nonzero (here t = 0). If both derivatives vanish, these tests are inconclusive and the local curve must be analyzed.[2]
Notice something a Cartesian graph could never show: at t = 1 the point is (1, -2) and at t = -1 it is (1, 2). The curve passes through x = 1 twice, at different heights, so it is not a function of x at all - and the parametric machinery handled it without complaint.

The second derivative and concavity
To find concavity you need d2y/dx2, and the natural guess - divide the second derivatives - is wrong. The correct rule differentiates the slope with respect to t and then converts:
d2y/dx2 = [d/dt(dy/dx)]/(dx/dt)
The reasoning is the same chain-rule move as before, applied to the function dy/dx instead of to y.
Worked example. Continue with x = t2, y = t3 - 3t.
- We already have
dy/dx = (3t2 - 3)/(2t). Rewrite it for easy differentiation:(3/2)t - (3/2)t-1. - Differentiate with respect to t:
d/dt(dy/dx) = 3/2 + (3/2)t-2 = (3/2)(1 + 1/t2). - Divide by
dx/dt = 2t:d2y/dx2 = (3/2)(1 + 1/t2)/(2t) = 3(t2 + 1)/(4t3). - Read off the sign. The numerator
3(t2+1)is always positive, so the sign is the sign oft3. Att = 2the value is3(5)/32 = 15/32 > 0, so the curve is concave up there; att = -2it is-15/32 < 0, concave down.
Compare with the wrong approach: (d2y/dt2)/(d2x/dt2) = 6t/2 = 3t, which at t = 2 gives 6 rather than 15/32. Not a small discrepancy - a different number entirely.
Area under a parametric curve
For continuously differentiable coordinates, integral from a to b of y(t)x'(t) dt is an oriented integral. If x(t) moves from left to right, y(t) is nonnegative, and the graph segment is traced once, it equals the area under that segment. If orientation reverses, its sign reverses. If the curve doubles back, pieces may cancel or be counted repeatedly.[2]
For a simple closed curve traced once counterclockwise, enclosed area is -integral y(t)x'(t) dt; equivalently it is one half integral [x(t)y'(t) - y(t)x'(t)] dt. For the unit circle x = cos(t), y = sin(t), 0 <= t <= 2pi, integral y x' dt = -integral sin2(t) dt = -pi, so the enclosed area is pi. The sign records orientation, not a negative physical area.
For a graph that reverses direction, split into sections whose geometry you can identify. Replacing x' by |x'| counts area swept with multiplicity; it does not automatically give the area of a union when the same region is swept repeatedly. Sketch the actual path and its parameter interval before assigning an area interpretation.
Arc length in parametric form
For a < b and continuously differentiable coordinates, the arc length idea carries over directly. The integral measures distance along the parametrized path, including any repeated traversal.[2] A tiny step of the point has length the square root of (dx2 + dy2); factoring out dt gives the parametric arc length from t = a to t = b:
L = integral from a to b of the square root of ((dx/dt)2 + (dy/dt)2) dt
Worked example. Find the circumference of the unit circle x = cos(t), y = sin(t), t in [0, 2 pi].
- Differentiate:
dx/dt = -sin(t)anddy/dt = cos(t). - Add the squares:
sin2 t + cos2 t = 1, so the integrand isthe square root of 1 = 1. - Integrate:
L = integral from 0 to 2 pi of 1 dt = 2 pi.
The circumference is 2 pi, exactly matching the familiar 2 pi r with r = 1.
The cycloid: a natural parametric description
Mark a point on the rim of a wheel of radius r and roll the wheel along a straight line. The path the point traces is a cycloid, and it is described by
x = r(t - sin t), y = r(1 - cos t)
where t is the angle the wheel has turned. Assume the wheel rolls without slipping and r > 0. A Cartesian description is possible on suitable branches, but the parametric equations describe the rolling geometry directly. Take r = 1 and find the length of one arch, t from 0 to 2 pi.
- Differentiate:
dx/dt = 1 - cos(t)anddy/dt = sin(t). - Add the squares:
(1 - cos t)2 + sin2t = 1 - 2cos t + cos2t + sin2t = 2 - 2cos(t), usingcos2 + sin2 = 1. - Simplify with the half-angle identity
1 - cos(t) = 2sin2(t/2): the sum becomes4 sin2(t/2). - Take the root:
2|sin(t/2)|. On[0, 2pi]the half-anglet/2lies in[0, pi], where sine is not negative, so the bars come off and the integrand is2 sin(t/2). - Integrate:
L = integral from 0 to 2pi of 2 sin(t/2) dt = [-4 cos(t/2)] from 0 to 2pi = -4cos(pi) + 4cos(0) = 4 + 4 = 8.
One arch has length exactly 8, or 8r in general for a wheel of radius r. Sanity-check the size: the arch spans 2 pi ~= 6.28 horizontally and rises to height 2, so a path of length 8 is entirely plausible.
The area under one arch is just as clean. With y = 1 - cos(t) and dx = (1 - cos t) dt:
A = integral from 0 to 2pi of (1 - cos t)2 dt = integral from 0 to 2pi of (1 - 2cos t + cos2t) dt.- Replace
cos2twith(1 + cos 2t)/2, giving the integrand3/2 - 2cos(t) + cos(2t)/2. - Antidifferentiate:
3t/2 - 2sin(t) + sin(2t)/4. Both sine terms vanish at 0 and at2 pi. - So
A = 3(2pi)/2 = 3 pi, that is3 pi r2in general - exactly three times the area of the rolling wheel.

A physical application: projectile motion
Parametric equations are the natural language for motion. A projectile launched at speed v0 and angle theta, in a model with constant downward acceleration 9.8 m/s2, no air resistance, launch from (0, 0), and level landing surface, follows
x = (v0 cos theta) t, y = (v0 sin theta) t - 4.9 t2
with distances in metres and time in seconds. Take v0 = 20 and theta = 45 degrees, so cos theta = sin theta = 0.7071 and both leading coefficients are 14.142.
- Landing time: solve
y = 0, sot(14.142 - 4.9t) = 0, givingt = 0at launch andt = 14.142/4.9 = 2.886seconds at landing. - Range:
x(2.886) = 14.142 * 2.886 = 40.8metres. The standard physics formulav02sin(2 theta)/9.8 = 400/9.8 = 40.8agrees. - Peak height: the vertical velocity
dy/dt = 14.142 - 9.8tvanishes att = 1.443s, wherey = 14.142(1.443) - 4.9(1.443)2 = 20.41 - 10.20 = 10.2metres. Again the textbook formulav02sin2(theta)/(2 * 9.8) = 200/19.6 = 10.2agrees.
Landing time came from solving y(t) = 0, range from evaluating x(t), and peak time from setting y'(t) = 0 - and the trajectory's actual length would be a parametric arc-length integral, which no Cartesian setup makes any easier.
Key idea: the parameter is not a nuisance to be eliminated; for curves that loop, cross themselves, or describe motion, it is the whole point.
Zero velocity, repeated tracing, and surface area
For x = t3, y = t3, both derivatives vanish at t = 0, but the path is the line y = x and its tangent has slope 1. For x = t2, y = t3, the same zero-derivative test occurs at a cusp. A formal 0/0 ratio determines neither the tangent nor whether the curve is regular.
For x = cos(2t), y = sin(2t), 0 <= t <= 2pi, the speed is 2 and the length integral is 4pi. The image is the unit circle, but the path traverses it twice. Its geometric circumference is still 2pi. If t represents time, the length integral correctly counts the distance traveled.
When a smooth parametric curve is rotated about the x-axis, the swept lateral surface area is S = integral 2pi|y(t)|sqrt(x'(t)2 + y'(t)2) dt, provided the surface is covered once, apart from boundary coincidences. For x = t, y = 2, 0 <= t <= 3, this gives 12pi, the cylinder's lateral area. Caps require separate areas, as in the earlier surface-area lesson.[2]

Common misconceptions
- Inverting the slope formula. It is
dy/dton top anddx/dton the bottom, matching rise over run. Flipping it turns every slope into its reciprocal. Quick check: a horizontal tangent must give slope 0, which happens when the top vanishes. - Computing the second derivative as
(d2y/dt2)/(d2x/dt2). That is not a chain rule and is simply wrong. Differentiatedy/dxwith respect to t, then divide bydx/dt. On the worked example the two approaches give 15/32 and 6. - Forgetting to convert dx when integrating. Area is
integral y(t)(dx/dt) dtand arc length carries the whole Pythagorean factor. Leaving a bare dx next to a function of t is a type error. - Assuming elimination is lossless. The Cartesian equation typically describes more of the curve than the parametrisation traces, and it always discards the direction and speed of travel.
- Dropping absolute values inside a root.
the square root of (4sin2(t/2)) = 2|sin(t/2)|. It is only safe to drop the bars after checking the sign on the interval, and over two arches of the cycloid the sign really does change. - Reusing x-limits for a t-integral. Parametric integrals run over parameter values. For one arch of the cycloid the limits are 0 and
2 piin t, not 0 and2 piin x - though here they happen to coincide, which is a coincidence worth not relying on. - Missing that a point can be visited twice. The curve x = t2, y = t3 - 3t visits the same point (3, 0) at t = sqrt(3) and t = -sqrt(3). The slopes are sqrt(3) and -sqrt(3), respectively. Questions about "the tangent at a point" may need the parameter value, not just the coordinates.
Recap
- Parametric equations give
x = f(t)andy = g(t), tracing a curve as t varies, and they record direction and speed as well as position. - Eliminating the parameter can recover a Cartesian equation but usually describes more of the curve than is actually traced, and always loses the orientation.
- The slope is
dy/dx = (dy/dt)/(dx/dt), with dy/dt on top. Horizontal tangents satisfy y' = 0 and x' nonzero; vertical tangents satisfy x' = 0 and y' nonzero. If both vanish, investigate separately. - The second derivative is
d2y/dx2 = [d/dt(dy/dx)]/(dx/dt), never a ratio of second derivatives. - The oriented integral is integral y(t)x'(t) dt; its area interpretation requires checking orientation and repeated coverage; arc length is
integral the square root of ((dx/dt)2 + (dy/dt)2) dt. - One arch of the cycloid
x = r(t - sin t),y = r(1 - cos t)has length8rand encloses area3 pi r2. - Projectile motion is naturally parametric, with positions obtained by evaluation, landing times by solving the height equation, and peak times by differentiating height.
Retrieve, explain, and revisit
Close the notes and respond: Derive dy/dx and the second derivative from parameter derivatives. Distinguish a vertical tangent from a point where both derivatives vanish, and check repeated tracing. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 7.1 Parametric Equations. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 7.2 Calculus Of Parametric Curves. Read the section.
- Key terms
- Parametric equations
- A curve given by x = f(t) and y = g(t) with parameter t.
- Parameter
- The independent variable t that traces out the curve, often representing time.
- Parametric slope
- dy/dx = (dy/dt)/(dx/dt), the tangent slope without eliminating t.
- Horizontal tangent
- Occurs where dy/dt = 0 while dx/dt is nonzero.
- Parametric arc length
- L = integral of sqrt((dx/dt)^2 + (dy/dt)^2) dt.
Polar Coordinates and Polar Area
- Convert between polar and rectangular coordinates.
- Graph basic polar curves.
- Compute area enclosed by a polar curve.
Cartesian coordinates specify horizontal and vertical position. Polar coordinates specify an angle and a signed radial coordinate. Positive radius moves along the indicated ray; negative radius moves in the opposite direction. This representation simplifies many circular and radial problems, but it also allows several coordinate pairs to describe the same point.
The big picture
Polar coordinates write a point as (r, theta), where r is a signed radial coordinate and |r| is the distance from the origin (called the pole) and theta is the angle measured counterclockwise from the positive x-axis. Round shapes that are awkward in x and y often become simple in r and theta.
Key idea: a polar point (r, theta) uses a signed radial coordinate r and angle theta, which makes circles and spirals easy to describe.
Converting between the two systems
Basic right-triangle trigonometry links them:
- Polar to rectangular:
x = r cos(theta)andy = r sin(theta). - Rectangular to polar:
r2 = x2 + y2and, when x is nonzero, tan(theta) = y/x. For a nonzero point choose r = sqrt(x2 + y2) and the angle in the correct quadrant; atan2(y, x) implements that convention in many computing tools. At the pole the angle is arbitrary.
Worked example. Convert (r, theta) = (2, pi/3) to rectangular coordinates.
- Find x:
x = 2 cos(pi/3) = 2*(1/2) = 1. - Find y:
y = 2 sin(pi/3) = 2*(the square root of 3, over 2) = the square root of 3. - So the point is
(1, the square root of 3)in rectangular form.
Check it: 12 + (the square root of 3)2 = 1 + 3 = 4 = 22, so the point really is 2 units from the origin. Always verify the distance after converting.
Going the other way needs care with the quadrant. Convert (x, y) = (-1, 1). Then r = the square root of (1 + 1) = the square root of 2, and tan(theta) = 1/(-1) = -1. A calculator returns arctan(-1) = -pi/4, which points into the fourth quadrant - but (-1, 1) is in the second. The correct angle is 3pi/4. The arctangent cannot tell the second quadrant from the fourth, so always sketch the point and adjust by pi when x is negative.
Polar coordinates are not unique
This is the structural difference from rectangular coordinates, and it causes most polar confusion. Every point has infinitely many polar names:
- Add a full turn.
(2, pi/3),(2, pi/3 + 2pi), and(2, pi/3 - 2pi)are all the same point. - Use a negative radius. A negative r means "go the opposite way", so
(-2, pi/3 + pi) = (-2, 4pi/3)is also that same point. - The origin has no angle.
(0, theta)is the pole for every theta whatsoever.
The practical consequence appears when you look for intersections of polar curves. Setting two equations equal finds points where the curves are at the same place at the same angle, and it can miss crossings that occur at different theta values - including the pole when the curves reach r = 0 at different parameter angles. Sketch the curves before trusting an intersection computation.

A few polar curves
A polar curve is usually written r = f(theta). Some standard shapes, taking a > 0:
r = ais a circle of radius a centered at the origin, since the distance stays constant.r = 2a cos(theta)is a circle of diameter 2a passing through the origin.r = a(1 + cos theta)is a heart-shaped cardioid.r = a sin(n theta)is a rose with petals.
For a > 0 and positive integer n, the petal count on a rose has a useful rule, and it surprises people: r = a cos(n theta) or a sin(n theta) has n petals when n is odd and 2n petals when n is even. So r = cos(3 theta) has three petals while r = cos(2 theta) has four. The reason is the negative-radius business above: when n is odd, the second half of the sweep retraces petals already drawn, because (-r, theta + pi) is the same point as (r, theta).
Area in polar coordinates
Here the region is swept out by thin pie-slice sectors, not vertical rectangles - sectors often describe a region bounded by rays more directly than Cartesian strips. To measure one sector, use proportions: a full disk of radius r has area pi r2, and a sector of angle d(theta) is the fraction d(theta)/(2 pi) of the whole, so its area is
[d(theta)/(2 pi)] * pi r2 = (1/2) r2 d(theta)
That is where the unfamiliar one-half and the square come from: they are the sector formula, not a rectangle formula in disguise. Adding the sectors over the swept angle gives:
A = integral from alpha to beta of (1/2) [f(theta)]2 d(theta)
Worked example. Find the area enclosed by the circle r = 2 cos(theta), which is traced as theta runs from -pi/2 to pi/2.
- Set up:
A = integral from -pi/2 to pi/2 of (1/2)(2 cos theta)2 d(theta). - Simplify the integrand:
(1/2)(4 cos2 theta) = 2 cos2 theta. - Apply the half-angle identity
cos2 theta = (1 + cos 2theta)/2, giving1 + cos 2theta. - Integrate:
[theta + (1/2) sin 2theta] from -pi/2 to pi/2 = (pi/2 + 0) - (-pi/2 + 0) = pi.
The area is pi. As a check, r = 2 cos theta is a circle of radius 1, and a radius-1 circle has area pi r2 = pi. Note also what would have gone wrong with careless limits: integrating from 0 to 2 pi traces this circle twice and reports an area of 2 pi, double the truth.
![The circle r=2cos(theta) has center (1,0) and radius 1, traced once on [-pi/2,pi/2].](/assets/img/math-calc2-reviewed/polar-once-traced-circle.png)
Second worked area: the cardioid
Find the area enclosed by r = 1 + cos(theta). This heart shape is traced exactly once as theta runs from 0 to 2 pi, because r is positive except at theta = pi, and each other direction in a full turn has one positive radial boundary. Merely returning to the starting point would not, by itself, prove single coverage.
- Set up:
A = (1/2) integral from 0 to 2pi of (1 + cos theta)2 d(theta). - Expand the square:
(1 + cos theta)2 = 1 + 2cos(theta) + cos2(theta). - Lower the even power with
cos2(theta) = (1 + cos 2theta)/2. The integrand becomes1 + 2cos(theta) + 1/2 + cos(2theta)/2 = 3/2 + 2cos(theta) + cos(2theta)/2. - Antidifferentiate:
3theta/2 + 2sin(theta) + sin(2theta)/4. Verify by differentiating:3/2 + 2cos(theta) + cos(2theta)/2. Correct. - Evaluate from 0 to
2 pi. Both sine terms vanish at each end, leaving3(2pi)/2 = 3pi. - Multiply by the leading one-half:
A = (1/2)(3pi) = 3pi/2.
The area is 3 pi/2, and in general 3 pi a2/2 for r = a(1 + cos theta). Sanity-check the size: the cardioid fits inside a circle of radius 2, whose area is 4 pi ~= 12.6, and 3pi/2 ~= 4.7 is a comfortable fraction of that.
Third worked area: one petal of a rose
Find the area of a single petal of r = cos(2 theta). The hardest part is the limits, so get them first.
- A petal begins and ends where
r = 0. Solvecos(2 theta) = 0: that needs2theta = -pi/2or2theta = pi/2, sotheta = -pi/4andtheta = pi/4. Those bound one petal, the one straddling the positive x-axis. - Set up:
A = (1/2) integral from -pi/4 to pi/4 of cos2(2 theta) d(theta). - Half-angle again, with the angle now
2 theta:cos2(2theta) = (1 + cos 4theta)/2. The integral becomes(1/4) integral from -pi/4 to pi/4 of (1 + cos 4theta) d(theta). - Antidifferentiate:
(1/4)[theta + sin(4theta)/4]. Attheta = pi/4the sine term issin(pi)/4 = 0; at-pi/4it is also 0. - So
A = (1/4)[pi/4 - (-pi/4)] = (1/4)(pi/2) = pi/8.
One petal has area pi/8. Since n = 2 is even there are four petals, so the whole rose encloses 4 * pi/8 = pi/2. Getting these limits wrong is the classic polar-area error: integrating from 0 to 2 pi here would sweep all four petals and give pi/2 when the question asked for one.
Area between polar boundaries and missed intersections
When two nonnegative radial boundaries describe one region on the same rays, with router >= rinner, its area is (1/2) integral [router2 - rinner2] dtheta. Split where the radial order changes. Do not use the square of their difference.[2]
Find the area inside r = 1 + cos(theta) but outside r = 1. The cardioid lies outside the circle exactly where cos(theta) >= 0, so use -pi/2 <= theta <= pi/2. The area is (1/2) integral [2cos(theta) + cos2(theta)] dtheta = (1/2)(4 + pi/2) = 2 + pi/4. The limits come from the requested region, not from a full turn by habit.
For intersections of r = 2cos(theta) and r = 2sin(theta), equating nonzero radii gives theta = pi/4 and point (1, 1). Both circles also pass through the pole: the first at theta = pi/2 and the second at theta = 0. A same-angle equation misses that common point. Substitution into x = r cos(theta), y = r sin(theta), together with tracing intervals, verifies all intersections.[1]
Negative r values point along the opposite ray. Before subtracting radial squares for a region, ensure the two radii refer to the same physical ray. For area enclosed by a single curve, 1/2 integral r2 dtheta can count repeated sectors. Its validity as geometric area requires a tracing interval with no repeated coverage of the region.
Arc length and slope in polar form
Both follow by treating r = f(theta) as the parametric curve x = r cos(theta), y = r sin(theta) with parameter theta. Working through the algebra collapses everything to
L = integral from alpha to beta of the square root of (r2 + (dr/d(theta))2) d(theta)
Test it on the circle r = a: since dr/d(theta) = 0, the integrand is just a, and L = integral from 0 to 2pi of a d(theta) = 2 pi a. The circumference formula, recovered.
Worked example: the cardioid's perimeter. With r = 1 + cos(theta) and dr/d(theta) = -sin(theta):
r2 + (dr/d theta)2 = (1 + cos theta)2 + sin2(theta) = 1 + 2cos(theta) + 1 = 2 + 2cos(theta).- Use
1 + cos(theta) = 2cos2(theta/2), so the expression is4cos2(theta/2)and its root is2|cos(theta/2)|. - On
[0, pi]the half-angle lies in[0, pi/2], where cosine is not negative, so the bars come off. The curve is symmetric about the x-axis, so compute the top half and double. L = 2 * integral from 0 to pi of 2cos(theta/2) d(theta) = 2 * [4 sin(theta/2)] from 0 to pi = 2 * (4 - 0) = 8.
The cardioid's perimeter is exactly 8, or 8a in general - another whole number where a pi might have been expected, just as with the cycloid arch.
For the slope of a polar curve, the parametric rule gives
dy/dx = [(dr/d theta)sin(theta) + r cos(theta)] / [(dr/d theta)cos(theta) - r sin(theta)]
with a nonzero denominator. A zero denominator with nonzero numerator indicates a vertical tangent; if both vanish, analyze the point separately. The formula is just (dy/d theta)/(dx/d theta) after applying the product rule to each coordinate. Nothing new is required; every polar formula in this lesson is the parametric machinery of the previous lesson with theta playing the role of t.
Key idea: polar calculus is parametric calculus with x = r cos(theta) and y = r sin(theta); the sector area (1/2)r2d(theta) is the only genuinely new ingredient.
This lesson completes your calculus toolkit for curves of every kind, from graphs to parametric paths to polar shapes.
Common misconceptions
- Expecting rectangles. Polar regions are built from pie-slice sectors, so the element is
(1/2)r2d(theta), derived from the proportion of a full disk. Cartesian integration may also work, but it can require extra boundary functions or intervals. - Choosing theta-limits carelessly. This is the dominant error. The limits must trace the region exactly once:
r = 2cos(theta)needs[-pi/2, pi/2]and doubles if you use[0, 2pi]; one petal ofr = cos(2 theta)needs[-pi/4, pi/4]. Find wherer = 0to locate a petal's boundaries. - Forgetting the one-half or the square. Both come from the sector formula. Dropping the square is especially damaging because it changes the units of the answer.
- Trusting the arctangent for the angle.
arctan(y/x)cannot distinguish the second quadrant from the fourth, or the third from the first. Sketch the point and add pi when x is negative. - Assuming polar coordinates are unique. Adding
2 pito theta, or negating r and adding pi, names the same point, and the origin is(0, theta)for every theta. Intersection problems must be checked graphically, not only algebraically. - Miscounting rose petals.
r = a cos(n theta)has n petals when n is odd and 2n when n is even, socos(3 theta)gives three andcos(2 theta)gives four. - Dropping absolute values inside a root.
the square root of (4cos2(theta/2)) = 2|cos(theta/2)|, and the bars only come off after you have checked the sign on your interval. - Treating polar formulas as a separate subject. They all come from the parametric formulas with
x = r cos(theta)andy = r sin(theta). If you forget one, re-derive it.
Recap
- Polar coordinates (r, theta) give a signed radial coordinate and an angle from the positive x-axis, with distance |r|, and every point has infinitely many polar names.
- Convert with
x = r cos(theta),y = r sin(theta), andr2 = x2 + y2, adjusting the angle by pi when x is negative. - Polar area is
A = integral (1/2)[f(theta)]2 d(theta), built from circular sectors of area(1/2)r2d(theta). - Choose theta-limits that trace the region exactly once. The circle
r = 2cos(theta)encloses pi; the cardioidr = 1 + cos(theta)encloses3pi/2; one petal ofr = cos(2 theta)enclosespi/8. - For a > 0 and positive integer n, r = a cos(n theta) or a sin(n theta) has n petals for odd n and 2n for even n.
- Polar arc length is
integral the square root of (r2 + (dr/d theta)2) d(theta), which returns2 pi afor a circle and 8 for the cardioidr = 1 + cos(theta). - Everything here is the parametric calculus of the previous lesson with theta as the parameter; only the sector-area element is new.
Retrieve, explain, and revisit
Close the notes and respond: Explain signed radius and nonunique polar representation. Check a pole intersection separately, choose a once-traced area interval, and state the polar slope denominator condition. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 7.3 Polar Coordinates. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 7.4 Area And Arc Length In Polar Coordinates. Read the section.
- Key terms
- Polar coordinates
- Coordinates (r, theta), where r is signed, |r| is distance to the pole, and theta gives a direction.
- Pole
- The origin, the reference point from which r is measured.
- Polar-rectangular conversion
- x = r cos theta, y = r sin theta, and r^2 = x^2 + y^2.
- Cardioid
- A heart-shaped polar curve r = a(1 + cos theta).
- Polar area
- A = integral of (1/2)[f(theta)]^2 d(theta), built from circular sectors.
Module 8: Differential Equations and Approximation
Translate rates into equations, solve separable and linear initial-value problems, and compare exact solutions with direction fields and Euler approximations.
Separable Differential Equations and Growth Models
- Verify a differential equation solution and apply an initial condition on a valid interval.
- Solve separable equations while retaining equilibrium solutions lost during division.
- Interpret exponential and logistic models with explicit units and assumptions.
A rate equation asks for a function
Suppose an amount decreases at a rate proportional to the amount remaining. The statement specifies a derivative, not just an unknown number. If y(t) is the amount at time t, a model is y' = -ky with k > 0. An initial amount y(0) = y0 selects a particular solution. We will solve this model and then examine a growth equation whose rate slows near a limiting level.
A differential equation relates an unknown function to one or more of its derivatives. A solution is a differentiable function on an interval that satisfies the equation at every point of that interval. An initial-value problem adds a value such as y(t0) = y0. Finding an expression is only part of the task: verify the equation, the initial condition, and the interval.[1]
Check a proposed solution before solving
For y' = 2xy, consider y = 3ex^2. Differentiating gives y' = 6xex^2, while the right side is 2x(3ex^2) = 6xex^2. The expressions agree for every real x. Also y(0) = 3, so this function solves the initial-value problem y' = 2xy, y(0) = 3.
The constant function y = 0 solves the same differential equation with initial value zero. More generally, y = Cex^2 is a family of solutions, one for each real constant C. The initial condition chooses C = 3 in our example. A family parameter is not a second independent variable.
Order means the highest derivative appearing in an equation. These equations are first order. A first-order equation can be nonlinear: y' = y2 is first order but nonlinear in y. Do not confuse the order of a derivative with the degree of a power of the unknown function.[1]
Separate variables with a division check
An equation is separable when it can be written y' = g(x)h(y). On an interval where h(y) is nonzero, divide by h(y) and integrate: integral [1/h(y)] dy = integral g(x) dx + C. The notation is compact, but the chain rule explains it: if H'(y) = 1/h(y), then d[H(y(x))]/dx = y'/h(y) = g(x).[2]
Before dividing, solve h(y) = 0. Each constant root gives a candidate equilibrium solution, a solution that does not change with x. Verify it in the original equation. Dividing by h(y) excludes these values, so they must be tracked separately. A correct nonconstant family is incomplete if a valid equilibrium was silently discarded.
For y' = 2xy and y not equal to zero, separation gives integral dy/y = integral 2x dx, hence ln|y| = x2 + C. Exponentiating and incorporating the sign into a nonzero constant gives y = Aex^2. Adding the equilibrium y = 0 allows A = 0 as well. The condition y(0) = 3 yields A = 3.
Do not replace ln|y| by ln y without restricting y to positive values. The family also contains negative solutions. With a negative initial value, the sign remains negative in this example because ex^2 is always positive.
An initial condition also chooses an interval
Solve y' = y2, y(0) = 1. First retain the equilibrium y = 0. For nonzero y, integrate y-2 dy = dx to get -1/y = x + C. The initial condition gives C = -1, so y = 1/(1 - x).
Differentiate to verify y' = 1/(1 - x)2 = y2. The formula is undefined at x = 1. The largest open interval containing the initial point 0 on which this formula is a solution is (-infinity, 1). The values on (1, infinity) describe another branch, not a continuation through the vertical asymptote.
This solution becomes unbounded as x approaches 1 from below. Smooth coefficients in a differential equation do not guarantee that every initial-value solution exists for all real time. An initial-value solution must be defined on a connected interval containing its initial point; joining disconnected pieces across a pole does not repair a failure of existence there.
If separation produces an implicit relation such as y + y3/3 = x + C, it may be useful without an elementary explicit formula. Differentiate the implicit relation to check it and restrict to a branch satisfying the initial condition. Solving explicitly is convenient, not a requirement in the definition of a solution.

Exponential change and consistent units
For y' = ry with constant r, the solution is y(t) = y0ert. Positive r gives growth for positive y0; negative r gives decay. The exponent rt must be dimensionless, so if t is measured in years, r has units per year. A coefficient of 0.2 per day cannot be used unchanged with time measured in hours.[3]
The model assumes a constant proportional rate. It can describe an idealized decay process or growth over a limited range, but the equation alone does not establish that a real system has constant conditions. Separate mathematical conclusions from empirical decisions about whether the model fits.
For decay y' = -ky, k > 0, a half-life T means y(T) = y0/2 for positive initial amount. Substitution gives e-kT = 1/2, so k = ln 2/T. If T = 10 hours and y0 = 80 units, y(t) = 80e-(ln 2)t/10 = 80(1/2)t/10. After 30 hours there are 10 units remaining.
To find when this amount reaches 5 units, solve 5/80 = 1/16 = (1/2)t/10, giving t = 40 hours. The amount approaches zero as t increases without reaching zero at any finite time in this continuous model. Discrete particles and measurement thresholds can require a different interpretation.
For growth with r > 0, doubling time is ln 2/r. Half-life and doubling time depend on the proportional rate, not on the initial positive amount. This constancy is a property of the exponential model, not of all growth or decay processes.
A logistic rate depends on the current level
The logistic model is P' = rP(1 - P/K), with r > 0 and K > 0. Here P is a modeled population or amount, r is the low-density proportional growth rate, and K is the carrying-capacity parameter. The factor 1 - P/K lowers the proportional growth rate as P approaches K.[3]
Equilibria are P = 0 and P = K. For 0 < P < K the derivative is positive, so solutions increase. For P > K the derivative is negative, so positive solutions above K decrease toward K in forward time. These sign statements come from the differential equation before any integration.
Within 0 < P < K, separation gives K dP/[P(K - P)] = r dt. Partial fractions give K/[P(K - P)] = 1/P + 1/(K - P). Integrating yields ln P - ln(K - P) = rt + C. Exponentiation and rearrangement give
P(t) = K/[1 + A e^(-rt)], where A = (K - P0)/P0 and P(0) = P0.
For 0 < P0 < K, A is positive, the denominator never vanishes, and the solution is defined for every real t. In forward time it increases toward K without attaining K at a finite time. The equilibrium initial values 0 and K must still be stated separately; the displayed expression for A divides by P0.
A complete logistic calculation
Take K = 1000 individuals, r = 0.2 per year, and P(0) = 100. Then A = 9 and P(t) = 1000/[1 + 9e-0.2t]. At t = 0 the denominator is 10, confirming the initial value. As t tends to infinity, the exponential tends to zero and P approaches 1000.
When does the population reach 200? Solve 200 = 1000/[1 + 9e-0.2t], so the denominator is 5 and e-0.2t = 4/9. Therefore t = 5 ln(9/4), about 4.055 years. The initial doubling time is not ln 2/0.2 because the logistic proportional rate changes as P changes.
The absolute growth rate rP(1 - P/K) is a downward-opening quadratic in P. Its maximum over 0 <= P <= K occurs at P = K/2 and equals rK/4. Here that rate is 50 individuals per year at P = 500. The solution reaches that level when 9e-0.2t = 1, so t = 5 ln 9, about 10.986 years.
Differentiating the equation gives P'' = rP'(1 - 2P/K). Along a solution increasing between 0 and K, P' is positive, so concavity changes from up to down at P = K/2. If the initial value is already above K/2 and below K, the forward-time trajectory is already concave down; do not assume every observation interval shows the whole S-shaped curve.

What the model assumes and leaves open
Constant r and K are assumptions. Migration, seasonal resources, time delays, random disturbances, and age structure are absent from this simple equation. A fitted logistic curve does not establish those omissions are harmless or prove a long-term prediction. In a mathematical exercise, the parameters define the model; in an application, data and subject knowledge must justify them.
For P0 > K, the same explicit formula works on the interval containing zero where its denominator stays nonzero. It approaches K from above as t increases, but its backward-time branch has a finite singularity. Again, specify a valid interval instead of treating an algebraic formula as globally defined.
The values r and K are different kinds of quantities. r has inverse-time units, while K has the same units as P. The expression P/K is dimensionless. In an equation written P' = aP - bP2, one has r = a and K = a/b when a and b are positive; b therefore has units inverse amount per time.
A repeatable solution procedure
- Identify the independent variable, dependent quantity, units, and initial data.
- Check whether the equation is separable and find equilibria before division.
- Integrate both sides, keeping absolute values and constants where required.
- Use the initial condition to select a constant or branch.
- State an interval containing the initial point on which the function is defined.
- Differentiate the result and substitute into the original equation.
- Interpret the result within the model's assumptions.
Separation is useful because it connects differential equations with integration techniques already learned. The verification step protects against algebra errors, lost equilibria, and intervals that cross a singularity.
What to carry forward
A separated equation requires a check for solutions lost through division. An initial condition chooses the constant and a connected interval on which the equation and solution are defined. Growth models also require compatible units and explicit assumptions about the rate parameters.
Key idea: Verify the differential equation, the initial value, and the interval before accepting a solution.
Common misconceptions
Dividing by the dependent variable can discard the zero solution. A formula with a pole does not define one solution across that pole. The logistic parameter r is a per-capita rate parameter; the total growth rate also depends on P and K. An observed population is not guaranteed to follow a logistic equation simply because the curve has a similar shape.
Retrieve, explain, and revisit
Close the notes and respond: Solve a separable equation while retaining equilibria. Apply an initial condition, check the interval, and interpret exponential or logistic parameters with units. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 4.1 Basics Of Differential Equations. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 4.3 Separable Equations. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 4.4 The Logistic Equation. Read the section.
- Key terms
- Differential equation
- An equation relating an unknown function to its derivatives.
- Initial-value problem
- A differential equation together with a specified value at an initial input.
- Separable equation
- A first-order equation expressible as y prime = g(x)h(y).
- Equilibrium solution
- A constant function satisfying the differential equation.
- Half-life
- For a positive exponentially decaying amount, the time required to fall by a factor of two.
- Logistic model
- The rate equation P prime = rP(1 - P/K), with positive parameters r and K.
Linear Differential Equations and Euler's Method
- Solve a first-order linear initial-value problem using an integrating factor.
- Build a constant-volume mixing model with consistent concentration and rate units.
- Construct Euler approximations and explain their error and stability limitations.
A tank mixes incoming and outgoing material
A well-mixed tank contains 100 litres of liquid. A solution containing 3 grams of salt per litre enters at 2 litres per minute, while mixture leaves at the same rate. Initially there is no salt. How much salt is in the tank after t minutes? The amount changes because material enters and leaves, and the outgoing concentration changes with the amount already present.
This is a first-order linear differential equation. We will solve it with an integrating factor, then learn how a direction field and Euler's method approximate solutions when an exact formula is inconvenient or unavailable. Exact solutions, qualitative pictures, and numerical values provide different ways to inspect the same rate equation.
Recognize the linear form and its interval
A first-order linear equation has the standard form y' + p(t)y = q(t), where p and q depend on the independent variable t. The unknown y and its first derivative occur to the first power and are not multiplied together. The equation can contain complicated functions of t and still be linear in y.[1]
For example, y' + 2y = t is linear, while y' + y2 = t is not. If the given form is a(t)y' + b(t)y = c(t), divide by a(t) only on an interval where a(t) is nonzero. A zero of a coefficient can separate valid solution intervals and change the conditions for an initial-value problem.
On an interval where p and q are continuous, the integrating-factor construction below gives a unique solution for each initial value at a point in that interval. Its formula also shows why continuity and interval selection matter: the necessary integrals are well-defined there and the integrating factor is positive.
Derive the integrating factor from the product rule
We want a function mu(t) that turns y' + p(t)y into a product derivative. The product rule gives (mu y)' = mu y' + mu' y. After multiplying the original equation by mu, the two expressions match if mu' = p mu. Choose
mu(t) = exp(integral p(t) dt).
Any positive constant factor in mu cancels from the eventual solution, so an arbitrary integration constant is unnecessary when choosing one integrating factor. Multiplication gives (mu y)' = mu q. Integrate, then divide: y = [integral mu(t)q(t) dt + C]/mu(t).[1]
One definite-integral version incorporates the initial condition directly. Set mu(t) = exp(integral from t0 to t of p(s) ds), so mu(t0) = 1. Then y(t) = [y0 + integral from t0 to t of mu(s)q(s) ds]/mu(t). This formula makes the interval and initial value explicit.
For y' + 2y = 4, choose mu = e2t. Then (e2ty)' = 4e2t. Integration gives e2ty = 2e2t + C, so y = 2 + Ce-2t. With y(0) = 1, C = -1 and y = 2 - e-2t. Differentiation gives y' = 2e-2t, and y' + 2y = 4 as required.
A forcing term that depends on time
Solve y' + y = t with y(0) = 0. Here mu = et, and integration by parts gives integral t et dt = et(t - 1) + C. Dividing by et yields y = t - 1 + Ce-t. The initial condition selects C = 1.
Thus y(t) = t - 1 + e-t, defined for all real t. Its derivative is 1 - e-t, and adding y leaves t. This equation is linear but is not expressed as a simple product g(t)h(y), so the integrating-factor method extends our toolkit beyond direct separation.
The term Ce-t represents the difference between solutions with different initial values; it decays as t increases. The time-dependent part t - 1 reflects the forcing q(t) = t. These interpretations follow from the equation's structure rather than from the appearance of one graph alone.
Derive the mixing equation with units
Let A(t) be grams of salt in the opening tank. Because inflow and outflow are both 2 L/min, volume remains 100 L. The incoming salt rate is (3 g/L)(2 L/min) = 6 g/min. Under the well-mixed assumption, the outgoing concentration is A/100 g/L, so the outgoing salt rate is (A/100)(2) = A/50 g/min.
Conservation of salt gives A' = 6 - A/50, or A' + A/50 = 6, with A(0) = 0. The coefficient 1/50 has units per minute; A/50 here denotes the amount multiplied by that inverse-time coefficient. The equation tracks amount, not concentration.[3]
The integrating factor is et/50. Integrating (et/50A)' = 6et/50 gives A = 300 + Ce-t/50. The initial condition gives C = -300, so A(t) = 300(1 - e-t/50) grams for the physical model t >= 0.
The initial derivative is 6 g/min, matching inflow when no salt leaves initially. As time increases, the amount approaches 300 g and concentration approaches 3 g/L, the inflow concentration. After 50 minutes, A = 300(1 - e-1), about 189.64 g. The amount does not equal the inflow rate multiplied by time, because salt also leaves.
If volume were changing, the outgoing concentration would be A(t)/V(t), and the coefficient in the equation would change. Also restrict time to when the tank contains liquid and has not overflowed. The well-mixed and constant-flow assumptions are part of the model, not consequences of solving the differential equation.

Direction fields display local slopes
For an equation y' = f(t, y), a direction field draws a short line segment of slope f(t, y) at selected points in the t-y plane. A solution curve should be tangent to those local directions. The field depicts possible slopes for many initial values; it is not itself one solution.[2]
For y' = y, slopes are zero along y = 0, positive above that line, and negative below it. Their magnitude grows with |y| and does not depend on t. For y' = 2 - y, slopes are positive below y = 2 and negative above it, suggesting approach toward the equilibrium y = 2 in forward time.
A slope field can reveal qualitative behavior and help identify an implausible numerical result. It cannot certify an exact value or a global existence claim by itself. The drawn segments sample a finite grid, and behavior between grid points still depends on the equation.
Euler's method follows one tangent at a time
Starting at (t0, y0), choose a step h > 0. Euler's method uses the current slope over the next step:
t_(n+1) = t_n + h; y_(n+1) = y_n + h f(t_n, y_n).
The next slope is evaluated at the newly computed approximate point. Use the old t and y together when computing an update, then replace both. Substituting the next time into only part of the formula would be a different method. The step h has time units, so h times a rate has the same units as y.[2]
For y' = y, y(0) = 1, the exact solution is et. With h = 1/2, the first step gives y1 = 1 + (1/2)(1) = 1.5 at t = 0.5. The second gives y2 = 1.5 + (1/2)(1.5) = 2.25 at t = 1. The exact value there is e, about 2.71828, so the absolute error is about 0.46828.
With h = 1/4, four steps multiply the amount by 1.25 each time, yielding y4 = (1.25)4 = 2.44140625 at t = 1. The error is about 0.27688, smaller but still substantial. This convex increasing solution lies above its forward tangent segments, explaining the underestimates for this example.
For this particular equation and final time, n equal steps give (1 + 1/n)n, which tends to e. That limit connects the numerical approximation with a sequence studied earlier. It does not prove convergence of Euler's method for every possible differential equation.
![Euler polylines with steps 0.5 and 0.25 lie below e to the t on [0,1], ending at 2.25 and 2.44140625.](/assets/img/math-calc2-reviewed/ode-euler-refinement.png)
Error accumulates and step size can change stability
A Taylor expansion of a sufficiently smooth exact solution gives y(t + h) = y(t) + h y'(t) + a remainder bounded by a constant times h2 on a fixed interval. Euler omits that curvature term. After many steps, earlier errors also affect the slopes used later. Under appropriate smoothness and bounded sensitivity to y, Euler's global error on a fixed time interval is of order h as h tends to zero.[4]
This order statement means a bound C h for sufficiently small h under those assumptions; it is not an exact error formula for every step size. Comparing h and h/2 is a useful diagnostic, but agreement alone is not proof of a requested tolerance. For a rigorous tolerance, establish an applicable bound or use a method with justified error control.
Consider the decay equation y' = -ky with k > 0. Euler gives yn+1 = (1 - kh)yn. The exact solution decays smoothly without changing sign when the initial value is positive. The discrete approximation decays in magnitude only if |1 - kh| < 1, which is 0 < kh < 2.
When 0 < kh < 1, positive values decrease without changing sign. At kh = 1 the method reaches zero in one step and stays there, while the exact positive solution never reaches zero at finite time. For 1 < kh < 2, signs alternate while magnitudes decay. At kh = 2 the magnitude stays constant, and for kh > 2 it grows. These conclusions follow from the geometric multiplier; they illustrate numerical stability, not new behavior of the original decay model.
For k = 4 per time unit and h = 0.75 time units, kh = 3 and the multiplier is -2. Starting at 1, Euler produces 1, -2, 4, -8, ... even though the exact e-4t tends to zero. A rapidly decaying model may therefore demand small explicit Euler steps. Check qualitative behavior as well as displayed digits.
More explicitly, if f is continuous on [a,b] times the real line, is Lipschitz in y with a constant L > 0, and the exact solution has |y''| <= M there, Euler errors with exact initial data satisfy |y(t_n)-y_n| <= hM[exp(L(t_n-a))-1]/(2L). A bounded partial derivative with respect to y supplies such a Lipschitz bound. Here partial differentiation with respect to y means holding t fixed. These are sufficient conditions, not assumptions to silently attach to every rate equation.[4]

What uniqueness does and does not promise
A standard sufficient local uniqueness condition is continuity of f and of its partial derivative with respect to y in a rectangle around the initial point. Then an initial-value problem y' = f(t, y) has a unique solution on some interval around that point. This local conclusion does not guarantee existence for all time, as the earlier solution 1/(1 - t) demonstrates.[5]
Continuity alone does not guarantee uniqueness. For y' = sqrt(|y|) with y(0) = 0, the zero function is a solution. For any a >= 0, a function that is zero up to t = a and equals (t - a)2/4 afterward is another solution. Its derivative at the join is zero on both sides, and substitution verifies the equation. The derivative of the right side with respect to y is not continuous at y = 0, so the sufficient uniqueness condition is unavailable there.
The failure of a sufficient condition does not automatically prove nonuniqueness; the explicit family does so in this example. This distinction mirrors the convergence tests studied earlier: hypotheses justify a conclusion, while an inconclusive test requires another argument.
Choose a method and verify its output
First inspect whether an equation is separable or linear. When linear, derive an integrating factor from the standard form and check the solution by differentiation. When using a numerical method, state the equation, initial condition, step size, final time, and approximation rule. Compare against a known solution or a second calculation when one is available.
For a physical model, check units and conserved quantities before calculating. For a numerical result, check whether its signs, equilibrium behavior, and size agree with the equation. Those checks can reveal a flawed setup or an unstable step even when every arithmetic operation was performed correctly.
Putting it together
A linear equation can be solved with an integrating factor on an interval where its coefficients are continuous. Euler's method applies more broadly, but its output is approximate and can be unstable when the step is too large. Local existence and uniqueness conditions describe behavior near the initial point; they do not guarantee a solution for all time.
Key idea: Check an exact solution by substitution; check a numerical solution with error and stability reasoning.
Common misconceptions
Linearity concerns how y and its derivatives occur; the coefficient p(t) need not be constant. A smaller Euler step can improve an approximation without providing a proof of a chosen tolerance. A direction field suggests local behavior but is not an exact solution. Local uniqueness does not mean a solution remains finite for all future time.
Retrieve, explain, and revisit
Close the notes and respond: Derive an integrating factor from the product rule. Perform an Euler update and explain how a large step can make a decay model produce growing numerical values. Compare your explanation with the worked reasoning, then correct any missing hypothesis, unit, or sign. Attempt the independent problem before revealing its model answer. Revisit this prompt the next day and roughly a week later, mixed with an earlier problem. These are practical starting intervals; adjust them to your study timeline and how difficult retrieval is.
Sources
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 4.5 First Order Linear Equations. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 4.2 Direction Fields And Numerical Methods. Read the section.
- Strang, G., and Herman, E. Calculus Volume 2. OpenStax, Rice University, 2016; current web section inspected November 5, 2026. 4.3 Separable Equations. Read the section.
- Driscoll, T. A., and Braun, R. J. Fundamentals of Numerical Computation, 2020 web version, Euler's Method: local error and Theorem 62 on convergence. Read the derivation and hypotheses. Based on the 2017 SIAM textbook; this citation identifies the inspected web version.
- Albin, P. University of Illinois, Math 285, Lecture 4, Existence-Uniqueness Theorem, page 1, undated faculty notes. Read the local existence and uniqueness conditions.
- Key terms
- First-order linear equation
- An equation expressible as y prime + p(t)y = q(t).
- Integrating factor
- A nonzero factor, commonly exp(integral p), that turns a linear equation into a product derivative.
- Direction field
- A grid of short segments showing slopes prescribed by a differential equation.
- Euler's method
- The update y_(n+1) = y_n + h f(t_n, y_n) using the current slope.
- Step size
- The increment h in the independent variable for a numerical update.
- Numerical stability
- Behavior of propagated numerical perturbations or iterates, which can depend on the method and step size.