Back to homeMathematics · AP Calculus BC · Change subject
Start for free
Integration and Accumulation · Accumulation of Change

Accumulation Functions and the Fundamental Theorem of Calculus

Practise this section (12)

Emma is filling a bathtub, but the faucet is not steady: she turns it up, then down, so the flow rate $r(t)$ (in gallons per minute) keeps changing. How many gallons are in the tub after 5 minutes? And how fast is the water level rising right now? These look like two different questions. In this section you will see they are the same function viewed in two ways, and the link between them is the Fundamental Theorem of Calculus.

Functions defined by an integral

So far a definite integral like $\int_0^5 r(t)\,dt$ has been a number: the net amount accumulated from $t=0$ to $t=5$. Now let the upper limit move. For every $x$ you choose, the integral gives a new number, so the integral defines a function.

Three things to notice:

  • The input of $g$ is $x$, the upper limit. The letter $t$ inside is a dummy variable; it only labels the horizontal axis of $f$.

  • $g(a)=\int_a^a f(t)\,dt=0$. No distance has been covered yet, so nothing has accumulated.

  • Area above the axis counts as positive, area below counts as negative. Also $\int_b^a f=-\int_a^b f$: swapping the limits flips the sign.

When the graph of $f$ is made of lines and circles, you compute $g(x)$ with geometry: rectangle $bh$, triangle $\tfrac12 bh$, trapezoid $\tfrac12(b_1+b_2)h$, semicircle $\tfrac12\pi r^2$.

Graph of f on [0, 6]: it rises from 0 to 4, stays at 4, and drops to −4, crossing the axis at t = 5. The areas 4, 8 and 2 above the axis add and the −2 below subtracts: this is how g(x) = ∫₀ˣ f(t) dt accumulates. 4 8 2 −2 2 4 5 6 4 −4 y = f(t) t Graph of f on [0, 6]: it rises from 0 to 4, stays at 4, and drops to −4, crossing the axis at t = 5. The areas 4, 8 and 2 above the axis add and the −2 below subtracts: this is how g(x) = ∫₀ˣ f(t) dt accumulates.
Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
The graph of $f$ on $[0, 4]$ consists of two line segments: one from $(0, 2)$ to $(2, 2)$ and one from $(2, 2)$ to $(4, 0)$. Let $g(x)=\int_0^x f(t)\,dt$. Find $g(2)$…

The graph of $f$ on $[0, 4]$ consists of two line segments: one from $(0, 2)$ to $(2, 2)$ and one from $(2, 2)$ to $(4, 0)$. Let $g(x)=\int_0^x f(t)\,dt$. Find $g(2)$ and $g(4)$ using areas of geometric shapes.

Solve

The Fundamental Theorem, Part 1

Look at how $g$ changes when $x$ moves a tiny bit to $x+h$. The new area is the old area plus a thin strip of width $h$ and height about $f(x)$.

With f increasing, g(x) is the area under f from a to x. Moving to x+h adds a strip of width h and height ≈ f(x), with area ≈ f(x)·h; so g(x+h) − g(x) ≈ f(x)·h. a x x+h f(x) thin strip: area ≈ f(x)·h g(x) With f increasing, g(x) is the area under f from a to x. Moving to x+h adds a strip of width h and height ≈ f(x), with area ≈ f(x)·h; so g(x+h) − g(x) ≈ f(x)·h.

So $g(x+h)-g(x)\approx f(x)\cdot h$. Divide by $h$ and let $h\to 0$: the difference quotient of $g$ approaches $f(x)$.

This says differentiation undoes integration. You do not need an antiderivative: to find $g'(3)$, just plug $3$ into the integrand.

Back to the bathtub. Let $A(t)$ be the gallons in the tub after $t$ minutes, starting empty. Then $A(t)=\int_0^t r(s)\,ds$, so Part 1 gives $A'(t)=r(t)$. The rate the amount changes is exactly the flow rate from the faucet, so the two questions were one question.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
Let $g(x)=\int_2^x (t^2-3)\,dt$. Find $g(2)$ and $g'(3)$. State which part of the Fundamental Theorem of Calculus you use for $g'(3)$.

Let $g(x)=\int_2^x (t^2-3)\,dt$. Find $g(2)$ and $g'(3)$. State which part of the Fundamental Theorem of Calculus you use for $g'(3)$.

Solve
Practice★☆☆Not started
Let $g(x)=\int_1^x \sqrt{t^3+1}\,dt$ for $x\ge 1$. Find $g(1)$ and $g'(2)$. Is $g$ increasing or decreasing at $x=2$? Give a reason.

Let $g(x)=\int_1^x \sqrt{t^3+1}\,dt$ for $x\ge 1$. Find $g(1)$ and $g'(2)$. Is $g$ increasing or decreasing at $x=2$? Give a reason.

Solve

When the limit is a function of x

What if the upper limit is not just $x$, but something like $x^2$? Then $g(x)=\int_a^{u(x)} f(t)\,dt$ is a composition: first compute $u=u(x)$, then accumulate up to $u$. Part 1 handles the outer step and the chain rule handles the inner one.

Three steps for differentiating an integral with upper limit u of x: plug the limit into the integrand, multiply by the derivative of the limit, and flip the sign if the variable is in the lower limit. 1. Plug u(x) into f 2. Multiply by u′(x) 3. x in lower limit? Flip sign Differentiating ∫ f(t) dt Three steps for differentiating an integral with upper limit u of x: plug the limit into the integrand, multiply by the derivative of the limit, and flip the sign if the variable is in the lower limit.

Why the extra factor? If $u(x)$ moves fast, the upper limit sweeps out area fast, so the rate of change is $f(u)$ times how fast $u$ is moving.

Some problems give a table instead of a formula. Read off the number you need, for example $f(g(2))$ from the row of $f$.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★★☆Not started
Find each derivative. (a) $\dfrac{d}{dx}\displaystyle\int_0^{x^3} e^{-t^2}\,dt$ (b) $\dfrac{d}{dx}\displaystyle\int_x^{5}\sqrt{1+t^4}\,dt$ (c)…

Find each derivative.

(a) $\dfrac{d}{dx}\displaystyle\int_0^{x^3} e^{-t^2}\,dt$

(b) $\dfrac{d}{dx}\displaystyle\int_x^{5}\sqrt{1+t^4}\,dt$

(c) $\dfrac{d}{dx}\displaystyle\int_1^{\sin x}\ln(t+2)\,dt$

Solve
Practice★★☆Not started
The function $f$ is differentiable. Some values are given in the table, together with $f'(2)=-3$. | $x$ | 0 | 1 | 2 | 3 | |---|---|---|---|---| | $f(x)$ | 3 | $-1$ | 4 |…

The function $f$ is differentiable. Some values are given in the table, together with $f'(2)=-3$.

$x$ 0 1 2 3
$f(x)$ 3 $-1$ 4 $-2$

Let $g(x)=\int_0^{2x} f(t)\,dt$.

(a) Find $g'(0)$ and $g'(1)$.

(b) Find $g''(1)$.

(c) Is $g$ increasing or decreasing at $x=1.5$? Justify.

Solve
Practice★★★Not started
The functions $f$ and $g$ are differentiable. Some values are given in the table. | $x$ | 1 | 2 | 3 | |---|---|---|---| | $f(x)$ | $-3$ | 5 | $-2$ | | $g(x)$ | 3 | 1 | 2…

The functions $f$ and $g$ are differentiable. Some values are given in the table.

$x$ 1 2 3
$f(x)$ $-3$ 5 $-2$
$g(x)$ 3 1 2
$g'(x)$ 2 $-1$ 4

Let $H(x)=\int_0^{g(x)} f(t)\,dt$. Assume $f$ is continuous.

(a) Find $H'(1)$, $H'(2)$ and $H'(3)$.

(b) For each of $x=1, 2, 3$, say whether $H$ is increasing or decreasing at that point.

(c) Is $H'(2)$ determined by $f(2)$? Explain which value of $f$ matters and why.

Solve

Reading the graph of g from the graph of f

Part 1 says $g'=f$, so the graph of $f$ is the "slope report" for $g$. Differentiating once more gives $g''=f'$, the slope of the graph of $f$, which controls concavity.

Question about $g$ Look at $f$
$g$ increasing $f>0$
$g$ decreasing $f<0$
relative maximum of $g$ $f$ changes from $+$ to $-$
relative minimum of $g$ $f$ changes from $-$ to $+$
$g$ concave up $f$ is increasing ($f'>0$)
$g$ concave down $f$ is decreasing ($f'<0$)
inflection point of $g$ $f$ changes from increasing to decreasing, or the reverse (a local max or min of $f$)

For absolute extrema on a closed interval, use the candidates test: evaluate $g$ at the endpoints and at every critical point (where $f=0$ or is undefined), then compare.

Write justifications the way the AP exam does, naming $g'$ or $g''$: "$g'(x)=f(x)$ changes from positive to negative at $x=2$, so $g$ has a relative maximum at $x=2$."

Graph of f on [0, 6] with vertices at (0, 4), (2, 0), (4, −2) and (6, 2). The shaded regions are signed areas: f>0 on [0, 2) and (5, 6], f<0 on (2, 5). The minimum of f is at t = 4 and f crosses the axis at t = 5. 2 t = 4 5 6 4 −2 y = f(t) t Graph of f on [0, 6] with vertices at (0, 4), (2, 0), (4, −2) and (6, 2). The shaded regions are signed areas: f>0 on [0, 2) and (5, 6], f<0 on (2, 5). The minimum of f is at t = 4 and f crosses the axis at t = 5.

When a problem asks for $g''$ at a point, it means the slope of the graph of $f$ there. For a line segment, that is the slope of the segment. Semicircles appear often: a semicircle of radius $r$ has area $\tfrac12\pi r^2$.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★☆☆Not started
The function $f$ is continuous on $[0, 5]$. It is negative on $(0, 2)$, equals $0$ at $x=2$, and is positive on $(2, 5)$. Let $g(x)=\int_0^x f(t)\,dt$. On which…

The function $f$ is continuous on $[0, 5]$. It is negative on $(0, 2)$, equals $0$ at $x=2$, and is positive on $(2, 5)$. Let $g(x)=\int_0^x f(t)\,dt$. On which intervals is $g$ increasing and on which is it decreasing? Where does $g$ have a relative minimum on $(0, 5)$? Justify using $g'$.

Solve
Practice★★☆Not started
The graph of $f$ on $[0, 6]$ consists of three line segments: from $(0, -2)$ to $(2, 2)$, from $(2, 2)$ to $(4, 2)$, and from $(4, 2)$ to $(6, -2)$. Let…

The graph of $f$ on $[0, 6]$ consists of three line segments: from $(0, -2)$ to $(2, 2)$, from $(2, 2)$ to $(4, 2)$, and from $(4, 2)$ to $(6, -2)$. Let $g(x)=\int_0^x f(t)\,dt$.

(a) Find $g(1)$, $g(2)$, $g(4)$, $g(5)$ and $g(6)$.

(b) On what interval(s) is the graph of $g$ concave up? Concave down? Justify.

(c) At what value of $x$ in $[0, 6]$ does $g$ attain its absolute maximum? Justify.

Solve
Practice★★☆Not started
The graph of $f$ on $[0, 8]$ consists of an upper semicircle with center $(2, 0)$ and radius $2$ from $x=0$ to $x=4$, a line segment from $(4, 0)$ to $(6, -2)$, and a…

The graph of $f$ on $[0, 8]$ consists of an upper semicircle with center $(2, 0)$ and radius $2$ from $x=0$ to $x=4$, a line segment from $(4, 0)$ to $(6, -2)$, and a line segment from $(6, -2)$ to $(8, 0)$. Let $g(x)=\int_0^x f(t)\,dt$.

(a) Find $g(4)$, $g(6)$ and $g(8)$.

(b) Find $g'(3)$ and $g''(5)$.

(c) Find the absolute maximum value of $g$ on $[0, 8]$ and where it occurs.

Solve

Going left of the starting point, and symmetry

The lower limit does not have to be the left end of the graph. If $x<a$, then

$$g(x)=\int_a^x f(t)\,dt=-\int_x^a f(t)\,dt,$$

so a positive region left of $a$ makes $g$ negative. Everything else (increasing, decreasing, extrema) still works through $g'=f$.

Graph of f on [−2, 3]: it equals 2 up to x = 0, drops through (1, 0) to (2, −2), and stays at −2. The positive region (from −2 to 1) and the negative region (from 1 to 3) are shaded; the positive part left of 0 subtracts in g(x) = ∫₀ˣ f. −2 1 3 2 −2 y = f(t) Graph of f on [−2, 3]: it equals 2 up to x = 0, drops through (1, 0) to (2, −2), and stays at −2. The positive region (from −2 to 1) and the negative region (from 1 to 3) are shaded; the positive part left of 0 subtracts in g(x) = ∫₀ˣ f.

Symmetry

If $f$ is an odd function ($f(-t)=-f(t)$) and $g(x)=\int_0^x f(t)\,dt$, then $g$ is even: $g(-x)=g(x)$.

Here is why. Let $k(x)=g(-x)$. By the chain rule, $k'(x)=g'(-x)\cdot(-1)=-f(-x)=f(x)=g'(x)$. So $k$ and $g$ have the same derivative, which means they differ by a constant. At $x=0$ both equal $0$, so the constant is $0$ and $k=g$.

Geometrically: an odd graph is symmetric about the origin, so the area on the left of the axis has the opposite sign to the mirror-image area on the right. Reversing the limits flips the sign once more, and the two cancel.

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★★★Not started
The continuous function $f$ is defined on $[-4, 6]$. Its graph consists of: a lower semicircle with center $(-2, 0)$ and radius $2$ from $x=-4$ to $x=0$; a segment from…

The continuous function $f$ is defined on $[-4, 6]$. Its graph consists of: a lower semicircle with center $(-2, 0)$ and radius $2$ from $x=-4$ to $x=0$; a segment from $(0, 0)$ to $(2, 3)$; a horizontal segment from $(2, 3)$ to $(4, 3)$; and a segment from $(4, 3)$ to $(6, 0)$. Let $g(x)=\int_0^x f(t)\,dt$.

(a) Find $g(-4)$, $g(-2)$ and $g(6)$.

(b) On which intervals is $g$ decreasing? Where does $g$ attain its absolute minimum on $[-4, 6]$? Justify.

(c) Find the $x$-coordinates of all points of inflection of the graph of $g$ on $(-4, 6)$. Justify.

Solve
Practice★★★Not started
The function $f$ is continuous on $[-3, 3]$ and is an odd function: $f(-t)=-f(t)$ for all $t$. For $0\le t\le 3$, the graph of $f$ consists of a segment from $(0, 0)$ to…

The function $f$ is continuous on $[-3, 3]$ and is an odd function: $f(-t)=-f(t)$ for all $t$. For $0\le t\le 3$, the graph of $f$ consists of a segment from $(0, 0)$ to $(1, 2)$ and a segment from $(1, 2)$ to $(3, 0)$. Let $g(x)=\int_0^x f(t)\,dt$.

(a) Find $g(1)$ and $g(3)$.

(b) Explain why $g(-x)=g(x)$ for all $x$ (that is, $g$ is even), and use it to find $g(-1)$ and $g(-3)$.

(c) Find the absolute maximum value of $g$ on $[-3, 3]$ and every $x$ where it occurs. Justify using the sign of $f$.

Solve

The Fundamental Theorem, Part 2

When $f$ has a formula, you can often find $g(x)$ itself, not just $g'(x)$. Part 1 tells us that $g(x)=\int_a^x f(t)\,dt$ is an antiderivative of $f$. If $F$ is any other antiderivative of $f$, then $g(x)=F(x)+C$. Since $g(a)=0$, we get $C=-F(a)$.

Some textbooks call Part 2 the Evaluation Theorem. It is the tool that lets you compute exact areas without any geometry.

To evaluate ∫ₐᵇ f(x) dx, just follow two steps: 1) find an antiderivative F with F′ = f; 2) compute F(b) − F(a), with no need for Riemann sums or geometry. 1. Find F with F′ = f 2. Compute F(b) − F(a) To evaluate ∫ₐᵇ f(x) dx, just follow two steps: 1) find an antiderivative F with F′ = f; 2) compute F(b) − F(a), with no need for Riemann sums or geometry.

Use the graph below to see the two functions side by side: $f(x)=3x^2-6x$ and its accumulation function $G(x)=x^3-3x^2$ (note $G(0)=0$, so $G(x)=\int_0^x f(t)\,dt$).

Unsure about the theory?Ask about anything you don't understand in this section and the AI will explain it using these notes.
Practice★★★Not started
Let $f(t)=t^2-4t+3$ and $g(x)=\int_0^x f(t)\,dt$ on the interval $[0, 5]$. (a) Find all critical points of $g$ and classify each as a relative maximum, a relative…

Let $f(t)=t^2-4t+3$ and $g(x)=\int_0^x f(t)\,dt$ on the interval $[0, 5]$.

(a) Find all critical points of $g$ and classify each as a relative maximum, a relative minimum or neither, using the first derivative test.

(b) Find the $x$-coordinate of the inflection point of $g$ and justify.

(c) Evaluate $g(0)$, $g(1)$, $g(3)$ and $g(5)$ by antidifferentiating, and find the absolute maximum and absolute minimum values of $g$ on $[0, 5]$.

Solve

Summary

Can't find your problem here?

The AI checks one of your exercises: paste the problem with your answer or take a photo of it.

See all the exercises in this section