Skip to main content

Section 6.1 Accumulation Functions and the Definite Integral

Overview.

The concept of the definite integral can be motivated by the notion of accumulated change. When we learn about linear functions, the idea of a constant slope or rate of change serves as the fundamental concept. For a definite integral, we generalize this notion to a changing rate.

In this section, we begin with an example of linear functions and piecewise linear functions as models of accumulation. Using these examples, we establish some basic principles that we want to hold in general. These principles become the fundamental properties of the definite integral.

Subsection 6.1.1 Linear Functions as Accumulation

The word accumulation is defined as “the acquisition or gradual gathering of something” (Oxford Dictionary, , accessed August 27, 2019). Consider a tank of water that has water added at a constant rate of 5 Lmin. At the start of our observation, the tank contains 200 L of water. We wish to think of the amount of water in the tank as an accumulation of the water that has flowed into the tank as a function of time.

Quantities that have a constant rate of change are modeled with linear functions, and the rate of change is used as the slope. If \(V\) is the volume of water that the tank contains (in liters) and \(t\) is the time of observation (in minutes), then the state of the tank is given by \((t,V)\text{.}\) The equation that models the accumulation is then given by

\begin{equation*} V = 200 + 5t\text{.} \end{equation*}

The \(V\)-intercept of 200 represents the starting value (when \(t=0\)), and the product \(5t\) represents the accumulation of additional water that is added during the interval of time \((0,t)\text{.}\)

The point-slope equation of a line similarly captures the idea of accumulation. Suppose after 10 minutes, the water flowing into the tank stops and water begins to drain at a rate of 15 Lmin. We can use our earlier model to find the volume of water after the 10 minutes of filling has completed,

\begin{equation*} V = 200 + 5(10) = 250\text{.} \end{equation*}

This becomes a new initial value for the tank relative to the draining, which corresponds to a negative rate of change or slope. For \(t \gt 10\text{,}\) we have a new model,

\begin{equation*} V = 250 - 15(t-10)\text{.} \end{equation*}

The expression \(-15(t-10)\) represents the accumulated loss of water. We multiply the rate \(-15\) by the increment of time \(t-10\text{,}\) since that is how long the tank was left to drain.

Putting our models together, we obtain a piecewise function that represents the accumulation of water in the tank.

\begin{equation*} V = \begin{cases} 200 + 5t, \amp 0 \le t \le 10, \\ 250 - 15(t-10), \amp t \gt 10. \end{cases} \end{equation*}

We can think of the rate of accumulation \(R\) as another variable, which is also piecewise,

\begin{equation*} R = \begin{cases} 5, \amp 0 \lt t \lt 10, \\ -15, \amp t \gt 10. \end{cases} \end{equation*}

We do not define \(R\) when \(t=10\) because of the ambiguity in how the transition occurs. Because \(R\) is the rate of accumulation corresponding to the accumulation \(V\text{,}\) we write \(R = V'\) (read \(V\)-prime). We will later learn that \(R\) is the derivative of \(V\) at points where \(R\) is continuous.

Graph of the volume of water V
Graph of the rate of accumulation R
Figure 6.1.1. The volume of the tank of water that fills for 10 minutes and then drains, and the corresponding rate of accumulation, as functions of time.

Given any piecewise constant rate of accumulation \(f(x)=A'(x)\) for an accumulation \(A(x)\text{,}\) we can easily compute the formulas for \(A(x)\) as a piecewise linear function. We repeatedly apply the point-slope equation of a line and require that \(A(x)\) is continuous at each transition point. This will then help motivate some general properties that will relate to the definite integral.

Example 6.1.2.

Suppose \(f(x)=A'(x)\) is defined as

\begin{equation*} f(x) = \begin{cases} 3, \amp x \lt 2, \\ -2, \amp 2 \lt x \lt 5, \\ 5, \amp x \gt 5. \end{cases} \end{equation*}

If \(A(0) = 2\text{,}\) find \(A(x)\) as a piecewise function.

Solution

Because the initial value is given as \(A(0)=2\text{,}\) we begin our construction at \(x=0\text{.}\) This point on the domain is inside the interval \(x \lt 2\text{,}\) so we start with a rate \(A'=3\text{.}\) The formula for \(A(x)\) with \(x \lt 2\) is therefore

\begin{equation*} A(x) = 2 + 3x, \quad x \lt 2\text{.} \end{equation*}

So that \(A(x)\) is continuous, we must have \(A(2) = 2+3(2) = 8\text{.}\)

Having found the value of \(A(x)\) on the interval \((-\infty,2]\text{,}\) we next consider the interval \((2,5)\) where \(A'=-2\text{.}\) Using our value \(A(2)=8\) as an initial value, we can write

\begin{equation*} A(x) = 8 + -2(x-2), \quad 2 \lt x \lt 5\text{.} \end{equation*}

To have continuity at \(x=5\text{,}\) we require \(A(5)=8+-2(3)=2\text{.}\) Repeating the process on the last interval, \((5,\infty)\text{,}\) where \(A' = 5\text{,}\) we obtain

\begin{equation*} A(x) = 2 + 5(x-5), \quad x \gt 5\text{.} \end{equation*}

Putting the pieces together, we obtain our final piecewise representation of \(A(x)\text{:}\)

\begin{equation*} A(x) = \begin{cases} 2 + 3x, \amp x \le 2, \\ 8 + -2(x-2), \amp 2 \lt x \le 5, \\ 2 + 5(x-5), \amp x \gt 5. \end{cases} \end{equation*}
Graph of the rate of accumulation f(x)
Graph of the accumulation function A(x)
Figure 6.1.3. Graphs of the piecewise constant rate of accumulation \(f(x) = A'(x)\) and the piecewise linear accumulation \(A(x)\text{.}\)

Subsection 6.1.2 A Geometric Interpretation of Accumulation

In our earlier example (Example 6.1.2), we had the point \(A(0)=2\) and a rate \(f(x)=3\) for \(x \lt 2\text{.}\) When we used the point-slope formula to find \(A(2)\text{,}\) we had

\begin{equation*} A(2) = 2 + 3(2) = 8\text{.} \end{equation*}

Then, having found \(A(2)=8\) and knowing \(f(x)=-2\) for \(2 \lt x \lt 5\text{,}\) we were able to compute \(A(5)\) as

\begin{equation*} A(5) = 8 + -2(5-2) = 2\text{.} \end{equation*}

In each case, we took a known starting value (\(A(0)=2\) or \(A(5)=8\)) and then added an increment of change. With a constant rate of accumulation, these increments were calculated as the rate of change times the increment of change in the independent variable, \(\Delta x\text{.}\)

Expressing the increment of change as a product of two values has a useful geometric interpretation. The most basic geometric idea that is calculated as a product of two numbers is area. Can we interpret the increment of change as an area? Almost. An area is always a positive number, but our second increment of change \(-2(3)=-6\) was a negative value. So we modify our idea to signed area.

How does the area geometrically appear? Consider the graph of the rate of accumulation, \(y=f(x)\text{.}\) The rate of change corresponds to the height of the graph from the axis. We should soon recognize that there are rectangles from which we can find the signed area. When the graph is below the axis, we have a signed height that is considered negative. When the graph is above the axis, the signed height is positive. The increment of \(x\) depends on which direction we are going. We compute

\begin{equation*} \Delta x = x_{\text{end}} - x_{\text{start}}\text{.} \end{equation*}

Consequently, if the increment moves to the right, we have \(\Delta x \gt 0\text{;}\) if the increment moves to the left, we have \(\Delta x \lt 0\text{.}\) The signed area is simply the product of the signed height times the signed increment of \(x\text{.}\)

Graph of the rate of accumulation f(x) with increments shaded
Figure 6.1.4. A graph of the rate of accumulation function \(y=f(x)\) showing the increments of change as signed areas, shaded in color. The increment as \(x\) goes from \(x=0\) to \(x=2\) is shaded in purple. The increment as \(x\) goes from \(x=2\) to \(x=5\) is shaded in orange.

We will generalize the idea of accumulation from constant rates of change to arbitrary rates of change using signed area. Suppose we are given the graph of a function \(f(x)\) that is a rate of accumulation \(f(x)=A'(x)\) for some quantity \(A(x)\text{.}\) We will require the function to be piecewise continuous and have no infinite limits. The increment of change for \(A(x)\) as \(x\) goes from \(x=a\) to \(x=b\) will be equal to the sum of the signed areas formed by the regions between \(y=f(x)\) and the axis \(y=0\text{.}\) This increment of change will be represented by a definite integral,

\begin{equation*} \Delta A = A(b) - A(a) = \int_a^b f(x) \, dx\text{.} \end{equation*}

The notation for a definite integral is meant to be suggestive of this interpretation. The integral symbol \(\displaystyle \int\) is drawn to look like the letter S to represent summation. The limits of integration \(a\) and \(b\) indicate the value for \(x\) where we start on the bottom the the value for \(x\) where we end on the top. What do we add? The increments \(f(x) \, dx\) that are being accumulated. The expression \(f(x)\) is the function giving the rate of accumulation and symbolically represents the signed height of incremental rectangles. The symbol \(dx\) is called the infinitesimal and symbolically represents the signed increment of the independent variable or width of the rectangle. When \(b \gt a\text{,}\) we are integrating to the right and \(dx \gt 0\text{;}\) when \(b \lt a\text{,}\) we are integrating to the left (reverse) and \(dx \lt 0\text{.}\)

When the shape of the graph of \(f(x)\) uses straight line segments or other simple geometric shapes, we can calculate the signed area using simple geometric formulas.

Area Formulas for Common Geometric Regions.
  • Rectangle, length \(\ell\) and width \(w\text{.}\)

    \begin{equation*} A = \ell \, w \end{equation*}
  • Triangle, base \(b\) and height \(h\) (perpendicular to base).

    \begin{equation*} A = {\textstyle \frac{1}{2}} b \, h \end{equation*}
  • Parallelogram, base \(b\) and height \(h\) (perpendicular to base).

    \begin{equation*} A = b \, h \end{equation*}
  • Trapezoid, parallel sides \(b_1\) and \(b_2\) and height \(h\) (perpendicular to parallel sides).

    \begin{equation*} A = {\textstyle \frac{1}{2}} (b_1 + b_2) \, h \end{equation*}
  • Circle, radius \(r\text{.}\)

    \begin{equation*} A = \pi r^2 \end{equation*}

We now have two different interpretations of the definite integral. First, the definite integral is the total accumulated change where the function in the integral is the rate of accumulation \(f(x)\text{.}\) Second, the definite integral is the sum of the signed areas between the graph of \(f(x)\) and the axis. If we can calculate the definite integral, such as by geometric formulas for area, then we can interpret that value as the total accumulated change. This can allow us to compute additional values of the accumulation function:

\begin{equation*} A(b) = A(a) + \int_a^b f(x) \, dx\text{.} \end{equation*}

Notice how this equation for the accumulation function is similar to the point-slope equation of a linear function with slope \(m\text{,}\)

\begin{equation*} f(x) = f(a) + m(x-a)\text{.} \end{equation*}

There is an initial value. To that initial value, we add the increment of change. For a linear function, the rate of accumulation is constant and the increment is \(m(x-a)\) For non-constant rates of accumulation, the increment of change is given by an integral.

Example 6.1.5.

Consider the graph of the function \(f(t)\) shown below. Suppose that \(f(t)\) is the rate of accumulation for \(A(t)\text{,}\) \(f(t) = A'(t)\text{.}\) If we know \(A(2)=5\text{,}\) find the values for \(A(6)\) and \(A(-3)\text{.}\)

Solution

To find \(A(6)\text{,}\) we start at the known value \(A(2)=5\) and add the accumulated increment of change as \(t\) goes from 2 to 6. That is, using the notation of a definite integral, we have

\begin{equation*} A(6) = A(2) + \int_2^6 f(t) \, dt\text{.} \end{equation*}

We will calculate this definite integral using geometric shapes.

We identify our shapes by considering the regions vertically between the graph of \(f(t)\) and the \(t\)-axis. At \(t=2\text{,}\) the graph is above the axis and remains above the axis until \(t=5\text{.}\) Our first region consists of a trapezoid bounded by \(t=2\) on the left, the \(t\)-axis below, and the graph of \(f(t)\) above and to the right. From \(t=5\) to \(t=6\text{,}\) the graph of \(f(t)\) is below the axis. The second region consists of a triangle bounded by the \(t\)-axis on the top, the line \(t=6\) on the right, and the graph of \(f(t)\) on the left. These shapes are illustrated in the graph below as shaded regions.

Having identified the relevant regions, we now calculate their signed area. We first recall that the direction of \(t\) is left to right, so that horizontal signed lengths are positive. Vertical signed lengths depend on whether we are above (positive) or below (negative) the axis. The trapezoid between \(t=2\) and \(t=5\) has parallel bases of signed length 1 (top) and 3 (bottom) and a perpendicular height of 5 units. The resulting area for this trapezoid is

\begin{equation*} \text{area}_1={\textstyle \frac12} (1+3)(5) = 10\text{.} \end{equation*}

The triangle has a base of signed length 1 and a height of signed length \(-3\text{,}\) with corresponding area

\begin{equation*} \text{area}_2={\textstyle \frac12} (1)(-3) = {\textstyle -\frac{3}{2}}\text{.} \end{equation*}

Note that we could instead have used a single rectangle for \(t=2\) to \(t=3\) and a triangle for \(t=3\) to \(t=5\) in place of the trapezoid.

The total accumulated increment of change is the sum of the signed areas,

\begin{equation*} \int_{2}^{6} f(t) \, dt = {\textstyle 10 + -\frac{3}{2} = \frac{17}{2}}\text{.} \end{equation*}

Consequently, we find

\begin{equation*} A(6) = A(2) + \int_{2}^{6} f(t) \, dt = {\textstyle 5 + \frac{17}{2} = \frac{27}{2}}\text{.} \end{equation*}

To find \(A(-3)\text{,}\) we again start at the known value \(A(2)=5\) and add the accumulated increment of change as \(t\) goes from 2 to -3. Using a definite integral, we have

\begin{equation*} A(-3) = A(2) + \int_{2}^{-3} f(t) \, dt\text{.} \end{equation*}

Because \(t\) is going backwards, our increments of \(t\) will be negative. When we calculate geometric signed areas, illustrated in the graph below, our horizontal edges will have negative signed lengths.

This time, the regions consist of two rectangles. The signed area for the rectangle from \(t=2\) to \(t=0\text{,}\) formed by a horizontal edge with signed length \(-2\) and a vertical edge with signed length \(6\text{,}\) is

\begin{equation*} \text{area}_1 = (-2)(6) = -12\text{.} \end{equation*}

The signed area for the second rectangle from \(t=0\) to \(t=-3\text{,}\) formed by a horizontal edge with signed length \(-3\) and a vertical edge with signed length \(2\text{,}\) is

\begin{equation*} \text{area}_2 = (-3)(2) = -6\text{.} \end{equation*}

The total accumulated increment is the sum,

\begin{equation*} \int_{2}^{-3} f(t) \, dt = {\textstyle -12 - 6} = -18\text{.} \end{equation*}

Consequently, we find

\begin{equation*} A(-3) = A(2) + \int_{2}^{-3} f(t) \, dt = {\textstyle 5 -18 = -13}\text{.} \end{equation*}
Example 6.1.6.

A large tank of water initially contains 400 liters of water. For ten minutes, water is added at a constant rate of 10 Lmin. The rate of water flow then steadily declines for the next five minutes from 10 Lmin to 0 Lmin. At this point, a pump starts draining the tank, ramping its progress over five minutes so that the rate of draining goes from 0 Lmin to 25 Lmin. The pump then drains water at this steady rate of 25 Lmin for another five minutes. How much water is in the tank at the end of this procedure?

Solution

We start by describing the state variables. Let \(V\) represent the volume of water in the tank, measured in liters. Let \(R\) represent the rate of accumulation of water, which will be positive when water is flowing into the tank and negative when it is pumped out, measured in liters per minute. Let \(t\) represent the time since the situation begins, measured in minutes. As we read the description of the problem, we should note that most of the information is describing the rate of accumulation \(R=V'\) for the volume of water in the tank. We can sketch a graph of \(R\) from the description, and we make the assumption that the description implies that this graph should be formed with line segments.

Now that we have a graph of the rate of accumulation \(R(t)=V'(t)\text{,}\) we can use geometric methods to calculate the area of regions to compute the total increment of change in the volume.

\begin{equation*} V(25) = V(0) + \int_0^{25} R(t) \, dt\text{.} \end{equation*}

We consider the shaded regions in the graph below.

We could interpret the regions as either two trapezoids or as rectangles and triangles. The signed area of the trapezoid above the axis corresponding to times \(t=0\) to \(t=15\) is

\begin{equation*} \text{area}_1 = {\textstyle \frac12}(10+15)(10) = 125\text{,} \end{equation*}

meaning that there were 125 liters added to the tank during the first 15 minutes. The signed area of the trapezoid below the axis corresponding to times \(t=15\) to \(t=25\) is

\begin{equation*} \text{area}_2 = {\textstyle \frac12}(10+5)(-25) = {\textstyle -\frac{375}{2}} = -187.5\text{.} \end{equation*}

This means that there were 187.5 liters drained from the tank during the last 10 minutes. Combining the results gives us the definite integral and overall increment of change in the volume of the tank. Starting with our initial tank level, we have

\begin{equation*} V(25) = V(0) + \int_0^{25} R(t) \, dt = 400 + (125 - 187.5) = 337.5\text{.} \end{equation*}

The tank ends with 337.5 liters.

Subsection 6.1.3 Summary

  • Piecewise constant rates of change correspond to continuous, piecewise linear functions.
  • Given a function \(f(x)\) that provides the rate of change for another function \(A(x)\text{,}\) the function \(A\) is called the accumulation function with rate \(f\) and the function \(f\) is called the rate of accumulation for \(A\text{.}\) We write \(f(x) = A'(x)\text{.}\)

  • The change in an accumation function \(A(x)\) as \(x\) goes from \(x=a\) to \(x=b\text{,}\) calculated from \(A\) by \(A(b)-A(a)\text{,}\) is represented by a definite integral of its rate of accumulation,

    \begin{equation*} A(b) - A(a) = \int_a^b f(x) \, dx\text{.} \end{equation*}
  • The definite integral calculates a sum of increments, each represented by the product \(f(x) \, dx\text{.}\)

  • The geometric interpretation of the definite integral is the sum of the increments of signed area of regions bounded by the graph of the rate of accumlation \(f(x)\) and the \(x\)-axis.

Exercises 6.1.4 Exercises

1.