Section 3.3 Accumulation of Change
¶Overview.
Many students learn a basic rule relating distance d, speed r and time t: d=rt or “distance equals rate times time.” This statement is really only true when the rate is unchanging. If the speed is constant at a rate of r1 for a time t1 and then instantly changes to a new constant speed at rate r2 for another time t2, then the total distance d traveled over the total time isSubsection 3.3.1 Rate of Change
Suppose that we have two variables that are related by a function. In mathematics, we often think of the prototypical variables x and y with some function f:x↦y. But in physical situations, we are often considering changes in time so that we use the independent variable t for time. The official definition for rate of change is as the derivative. In the present context, we will not need to know how to compute derivatives. We only need to consider that there is a function that physically measures a rate of change. For example, a speedometer measures speed which is a rate of change of distance with respect to time. As another example, we can physically measure the rate at which water flows through a pipe which represents a rate of change of a reservoir (e.g., a tub or a pool) that is being filled or drained. An electrical analog of water flow is electrical current which measures the rate of change of electrical charge along an electrical path. In biology, the rate of change of a population is physically measured through birth, death and migration rates. When any of these rates are constant over an interval t∈[a,b], the net change in the quantity of interest Q is equals the rate times the increment of time. The following definition makes this clear.Definition 3.3.1. Constant Rate of Change.
Given a quantity Q that is a function of independent variable t, say t↦Q(t), we say that Q has a constant rate of change r on an interval [a,b] if for any t1,t2 satisfying a≤t1<t2≤b,
which is often written ΔQ=r⋅Δt.
Example 3.3.2.
The function f is defined by the equation
The domain of f is the union of disjoint intervals [0,2), [2,3] and (3,4] which corresponds to [0,4]. The notation states that for input values x between 0 and 2, including 0, the function will square the input to give the output. Between 2 and 3, inclusively, the function will subtract the input from 6 for the output. For input values greater than 3 but less than or equal to 4, the function has a constant output value of 3. The graph is shown below.
Definition 3.3.3. Partition.
A partition of size n of an interval [a,b] is an increasing, finite sequence of numbers P=(x0,x1,…,xn) such that x0=a, xn=b and xj<xj+1. The increments of the partition correspond to the widths of subintervals, with
being the width of the subinterval [xj−1,xj] for j=1,…,n.
Definition 3.3.4. Simple Function.
Given a partition P of size n of an interval [a,b], a function f is a simple function on the partition P with values (y1,…,yn) if
Definition 3.3.5. Definite Integral of Simple Function.
Given a simple rate function, r(x), on a partition P of size n of the interval [a,b] with values (r1,r2,…,rn), the total accumulated change associated with this rate is the definite integral represented by is given by
Example 3.3.6.
A storage reservoir starts with 100 gallons of water. Over the next 20 minutes, water is added to the reservoir at a rate of 5 gal/min. Then water is pumped out at a rate of 12 gal/min for 10 minutes. For the next 30 minutes, water is added at a rate of 3 gal/min. Find a piecewise linear function describing the amount of water in the reservoir as a function of time (in minutes).
The rate function is a simple function using the partition \(P\) that starts at \(x_0=0\) and has increments of \(\nabla x_1=20\text{,}\) \(\nabla x_2 = 10\) and \(\nabla x_3 = 30\text{.}\) That is, the partition is given by \(P=\{0, 20, 30, 60\}\text{.}\) The rate of change of water is constant on the subintervals defined by this partition:
The amount of water in the reservoir is also a function of time, say \(W(t)\text{,}\) and is defined as an accumulation using the rate of change \(R(t)\) found above. Because the reservoir begins with \(W(0)=100\text{,}\) our initial value, we can write \(W(t)\) as a piecewise linear function that accumulates the change in water over each of the subintervals. Consider first the total accumulation of change in water on each of the subintervals, which is equal to the rate of change times the increment of time for that subinterval.
Notice that the total change in water volume over the entire interval \([0,60]\) is the sum of these increment,
The accumulation function \(W(t)\text{,}\) which has an initial value \(W(0)=100\text{,}\) is therefore defined by
The graphs of the rate function \(R(t)\) and the water level \(W(t)\) are shown below. Notice that although the rate function is not defined at the partition points, the water level function \(W(t)\) is defined and continuous at those points. It is continuous because the accumulations are designed to start on the next interval exactly where it stops from the previous interval with no sudden jumps.
Definition 3.3.7. Signed Area (Informal).
Suppose we have the graph of a function y=f(x) that is continuous on an interval (a,b) and is either entirely above the axis, f(x)>0 for all x∈(a,b), or entirely below the axis, f(x)<0 for all x∈(a,b). Then we can define the signed area of the graph by considering the area A (area itself is always positive) of the region between the curve y=f(x) and the axis y=0 and between the vertical lines x=a and x=b. If f(x)>0 (above the axis), then we say that we have positive area A; if f(x)<0 (below the axis), then we say that we have negative area −A.
If the graph y=f(x) on an interval (a,b) has a finite number of discontinuities or crosses the axis so that sometimes the graph is above the axis and sometimes below, then we can consider a partition of [a,b] using the x-values of the discontinuities and zeros of f. Then on every subinterval from this partition, the earlier definition applies and we have a signed area for each subinterval. The signed area for the entire graph is the sum of the signed areas of the subintervals, adding areas that are above the axis and subtracting areas that are below the axis.
Definition 3.3.8. Signed Area and Accumulated Change (Formal).
Suppose we have a function y=f(x) that is bounded and piecewise continuous on an interval (a,b) (a<b). The signed area of f on the interval (a,b) is defined as the definite integral
If f(x) gives the rate of change of a quantity Q with respect to the independent variable x, then the definite integral also gives the increment of change in Q:
The function f(x) is called the integrand and the variable x is called the variable of integration. The values a and b are called the limits of integration.
Subsection 3.3.2 Interpretation of Definite Integrals as Signed Areas
We will learn integration methods later. For now, we will explore examples, including simple functions, where knowing the interpretation of a definite integral allows us to determine results using only the ideas of signed area. When exact area calculations can not be found, then approximations of signed area can allow us to estimate the value of the definite integral. We start by revisiting our earlier examples using the context of definite integrals.Example 3.3.9. Integral of Constant Rate.
Consider the case of a constant function R(t)=r, representing a constant rate of change for some quantity Q with respect to time t. Earlier we noted that for constant rate of change, the increment of change in Q as t changes from t=a to t=b is equal to
Using the idea of a definite integral to represent the accumulated increment of change, we can rewrite this (for constant rate) as
If we rewrite our increment of change in Q so that it is solved for Q(b), we find
This is read as saying that Q(b) equals the initial value Q(a) plus the total increment of change in Q as t goes from a to b. Because this equation is true for any value of b, we can replace it with a variable and obtain
That is, we should recognize the point–slope equation of a line as a special case of an initial value plus an increment of change.
Example 3.3.10.
The graph of y=f(x) is shown below. Find ∫50f(x)dx.
If we consider vertical lines at \(x=0\) and \(x=5\) and then look at the regions between these lines, the graph and the \(x\)-axis, we can identify the areas that need to be calculated. Regions above the axis are shaded in blue and represent positive signed area while regions below the axis are shaded in red and represent negative signed area. In addition, dashed lines have been included to represent convenient places to split the region into simple geometric shapes.
Consider the geometric regions contained in the figure. There is a rectangle on the interval \([0,1]\) with a height \(f(x)=4\text{.}\) Since the area of the rectangle is 4 and the region is above the axis, we know
Next, we have a triangle on the interval \([1,3]\) with a horizontal base given by the increment \(\Delta x = 3-1 = 2\) and a vertical height of 4. This region is also above the axis so that
Combining these regions, we know
The area of the region below the axis can be found in several ways. One way is to identify a triangle on interval \([3,4]\) and a trapezoid on \([4,5]\text{.}\) The triangle has horizontal width \(\Delta x = 4-3=1\) and height 2 for a total area of \(\frac{1}{2}(1)(2)= 1\text{.}\) Since the region is below the axis, we have
A trapezoid is a geometric shape consisting of two parallel sides and its area is the average length of the parallel sides times the perpendicular length between those sides. The area of the trapezoid on \([4,5]\) uses parallel lengths of 2 and 1 with a perpendicular distance \(\Delta x = 5-4 = 1\) for a total area of \(\frac{1}{2}(2+1)(1) = \frac{3}{2}\text{.}\) As a negative signed area, we have
Combining these two shapes for total signed area on \([3,5]\text{,}\) we have
Another way to find this area would be to consider a larger triangle coming from the interval \([3,6]\) and then subtract the area of the smaller triangle on the interval \([5,6]\) that should not be included:
Finding the total signed area for the graph, we find the definite integral desired,
Subsection 3.3.3 Finding Definite Integrals with Technology
When we do not have easy tricks to compute a definite integral, we can get high accuracy estimates using technology. There are free websites that can compute integrals such as WolframAlpha or SageMath described previously. Most graphing calculators have the ability to compute a definite integral and therefore the ability to compute accumulated change or signed areas. In general, you will apply the following steps on a calculator.Identify the integrand function (i.e., the rate of change or the function defining signed area) and the limits of integration.
Use the graphing feature of your calculator so that the function is graphed and the interval of interest is showing. You may need to change the window of you graph.
Use the menu system to find the integral. You will need to select your function and input the end points of the interval of interest.
Example 3.3.11.
We wish to compute ∫52(2x−8)dx. First, steps are given for evaluating this using a TI-83/84 graphing calculator. This is followed by a call to WolframAlpha.com and a SageMath script that compute the same integral.
-
Find the integral using a TI-83/84 graphing calculator.
Identify the function. In this example, the formula \(f(x)=2^x-8\) represents the integrand while the interval is based on the limits of integration \([2,5]\text{.}\)
-
Graph the function over this interval. Each step is given as a separate line.
Y= Y1= 2^x-8 WINDOW Xmin= 2 Xmax= 5 GRAPH ZOOM: ZoomFit
-
Compute the definite integral.
-
CALC:\(\int f(x) dx\) -
Lower Limit?2 -
Upper Limit?5
The calculator reports back \(\int f(x) dx=16.3954611\text{.}\)
-
-
Find the integral using WolframAlpha.
In the prompt box, just type “
integrate 2^x-8 from 2 to 5”. An exact and approximate answer is given\begin{equation*} \int_{2}^{5} (2^x-8) dx = \frac{28}{\log(2)} - 24 \approx 16.3955. \end{equation*}Note that \(\log\) on WolframAlpha refers to the natural logarithm \(\ln\text{.}\)
-
The SageMath script to compute the integral is just as similar. We need a separate command to show our result as a decimal approximation.
xxxxxxxxxxvar("x")value = integrate(2^x-8, [x,2,5])show(value)show(value.n())
Example 3.3.12.
Compute ∫32(2x−8)dx and ∫53(2x−8)dx.
As long as the interval of interest is graphed, we can compute the definite integral to get the signed area. Since we already have our integrand \(f(x)=2^x-8\) in our calculator, we can just go to the compute steps.
-
-
CALC:\(\int f(x) dx\) -
Lower Limit?2 -
Upper Limit?3
The calculator reports back \(\int f(x) dx=-2.22922\text{.}\)
-
-
-
CALC:\(\int f(x) dx\) -
Lower Limit?3 -
Upper Limit?5
The calculator reports back \(\int f(x) dx=18.624681\text{.}\)
-
We interpret these results. The first integral was
and means that the area of the first region from interval \((2,3)\) is 2.22922. Because the graph is below the axis, the integral counts as negative area. The second integral was
which means that the second region on interval \((3,5)\) has area 18.624681 and counts as positive area. The total signed area is the sum of these parts,
Notice that there is a slight numerical discrepancy between our two methods. This is because numerical calculation of definite integrals involves an approximation. Approximations of necessity comes with some unavoidable errors.
Example 3.3.13.
Suppose a hovercraft starts 40 meters away from the shore. If the velocity (meters per second) of the hovercraft is a function of time (seconds) v(t)=t(t−3)(t−5) (a positive velocity is moving away from shore, increasing the distance). What is the position of the hovercraft after 3 seconds and again at 5 seconds?
Let \(x(t)\) measure the position of the hovercraft (meters from shore) as a function time (seconds). By the principle of accumulation of change, the change in position over 3 seconds is equal to the definite integral of the rate of change,
Using technology, we find the accumulated change, such as asking WolframAlpha “integral of \(t(t-3)(t-5)\) from 0 to 3”,
Since the hovercraft started 40 meters from shore and has moved a net amount 15.75 meters (away from shore), the hovercraft is at a position 55.75 meters after 3 seconds.
We can compute the change in position over the next two seconds using
Using technology, we find the accumulated change, such as asking WolframAlpha “integral of \(t(t-3)(t-5)\) from 3 to 5”,
The hovercraft has moved 5.333 meters back toward the shore during the last two seconds. Since the craft was at 55.75 meters after 3 seconds, after 5 seconds it is at 50.417 meters away from the shore.
Alternatively, we could do a single integral finding the total change over all 5 seconds,
We find
which implies that the hovercraft has moved from \(x(0)=40\) meters from shore to a new position of \(x(5)=50.417\) meters from shore, in agreement to our earlier calculations. The figure below shows a graph of the velocity function with the areas (unsigned) that were used to compute the change in position.
Subsection 3.3.4 Summary
- Pending further edits.
Exercises 3.3.5 Exercises
1.
Pending.