Skip to main content
Mathematics LibreTexts

4.12: Antiderivatives

  • Page ID
    123924

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

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

    \( \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{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#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}\)
    Learning Objectives
    • Find the general antiderivative of a given function.
    • Explain the terms and notation used for an indefinite integral.
    • State the power rule for integrals.
    • Use antidifferentiation to solve simple initial-value problems.

    At this point, we have seen how to calculate derivatives of many functions and have been introduced to a variety of their applications. We now ask a question that turns this process around: Given a function \(f\), how do we find a function with the derivative \(f\) and why would we be interested in such a function?

    We answer the first part of this question by defining antiderivatives. The antiderivative of a function \(f\) is a function with a derivative \(f\). Why are we interested in antiderivatives? The need for antiderivatives arises in many situations, and we look at various examples throughout the remainder of the text. Here we examine one specific example that involves rectilinear motion. In our examination in Derivatives of rectilinear motion, we showed that given a position function \(s(t)\) of an object, then its velocity function \(v(t)\) is the derivative of \(s(t)\)—that is, \(v(t)=s′(t)\). Furthermore, the acceleration \(a(t)\) is the derivative of the velocity \(v(t)\)—that is, \(a(t)=v′(t)=s''(t)\). Now suppose we are given an acceleration function \(a\), but not the velocity function \(v\) or the position function \(s\). Since \(a(t)=v′(t)\), determining the velocity function requires us to find an antiderivative of the acceleration function. Then, since \(v(t)=s′(t),\) determining the position function requires us to find an antiderivative of the velocity function. Rectilinear motion is just one case in which the need for antiderivatives arises. We will see many more examples throughout the remainder of the text. For now, let’s look at the terminology and notation for antiderivatives, and determine the antiderivatives for several types of functions. We examine various techniques for finding antiderivatives of more complicated functions later in the text (Introduction to Techniques of Integration).

    The Reverse of Differentiation

    At this point, we know how to find derivatives of various functions. We now ask the opposite question. Given a function \(f\), how can we find a function with derivative \(f\)? If we can find a function \(F\) with derivative \(f,\) we call \(F\) an antiderivative of \(f\).

    Definition: Antiderivative

    A function \(F\) is an antiderivative of the function \(f\) if

    \[F′(x)=f(x) \nonumber \]

    for all \(x\) in the domain of \(f\).

    Consider the function \(f(x)=2x\). Knowing the power rule of differentiation, we conclude that \(F(x)=x^2\) is an antiderivative of \(f\) since \(F′(x)=2x\).

    Are there any other antiderivatives of \(f\)?

    Yes; since the derivative of any constant \(C\) is zero, \(x^2+C\) is also an antiderivative of \(2x\). Therefore, \(x^2+5\) and \(x^2−\sqrt{2}\) are also antiderivatives.

    Are there any others that are not of the form \(x^2+C\) for some constant \(C\)?

    The answer is no. From Corollary 2 of the Mean Value Theorem, we know that if \(F\) and \(G\) are differentiable functions such that \(F′(x)=G′(x),\) then \(F(x)−G(x)=C\) for some constant \(C\). This fact leads to the following important theorem.

    Theorem \(\PageIndex{1}\): General Form of an Antiderivative

    Let \(F\) be an antiderivative of \(f\) over an interval \(I\). Then,

    1. for each constant \(C\), the function \(F(x)+C\) is also an antiderivative of \(f\) over \(I\);
    2. if \(G\) is an antiderivative of \(f\) over \(I\), there is a constant \(C\) for which \(G(x)=F(x)+C\) over \(I\).

    In other words, the most general form of the antiderivative of \(f\) over \(I\) is \(F(x)+C\).

    We use this fact and our knowledge of derivatives to find all the antiderivatives for several functions.

    Example \(\PageIndex{1}\): Finding Antiderivatives

    For each of the following functions, find all antiderivatives.

    1. \(f(x)=3x^2\)
    2. \(f(x)=\dfrac{1}{x}\)
    3. \(f(x)=\cos x\)
    4. \(f(x)=e^x\)

    Solution:

    a. Because

    \[\dfrac{d}{dx}\left(x^3\right)=3x^2 \nonumber \]

    then \(F(x)=x^3\) is an antiderivative of \(3x^2\). Therefore, every antiderivative of \(3x^2\) is of the form \(x^3+C\) for some constant \(C\), and every function of the form \(x^3+C\) is an antiderivative of \(3x^2\).

    b. Let \(f(x)=\ln |x|.\)

    For \(x>0,\; f(x)=\ln |x|=\ln (x)\) and

    \[\dfrac{d}{dx}\Big(\ln x\Big)=\dfrac{1}{x}. \nonumber \]

    For \(x<0,\; f(x)=\ln |x|=\ln (−x)\) and

    \[\dfrac{d}{dx}\Big(\ln (−x)\Big)=−\dfrac{1}{−x}=\dfrac{1}{x}. \nonumber \]

    Therefore,

    \[\dfrac{d}{dx}\Big(\ln |x|\Big)=\dfrac{1}{x}. \nonumber \]

    Thus, \(F(x)=\ln |x|\) is an antiderivative of \(\dfrac{1}{x}\). Therefore, every antiderivative of \(\dfrac{1}{x}\) is of the form \(\ln |x|+C\) for some constant \(C\) and every function of the form \(\ln |x|+C\) is an antiderivative of \(\dfrac{1}{x}\).

    c. We have

    \[\dfrac{d}{dx}\Big(\sin x\Big)=\cos x, \nonumber \]

    so \(F(x)=\sin x\) is an antiderivative of \(\cos x\). Therefore, every antiderivative of \(\cos x\) is of the form \(\sin x+C\) for some constant \(C\) and every function of the form \(\sin x+C\) is an antiderivative of \(\cos x\).

    d. Since

    \[\dfrac{d}{dx}\left(e^x\right)=e^x, \nonumber \]

    then \(F(x)=e^x\) is an antiderivative of \(e^x\). Therefore, every antiderivative of \(e^x\) is of the form \(e^x+C\) for some constant \(C\) and every function of the form \(e^x+C\) is an antiderivative of \(e^x\).

    Exercise \(\PageIndex{1}\)

    Find all antiderivatives of \(f(x)=\sin x\).

    Hint

    What function has a derivative of \(\sin x\)?

    Answer

    \(F(x) = −\cos x+C\)

    Indefinite Integrals

    We now look at the formal notation used to represent antiderivatives and examine some of their properties. These properties allow us to find antiderivatives of more complicated functions. Given a function \(f\), we use the notation \(f′(x)\) or \(\dfrac{df}{dx}\) to denote the derivative of \(f\). Here we introduce notation for antiderivatives. If \(F\) is an antiderivative of \(f\), we say that \(F(x)+C\) is the most general antiderivative of \(f\) and write

    \[\int f(x)\,dx=F(x)+C.\nonumber \]

    The symbol \(\displaystyle \int \) is called an integral sign, and \(\displaystyle \int f(x)\,dx\) is called the indefinite integral of \(f\).

    Definition: Indefinite Integrals

    Given a function \(f\), the indefinite integral of \(f\), denoted

    \[\int f(x)\,dx, \nonumber \]

    is the most general antiderivative of \(f\). If \(F\) is an antiderivative of \(f\), then

    \[\int f(x)\,dx=F(x)+C. \nonumber \]

    The expression \(f(x)\) is called the integrand and the variable \(x\) is the variable of integration.

    Given the terminology introduced in this definition, the act of finding the antiderivatives of a function \(f\) is usually referred to as integrating \(f\).

    For a function \(f\) and an antiderivative \(F\), the functions \(F(x)+C\), where \(C\) is any real number, is often referred to as the family of antiderivatives of \(f\). For example, since \(x^2\) is an antiderivative of \(2x\) and any antiderivative of \(2x\) is of the form \(x^2+C,\) we write

    \[\int 2x\,dx=x^2+C.\nonumber \]

    The collection of all functions of the form \(x^2+C,\) where \(C\) is any real number, is known as the family of antiderivatives of \(2x\). Figure \(\PageIndex{1}\) shows a graph of this family of antiderivatives.

    The graphs for y = x2 + 2, y = x2 + 1, y = x2, y = x2 − 1, and y = x2 − 2 are shown.
    Figure \(\PageIndex{1}\): The family of antiderivatives of \(2x\) consists of all functions of the form \(x^2+C\), where \(C\) is any real number.

    For some functions, evaluating indefinite integrals follows directly from properties of derivatives. For example, for \(n≠−1\),

    \(\displaystyle \int x^n\,dx=\dfrac{x^{n+1}}{n+1}+C,\)

    which comes directly from

    \(\dfrac{d}{dx}\left(\dfrac{x^{n+1}}{n+1}\right)=(n+1)\dfrac{x^n}{n+1}=x^n\).

    This fact is known as the power rule for integrals.

    Power Rule for Integrals

    For \(n≠−1,\)

    \[\int x^n\,dx=\dfrac{x^{n+1}}{n+1}+C. \nonumber \]

    Evaluating indefinite integrals for some other functions is also a straightforward calculation. The following table lists the indefinite integrals for several common functions. A more complete list appears in Appendix B.

    Table \(\PageIndex{1}\): Integration Formulas
    Differentiation Formula Indefinite Integral
    \(\dfrac{d}{dx}\Big(k\Big)=0\) \(\displaystyle \int k\,dx=\int kx^0\,dx=kx+C\)
    \(\dfrac{d}{dx}\Big(x^n\Big)=nx^{n−1}\) \(\displaystyle \int x^n\,dx=\dfrac{x^{n+1}}{n+1}+C\) for \(n≠−1\)
    \(\dfrac{d}{dx}\Big(\ln |x|\Big)=\dfrac{1}{x}\) \(\displaystyle \int \dfrac{1}{x}\,dx=\ln |x|+C\)
    \(\dfrac{d}{dx}\Big(e^x\Big)=e^x\) \(\displaystyle \int e^x\,dx=e^x+C\)
    \(\dfrac{d}{dx}\Big(\sin x\Big)=\cos x\) \(\displaystyle \int \cos x\,dx=\sin x+C\)
    \(\dfrac{d}{dx}\Big(\cos x\Big)=−\sin x\) \(\displaystyle \int \sin x\,dx=−\cos x+C\)
    \(\dfrac{d}{dx}\Big(\tan x\Big)=\sec^2 x\) \(\displaystyle \int \sec^2 x\,dx=\tan x+C\)
    \(\dfrac{d}{dx}\Big(\csc x\Big)=−\csc x\cot x\) \(\displaystyle \int \csc x\cot x\,dx=−\csc x+C\)
    \(\dfrac{d}{dx}\Big(\sec x\Big)=\sec x\tan x\) \(\displaystyle \int \sec x\tan x\,dx=\sec x+C\)
    \(\dfrac{d}{dx}\Big(\cot x\Big)=−\csc^2 x\) \(\displaystyle \int \csc^2x\,dx=−\cot x+C\)
    \(\dfrac{d}{dx}\Big(\sin^{−1}x\Big)=\dfrac{1}{\sqrt{1−x^2}}\) \(\displaystyle \int \dfrac{1}{\sqrt{1−x^2}}=\sin^{−1}x+C\)
    \(\dfrac{d}{dx}\Big(\tan^{−1}x\Big)=\dfrac{1}{1+x^2}\) \(\displaystyle \int \dfrac{1}{1+x^2}\,dx=\tan^{−1}x+C\)
    \(\dfrac{d}{dx}\Big(\sec^{−1}|x|\Big)=\dfrac{1}{x\sqrt{x^2−1}}\) \(\displaystyle \int \dfrac{1}{x\sqrt{x^2−1}}\,dx=\sec^{−1}|x|+C\)

    From the definition of indefinite integral of \(f\), we know

    \[\int f(x)\,dx=F(x)+C\nonumber \]

    if and only if \(F\) is an antiderivative of \(f\).

    Therefore, when claiming that

    \[\int f(x)\,dx=F(x)+C\nonumber \]

    it is important to check whether this statement is correct by verifying that \(F′(x)=f(x).\)

    Example \(\PageIndex{2}\): Verifying an Indefinite Integral

    Each of the following statements is of the form \(\displaystyle \int f(x)\,dx=F(x)+C.\) Verify that each statement is correct by showing that \(F′(x)=f(x).\)

    1. \(\displaystyle\int \big(x+e^x\big)\,dx=\dfrac{x^2}{2}+e^x+C\)
    2. \(\displaystyle\int xe^x\,dx=xe^x−e^x+C\)

    Solution:

    a. Since

    \(\dfrac{d}{dx}\left(\dfrac{x^2}{2}+e^x+C\right)=x+e^x\),

    the statement

    \[\int \big(x+e^x\big)\,dx=\dfrac{x^2}{2}+e^x+C \nonumber \]

    is correct.

    Note that we are verifying an indefinite integral for a sum. Furthermore, \(\dfrac{x^2}{2}\) and \(e^x\) are antiderivatives of \(x\) and \(e^x\), respectively, and the sum of the antiderivatives is an antiderivative of the sum. We discuss this fact again later in this section.

    b. Using the product rule, we see that

    \[\dfrac{d}{dx}\left(xe^x−e^x+C\right)=e^x+xe^x−e^x=xe^x. \nonumber \]

    Therefore, the statement

    \[\int xe^x\,dx=xe^x−e^x+C \nonumber \]

    is correct.

    Note that we are verifying an indefinite integral for a product. The antiderivative \(xe^x−e^x\) is not a product of the antiderivatives. Furthermore, the product of antiderivatives, \(x^2e^x/2\) is not an antiderivative of \(xe^x\) since

    \(\dfrac{d}{dx}\left(\dfrac{x^2e^x}{2}\right)=xe^x+\dfrac{x^2e^x}{2}≠xe^x\).

    In general, the product of antiderivatives is not an antiderivative of a product.

    Exercise \(\PageIndex{2}\)

    Verify that \(\displaystyle \int x\cos x\,\,dx=x\sin x+\cos x+C.\)

    Hint

    Calculate \(\dfrac{d}{dx}\Big(x\sin x+\cos x+C\Big).\)

    Answer

    \(\dfrac{d}{dx}\Big(x\sin x+\cos x+C\Big)=\sin x+x\cos x−\sin x=x \cos x\)

    In Table \(\PageIndex{1}\), we listed the indefinite integrals for many elementary functions. Let’s now turn our attention to evaluating indefinite integrals for more complicated functions. For example, consider finding an antiderivative of a sum \(f+g\). In Example \(\PageIndex{2}a\) we showed that an antiderivative of the sum \(x+e^x\) is given by the sum \(\dfrac{x^2}{2}+e^x\)—that is, an antiderivative of a sum is given by a sum of antiderivatives. This result was not specific to this example. In general, if \(F\) and \(G\) are antiderivatives of any functions \(f\) and \(g\), respectively, then

    \(\dfrac{d}{dx}\big(F(x)+G(x)\big)=F′(x)+G′(x)=f(x)+g(x).\)

    Therefore, \(F(x)+G(x)\) is an antiderivative of \(f(x)+g(x)\) and we have

    \[ \int \big(f(x)+g(x)\big)\,dx=F(x)+G(x)+C.\nonumber \]

    Similarly,

    \[ \int \big(f(x)−g(x)\big)\,dx=F(x)−G(x)+C.\nonumber \]

    In addition, consider the task of finding an antiderivative of \(kf(x),\) where \(k\) is any real number. Since

    \[ \dfrac{d}{dx}\Big(kF(x)\Big)=k\dfrac{d}{dx}\Big(F(x)\Big)=kF′(x)\nonumber \]

    for any real number \(k\), we conclude that

    \[ \int kf(x)\,dx=kF(x)+C.\nonumber \]

    These properties are summarized next.

    Properties of Indefinite Integrals

    Let \(F\) and \(G\) be antiderivatives of \(f\) and \(g\), respectively, and let \(k\) be any real number.

    Sums and Differences

    \[\int \big(f(x)±g(x)\big)\,dx=F(x)±G(x)+C \nonumber \]

    Constant Multiples

    \[ \int kf(x)\,dx=kF(x)+C \nonumber \]

    From this theorem, we can evaluate any integral involving a sum, difference, or constant multiple of functions with antiderivatives that are known. Evaluating integrals involving products, quotients, or compositions is more complicated. (See Example \(\PageIndex{2}b\) for an example involving an antiderivative of a product.) We look at and address integrals involving these more complicated functions in Introduction to Integration. In the next example, we examine how to use this theorem to calculate the indefinite integrals of several functions.

    Example \(\PageIndex{3}\): Evaluating Indefinite Integrals

    Evaluate each of the following indefinite integrals:

    1. \(\displaystyle \int \big(5x^3−7x^2+3x+4\big)\,dx\)
    2. \(\displaystyle \int \dfrac{x^2+4\sqrt[3]{x}}{x}\,dx\)
    3. \(\displaystyle \int \dfrac{4}{1+x^2}\,dx\)
    4. \(\displaystyle \int \tan x\cos x\,dx\)

    Solution:

    a. Using Properties of Indefinite Integrals, we can integrate each of the four terms in the integrand separately. We obtain

    \(\displaystyle \int \big(5x^3−7x^2+3x+4\big)\,dx=\int 5x^3\,dx−\int 7x^2\,dx+\int 3x\,dx+\int 4\,dx.\)

    From the second part of Properties of Indefinite Integrals, each coefficient can be written in front of the integral sign, which gives

    \(\displaystyle \int 5x^3\,dx−\int 7x^2\,dx+\int 3x\,dx+\int 4\,dx=5\int x^3\,dx−7\int x^2\,dx+3\int x\,dx+4\int 1\,dx.\)

    Using the power rule for integrals, we conclude that

    \(\displaystyle \int \big(5x^3−7x^2+3x+4\big)\,dx=\dfrac{5}{4}x^4−\dfrac{7}{3}x^3+\dfrac{3}{2}x^2+4x+C.\)

    b. Rewrite the integrand as

    \(\dfrac{x^2+4\sqrt[3]{x}}{x}=\dfrac{x^2}{x}+\dfrac{4\sqrt[3]{x}}{x}.\)

    Then, to evaluate the integral, integrate each of these terms separately. Using the power rule, we have

    \[\begin{align*} \int \left(x+\dfrac{4}{x^{2/3}}\right)\,dx&=\int x\,dx+4\int x^{−2/3}\,dx\\[4pt]
    &=\dfrac{1}{2}x^2+4\dfrac{1}{\left(\tfrac{−2}{3}\right)+1}x^{(−2/3)+1}+C\\[4pt]
    &=\dfrac{1}{2}x^2+12x^{1/3}+C. \end{align*}\]

    c. Using Properties of Indefinite Integrals, write the integral as

    \(4\displaystyle \int \dfrac{1}{1+x^2}\,dx.\)

    Then, use the fact that \(\tan^{−1}(x)\) is an antiderivative of \(\dfrac{1}{1+x^2}\) to conclude that

    \(\displaystyle \int \dfrac{4}{1+x^2}\,dx=4\tan^{−1}(x)+C.\)

    d. Rewrite the integrand as

    \(\tan x\cos x=\dfrac{\sin x}{\cos x}\cdot\cos x=\sin x.\)

    Therefore,

    \(\displaystyle \int \tan x\cos x\,dx=\int \sin x\,dx=−\cos x+C.\)

    Exercise \(\PageIndex{3}\)

    Evaluate \(\displaystyle \int \big(4x^3−5x^2+x−7\big)\,dx\).

    Hint

    Integrate each term in the integrand separately, making use of the power rule.

    Answer

    \(\displaystyle \int \big(4x^3−5x^2+x−7\big)\,dx = \quad x^4−\dfrac{5}{3}x^3+\dfrac{1}{2}x^2−7x+C\)

    Initial-Value Problems

    We look at techniques for integrating a large variety of functions involving products, quotients, and compositions later in the text. Here we turn to one common use for antiderivatives that arises often in many applications: solving differential equations.

    A differential equation is an equation that relates an unknown function and one or more of its derivatives. The equation

    \[\dfrac{dy}{dx}=f(x)\label{diffeq1} \]

    is a simple example of a differential equation. Solving this equation means finding a function \(y\) with a derivative \(f\). Therefore, the solutions of Equation \ref{diffeq1} are the antiderivatives of \(f\). If \(F\) is one antiderivative of \( f\), every function of the form \( y=F(x)+C\) is a solution of that differential equation. For example, the solutions of

    \[\dfrac{dy}{dx}=6x^2\nonumber \]

    are given by

    \[y=\int 6x^2\,dx=2x^3+C.\nonumber \]

    Sometimes we are interested in determining whether a particular solution curve passes through a certain point \( (x_0,y_0)\) —that is, \( y(x_0)=y_0\). The problem of finding a function \(y\) that satisfies a differential equation

    \(\dfrac{dy}{dx}=f(x)\)

    with the additional condition

    \(y(x_0)=y_0\)

    is an example of an initial-value problem. The condition \( y(x_0)=y_0\) is known as an initial condition. For example, looking for a function \( y\) that satisfies the differential equation

    \(\dfrac{dy}{dx}=6x^2\)

    and the initial condition

    \(y(1)=5\)

    is an example of an initial-value problem. Since the solutions of the differential equation are \( y=2x^3+C,\) to find a function \(y\) that also satisfies the initial condition, we need to find \(C\) such that \(y(1)=2(1)^3+C=5\). From this equation, we see that \( C=3\), and we conclude that \( y=2x^3+3\) is the solution of this initial-value problem as shown in the following graph.

    The graphs for y = 2x3 + 6, y = 2x3 + 3, y = 2x3, and y = 2x3 − 3 are shown.
    Figure \(\PageIndex{2}\): Some of the solution curves of the differential equation \(\dfrac{dy}{dx}=6x^2\) are displayed. The function \(y=2x^3+3\) satisfies the differential equation and the initial condition \(y(1)=5.\)
    Example \(\PageIndex{4}\): Solving an Initial-Value Problem

    Solve the initial-value problem

    \[\dfrac{dy}{dx}=\sin x,\quad y(0)=5.\nonumber \]

    Solution

    First we need to solve the differential equation. If \(\dfrac{dy}{dx}=\sin x\), then

    \[y=\displaystyle \int \sin(x)\,dx=−\cos x+C.\nonumber \]

    Next we need to look for a solution \(y\) that satisfies the initial condition. The initial condition \(y(0)=5\) means we need a constant \(C\) such that \(−\cos x+C=5.\) Therefore,

    \[C=5+\cos(0)=6.\nonumber \]

    The solution of the initial-value problem is \(y=−\cos x+6.\)

    Exercise \(\PageIndex{4}\)

    Solve the initial value problem \(\dfrac{dy}{dx}=3x^{−2},\quad y(1)=2\).

    Hint

    Find all antiderivatives of \(f(x)=3x^{−2.}\)

    Answer

    \(y=−\dfrac{3}{x}+5\)

    Initial-value problems arise in many applications. Next we consider a problem in which a driver applies the brakes in a car. We are interested in how long it takes for the car to stop. Recall that the velocity function \(v(t)\) is the derivative of a position function \(s(t),\) and the acceleration \(a(t)\) is the derivative of the velocity function. In earlier examples in the text, we could calculate the velocity from the position and then compute the acceleration from the velocity. In the next example we work the other way around. Given an acceleration function, we calculate the velocity function. We then use the velocity function to determine the position function.

    Example \(\PageIndex{5}\):

    A car is traveling at the rate of \(88\) ft/sec (\(60\) mph) when the brakes are applied. The car begins decelerating at a constant rate of \(15\) ft/sec2.

    1. How many seconds elapse before the car stops?
    2. How far does the car travel during that time?
    Solution

    a. First we introduce variables for this problem. Let \(t\) be the time (in seconds) after the brakes are first applied. Let \(a(t)\) be the acceleration of the car (in feet per seconds squared) at time \(t\). Let \(v(t)\) be the velocity of the car (in feet per second) at time \(t\). Let \(s(t)\) be the car’s position (in feet) beyond the point where the brakes are applied at time \(t\).

    The car is traveling at a rate of \(88\) ft/sec. Therefore, the initial velocity is \(v(0)=88\) ft/sec. Since the car is decelerating, the acceleration is

    \(a(t)=−15\,\text{ft/sec}^2\).

    The acceleration is the derivative of the velocity,

    \(v′(t)=-15.\)

    Therefore, we have an initial-value problem to solve:

    \(v′(t)=−15,\quad v(0)=88.\)

    Integrating, we find that

    \(v(t)=−15t+C.\)

    Since \(v(0)=88,C=88.\) Thus, the velocity function is

    \(v(t)=−15t+88.\)

    To find how long it takes for the car to stop, we need to find the time \(t\) such that the velocity is zero. Solving \(−15t+88=0,\) we obtain \(t=\dfrac{88}{15}\) sec.

    b. To find how far the car travels during this time, we need to find the position of the car after \(\dfrac{88}{15}\) sec. We know the velocity \(v(t)\) is the derivative of the position \(s(t)\). Consider the initial position to be \(s(0)=0\). Therefore, we need to solve the initial-value problem

    \(s′(t)=−15t+88,\quad s(0)=0.\)

    Integrating, we have

    \(s(t)=−\dfrac{15}{2}t^2+88t+C.\)

    Since \(s(0)=0\), the constant is \(C=0\). Therefore, the position function is

    \(s(t)=−\dfrac{15}{2}t^2+88t.\)

    After \(t=\frac{88}{15}\) sec, the position is \(s\left(\frac{88}{15}\right)≈258.133\) ft.

    Exercise \(\PageIndex{5}\)

    Suppose the car is traveling at the rate of \(44\) ft/sec. How long does it take for the car to stop? How far will the car travel?

    Hint

    \(v(t)=−15t+44.\)

    Answer

    \(2.93\) sec, \(64.5\) ft

    Key Concepts

    • If \(F\) is an antiderivative of \(f,\) then every antiderivative of \(f\) is of the form \(F(x)+C\) for some constant \(C\).
    • Solving the initial-value problem \[\dfrac{dy}{dx}=f(x),\quad y(x_0)=y_0 \nonumber \] requires us first to find the set of antiderivatives of \(f\) and then to look for the particular antiderivative that also satisfies the initial condition.

    Glossary

    antiderivative
    a function \(F\) such that \(F′(x)=f(x)\) for all \(x\) in the domain of \(f\) is an antiderivative of \(f\)
    indefinite integral
    the most general antiderivative of \(f(x)\) is the indefinite integral of \(f\); we use the notation \(\displaystyle \int f(x)\,dx\) to denote the indefinite integral of \(f\)
    initial value problem
    a problem that requires finding a function \(y\) that satisfies the differential equation \(\dfrac{dy}{dx}=f(x)\) together with the initial condition \(y(x_0)=y_0\)

    This page titled 4.12: Antiderivatives is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Chau D Tran via source content that was edited to the style and standards of the LibreTexts platform.