Skip to main content
Mathematics LibreTexts

4.5: The Fundamental Theorem of Calculus

  • Page ID
    212036
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\ket}[1]{\left| #1 \right>}\)
    \(\newcommand{\bra}[1]{\left< #1 \right|}\)
    \(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
    \(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
    \(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
    \(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
    \(\newcommand{\expect}[1]{\langle #1 \rangle}\)
    \(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    This section contains the most important and most frequently used theorem of calculus, THE Fundamental Theorem of Calculus. Discovered independently by Newton and Leibniz during the late 1600s, it establishes a connection between derivatives and integrals, provides a way to easily calculate many definite integrals, and was a key step in the development of modern mathematics to support the rise of science and technology. Calculus is one of the most significant intellectual structures in the history of human thought, and the Fundamental Theorem of Calculus is the most important brick in that beautiful structure.

    Prior sections have emphasized the meaning of the definite integral, defined it, and began to explore some of its applications and properties. In this section, the emphasis shifts to the Fundamental Theorem of Calculus. You will use this theorem often in later sections.

    The Fundamental Theorem has two parts. They resemble results in the previous section but apply to more general situations. The first part (FTC1) says that every continuous function has an antiderivative and shows how to differentiate a function defined as an integral. The second part (FTC2) shows how to evaluate the definite integral of any function if we know a formula for an antiderivative of that function.

    Part 1: Antiderivatives

    Every continuous function has an antiderivative, even functions with “corners,” such as the absolute value function \(f(x) = \left|x\right|\), that fail to be differentiable at one or more points.

    The Fundamental Theorem of Calculus Part 1 (FTC1)

    If: \(f\) is continuous and \(\displaystyle A(x) = \int_a^x f(t)\, dt\)

    then: \(\displaystyle A'(x) = \frac{d}{dx}\left[\int_a^x f(t)\, dt\right] = f(x)\)

    so: \(A(x)\) is an antiderivative of \(f(x)\).

    Proof

    For a continuous function \(f\), let \(\displaystyle A(x) = \int_a^x f(t)\, dt\). By the definition of derivative,\[A'(x) = \lim_{h\to 0}\, \frac{A(x + h) - A(x)}{h} = \lim_{h\to 0}\, \frac{\int_a^{x+h} f(t)\, dt - \int_a^x f(t)\, dt}{h}\nonumber\]

    A graph of a blue curve above the horizontal t-axis. Tickmarks on the t-axis are at (moving from left to right) a, x and x+h. Vertical dashed-black lines pass through the tickmarks denoted x and x+h. The region above the t-axis, below the blue curve and between the dashed lines is shaded yellow. An arrow points to the yellow region, labeling it as the integral from x to x+h of f(t) dt.

    Using one of the integral properties from Section 4.3, we know that: \begin{align*}&\int_a^{x+h} f(t)\, dt = \int_a^x f(t)\, dt + \int_x^{x+h} f(t)\, dt\\ \Rightarrow &\int_a^{x+h} f(t)\, dt - \int_a^x f(t)\, dt = \int_x^{x+h} f(t)\, dt\end{align*} Assume for the moment that \(h>0\). Because \(f\) is continuous on \([x,x+h]\) we know that \(f\) attains a maximum and minimum on that interval, so there are values \(m_h\) and \(M_h\) with \(x < m_h < x+h\) and \(x < M_h < x+h\) so that \(f(m_h) \leq f(t) \leq f(M_h)\) when \(x\leq t \leq x+h\). Hence: \begin{align*}&\int_x^{x+h} f(m_h)\, dt \leq \int_x^{x+h} f(t)\, dt \leq \int_x^{x+h} f(M_h)\, dt\\ \Rightarrow &f(m_h)\cdot h \leq \int_x^{x+h} f(t)\, dt \leq f(M_h)\cdot h\\ \Rightarrow &f(m_h) \leq \frac{\int_x^{x+h} f(t)\, dt}{h} \leq f(M_h)\end{align*} Because \(x < m_h < x+h\), we know \(\displaystyle \lim_{h\to 0^{+}}\, m_h = x\); consequently — because \(f(t)\) is continuous — we also know that \(\displaystyle \lim_{h\to 0^{+}}\, f(m_h) = f(x)\). Likewise, \(\displaystyle \lim_{h\to 0^{+}}\, f(M_h) = f(x)\), so the Squeezing Theorem tells us that:\[\lim_{h\to 0^{+}}\, \frac{\int_x^{x+h} f(t)\, dt}{h} = f(x)\nonumber\]Repeating this argument for \(h<0\) is relatively straightforward.

    Example \(\PageIndex{1}\)

    Define \(\displaystyle A(x) = \int_0^x f(t)\, dt\) for \(f\) in the figure below:

    A red piecewise-linear function y=f(t) starts at (0,0), rises to (1,1), falls through (2,0) to (3,-1) and continues to (4,-1).

    Evaluate \(A(x)\) and \(A'(x)\) for \(x= 1\), \(2\), \(3\) and \(4\).

    Solution

    \(\displaystyle A(1) = \int_0^1 f(t)\, dt = \frac12\), \(\displaystyle A(2) = \int_0^2 f(t)\, dt = 1\), \(\displaystyle A(3) = \int_0^3 f(t)\, dt = \frac12\) and \(\displaystyle A(4) = \int_0^4 f(t)\, dt = -\frac12\). Because \(f\) is continuous, FTC1 tells us that \(A'(x) = f(x)\), so \(A'(1) = f(1) = 1\), \(A'(2) = f(2) = 0\), \(A'(3) = f(3) = -1\) and \(A'(4) = f(4) = -1\).

    Practice \(\PageIndex{1}\)

    Define \(\displaystyle A(x) = \int_0^x g(t)\, dt\) for \(g\) in the figure below:

    A blue piecewise-linear function y=g(t) starts at (1,0) and continues to (1,1), falls through (2,0) to (3,-1) and rises through (11/3,0).

    Evaluate \(A(x)\) and \(A'(x)\) for \(x= 1\), \(2\), \(3\) and \(4\).

    Answer

    \(A(1) = 1\), \(A(2) = 1.5\), \(A(3) = 1\), \(A(4) = 1\); \(A'(x) = g(x)\) so \(A'(1) = g(1) = 1\), \(A'(2) = g(2) = 0\), \(A'(3) = -1\), \(A'(4) = 1\).

    Example \(\PageIndex{2}\)

    Define \(\displaystyle A(x) = \int_0^x f(t)\, dt\) for \(f\) in the figure below:

    A smooth red function y=f(t) starts at a positive value to the left of the origin, increased in a U shape, transitions to an inverted-U shape near t=1.5 , reaches a peak at t=2, transtions to a U shape near t=2.6, falls through (3,0), and begins to flatten out as it reaches t=4.

    For which value of \(x\) is \(A(x)\) maximum? For which \(x\) is the rate of change of \(A\) maximum?

    Solution

    Because \(A\) is differentiable, the only critical points are where \(A'(x) = 0\) or at endpoints. \(A'(x) = f(x) = 0\) at \(x=3\), and \(A\) has a maximum at \(x=3\). Notice that the values of \(A(x)\) increase as \(x\) goes from \(0\) to \(3\) and then the values of \(A\) decrease. The rate of change of \(A(x)\) is \(A'(x) = f(x)\), and \(f(x)\) appears to have a maximum at \(x=2\), so the rate of change of \(A(x)\) is maximum when \(x=2\). Near \(x=2\), a slight increase in the value of \(x\) yields the maximum increase in the value of \(A(x)\).

    Part 2: Evaluating Definite Integrals

    If we know a formula for an antiderivative of a function, then we can compute any definite integral of that function.

    The Fundamental Theorem of Calculus Part 2 (FTC2)

    If: \(f(x)\) is continuous and \(F(x)\) is any antiderivative of \(f\) (so that \(F'(x) = f(x)\))

    then: \(\displaystyle \int_a^b f(x)\, dx = F(x)\bigg|_a^b = F(b) - F(a)\).

    Proof

    Define \(\displaystyle A(x) = \int_a^x f(t)\, dt\). If \(F\) is an antiderivative of \(f\), then \(F'(x) = f(x)\) and by FTC1 we know that \(A'(x) =f(x)\) so \(F'(x) = A'(x)\), hence \(F(x)\) and \(A(x)\) differ by a constant: \(A(x) - F(x) = C\) for all \(x\) and some constant \(C\). At \(x=a\), we have \(C = A(a) - F(a) = 0 - F(a) = -F(a)\) so \(C = -F(a)\) and the equation \(A(x) - F(x) = C\) becomes \(A(x) - F(x) = -F(a)\). Then \(A(x) = F(x) - F(a)\) for all \(x\), so setting \(x=b\) yields \(A(b) = F(b) - F(a)\), hence \(\displaystyle \int_a^b f(x)\, dx = F(b) - F(a)\), the formula we wanted.

    We can evaluate the definite integral of a continuous function \(f\) by finding an antiderivative of \(f\) (any antiderivative of \(f\) will work) and then doing some arithmetic with this antiderivative. FTC2 does not tell us how to find an antiderivative of \(f\), and it does not tell us how to find the definite integral of a discontinuous function. It is possible to evaluate definite integrals of some discontinuous functions (as we saw in Section 4.3) but not by using FTC2 directly.

    Example \(\PageIndex{3}\)

    Evaluate \(\displaystyle \int_0^2 \left(x^2-1\right)\, dx\).

    Solution

    \(F(x) = \frac13 x^3 - x\) is an antiderivative of \(f(x) = x^2 - 1\) (you should check that \(\mbox{D}\left(\frac13 x^3 - x\right) = x^2-1\)), so:\[\int_0^2 \left(x^2-1\right)\, dx = \left[\frac13 x^3 - x\right]_0^2 = \left[\frac13\cdot 2^3 - 2\right] - \left[\frac13 \cdot 0^3 - 0\right] = \frac23\nonumber\]If your friend had picked a different antiderivative of \(x^2 -1\), say \(G(x) = \frac13 x^3 - x + 4\),
    then her calculations would be slightly different: \begin{align*}\int_0^2 \left(x^2-1\right)\, dx &= \left[\frac13 x^3 - x +4\right]_0^2\\
    &= \left[\frac13\cdot 2^3 - 2 + 4\right] - \left[\frac13 \cdot 0^3 - 0 + 4\right] = \frac{2}{3} + 4 - 4 = \frac23\end{align*}
    but the result would be the same.

    Practice \(\PageIndex{2}\)

    Evaluate \(\displaystyle \int_1^3 \left(3x^2-1\right)\, dx\).

    Answer

    \(F(x) = x^3 - x\) is an antiderivative of \(f(x) = 3x^2 - 1\) so:\[\int_1^3 \left[3x^2 - 1\right] \, dx = \left[x^3 - x \right]_1^3 = \left[3^3 - 3\right] - \left[1^3 - 1\right] = 24\nonumber\]\)F(x) = x^3 - x + 7\) is another antiderivative of \(f(x) = 3x^2 - 1\) so:\[\int_1^3 \left[3x^2 - 1\right] \, dx = \left[x^3 - x +7\right]_1^3 = \left[3^3 - 3+7\right] - \left[1^3 - 1+7\right] = 24\nonumber\]No matter which antiderivative of \(f(x) = 3x^2 - 1\) you use, the value of the definite integral \(\displaystyle \int_1^3 \left[3x^2 - 1\right] \, dx\) is \(24\).

    Example \(\PageIndex{4}\)

    Evaluate \(\displaystyle \int_{1.5}^{2.7} \lfloor x \rfloor \, dx\) where \(\lfloor x \rfloor = \mbox{INT}(x)\) is the largest integer less than or equal to \(x\), as in the figure below:

    A graph of the blue function y=INT(x) on a [0,5]X[0,4] grid with red-shaded closed dots on the left end of each piece of the function and open dots on the right end. Dashed black vertical line segments ectend from the x-axis up through the red dots at each integer input, and black vertical lines rise from the x-axis at x=1.5 and x=2.7. The region below the blue curve, above the x-axis and between the vertical line segments is shaded yellow.

    Solution

    \(f(x) = \lfloor x \rfloor\) is not continuous at \(x = 2\) in the interval \([1.5, 2.7]\), so we cannot employ the Fundamental Theorem of Calculus directly. We can, however, use our understanding of the geometric meaning of a definite integral to compute:
    \begin{align*}
    \int_{1.5}^{2.7} \lfloor x \rfloor \, dx &= \left(\mbox{area below }y=\lfloor x \rfloor \mbox{ for }1.5 \leq x \leq 2\right) + \left(\mbox{area below }y=\lfloor x \rfloor \mbox{ for }2 \leq x \leq 2.7\right)\\
    &= \left(\mbox{first base}\right) \left(\mbox{first height}\right) + \left(\mbox{second base}\right)\left(\mbox{second height}\right)\\
    &= (0.5)(1) + (0.7)(2) = 1.9
    \end{align*}
    We could also split the integral into two pieces:
    \begin{align*}\int_{1.5}^{2.7} \lfloor x \rfloor \, dx &= \int_{1.5}^{2.0} \lfloor x \rfloor \, dx + \int_{2.0}^{2.7} \lfloor x \rfloor \, dx \\
    &= \int_{1.5}^{2.0} 1 \, dx + \int_{2.0}^{2.7} 2 \, dx = {\Big[}x{\Big]}_{1.5}^{2.0} + {\Big[}x{\Big]}_{2.0}^{2.7}\\
    & = [2.0-1.5] + [2(2.7)-2(2.0)] = 0.5 + 1.4 = 1.9\end{align*}
    using the fact that \(\lfloor x \rfloor = 1\) for \(1.5 \leq x < 2.0\) and the fact that \(\lfloor x \rfloor = 2\) for \(2.0 \leq x \leq 2.7\). (We also need to redefine the first integrand to equal \(1\) at its right endpoint and the second integrand to equal \(2\) at its right endpoint so that each integrand is continuous on a closed interval).

    (Problem 53 in Section 4.3 indicates that this redefinition is perfectly legal.)

    Practice \(\PageIndex{3}\)

    Evaluate \(\displaystyle \int_{1.3}^{3.4} \lfloor x \rfloor \, dx\).

    Answer

    Because \(f(x) = \lfloor x\rfloor\) is not continuous on \([1.3, 3.4]\) we cannot use the Fundamental Theorem of Calculus. Instead, we can think of the definite integral as an area:

    A blue graph of y=INT(x) between x=0 and x=4, with dashed-black vertical line segments extending from the x-axis to the blue curve at x = 1, 2, 3 and 4, as well as solid-black vertical line sements at x=1.3 and x=3.4. The region under the blue curve and above the x-axis betweem x=1.3 and x=3.4 is shaded yellow.

    and compute:\[\int_{1.3}^{3.4} \lfloor x\rfloor \, dx = 3.9\nonumber\]

    Calculus is the study of derivatives and integrals, their meanings and their applications. The Fundamental Theorem of Calculus demonstrates how differentiation and integration are closely related processes: integration is really anti-differentiation, the inverse of differentiation.

    Applications: The Future

    Calculus is important for many reasons, but students are usually required to study calculus because they will need to apply calculus concepts in a variety of fields. Most applied problems in integral calculus require the following steps to get from a real-life problem to a numerical answer:\[\fbox{applied problem} \xrightarrow{~~~{\bf 1}~~~} \fbox{Riemann sum} \xrightarrow{~~~{\bf 2}~~~} \fbox{definite integral} \xrightarrow{~~~{\bf 3}~~~} \fbox{number}\nonumber\]

    Step 1 is absolutely vital. If we can not translate the ideas of an applied problem into an area or a Riemann sum or a definite integral, then we can not use integral calculus to solve the problem. For a few special types of applied problems, we will be able to move directly from the problem to an integral, but usually it will be easier to first break the problem into smaller pieces and to build a Riemann sum. Section 4.7 and all of Chapter 5 focus on translating different types of applied problems into Riemann sums and definite integrals. Computers and calculators are seldom of any help with Step 1.

    Step 2 is usually easy. If we have a Riemann sum \(\displaystyle \sum_{k=1}^{n}\, f\left(c_k\right)\Delta x_k\) on an interval \([a,b]\), then the limit of the sum (as \(n \rightarrow \infty\)) is simply the definite integral \(\displaystyle \int_a^b f(x)\, dx\).

    Step 3 can be handled in several ways.

    • If the function \(f\) is relatively simple, we may be able to find an antiderivative for \(f\) (using techniques from Section 4.6 and Chapter 8) and then apply FTC2 to get a numerical answer.
    • If the function \(f\) is more complicated, then integral tables or computers (Section 4.8) may help us find an antiderivative for \(f\), in which case we can apply FTC2 to get a numerical answer.
    • If we cannot find an antiderivative for \(f\), we can compute approximate numerical answers for the definite integral using various approximation methods (Sections 4.9 and 8.7); we typically employ computers to carry out the heavy-duty arithmetic.

    Usually any difficulties in solving an applied problem arise in the first and third steps. There are techniques and details to master and understand, but it is also important to keep in mind where these techniques and details fit into the bigger picture.

    The next Example illustrates these steps for the problem of finding a volume of a solid. We will explore techniques for finding volumes of solids in greater detail in Chapter 5.

    Example \(\PageIndex{5}\)

    Find the volume of the solid shown in the figure below:

    A 3D coordinate graph featuring a thick red line in the xy-plane labeled y = x + 1. The y-axis is marked with values 1, 2 and 3, while the x-axis is marked with 1 and 2. Below the red line, a series of blue-outlined vertical planes extend forward along a third, unlabeled depth axis. A square at x=0 extending perpendicular to the x-y plane is shaded yellow, as is another square at x=1, while a square just beyond x=1 (as well as one at x=2) is unshaded.

    for \(0 \leq x \leq 2\). (Each “slice” perpendicular to the \(xy\)-plane is a square.)

    Solution

    Step 1: Going from the figure to a Riemann sum. If we break the solid into \(n\) “slices” with cuts perpendicular to the \(x\)-axis (and the \(xy\)-plane) using a partition \({\cal P}\) with cuts at \(x_1\), \(x_2\), \(x_3\), … , \(x_{n-1}\) (like slicing a block of cheese or a loaf of bread), then the volume of the original solid is equal to the sum of the volumes of the “slices.”

    A rectangular 3D box represented by blue line segments. Double arrows indicate that the height of the box is 1+c_k, as is the base of the box. The thickness of the box is labeled Delta x_k.

    The volume of the \(k\)-th slice is approximately equal to the volume of a thin, rectangular box:\[\left(\mbox{height}\right)\cdot\left(\mbox{base}\right)\cdot\left(\mbox{thickness}\right) \approx \left(c_k + 1\right)\left(c_k + 1\right)\cdot \Delta x_k\nonumber\]where \(c_k\) is any chosen value between \(x_{k-1}\) and \(x_k\). Therefore:\[\mbox{total volume} = \sum_{k=1}^{n}\,\left(\mbox{volume of the \(k\)-th slice}\right) = \sum_{k=1}^{n}\,\left(c_k + 1\right)^2 \Delta x_k\nonumber\]which is a Riemann sum.

    Step 2: Going from the Riemann sum to a definite integral. We can improve the Riemann sum approximation of the total volume from Step 1 by taking thinner slices (making all of the \(\Delta x_k\) smaller and smaller) so that the mesh of the partition \({\cal P}\) approaches \(0\):\[\lim_{\left\|{\cal P}\right\|\to 0}\, \sum_{k=1}^{n}\, \left(c_k + 1\right)^2 \Delta x_k = \int_0^2 ( x + 1 )^2\, dx = \int_0^2 \left[x^2 + 2x + 1\right]\, dx\nonumber\]

    Step 3: Going from the definite integral to a numerical answer. We can now use FTC2 to evaluate the integral: \(\displaystyle F(x) = \frac13 x^3 + x^2 + x\) is an antiderivative of \(x^2 + 2x + 1\) (check this by differentiating \(F(x)\)), so:
    \begin{align*}\int_0^2 \left[x^2 + 2x + 1\right]\, dx &= \left[\frac13 x^3 + x^2 + x\right]_0^2\\
    &= \left[\frac13\cdot 2^3 + 2^2 + 2\right] - \left[\frac13\cdot 0^3 + 0^2 + 0\right] = \frac{26}{3}\end{align*}
    The volume of the solid shape is exactly \(\displaystyle \frac{26}{3}\) cubic inches.

    Practice \(\PageIndex{4}\)

    Find the volume of the solid shape in the figure below:

    A 3D coordinate graph featuring a thick red line in the x-y plane labeled y = 3 - x. The y-axis is marked with values 1, 2 and 3, while the x-axis is marked with 1 and 2. Below the red line, a series of blue-outlined vertical planes extend forward along a third, unlabeled depth axis, represented by three squares, at x=0, 0.8 and 2. The square at x=0.8 is shaded yellow.

    for \(0 \leq x \leq 2\). (Each “slice” perpendicular to the \(xy\)-plane is a square.)

    Answer

    First break the solid into &ldquo;slices&rdquo; and approximate the volume of the \(k\)-th slice by \(\left(3-c_k\right)^2\cdot \Delta x_k\) where \(c_k\) is any point in the \(k\)-th subinterval. Next add up these approximate volumes to get a Riemann Sum:\[\sum_{k=1}^{n} \, \left(3-c_k\right)^2\cdot \Delta x_k\nonumber\]and then take the limit of these Riemann sums as the mesh of the partitions approaches \(0\) (and \(n \rightarrow \infty\), where \(n\) is the number of subintervals in the partition):
    \begin{align*}
    \lim_{\left\|{\cal P}\right\|\to 0}\, \left[\sum_{k=1}^{n} \, \left(3-c_k\right)^2\cdot \Delta x_k\right] &= \int_0^2 \left(3-x\right)^2 \, dx\\
    &= \int_0^2 \left(9-6x+x^2\right) \, dx\\
    &= \left[9x-3x^2+ \frac13 x^3\right]_0^2\\
    &= \left[18-12+\frac83\right]-\left[0-0+0\right] = \frac{26}{3}
    \end{align*}

    Leibniz’s Rule For Differentiating Integrals

    If the endpoint of an integral is a function of \(x\) rather than simply \(x\), then we need to use the Chain Rule together with FTC1 to calculate the derivative of the integral. For example:\[A'(x) = f(x) \qquad \Rightarrow \qquad \frac{d}{dx}\left[A\left(x^2\right)\right] = A'(x) \cdot 2x = f\left(x^2\right) \cdot 2x\nonumber\]We can generalize this result by applying the Chain Rule to the derivative of the integral:\[\frac{d}{dx} \left[\int_a^{g(x)} f(t) \, dt \right] = \frac{d}{dx}\left[A\left(g(x)\right)\right] = f\left(g(x)\right)\cdot g'(x)\nonumber\]and combine this with some integral properties to further extend FTC1.

    Leibniz’s Rule

    If: \(f\) is a continuous function, \(\displaystyle A(x) = \int_a^x f(t) \, dt\) and \(g_1(x)\) and \(g_2(x)\) are both differentiable functions

    then: \(\displaystyle \frac{d}{dx} \left[ \int_{g_1(x)}^{g_2(x)} f(t) \, dt \right] = f\left(g_2(x)\right)\cdot g_2'(x) - f\left(g_1(x)\right)\cdot g_1'(x)\)

    Proof

    Assume for simplicity that \(f\), \(g_1\) and \(g_2\) are continuous on \((-\infty, \infty)\) and let \(c\) be any number. Then:
    \begin{align*}\int_{g_1(x)}^{g_2(x)} f(t) \, dt &= \int_{c}^{g_2(x)} f(t) \, dt + \int_{g_1(x)}^{c} f(t) \, dt \\
    &= \int_{c}^{g_2(x)} f(t) \, dt - \int_c^{g_1(x)} f(t) \, dt\end{align*}
    Now apply the preceding result.

    Example \(\PageIndex{6}\)

    If \(a\) is any constant, compute the derivatives \(\displaystyle \frac{d}{dx} \left[ \int_a^{5x} t^2 \, dt\right]\), \(\displaystyle \frac{d}{dx} \left[ \int_a^{x^2} \cos(u) \, du\right]\) and \(\displaystyle \frac{d}{dw} \left[ \int_{\pi w}^{\sin{w}} z^3 \, dz\right]\).

    Solution

    Applying Leibniz's Rule:
    \begin{align*}
    \frac{d}{dx} \left[ \int_a^{5x} t^2 \, dt\right] &= (5x)^2\cdot 5 = 125x^2\\
    \frac{d}{dx} \left[ \int_a^{x^2} \cos(u) \, du\right] &= \cos(x^2)\cdot 2x = 2x\cos(x^2)\\
    \frac{d}{dw} \left[ \int_{\pi w}^{\sin(w)} z^3 \, dz\right] &= \left(\sin(w)\right)^3\cdot\cos(w) - \left(\pi w\right)^3\cdot \pi \end{align*}
    The last quantity simplifies to \(\sin^3(w)\cos(w)-\pi^4w^3\).

    Practice \(\PageIndex{5}\)

    Compute \(\displaystyle \frac{d}{dx} \left[ \int_0^{x^3} \sin(t) dt \right]\).

    Answer

    \(\displaystyle \frac{d}{dx} \left[ \int_0^{x^3} \sin(t) \, dt \right] = \sin(x^3)\cdot \frac{d}{dx}\left[x^3\right] = 3x^2 \sin(x^3)\)

    Problems

    In Problems 1–2:

    1. Use FTC2 to find a formula for \(A(x)\), differentiate \(A(x)\) to obtain a formula for \(A'(x)\), and evaluate \(A'(x)\) at \(x = 1\), \(2\) and \(3\).
    2. Use FTC1 to evaluate \(A'(x)\) at \(x = 1\), \(2\) and \(3\).
    1. \(\displaystyle A(x) = \int_0^x 3t^2 \, dt\)
    2. \(\displaystyle A(x) = \int_1^x (1+2t) \, dt\)

    In Problems 3–8, compute \(A'(1)\), \(A'(2)\) and \(A'(3)\).

    1. \(\displaystyle A(x) = \int_0^x 2t \, dt\)
    2. \(\displaystyle A(x) = \int_1^x 2t \, dt\)
    3. \(\displaystyle A(x) = \int_{-3}^x 2t \, dt\)
    4. \(\displaystyle A(x) = \int_0^x \left(3-t^2\right) \, dt\)
    5. \(\displaystyle A(x) = \int_0^x \sin(t) \, dt\)
    6. \(\displaystyle A(x) = \int_1^x \left|t-2\right| \, dt\)

    In Problems 9–12, \(\displaystyle A(x) = \int_0^x f(t) \, dt\), with \(f(t)\) given graphically. Evaluate \(A'(1)\), \(A'(2)\) and \(A'(3)\).

    1. A red piecewise-linear function y=f(t) starts at (0,2), goes to (1,2), falls to (2,1), rises to (3,2), and continues to (4,2).
    2. A blue piecewise-linear function y=f(t) decsends through (0,1) and (1,0) to (2,0), then rises through (3,0) and (4,1).
    3. A red piecewise-linear function y=f(t) starts at (0,0), rises to (2,2), continues to (3,2), and falls to (4,1).
    4. A blue piecewise-linear function y=f(t) starts at (0,-1), continues to (2,-1) and rises through (3,0) and (4,1).

    In Problems 13–33, verify that \(F(x)\) is an antiderivative of the integrand and use FTC2 to evaluate the integral.

    1. \(\displaystyle \int_0^1 2x \, dx\), \(F(x) = x^2 + 5\)
    2. \(\displaystyle \int_1^4 3x^2 \, dx\), \(F(x) = x^3 + 2\)
    3. \(\displaystyle \int_1^3 x^2 \, dx\), \(\displaystyle F(x) = \frac13 x^3\)
    4. \(\displaystyle \int_0^3 \left[x^2+4x-3\right] \, dx\), \(\displaystyle F(x) = \frac13 x^3 + 2x^2 - 3x\)
    5. \(\displaystyle \int_1^5 \frac{1}{x} \, dx\), \(F(x) = \ln(x)\)
    6. \(\displaystyle \int_2^5 \frac{1}{x} \, dx\), \(F(x) = \ln(x)+4\)
    7. \(\displaystyle \int_{\frac12}^3 \frac{1}{x} \, dx\), \(F(x) = \ln(x)\)
    8. \(\displaystyle \int_1^3 \frac{1}{x} \, dx\), \(F(x) = \ln(x)+2\)
    9. \(\displaystyle \int_0^{\frac{\pi}{2}} \cos(x) \, dx\), \(F(x) = \sin(x)\)
    10. \(\displaystyle \int_0^{\pi} \sin(x) \, dx\), \(F(x) = -\cos(x)\)
    11. \(\displaystyle \int_0^1 \sqrt{x} \, dx\), \(\displaystyle F(x) = \frac23 x^{\frac32}\)
    12. \(\displaystyle \int_1^4 \sqrt{x} \, dx\), \(\displaystyle F(x) = \frac23 x^{\frac32}\)
    13. \(\displaystyle \int_1^7 \sqrt{x} \, dx\), \(\displaystyle F(x) = \frac23 x^{\frac32}\)
    14. \(\displaystyle \int_1^4 \frac{1}{2\sqrt{x}} \, dx\), \(\displaystyle F(x) = \sqrt{x}\)
    15. \(\displaystyle \int_1^9 \frac{1}{2\sqrt{x}} \, dx\), \(\displaystyle F(x) = \sqrt{x}\)
    16. \(\displaystyle \int_2^5 \frac{1}{x^2} \, dx\), \(\displaystyle F(x) = -\frac{1}{x}\)
    17. \(\displaystyle \int_{-2}^3 e^x \, dx\), \(F(x) = e^x\)
    18. \(\displaystyle \int_0^3 \frac{2x}{1+x^2} \, dx\), \(F(x) = \ln(1+x^2)\)
    19. \(\displaystyle \int_0^{\frac{\pi}{4}} \sec^2(x) \, dx\), \(F(x) = \tan(x)\)
    20. \(\displaystyle \int_1^e \ln(x) \, dx\), \(F(x) = x\cdot\ln(x)-x\)
    21. \(\displaystyle \int_0^3 2x\sqrt{1+x^2} \, dx\), \(\displaystyle F(x) = \frac23 \left(1+x^2\right)^{\frac32}\)

    For Problems 34–48, find an antiderivative of the integrand and use FTC2 to evaluate the definite integral.

    1. \(\displaystyle \int_2^5 3x^2 \, dx\)
    2. \(\displaystyle \int_{-1}^2 x^2 \, dx\)
    3. \(\displaystyle \int_1^3 \left[x^2+4x-3\right] \, dx\)
    4. \(\displaystyle \int_1^e \frac{1}{x} \ dx\)
    5. \(\displaystyle \int_{\frac{\pi}{4}}^{\frac{\pi}{2}} \sin(x) \, dx\)
    6. \(\displaystyle \int_{25}^{100} \sqrt{x} \ dx\)
    7. \(\displaystyle \int_3^5 \sqrt{x} \ dx\)
    8. \(\displaystyle \int_1^{10} \frac{1}{x^2} \ dx\)
    9. \(\displaystyle \int_1^{1000} \frac{1}{x^2} \ dx\)
    10. \(\displaystyle \int_0^1 e^x \, dx\)
    11. \(\displaystyle \int_{-2}^2 \frac{2x}{1+x^2} \ dx\)
    12. \(\displaystyle \int_{\frac{\pi}{6}}^{\frac{\pi}{4}} \sec^2(x) \, dx\)
    13. \(\displaystyle \int_0^1 e^{2x} \ dx\)
    14. \(\displaystyle \int_3^3 \sin(x)\cdot\ln(x) \, dx\)
    15. \(\displaystyle \int_2^4 \left(x-2\right)^3 \, dx\)

    In Problems 49–54, find the area of the shaded region.

    1. A red graph of y=sin(x) between x=0 and x=pi, with the region under the red graph and above the x-axis shaded yellow.
    2. A blue graph of y = square root of x, along with veritical black line segments extending from the x-axis to the blue curve at x=1 and x=4. The region below the blue curve, between the black line segments and above the x-axis is shaded yellow.
    3. A red graph of y=INT(x) between x=0 and x=4, with dashed-black vertical line segments extending from the x-axis to the red curve at x = 1, 2, 3 and 4, as well as a solid-black vertical line at x=3.5. The region under the red curve and above the x-axis betweem x=1 and x=3.5 is shaded yellow.
    4. A red graph of y=1+x/2 between x=0 and x=4, with black vertical line segments extending from the x-axis to the red curve at x = 1 and 4. The region under the red curve and above the x-axis betweem x=1 and x=4 is shaded yellow.
    5. A blue graph of y=(x-2)^2 between x=0 and x=3.5, with black vertical line segments extending from the x-axis to the red curve at x = 0 and 3. The region under the blue curve and above the x-axis betweem x=0 and x=3 is shaded yellow.
    6. A blue graph of y=4 and a red graph of y=x^2 on a [0,2.5]X[0,4.5] grid. The region below the blue line and above the red parabola is shaded yellow.
    7. Given that \(A'(x) = \tan(x)\), find \(\mbox{D}\left(A(3x)\right)\), \(\mbox{D}\left(A(x^2)\right)\) and \(\mbox{D}\left(A(\sin(x))\right)\).
    8. Given that \(B'(x) = \sec(x)\), find \(\mbox{D}\left(B(3x)\right)\), \(\mbox{D}\left(B(x^2)\right)\) and \(\mbox{D}\left(B(\sin(x))\right)\).

    In Problems 57–68, apply Leibniz’s Rule.

    1. \(\displaystyle \frac{d}{dx} \left[ \int_1^{5x} \sqrt{1+t} \, dt\right]\)
    2. \(\displaystyle \frac{d}{dx} \left[ \int_2^{x^2} \sqrt{1+t} \, dt\right]\)
    3. \(\displaystyle \frac{d}{dx} \left[ \int_0^{\sin(x)} \sqrt{1+t} \, dt\right]\)
    4. \(\displaystyle \frac{d}{dx} \left[ \int_1^{2+3x} \left(t^2+5\right) \, dt\right]\)
    5. \(\displaystyle \frac{d}{dx} \left[ \int_0^{1-2x} \left(3t^2+2\right) \, dt\right]\)
    6. \(\displaystyle \frac{d}{dx} \left[ \int_x^{9} \left(3t^2+2\right) \, dt\right]\)
    7. \(\displaystyle \frac{d}{dx} \left[ \int_x^{\pi} \cos(3t) \, dt\right]\)
    8. \(\displaystyle \frac{d}{dx} \left[ \int_{7x}^{\pi} \cos(2t) \, dt\right]\)
    9. \(\displaystyle \frac{d}{dx} \left[ \int_x^{x^2} \tan(t) \, dt\right]\)
    10. \(\displaystyle \frac{d}{dx} \left[ \int_0^{\pi} \cos(3t) \, dt\right]\)
    11. \(\displaystyle \frac{d}{dx} \left[ \int_2^{\ln(x)} 5t\cdot\cos(3t) \, dt\right]\)
    12. \(\displaystyle \frac{d}{dx} \left[ \int_0^{\pi} \tan(7t) \, dt\right]\)
    13. \(\displaystyle \frac{d}{dy} \left[ \int_0^{y^2} \tan(\theta) \, d\theta\right]\)

    This page titled 4.5: The Fundamental Theorem of Calculus was last modified on Wed, 28 Jan 2026 21:01:08 GMT and is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Dale Hoffman, edited and updated by Jeff Eldridge.

    • Was this article helpful?