Integrals and Area

An integral adds up infinitely many thin slices, and an antiderivative does the adding for you.

Before this Lesson

A valve on an empty tank opens slowly, so the flow keeps climbing. tt minutes in, it's Q=3t2Q = 3t^2 gallons per minute: 3 at the one-minute mark, 48 at four. How much water is in the tank after 4 minutes? If the flow held steady, you'd multiply rate by time. It doesn't, so there's no one rate to multiply by, and that's the job an integral does.

Adding up thin slices

Start with the case you can already do. A steady 10 gal/min for 4 minutes delivers 40 gal. On a graph of flow against time, that's the area of the rectangle under a flat line, since height times width is rate times time. So on a rate graph, the area under the line is the amount delivered.

The climbing flow has a curved top, but over a short enough stretch of time it barely changes, so a thin slice of the area under it is nearly a rectangle. Cut the 4 minutes into slices, read the flow at the middle of each, multiply by the slice's width, and add.

2 slices: 60 gal 0 1 2 3 4 0 10 20 30 40 50 t (min) Q (gal/min) Q = 3t2 4 slices: 63 gal 0 1 2 3 4 0 10 20 30 40 50 t (min) Q (gal/min) Q = 3t2 8 slices: 63.75 gal 0 1 2 3 4 0 10 20 30 40 50 t (min) Q (gal/min) Q = 3t2
Rectangles under the flow Q = 3t², with 2, 4, and 8 slices
Adding slices under Q = 3t² from t = 0 to t = 4
SlicesSlice width (min)Total (gal)
2260
4163
80.563.75
160.2563.94
1000.0463.998

The totals settle toward exactly 64 gal. No stack of rectangles quite gets there, so you ask what the sums are closing in on as the slices get infinitely thin. That limit is the definite integral, and the Handbook's Integral Calculus section defines it the same way:

lim⁡n→∞∑i=1nf(xi) Δxi=∫abf(x) dx\lim_{n \to \infty} \sum_{i=1}^{n} f(x_i)\,\Delta x_i = \int_a^b f(x)\,dx

Read the right side piece by piece. f(x) dxf(x)\,dx is one slice: a height times a tiny width. The ∫\int is a stretched S, for sum. The endpoints aa and bb, confusingly also called the limits, say where the adding starts and stops. The tank's answer, the area under the flow curve, is written ∫043t2 dt\int_0^4 3t^2\,dt.

An antiderivative does the adding

Adding slices works, but nobody wants to do it by hand. Here's the shortcut. Let V(t)V(t) be the volume in the tank at time tt. How fast is VV growing? At the flow rate; that's what flow means. A rate of change is a derivative, so V′(t)=3t2V'(t) = 3t^2. The power rule takes t3t^3 to 3t23t^2, and the tank starts empty, so V(t)=t3V(t) = t^3. After 4 minutes:

V(4)=43=64 galV(4) = 4^3 = 64\ \text{gal}

That's the number the slices were closing in on, and you got it without adding anything.

0 1 2 3 4 0 10 20 30 40 50 t (min) Q (gal/min) 0 1 2 3 4 0 10 20 30 40 50 60 70 t (min) V (gal) Q = 3t2 Q = 12 gal/min area = 8 gal V = 8 gal V = 64 gal V = t3 slope = 12 gal/min
The flow and the volume on the same time scale
At t=2t = 2, the area under the flow curve so far is the height of the volume curve, and the height of the flow curve is the slope of the volume curve.

Nothing here depends on tanks. A function FF whose derivative is ff is an antiderivative of ff. The slope of FF at xx is f(x)f(x), so across a thin slice, FF rises by slope times run: f(x) dxf(x)\,dx. Every slice of the integral is a small rise in FF. Add them all up and you get the total climb, the height at the top minus the height at the bottom. A hiker doesn't add up every step to know that. An altimeter reading at each end does it.

∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)

This is the fundamental theorem of calculus. The Handbook doesn't print it, but every definite integral on the exam runs on it, and it turns the whole job into finding FF.

The power rule, run backward

To undo the power rule, undo its steps in reverse: raise the exponent by one, then divide by the new exponent.

∫xn dx=xn+1n+1+C(n≠−1)\int x^n\,dx = \frac{x^{n+1}}{n+1} + C \qquad (n \ne -1)

The Handbook's Indefinite Integrals list prints this with mm in place of nn. It also says that constant multiples carry through and that sums and differences go term by term. A bare constant is the case n=0n = 0, so 5 integrates to 5x5x:

∫(8x3−6x+5) dx=2x4−3x2+5x+C\int (8x^3 - 6x + 5)\,dx = 2x^4 - 3x^2 + 5x + C

You can always check an integral: differentiate your answer, and the original should come back.

Now, that CC. The derivative of t3t^3 is 3t23t^2, but so is the derivative of t3+5t^3 + 5, a tank that started with 5 gal in it. Sliding a curve up or down doesn't change its tilt, so running a derivative backward gives a whole family of curves, one for each value of the constant of integration.

−3 −2 −1 1 2 3 0 −3 3 6 9 x y x2 + 2 x2 x2 − 2 slope = 2 on all three
Three members of the family x² + C
All three have the derivative 2x2x.

An indefinite integral, the kind with no limits, is that whole family, so CC belongs in the answer. The Handbook leaves it off every entry and covers them with one sentence at the start of its Derivatives section: "A constant of integration should be added to the integrals."

Checkpoint

Which of these is ∫(6x2−4x+3) dx\int (6x^2 - 4x + 3)\,dx?

A.
12x−4+C12x - 4 + C
B.
3x3−4x2+3x+C3x^3 - 4x^2 + 3x + C
C.
2x3−2x2+3x+C2x^3 - 2x^2 + 3x + C
D.
2x3−2x2+3x2x^3 - 2x^2 + 3x

Roots and negative powers

The exam likes to write powers as roots and fractions. The rule only understands exponents, so rewrite first:

Rewriting a term as a power of x
As writtenAs a power
x\sqrt{x}x1/2x^{1/2}
1/x31/x^3x−3x^{-3}
1/x1/\sqrt{x}x−1/2x^{-1/2}

Then the same two moves apply. Watch two things. A negative exponent rises toward zero, so −3-3 goes to −2-2, not −4-4. And you divide by the new exponent, even when it's negative or a fraction.

One power slips through. For x−1x^{-1}, the new exponent would be 0, and you can't divide by 0, which is why the rule says n≠−1n \ne -1. The integral of 1/x1/x is a natural log, and it belongs to Integration Techniques.

Worked Example An integrand with a root and a negative power
1 of 3

Find ∫(6x−4x3)dx\int \left(6\sqrt{x} - \dfrac{4}{x^3}\right) dx.

Evaluating a definite integral

A definite integral gives a number, in three moves. Find any antiderivative. Put in the upper limit, then the lower. Subtract, upper minus lower. The bracket is shorthand for the last two moves:

∫043t2 dt=[ t3 ]04=43−03=64\int_0^4 3t^2\,dt = \Big[\,t^3\,\Big]_0^4 = 4^3 - 0^3 = 64

There's no CC here because it would cancel: (F(b)+C)−(F(a)+C)(F(b) + C) - (F(a) + C) is just F(b)−F(a)F(b) - F(a). However much water the tank started with, the same amount flowed in. So use the antiderivative with C=0C = 0.

Order matters, since lower minus upper flips the sign. And the lower limit's term vanishes only in lucky cases like this one, so evaluate it every time.

Worked Example A definite integral of a negative power
1 of 3

Evaluate ∫241x2 dx\displaystyle\int_2^4 \frac{1}{x^2}\,dx.

Working backward to a limit

The exam also runs this backward: here's the integral's value, so what's the limit? Nothing new is needed. Write F(b)−F(a)F(b) - F(a) with the unknown limit left in, set it equal to the stated value, and solve. When does the tank hold 125 gal?

∫0b3t2 dt=b3−03=125⇒b=5 min\int_0^b 3t^2\,dt = b^3 - 0^3 = 125 \quad\Rightarrow\quad b = 5\ \text{min}
Checkpoint
1 of 2

For what value of bb does ∫0b6x2 dx=128\displaystyle\int_0^b 6x^2\,dx = 128?

Below the axis: net and total

So far the curves have stayed above the axis. Where a curve dips below it, f(x)f(x) is negative, so those slices count as negative. That's the right bookkeeping for a tank: negative flow is water draining out. So the definite integral is signed area, the area above the axis minus the area below it: the net change, not how much area there is.

You can see this with no calculus on y=x−1y = x - 1 from x=0x = 0 to x=3x = 3, where the line and the axis make two triangles.

1 2 3 0 −1 1 2 x y y = x − 1 area = 0.5, counts as − area = 2, counts as +
Two triangles between y = x − 1 and the x-axis
∫03(x−1) dx=[x22−x]03=1.5\int_0^3 (x - 1)\,dx = \left[\frac{x^2}{2} - x\right]_0^3 = 1.5

The integral is 1.5, exactly 2−0.52 - 0.5. But the area enclosed is 2+0.5=2.52 + 0.5 = 2.5, and that's what a question asking for total area wants. Find where the curve crosses the axis inside the interval, integrate each piece separately, and add their sizes. Your calculator's numerical integration over the whole interval gives the net, so run it on each piece instead.

Worked Example Total area across a crossing
1 of 3

Find the total area between y=x2−4y = x^2 - 4 and the x-axis from x=0x = 0 to x=3x = 3.

The area between two curves

The same slices handle a region between two curves. Stand a thin slice between them. Its height is the top curve minus the bottom curve, and its width is dxdx. Then add the slices from where the curves meet to where they meet again:

A=∫ab(ytop−ybottom)dxA = \int_a^b \left(y_{\text{top}} - y_{\text{bottom}}\right) dx

The Handbook prints no formula for this. It follows from the slice. Because the height is a difference, it stays positive even where both curves dip below the axis, so you only have to know which curve is on top, and any point between the intersections will tell you.

0.5 0.5 1 1 x y (0, 0) (1, 1) y = x2 y = x ytop − ybottom dx
One thin slice between y = x and y = x²
Worked Example The area between a line and a parabola
1 of 2

Find the area enclosed between y=x2y = x^2 and y=xy = x.

The average value of a function

A pump ramps up and back down over 4 minutes, with Q=12t−3t2Q = 12t - 3t^2 gal/min. It starts and ends at 0, so averaging the two ends gives 0, plainly wrong for a pump that moved water. The better question is what steady flow would deliver the same water in the same time. The area under the curve is the water delivered:

∫04(12t−3t2) dt=[ 6t2−t3 ]04=96−64=32 gal\int_0^4 (12t - 3t^2)\,dt = \Big[\,6t^2 - t^3\,\Big]_0^4 = 96 - 64 = 32\ \text{gal}

Spread over 4 minutes, that's 8 gal/min. Picture the hump as water in a narrow trough, settling level: same area, same width, and its height is the average.

0 1 2 3 4 0 2 4 6 8 10 12 14 t (min) Q (gal/min) Q = 12t − 3t2 average = 8 gal/min same area: 32 gal
The flow Q = 12t − 3t² and the steady flow with the same area

Area divided by width is the whole formula. The Handbook doesn't print it for a general function, and a question may not state it, so carry it with you:

favg=1b−a∫abf(x) dxf_{\text{avg}} = \frac{1}{b - a}\int_a^b f(x)\,dx
Checkpoint

What is the average value of f(x)=6x2f(x) = 6x^2 from x=1x = 1 to x=3x = 3?

Recap

  • A definite integral adds up infinitely many thin slices. For a rate, that's the amount delivered. On a graph, it's signed area.
  • With F′=fF' = f, the integral is F(b)−F(a)F(b) - F(a), upper minus lower, and it stays that way when you solve for an unknown limit. The constant cancels here, but an indefinite integral keeps its + C+\,C.
  • To integrate a power, write it as an exponent, raise the exponent by one, and divide by the new exponent. Only 1/x1/x fails.
  • For total area, split at each axis crossing and add the sizes. For the area between curves, integrate top minus bottom between the intersections.
  • The average value is the integral divided by the width b − a.