5.5: Indefinite Integrals and the Net Change Theorem

Analytic Geometry and Calculus I (IVC Math 3A OER) · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY-NC-SA 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    5.5: Indefinite Integrals and the Net Change Theorem
    Learning Objectives
    • Apply the basic integration formulas.
    • Explain the significance of the net change theorem.
    • Use the net change theorem to solve applied problems.
    • Apply the integrals of odd and even functions.

    The Net Change Theorem

    The net change theorem considers the integral of a rate of change. It says that when a quantity changes, the new value equals the initial value plus the integral of the rate of change of that quantity. The formula can be expressed in two ways. The second is more familiar; it is simply the definite integral.

    Theorem \(\PageIndex{1}\): Net Change Theorem

    The new value of a changing quantity equals the initial value plus the integral of the rate of change:

    \[F(b)=F(a)+∫^b_aF'(x)\,dx \quad \text{ or equivalently, } \quad ∫^b_aF'(x)\,dx=F(b)−F(a) \nonumber \]

    Subtracting \(F(a)\) from both sides of the top equation yields the bottom one. Since they are equivalent formulas, which one we use depends on the application.

    The significance of the net change theorem lies in the results. Net change can be applied to area, distance, and volume, to name only a few applications. Net change accounts for negative quantities automatically without having to write more than one integral. To illustrate, let’s apply the net change theorem to a velocity function in which the result is displacement.

    We looked at a simple example of this in The Definite Integral section. Suppose a car is moving due north (the positive direction) at 40 mph between 2 p.m. and 4 p.m., then the car moves south at 30 mph between 4 p.m. and 5 p.m. We can graph this motion as shown in Figure \(\PageIndex{1}\).

    A graph with the x axis marked as t and the y axis marked normally. The lines y=40 and y=-30 are drawn over [2,4] and [4,5], respectively.The areas between the lines and the x axis are shaded.
    Figure \(\PageIndex{1}\): The graph shows speed versus time for the given motion of a car.

    Just as we did before, we can use definite integrals to calculate the net displacement as well as the total distance traveled. The net displacement is given by

    \[ ∫^5_2v(t)\,dt=∫^4_240\,dt+∫^5_4−30\,dt=80−30=50 \nonumber \]

    Thus, at 5 p.m. the car is 50 mi north of its starting position. The total distance traveled is given by

    \[ ∫^5_2|v(t)|\,dt=∫^4_240\,dt+∫^5_430\,dt=80+30=110 \nonumber \]

    Therefore, between 2 p.m. and 5 p.m., the car traveled a total of 110 mi.

    To summarize, net displacement may include both positive and negative values. In other words, the velocity function accounts for both forward distance and backward distance. To find net displacement, integrate the velocity function over the interval. Total distance traveled, on the other hand, is always positive. To find the total distance traveled by an object, regardless of direction, we need to integrate the absolute value of the velocity function.

    Example \(\PageIndex{1}\): Finding Net Displacement

    Given a velocity function \(v(t)=3t−5\) (in meters per second) for a particle in motion from time \(t=0\) to time \(t=3,\) find the net displacement of the particle.

    Solution

    Applying the net change theorem, we have

    \[ ∫^3_0(3t−5)\,dt=\left(\frac{3t^2}{2}−5t\right)\bigg|^3_0=\left[\frac{3(3)^2}{2}−5(3)\right]−0=\frac{27}{2}−15=\frac{27}{2}−\frac{30}{2}=−\frac{3}{2} \nonumber \]

    The net displacement is \( \boxed{−\frac{3}{2} \text{ meters}}\)

    A graph of the line v(t) = 3t – 5, which goes through points (0, -5) and (5/3, 0). The area over the line and under the x axis in the interval [0, 5/3] is shaded. The area under the line and above the x axis in the interval [5/3, 3] is shaded.
    Figure \(\PageIndex{2}\): The graph shows velocity versus time for a particle moving with a linear velocity function.
    Example \(\PageIndex{2}\): Finding the Total Distance Traveled

    Use Example \(\PageIndex{2}\) to find the total distance traveled by a particle according to the velocity function \(v(t)=3t−5\) m/sec over a time interval \([0,3].\)

    Solution

    The total distance traveled includes both the positive and the negative values. Therefore, we must integrate the absolute value of the velocity function to find the total distance traveled.

    To continue with the example, use two integrals to find the total distance. First, find the \(t\)-intercept of the function, since that is where the division of the interval occurs. Set the equation equal to zero and solve for \(t\). Thus,

    \[ \begin{align*} 3t−5 &=0 \\[4pt] 3t &=5 \\[4pt] t &=\dfrac{5}{3} \end{align*}\]

    The two subintervals are \( \left[0,\dfrac{5}{3}\right]\) and \( \left[\dfrac{5}{3},3\right]\). To find the total distance traveled, integrate the absolute value of the function. Since the function is negative over the interval \(\left[0,\dfrac{5}{3}\right]\), we have \(\big|v(t)\big|=−v(t)\) over that interval. Over \(\left[ \dfrac{5}{3},3\right]\), the function is positive, so \(\big|v(t)\big|=v(t)\). Thus, we have

    \[ \begin{align*} ∫^3_0\big|v(t)\big|\,dt &=∫^{\frac{5}{3}}_0−v(t)\,dt+∫^3_{\frac{5}{3}}v(t)\,dt \\[4pt]
    &=∫^{\frac{5}{3}}_0 5−3t\,dt+∫^3_{\frac{5}{3}} 3t−5\,dt \\[4pt]
    &=\left(5t−\frac{3t^2}{2}\right)\bigg|^{\frac{5}{3}}_0+\left(\frac{3t^2}{2}−5t\right)\bigg|^3_{\frac{5}{3}} \\[4pt]
    &=\left[5\left(\frac{5}{3}\right)−\frac{3\left(\frac{5}{3}\right)^2}{2}\right]−0+\left[\frac{27}{2}−15\right]−\left[\frac{3\left(\frac{5}{3}\right)^2}{2}−\frac{25}{3}\right] \\[4pt]
    &=\frac{25}{3}−\frac{25}{6}+\frac{27}{2}−15−\frac{25}{6}+\frac{25}{3} \\[4pt]
    &=\frac{41}{6} \end{align*}\]

    So, the total distance traveled is \(\boxed{ \dfrac{41}{6} \text {meters}}\)

    Exercise \(\PageIndex{1}\)

    Find the net displacement and total distance traveled in meters given the velocity function \(f(t)=\dfrac{1}{2}e^t−2\) over the interval \([0,2]\).

    Hint

    Note that \(f(t)≤0\) for \(t≤\ln (4)\) and \(f(t)≥0\) for \(t≥\ln (4)\).

    Answer

    Net displacement: \( \dfrac{e^2−9}{2}≈−0.8055\) m; total distance traveled: \( 4\ln 4−7.5+\dfrac{e^2}{2}≈1.740\) m.

    Applying the Net Change Theorem

    The net change theorem can be applied to the flow and consumption of fluids, as shown below.

    Example \(\PageIndex{3}\): How Many Gallons of Gasoline Are Consumed?

    If the motor on a motorboat is started at \(t=0\) and the boat consumes gasoline at the rate of \(5−t^3\) gal/hr, how much gasoline is used in the first \(2\) hours?

    Solution

    Express the problem as a definite integral, integrate, and evaluate using the Fundamental Theorem of Calculus. The limits of integration are the endpoints of the interval [0,2]. We have

    \[ \begin{align*} ∫^2_0\left(5−t^3\right)\,dt &=\left(5t−\frac{t^4}{4}\right)\Big|^2_0 \\[4pt] &=\left[5(2)−\frac{2^4}{4}\right]−\left[5(0)−\frac{0^4}{4}\right] \\[4pt] &=6 \end{align*} \nonumber \]

    Thus, the motorboat uses \(\boxed{6 \text{ gallons}}\) of gas in \(2\) hours.

    Example \(\PageIndex{4}\): Chapter Opener: Iceboats

    As we saw at the beginning of the chapter, top iceboat racers can attain speeds of up to five times the wind speed. Andrew is an intermediate iceboater, though, so he attains speeds equal to only twice the wind speed.

    An image of an iceboat in action.
    Figure \(\PageIndex{3}\): (credit: modification of work by Carter Brown, Flickr)

    Suppose Andrew takes his iceboat out one morning when a light \(5\)-mph breeze has been blowing all morning. As Andrew gets his iceboat set up, though, the wind begins to pick up. During his first half hour of iceboating, the wind speed increases according to the function \(v(t)=20t+5.\) For the second half hour of Andrew’s outing, the wind remains steady at \(15\) mph. In other words, the wind speed is given by

    \[ v(t)=\begin{cases}20t+5 & \text{for } 0≤t≤\dfrac{1}{2}\\15 & \text{for } \dfrac{1}{2}≤t≤1\end{cases} \nonumber \]

    Recalling that Andrew’s iceboat travels at twice the wind speed, and assuming he moves in a straight line away from his starting point, how far is Andrew from his starting point after \(1\) hour?

    Solution

    To figure out how far Andrew has traveled, we need to integrate his velocity, which is twice the wind speed. Then

    \[ ∫^1_02v(t)\,dt \nonumber \]

    Substituting the expressions we were given for \(v(t)\), we get

    \[ \begin{align*} \text{Distance} &=∫^1_02v(t)\,dt \\[4pt] &=∫^{\frac{1}{2}}_02v(t)\,dt+∫^1_{\frac{1}{2}}2v(t)\,dt \\[4pt]
    &=∫^{\frac{1}{2}}_02(20t+5)\,dt+∫^1_{\frac{1}{2}}2(15)\,dt \\[4pt]
    &=∫^{\frac{1}{2}}_0(40t+10)\,dt+∫^1_{\frac{1}{2}}30\,dt \\[4pt]
    &=\big(20t^2+10t\big)\bigg|^{\frac{1}{2}}_0+\big(30t\big)\bigg|^1_{\frac{1}{2}} \\[4pt]
    &=\left(\frac{20}{4}+5\right)−0+(30−15) \\[4pt]
    &=25 \end{align*}\]

    Andrew is \(\boxed{25 \text{ miles}}\) from his starting point after 1 hour.

    Exercise \(\PageIndex{2}\)

    Suppose that, instead of remaining steady during the second half hour of Andrew’s outing, the wind starts to die down according to the function \(v(t)=−10t+15.\) In other words, the wind speed is given by

    \[ v(t)=\begin{cases}20t+5 & \text{for } 0≤t≤\dfrac{1}{2}\\−10t+15 &\text{for } \dfrac{1}{2}≤t≤1\end{cases} \nonumber \]

    Under these conditions, how far from his starting point is Andrew after 1 hour?

    Hint

    Don’t forget that Andrew’s iceboat moves twice as fast as the wind.

    Answer

    \(17.5\) mi

    Integrating Even and Odd Functions

    We saw in Functions and Graphs that an even function is a function in which \(f(−x)=f(x)\) for all \(x\) in the domain—that is, the graph of the curve is unchanged when \(x\) is replaced with \(−x\). The graphs of even functions are symmetric about the \(y\)-axis. An odd function is one in which \(f(−x)=−f(x)\) for all \(x\) in the domain, and the graph of the function is symmetric about the origin.

    Integrals of even functions, when the limits of integration are from \(−a\) to \(a\), involve two equal areas, because they are symmetric about the \(y\)-axis. Integrals of odd functions, when the limits of integration are similarly \([−a,a],\) evaluate to zero because the areas above and below the \(x\)-axis are equal.

    Shortcut: Integrals of Even and Odd Functions

    For continuous even functions such that \(f(−x)=f(x),\)

    \[∫^a_{−a}f(x)\,dx=2∫^a_0f(x)\,dx \nonumber \]

    For continuous odd functions such that \(f(−x)=−f(x),\)

    \[∫^a_{−a}f(x)\,dx=0 \nonumber \]

    Example \(\PageIndex{5}\): Integrating an Even Function

    Integrate the even function \(\displaystyle ∫^2_{−2}\left(3x^8−2\right)\,dx\) and verify that the integration formula for even functions holds.

    Solution

    The symmetry appears in the graphs in Figure \(\PageIndex{4}\). Graph (a) shows the region below the curve and above the \(x\)-axis. We have to zoom in to this graph by a huge amount to see the region. Graph (b) shows the region above the curve and below the \(x\)-axis. The signed area of this region is negative. Both views illustrate the symmetry about the \(y\)-axis of an even function. We have

    \[ \begin{align*} ∫^2_{−2}\left(3x^8−2\right)\,dx &=\left(\frac{x^9}{3}−2x\right)\bigg|^2_{−2} \\[4pt]
    &=\left[\frac{2^9}{3}−2(2)\right]−\left[\frac{(−2)^9}{3}−2(−2)\right] \\[4pt]
    &= \left(\frac{512}{3}−4\right)−\left(−\frac{512}{3}+4\right) \\[4pt]
    &=\boxed{\frac{1000}{3}} \end{align*}\]

    To verify the integration formula for even functions, we can calculate the integral from \(0\) to \(2\) and double it, then check to make sure we get the same answer.

    \[ ∫^2_0\left(3x^8−2\right)\,dx=\left(\frac{x^9}{3}−2x\right)\bigg|^2_{0}=\frac{512}{3}−4=\frac{500}{3} \nonumber \]

    Since \( 2⋅\dfrac{500}{3}=\dfrac{1000}{3},\) we have verified the formula for even functions in this particular example.

    Two graphs of the same function f(x) = 3x^8 – 2, side by side. It is symmetric about the y axis, has x-intercepts at (-1,0) and (1,0), and has a y-intercept at (0,-2). The function decreases rapidly as x increases until about -.5, where it levels off at -2. Then, at about .5, it increases rapidly as a mirror image. The first graph is zoomed-out and shows the positive area between the curve and the x axis over [-2,-1] and [1,2]. The second is zoomed-in and shows the negative area between the curve and the x-axis over [-1,1].
    Figure \(\PageIndex{4}\): Graph (a) shows the positive area between the curve and the \(x\)-axis, whereas graph (b) shows the negative area between the curve and the \(x\)-axis. Both views show the symmetry about the \(y\)-axis.
    Example \(\PageIndex{6}\): Integrating an Odd Function

    Evaluate the definite integral of the odd function \(−5 \sin (x)\) over the interval \([−π,π]\)

    Solution

    The graph is shown in Figure \(\PageIndex{5}\). We can see the symmetry about the origin by the positive area above the \(x\)-axis over \([−π,0]\), and the negative area below the \(x\)-axis over \([0,π].\) we have

    \[ ∫^π_{−π}−5\sin (x) \,dx =−5(−\cos(x))\bigg|^π_{−π} =5\cos (x)\,\bigg|^π_{−π} =5\cos (π)−5\cos(−π) =−5−(−5)=\boxed{0} \nonumber \]

    A graph of the given function f(x) = -5 sin(x). The area under the function but above the x axis is shaded over [-pi, 0], and the area above the function and under the x axis is shaded over [0, pi].
    Figure \(\PageIndex{5}\):The graph shows areas between a curve and the \(x\)-axis for an odd function.
    Exercise \(\PageIndex{3}\)

    Evaluate the integral \(\displaystyle ∫^2_{−2}x^4\,dx\)

    Hint

    This is an even function.

    Answer

    \(\dfrac{64}{5}\)

    Indefinite Integrals

    We now look at the formal notation used to represent anti-derivatives and examine some of their properties. These properties allow us to find anti-derivatives 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 anti-derivatives. If \(F\) is an anti-derivative of \(f\), we say that \(F(x)+C\) is the most general anti-derivative of \(f\) and write

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

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

    Definition: Indefinite Integral

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

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

    is the most general anti-derivative of \(f\). If \(F\) is an anti-derivative 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 anti-derivatives of a function \(f\) is usually referred to as integrating \(f\).

    For a function \(f\) and an anti-derivative \(F\), the functions \(F(x)+C\), where \(C\) is any real number, is often referred to as the family of anti-derivatives of \(f\). For example, since \(x^2\) is an anti-derivative of \(2x\) and any anti-derivative 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 anti-derivatives of \(2x\). The figure below shows a graph of this family of anti-derivatives.

    CNX_Calc_Figure_04_10_001.jpeg

    Evaluating indefinite integrals for any function is the same as finding this family of anti-derivatives. This notation is used since we calculate anti-derivatives while solving definite integrals, the only difference is that we do not get numbers to plug in once we are done.

    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{7}\)

    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)\)

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

    (b) \(\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 \left(x+e^x\right)\, dx=\dfrac{x^2}{2}+e^x+C \nonumber\]

    is correct.

    (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 just verified an indefinite integral for a product. In general, the product of anti-derivatives is not an anti-derivative of a product.

    Exercise \(\PageIndex{4}\)

    Verify that \[\int x\cos (x)\,dx=x\sin (x)+\cos (x)+C\nonumber\]

    Answer

    \[\dfrac{d}{dx}(x\sin (x)+\cos (x)+C)=\sin (x)+x\cos (x)−\sin (x)=x \cos (x)\nonumber\]

    We have already discussed the properties of the anti-derivative that are inherited from differentiation rules. These properties are summarized below:

    Theorem \(\PageIndex{2}\): Properties of Indefinite Integrals

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

    Sums and Differences

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

    Constant Multiples

    \(\displaystyle\int \big(kf(x)\big)\,dx=kF(x)+C\)

    From this theorem, we can evaluate any integral involving a sum, difference, or constant multiple of functions with anti-derivatives that are known. Evaluating integrals involving products, quotients, or compositions is more complicated (as we saw in Example \(\PageIndex{8b}\) above). 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{8}\)

    Evaluate each of the following indefinite integrals:

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

    (b) \(\displaystyle\int \dfrac{x^2+4\sqrt[3]{x}}{x}\, dx\)

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

    (d) \(\displaystyle \int \tan (x)\cos (x)\, dx\)

    Solution

    (a) We can integrate each of the four terms in the integrand separately. We obtain

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

    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 (5x^3−7x^2+3x+4)\,dx=\boxed{\dfrac{5}{4}x^4−\dfrac{7}{3}x^3+\dfrac{3}{2}x^2+4x+C}}\)

    (b) Rewrite the integrand as

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

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

    \[ \int \dfrac{x^2+4\sqrt[3]{x}}{x}\,dx = \int x\,dx+4\int x^{-\frac{2}{3}}dx=\boxed{\dfrac{1}{2}x^2+12x^{\frac{1}{3}}+C} \nonumber \]

    (c) Write the integral as

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

    (d) Rewrite the integrand as

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

    Therefore,

    \(\displaystyle{\int \tan (x)\cos (x)\,dx=\int \sin (x)\,dx=\boxed{−\cos(x)+C}}\)

    Key Concepts

    • The net change theorem states that when a quantity changes, the final value equals the initial value plus the integral of the rate of change. Net change can be a positive number, a negative number, or zero.
    • The area under an even function over a symmetric interval can be calculated by doubling the area over the positive \(x\)-axis. For an odd function, the integral over a symmetric interval equals zero, because half the area is negative.
    • The indefinite integral represents the family of anti-derivatives of a function

    Key Equations

    • Net Change Theorem \[F(b)=F(a)+∫^b_aF'(x)\,dx \quad \text{ or equivalently, }\quad ∫^b_aF'(x)\,dx=F(b)−F(a) \nonumber \]

    Glossary

    indefinite integral
    the most general anti-derivative of \(f(x)\) is the indefinite integral of \(f\); we use the notation \(\int f(x)dx\) to denote the indefinite integral of \(f\)
    net change theorem
    if we know the rate of change of a quantity, the net change theorem says the future quantity is equal to the initial quantity plus the integral of the rate of change of the quantity

    This page titled 5.5: Indefinite Integrals and the Net Change Theorem was last modified on Mon, 13 Apr 2026 18:18:49 GMT and is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Leonard Lamp, Kenn Huber, and Mohamad Youssef.