$\newcommand{\dollar}{\} \DeclareMathOperator{\erf}{erf} \DeclareMathOperator{\arctanh}{arctanh} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&}$

## Section4.1Determining Distance Traveled from Velocity

###### Motivating Questions
• If we know the velocity of a moving body at every point in a given interval, can we determine the distance the object has traveled on that time interval?

• How is the problem of finding distance traveled related to finding the area under a certain curve?

• What does it mean to antidifferentiate a function and why is this process relevant to finding distance traveled?

• If velocity is negative, how does this impact the problem of finding distance traveled?

In the first chapter of the text, we considered a moving object with known position at time $t\text{,}$ namely, a tennis ball tossed into the air with height $s$ (in feet) at time $t$ (in seconds) given by $s(t) = 64 - 16(t-1)^2\text{.}$ We investigated the average velocity of the ball on an interval $[a,b]\text{,}$ computed by the difference quotient $\frac{s(b)-s(a)}{b-a}\text{.}$ We found that we could determine the instantaneous velocity of the ball at time $t$ by taking the derivative of the position function,

\begin{equation*} s'(t) = \lim_{h \to 0} \frac{s(t+h)-s(t)}{h}\text{.} \end{equation*}

Thus, if its position function is differentiable, we can find the velocity of a moving object at any point in time.

From this study of position and velocity we have learned a great deal. We can use the derivative to find a function's instantaneous rate of change at any point in the domain, to find where the function is increasing or decreasing, where it is concave up or concave down, and to locate relative extremes. The vast majority of the problems and applications we have considered have involved the situation where a particular function is known and we seek information that relies on knowing the function's instantaneous rate of change. For all these tasks, we proceed from a function $f$ to its derivative, $f'\text{,}$ and use the meaning of the derivative to help us answer important questions.

We have also encountered the reverse situation, where we know the derivative of a function, $f'\text{,}$ and try to deduce information about $f\text{.}$ We will focus our attention in Chapter4 on this problem: if we know the instantaneous rate of change of a function, can we find the function itself? We start with a more specific question: if we know the instantaneous velocity of an object moving along a straight line path, can we find its corresponding position function?

###### Example4.1

Suppose that a person is taking a walk along a long straight path and walks at a constant rate of 3 miles per hour.

1. Sketch and label a graph of the velocity function $v(t) = 3\text{.}$

2. How far did the person travel during the two hours? How is this distance related to the area of a certain region under the graph of $y = v(t)\text{?}$

3. Find an algebraic formula, $s(t)\text{,}$ for the position of the person at time $t\text{,}$ assuming that $s(0) = 0\text{.}$ Explain your thinking.

4. Sketch a labeled graph of the position function $y = s(t)\text{.}$

5. For what values of $t$ is the position function $s$ increasing? Explain why this is the case using relevant information about the velocity function $v\text{.}$

Hint
1. Let $t$ be the input and $v$ be the output.

2. Think about how you would calculate how far you travel in a certain amount of time while traveling at a constant speed.

3. Use the same method as in part (b), but for a general value of $t\text{.}$

4. Let $t$ be the input and $s$ be the output.

5. Use the graph you drew.

1. The person traveled 6 miles in 2 hours. This is the same as the area under the curve of $v(t)$ between 0 and 2.

2. $s(t)=3t$

3. The position function $s(t)$ is always increasing. This is because the velocity is constantly positive.

Solution
1. If the person is traveling at a constant speed of 3 miles per hour, we can find the distance traveled by multiplying the speed by the amount of time they are walking. So, the person traveled 6 miles in 2 hours.

The height of the function is always at 3 and the time is given by the $x$-axis. The distance traveled is the same as the area under the curve of $v(t)$ between 0 and 2.

2. For every time, the position is given by multiplying the constant velocity, 3, by the time. Therefore, $s(t)=3t\text{.}$

3. The position function $s(t)$ is always increasing. This is because the velocity is constantly positive. We can see this also by looking at the graph of $s(t)\text{,}$ which is a straight line with a positive slope.

### SubsectionArea under the graph of the velocity function

In Example4.1, we learned that when the velocity of a moving object's velocity is constant (and positive), the area under the velocity curve over an interval of time tells us the distance the object traveled.

The left-hand graph of Figure4.6 shows the velocity of an object moving at 2 miles per hour over the time interval $[1,1.5]\text{.}$ The area $A_1$ of the shaded region under $y = v(t)$ on $[1,1.5]$ is

\begin{equation*} A_1= 2 \, \frac{\text{miles} }{\text{hour} } \cdot \frac{1}{2} \, \text{hours} = 1 \, \text{mile}\text{.} \end{equation*}

This result is simply the fact that distance equals rate times time, provided the rate is constant. Thus, if $v(t)$ is constant on the interval $[a,b]\text{,}$ the distance traveled on $[a,b]$ is equal to the area $A$ given by

\begin{equation*} A = v(a) (b-a) = v(a) \Delta t\text{,} \end{equation*}

where $\Delta t$ is the change in $t$ over the interval. (Since the velocity is constant, we can use any value of $v(t)$ on the interval $[a,b]\text{,}$ we simply chose $v(a)\text{,}$ the value at the interval's left endpoint.) For several examples where the velocity function is piecewise constant, see http://gvsu.edu/s/9T.1Marc Renault, calculus applets.

The situation is more complicated when the velocity function is not constant. But on relatively small intervals where $v(t)$ does not vary much, we can use the area principle to estimate the distance traveled. The right-hand graph of Figure4.6 shows a non-constant velocity function. On the interval $[1,1.5]\text{,}$ the velocity varies from $v(1) = 2.5$ down to $v(1.5) \approx 2.1\text{.}$ One estimate for the distance traveled is the area of the pictured rectangle,

\begin{equation*} A_2 = v(1) \Delta t = 2.5 \, \frac{\text{miles} }{\text{hour} } \cdot \frac{1}{2} \, \text{hours} = 1.25 \, \text{miles}\text{.} \end{equation*}

Note that because $v$ is decreasing on $[1,1.5]\text{,}$ $A_2 = 1.25$ is an over-estimate of the actual distance traveled.

To estimate the area under this non-constant velocity function on a wider interval, say $[0,3]\text{,}$ one rectangle will not give a good approximation. Instead, we could use the six rectangles pictured in Figure4.7, find the area of each rectangle, and add up the total. Obviously there are choices to make and issues to understand: How many rectangles should we use? Where should we evaluate the function to decide the rectangle's height? What happens if the velocity is sometimes negative? Can we find the exact area under any non-constant curve?

We will study these questions and more in what follows; for now it suffices to observe that the simple idea of the area of a rectangle gives us a powerful tool for estimating distance traveled from a velocity function, as well as for estimating the area under an arbitrary curve. To explore the use of multiple rectangles to approximate area under a non-constant velocity function, see the applet found at http://gvsu.edu/s/9U.2Marc Renault, calculus applets.

###### Example4.8

Suppose that a person is walking in such a way that her velocity varies slightly according to the information given in Table4.9 and graph given in Figure4.10.

 $t$ $v(t)$ $0.00$ $1.500$ $0.25$ $1.789$ $0.50$ $1.938$ $0.75$ $1.992$ $1.00$ $2.000$ $1.25$ $2.008$ $1.50$ $2.063$ $1.75$ $2.211$ $2.00$ $2.500$
1. Using the grid, graph, and given data, estimate the distance traveled by the walker during the two hour interval from $t = 0$ to $t = 2\text{.}$ You should use time intervals of width $\Delta t = 0.5\text{.}$ Choose a way to use the function consistently to determine the height of each rectangle in order to approximate distance traveled.

2. How could you get a better approximation of the distance traveled on $[0,2]\text{?}$ Explain, and then find this new estimate.

3. Suppose that you know that $v$ is given by $v(t) = 0.5t^3-1.5t^2+1.5t+1.5\text{.}$ Remember that $v$ is the derivative of the walker's position function, $s\text{.}$ Find a formula for $s$ so that $s' = v\text{.}$

4. Based on your work in (c), what is the value of $s(2) - s(0)\text{?}$ What is the meaning of this quantity?

Hint
1. For instance, the approximate distance traveled on $[0,0.5]$ can be computed by $v(0) \cdot 0.5 = 1.5 \cdot 0.5 = 0.75$ miles.

2. Think about the possibility of using a larger number of rectangles.

3. If $v(t) = t^3$ and we seek a function $s$ such that $s' = v\text{,}$ then $s$ has to involve $t^4\text{.}$

4. Observe that this quantity is measuring a change in position.

1. \begin{align*} A =\mathstrut \amp v(0.0) \cdot 0.5 + v(0.5) \cdot 0.5 + v(1.0) \cdot 0.5 + v(1.5) \cdot 0.5\\ =\mathstrut \amp 1.500 \cdot 0.5 + 1.9375 \cdot 0.5 + 2.000 \cdot 0.5 + 2.0625 \cdot 0.5\\ =\mathstrut \amp 3.75 \end{align*}

Thus, $D \approx 3.75$ miles.

2. Using 8 rectangles of width $0.25\text{,}$ $D \approx 3.875\text{.}$

3. $s(t) = \frac{1}{8}t^4 - \frac{1}{2} t^3 + \frac{3}{4} t^2 + \frac{3}{2}t\text{.}$

4. $s(2) - s(0) = \left(\frac{1}{8}(2)^4 - \frac{1}{2}(2)^3 + \frac{3}{4}(2)^2 + \frac{3}{2}(2) \right) - (0) = 4\text{.}$

Solution
1. Using rectangles of width $\Delta t = 0.5$ and choosing to set the heights of the rectangles from the function value at the left end of the interval, we see the following graph and find the sum of the areas of the rectangles to be

\begin{align*} A =\mathstrut \amp v(0.0) \cdot 0.5 + v(0.5) \cdot 0.5 + v(1.0) \cdot 0.5 + v(1.5) \cdot 0.5\\ =\mathstrut \amp 1.500 \cdot 0.5 + 1.9375 \cdot 0.5 + 2.000 \cdot 0.5 + 2.0625 \cdot 0.5\\ =\mathstrut \amp 3.75 \end{align*}

Thus, the distance traveled is approximately $D \approx 3.75$ miles.

2. It appears that a better approximation could be found using narrower rectangles. If we move to 8 rectangles of width $0.25\text{,}$ similar computations show that $D \approx 3.875\text{.}$

3. By thinking about how the power rule for differentiation works, we can undo this rule and find a position function $s$ whose derivative is $v\text{.}$ For instance, since $\frac{d}{dt}[t^4] = 4t^3\text{,}$ we see that $\frac{d}{dt}[\frac{1}{8}t^4] = \frac{1}{2}t^3\text{.}$ Thus, if we let

\begin{equation*} s(t) = \frac{1}{8}t^4 - \frac{1}{2} t^3 + \frac{3}{4} t^2 + \frac{3}{2}t\text{,} \end{equation*}

then it is straightforward to check that $s'(t) = \frac{1}{2}t^3 - \frac{3}{2}t^2 + \frac{3}{2}t + \frac{3}{2}\text{,}$ which is precisely the formula for $v(t)$ that we were given.

4. By the rule found in (c) for $s\text{,}$ we have that $s(2) - s(0) = \frac{1}{8}2^4 - \frac{1}{2}2^3 + \frac{3}{4}2^2 + \frac{3}{2} 2 = 2 - 4 + 3 + 3 = 4\text{.}$ This is the change in the walker's position over the time interval $[0,2]\text{,}$ and since the velocity is always positive, this is actually the exact distance traveled. We see how both earlier estimates ($3.75$ and $3.785$) are good approximations to this value.

### SubsectionTwo approaches: area and antidifferentiation

When the velocity of a moving object is positive, the object's position is always increasing. (We will soon consider situations where velocity is negative; for now, we focus on the situation where velocity is always positive.) We have established that whenever $v$ is constant on an interval, the exact distance traveled is the area under the velocity curve. When $v$ is not constant, we can estimate the total distance traveled by finding the areas of rectangles that approximate the area under the velocity curve.

Thus, we see that finding the area between a curve and the horizontal axis is an important exercise: besides being an interesting geometric question, if the curve gives the velocity of a moving object, the area under the curve tells us the exact distance traveled on an interval. We can estimate this area if we have a graph or a table of values for the velocity function.

In Example4.8, we encountered an alternate approach to finding the distance traveled. If $y = v(t)$ is a formula for the instantaneous velocity of a moving object, then $v$ must be the derivative of the object's position function, $s\text{.}$ If we can find a formula for $s(t)$ from the formula for $v(t)\text{,}$ we will know the position of the object at time $t\text{,}$ and the change in position over a particular time interval tells us the distance traveled on that interval.

For a simple example, consider the situation from Example4.1, where a person is walking along a straight line with velocity function $v(t) = 3$ mph.

On the left-hand graph of the velocity function in Figure4.11, we see the relationship between area and distance traveled,

\begin{equation*} A= 3 \, \frac{\text{miles} }{\text{hour} } \cdot 1.25 \, \text{hours} = 3.75 \, \text{miles}\text{.} \end{equation*}

In addition, we observe3Here we are making the implicit assumption that $s(0) = 0\text{;}$ we will discuss different possibilities for values of $s(0)$ in subsequent study. that if $s(t) = 3t\text{,}$ then $s'(t) = 3\text{,}$ so $s(t) = 3t$ is the position function whose derivative is the given velocity function, $v(t) = 3\text{.}$ The respective locations of the person at times $t = 0.25$ and $t = 1.5$ are $s(1.5) = 4.5$ and $s(0.25) = 0.75\text{,}$ and therefore

\begin{equation*} s(1.5) - s(0.25) = 4.5 - 0.75 = 3.75 \ \text{miles}\text{.} \end{equation*}

This is the person's change in position on $[0.25,1.5]\text{,}$ which is precisely the distance traveled. In this example there are profound ideas and connections that we will study throughout Chapter4.

For now, observe that if we know a formula for a velocity function $v\text{,}$ it can be very helpful to find a function $s$ that satisfies $s' = v\text{.}$ We say that $s$ is an antiderivative of $v\text{.}$ More generally, we have the following formal definition.

###### Definition4.12

If $g$ and $G$ are functions such that $G' = g\text{,}$ we say that $G$ is an antiderivative of $g\text{.}$

For example, if $g(x) = 3x^2 + 2x\text{,}$ $G(x) = x^3 + x^2$ is an antiderivative of $g\text{,}$ because $G'(x) = g(x)\text{.}$ Note that we say an antiderivative of $g$ rather than the antiderivative of $g\text{,}$ because $H(x) = x^3 + x^2 + 5$ is also a function whose derivative is $g\text{,}$ and thus $H$ is another antiderivative of $g\text{.}$

###### Example4.13

A ball is tossed vertically in such a way that its velocity function is given by $v(t) = 32 - 32t\text{,}$ where $t$ is measured in seconds and $v$ in feet per second. Assume that this function is valid for $0 \le t \le 2\text{.}$

1. For what values of $t$ is the velocity of the ball positive? What does this tell you about the motion of the ball on this interval of time values?

2. Find an antiderivative, $s\text{,}$ of $v$ that satisfies $s(0) = 0\text{.}$

3. Compute the value of $s(1) - s(\frac{1}{2})\text{.}$ What is the meaning of the value you find?

4. Using the graph of $y = v(t)$ provided in Figure4.14, find the exact area of the region under the velocity curve between $t = \frac{1}{2}$ and $t = 1\text{.}$ What is the meaning of the value you find?

5. Answer the same questions as in (c) and (d) but instead using the interval $[0,1]\text{.}$

6. What is the value of $s(2) - s(0)\text{?}$ What does this result tell you about the flight of the ball? How is this value connected to the provided graph of $y = v(t)\text{?}$ Explain.

Hint
1. Where is velocity zero?

2. Since $v$ is linear, note that $s$ must be quadratic.

3. Observe that you are taking the difference between two values of the position function.

4. The region whose area is sought is triangular.

5. See (c) and (d) above.

6. What does it mean for the change of the ball's position to be zero?

1. On $(0,1)\text{,}$ $s$ is increasing because velocity is positive.

2. $s(t) = 32t - 16t^2\text{.}$

3. $s(1) - s(\frac{1}{2}) = 4\text{.}$

4. $A = 4$ feet is the total distance the ball traveled vertically on $[0,\frac{1}{2}]\text{.}$

5. $s(1) - s(0) = 16$ is the vertical distance the ball traveled on the interval $[0,1]\text{.}$ Equivalently, the area under the velocity curve on $[0,1]$ is $A = 16$ feet.

6. $s(2) - s(0) = 0\text{,}$ so the ball has zero change in position on the interval $[0,2]\text{.}$

Solution
1. Note that $v(1) = 0$ and for $0 \lt t \lt 1\text{,}$ $v(t) \gt 0\text{.}$ This means that on the interval $(0,1)\text{,}$ the position function $s$ is increasing because velocity is positive.

2. We can check that the derivative of $s(t) = 32t - 16t^2$ is $s'(t) = v(t) = 32 - 32t\text{,}$ and that $s(0) = 0\text{,}$ so this is the antiderivative of $v$ that we desire.

3. Now, $s(1) - s(\frac{1}{2}) = (32 - 16) - (16 - 4) = 4\text{,}$ which is the change in position of the ball on the interval $[\frac{1}{2},1]\text{.}$ Equivalently, since $v$ is positive through this interval, 4 feet is the vertical distance the ball traveled during this time.

4. On the interval from $t = \frac{1}{2}$ to $t = 1\text{,}$ the corresponding area under the velocity curve is the area of the right triangular region whose width is $\frac{1}{2}$ seconds and whose height is $v(\frac{1}{2}) = 16$ feet/sec. That area is therefore $A = \frac{1}{2} bh = \frac{1}{2} \cdot \frac{1}{2} \cdot 16 = 4$ feet. This is the total distance the ball traveled vertically on $[0,\frac{1}{2}]\text{.}$

5. $s(1) - s(0) = (32 - 16) - (0-0) = 16\text{,}$ which is the vertical distance the ball traveled on the interval $[0,1]\text{.}$ The area under the velocity curve on $[0,1]$ is the area of the triangle with height 32 (ft/sec) and base 1 (second), which is $A = \frac{1}{2} \cdot 1 \cdot 32 = 16$ feet. These two results are identical, in part due to the fact that we are using two different perspectives to compute the same quantity, which is distance traveled.

6. Observe that $s(2) - s(0) = (32 - 32) - (0 - 0) = 0\text{.}$ This means that the ball has zero change in position on the interval $[0,2]\text{.}$ But we already established that on the interval $[0,1]\text{,}$ the ball traveled 16 feet vertically; since the velocity becomes negative on the interval $1 \lt t \lt 2\text{,}$ there we know the ball's position is decreasing, so it is falling back to earth. The resulting zero change in position means that at $t = 2$ the ball has returned to the location from which it was tossed. If we view the area between the velocity function and the $t$-axis as being negative wherever $v$ is negative, then we see that the areas of the two triangles involved are opposites, which in some sense results in the total area being zero, matching the change in position.

### SubsectionWhen velocity is negative

The assumption that velocity is positive on a given interval guarantees that the movement of an object is always in a single direction, and hence ensures that its change in position is the same as the distance it travels. As we saw in Example4.13, there are natural settings in which an object's velocity is negative, and we would like to understand this scenario as well.

Consider a simple example where a woman goes for a walk on the beach along a stretch of very straight shoreline that runs east-west. We assume that her initial position is $s(0) = 0\text{,}$ and that her position function increases as she moves east from her starting location. For instance, $s = 1$ mile represents one mile east of the start location, while $s = -1$ tells us she is one mile west of where she began walking on the beach.

Now suppose she walks in the following manner. From the outset at $t = 0\text{,}$ she walks due east at a constant rate of $3$ mph for 1.5 hours. After 1.5 hours, she stops abruptly and begins walking due west at a constant rate of $4$ mph and does so for 0.5 hours. Then, after another abrupt stop and start, she resumes walking at a constant rate of $3$ mph to the east for one more hour. What is the total distance she traveled on the time interval from $t = 0$ to $t = 3\text{?}$ What the total change in her position over that time?

These questions are possible to answer without calculus because the velocity is constant on each interval. From $t = 0$ to $t = 1.5\text{,}$ she traveled

\begin{equation*} D_{[0,1.5]} = 3 \ \text{miles per hour} \cdot 1.5 \ \text{hours} = 4.5 \ \text{miles}\text{.} \end{equation*}

On $t = 1.5$ to $t = 2\text{,}$ the distance traveled is

\begin{equation*} D_{[1.5,2]} = 4 \ \text{miles per hour} \cdot 0.5 \ \text{hours} = 2 \ \text{miles}\text{.} \end{equation*}

Finally, in the last hour she walked

\begin{equation*} D_{[2,3]} = 3 \ \text{miles per hour} \cdot 1 \ \text{hours} = 3 \ \text{miles}\text{,} \end{equation*}

so the total distance she traveled is

\begin{equation*} D = D_{[0,1.5]} + D_{[1.5,2]} + D_{[2,3]} = 4.5 + 2 + 3 = 9.5 \ \text{miles}\text{.} \end{equation*}

Since the velocity for $1.5 \lt t \lt 2$ is $v = -4\text{,}$ indicating motion in the westward direction, the woman first walked 4.5 miles east, then 2 miles west, followed by 3 more miles east. Thus, the total change in her position is

\begin{equation*} \text{change in position} = 4.5 - 2 + 3 = 5.5 \ \text{miles}\text{.} \end{equation*}

We have been able to answer these questions fairly easily, and if we think about the problem graphically, we can generalize our solution to the more complicated setting when velocity is not constant, and possibly negative.

In Figure4.15, we see how the distances we computed can be viewed as areas: $A_1 = 4.5$ comes from multiplyimg rate times time ($3 \cdot 1.5$), as do $A_2$ and $A_3\text{.}$ But while $A_2$ is an area (and is therefore positive), because the velocity function is negative for $1.5 \lt t \lt 2\text{,}$ this area has a negative sign associated with it. The negative area distinguishes between distance traveled and change in position.

The distance traveled is the sum of the areas,

\begin{equation*} D = A_1 + A_2 + A_3 = 4.5 + 2 + 3 = 9.5 \ \text{miles}\text{.} \end{equation*}

But the change in position has to account for travel in the negative direction. An area above the $t$-axis is considered positive because it represents distance traveled in the positive direction, while one below the $t$-axis is viewed as negative because it represents travel in the negative direction. Thus, the change in the woman's position is

\begin{equation*} s(3) - s(0) = (+4.5) + (-2) + (+3) = 5.5 \ \text{miles}\text{.} \end{equation*}

In other words, the woman walks 4.5 miles in the positive direction, followed by two miles in the negative direction, and then 3 more miles in the positive direction.

Negative velocity is also seen in the graph of the position function $y=s(t)\text{.}$ Its slope is negative (specifically, $-4$) on the interval $1.5\lt t\lt 2$ because the velocity is $-4$ on that interval. The negative slope shows the position function is decreasing because the woman is walking east, rather than west.

To summarize, we see that if velocity is sometimes negative, a moving object's change in position different from its distance traveled. If we compute separately the distance traveled on each interval where velocity is positive or negative, we can calculate either the total distance traveled or the total change in position. We assign a negative value to distances traveled in the negative direction when we calculate change in position, but a positive value when we calculate the total distance traveled.

###### Example4.16

Suppose that an object moving along a straight line path has its velocity $v$ (in meters per second) at time $t$ (in seconds) given by the piecewise linear function whose graph is pictured at left in Figure4.17. We view movement to the right as being in the positive direction (with positive velocity), while movement to the left is in the negative direction.

Suppose further that the object's initial position at time $t = 0$ is $s(0) = 1\text{.}$

1. Determine the total distance traveled and the total change in position on the time interval $0 \le t \le 2\text{.}$ What is the object's position at $t = 2\text{?}$

2. On what time intervals is the moving object's position function increasing? Why? On what intervals is the object's position decreasing? Why?

3. What is the object's position at $t = 8\text{?}$ How many total meters has it traveled to get to this point (including distance in both directions)? Is this different from the object's total change in position on $t = 0$ to $t = 8\text{?}$

4. Find the exact position of the object at $t = 1, 2, 3, \ldots, 8$ and use this data to sketch an accurate graph of $y = s(t)$ on the axes provided at right in Figure4.17. How can you use the provided information about $y = v(t)$ to determine the concavity of $s$ on each relevant interval?

Hint
1. Find the area of each triangular region formed between $y = v(t)$ and the $t$-axis.

2. Recall that $v = s'\text{,}$ and here we are given complete information about $v\text{.}$

3. Be careful to address whether $v$ is positive or negative when calculating areas and adding the results.

4. Consider finding the area bounded by $y = v(t)$ and the $t$-axis on each interval $[0,1]\text{,}$ $[1,2]\text{,}$ $\ldots\text{.}$

1. Total distance traveled is $2\text{;}$ change in position is $0\text{.}$

2. $0 \lt t \lt 1$ and $4 \lt t \lt 8 \text{.}$

3. $s(8) - s(0) = 1 - 4 + 8 = 5 \ \mbox{m} \text{.}$

4. See the figure below.

Solution
1. By finding the area of the triangular regions formed between $y = v(t)$ and the $t$-axis on $[0,1]$ and $[1,2]$ (each of which is $1$), it follows that the object's total distance traveled is $2\text{,}$ while its change in position is $0\text{.}$ The latter is true since the net signed area bounded by $v$ on $[0,2]$ is $1 - 1 = 0\text{.}$

2. The object's position is increasing wherever its velocity is positive, hence for $0 \le t \lt 1$ and $4 \lt t \lt 8 \text{.}$

3. By calculating the area bounded by the curve, we find 1 unit of area on $[0,1]\text{,}$ 4 units of area on $[1,4]\text{,}$ and 8 units of area on $[4,8]\text{,}$ thus the total distance traveled on $0 \le t \le 8$ is $D = 1 + 4 + 8$ meters. As the change in position is given by the net signed area on this interval, we find that the change in position is

\begin{equation*} s(8) - s(0) = 1 - 4 + 8 = 5 \ \mbox{m}\text{.} \end{equation*}
4. In the figure below, at left we list all of the areas bounded by $v$ on each one-unit subinterval. Along with the given starting point that $s(0) = 1\text{,}$ we use the resulting changes in position to plot points for the function $s\text{.}$ For instance, we know $s(1) - s(0) = 1\text{,}$ hence $s(1) = 2\text{.}$ Similarly, $s(2) - s(1) = -1\text{,}$ thus $s(2) = 1\text{.}$ Continuing across the interval, we generate the function $s$ that is pictured at right. Note that the portion of $s$ from $t = 2$ to $t = 3$ is linear because $v$ is constant there, while the other parts of $s$ appear to be quadratic, as they correspond to intervals where $v$ is linear.

### SubsectionLeft and Right Hand Sums

At this point we have used rectangles to estimate the total area underneath a curve. We will now explore a couple of different ways of constructing these rectangles. Consider the figures below. In Figure4.18 the rectangles are formed by setting the height of the rectangle so that the left side of the rectangle touches the curve. Conversely, in Figure4.19 the right side of the rectangle touches the Cuve. These are commonly called left hand approximations and right hand approximations respectively.

In Figure4.18 you might notice that the left-hand approximation gives an underestimate for the total area of the curve. You might wonder what characteristics of a curve would ensure that a left-hand approximation is always underestimating the total area under the curve. You could similarly note that in Figure4.19 the right hand approximation gives an overestimate for the total area under the curve. Again, you might wonder what characteristics of a curve ensure this behavior.

Inspection of Figure4.20 might lead you to conclude that a left hand estimate is always an underestimate for an increasing function and an overestimate for a decreasing function, and that a right hand estimate is an overestimate for an increasing function and an underestimate for a decreasing function. This is indeed the case.

When approximating the area under a curve the following properties hold:

• A left-hand estimate will overestimate the area under any portion of the curve on which it is decreasing.
• A right-hand estimate will underestimate the area under any portion of the curve on which it is decreasing.
• A left-hand estimate will underestimate the area under any portion of the curve on which it is increasing.
• A right-hand estimate will overestimate the area under any portion of the curve on which it is decreasing.
###### Example4.21

Consider the function whose graph is given in Figure4.22.

1. On what intervals is a left-hand estimate of the area an overestimate?
2. On what intervals is a right-hand estimate of the area an underestimate?
3. On what intervals is a left-hand estimate of the area an underestimate?
4. On what intervals is a right-hand estimate of the area an overestimate?
Hint

Recall,

• A left-hand estimate will overestimate the area under any portion of the curve on which it is decreasing.
• A right-hand estimate will underestimate the area under any portion of the curve on which it is decreasing.
• A left-hand estimate will underestimate the area under any portion of the curve on which it is increasing.
• A right-hand estimate will overestimate the area under any portion of the curve on which it is increasing.
1. $(1,2) \cup (3,4)$
2. $(1,2) \cup (3,4)$
3. $(0,1) \cup (2,3)$
4. $(0,1) \cup (2,3)$
Solution

Recall,

• A left-hand estimate will overestimate the area under any portion of the curve on which it is decreasing. Therefore, by inspecting Figure4.22 we can see that the figure is decreasing on $(1,2) \cup (3,4)\text{.}$ Note, we can also observe the overestimate in Figure4.23.
• A right-hand estimate will underestimate the area under any portion of the curve on which it is decreasing. Therefore, by inspecting Figure4.22 we can see that the figure is decreasing on $(1,2) \cup (3,4)\text{.}$ Note, we can also observe the underestimate in Figure4.24.
• A left-hand estimate will underestimate the area under any portion of the curve on which it is increasing. Therefore, by inspecting Figure4.22 we can see that the figure is increasing on $(0,1) \cup (2,3)\text{.}$ Note, we can also observe the underestimate in Figure4.23.
• A right-hand estimate will overestimate the area under any portion of the curve on which it is increasing. Therefore, by inspecting Figure4.22 we can see that the figure is increasing on $(0,1) \cup (2,3)\text{.}$ Note, we can also observe the overestimate in Figure4.24.

### SubsectionSummary

• If we know the velocity of a moving body at every point in a given interval and the velocity is positive throughout, we can estimate the object's distance traveled and in some circumstances determine this value exactly.

• In particular, when velocity is positive on an interval, we can find the total distance traveled by finding the area under the velocity curve and above the $t$-axis on the given time interval. We may only be able to estimate this area, depending on the shape of the velocity curve.

• An antiderivative of a function $f$ is a new function $F$ whose derivative is $f\text{.}$ That is, $F$ is an antiderivative of $f$ provided that $F' = f\text{.}$ In the context of velocity and position, if we know a velocity function $v\text{,}$ an antiderivative of $v$ is a position function $s$ that satisfies $s' = v\text{.}$ If $v$ is positive on a given interval, say $[a,b]\text{,}$ then the change in position, $s(b) - s(a)\text{,}$ measures the distance the moving object traveled on $[a,b]\text{.}$

• If its velocity is sometimes negative, a moving object is sometimes traveling in the opposite direction or backtracking. To determine distance traveled, we have to compute the distance separately on intervals where velocity is positive or negative, and account for the change in position on each such interval.

### SubsectionExercises

Along the eastern shore of Lake Michigan from Lake Macatawa (near Holland) to Grand Haven, there is a bike bath that runs almost directly north-south. For the purposes of this problem, assume the road is completely straight, and that the function $s(t)$ tracks the position of the biker along this path in miles north of Pigeon Lake, which lies roughly halfway between the ends of the bike path.

Suppose that the biker's velocity function is given by the graph in Figure4.25 on the time interval $0 \le t \le 4$ (where $t$ is measured in hours), and that $s(0) = 1\text{.}$

1. Approximately how far north of Pigeon Lake was the cyclist when she was the greatest distance away from Pigeon Lake? At what time did this occur?

2. What is the cyclist's total change in position on the time interval $0 \le t \le 2\text{?}$ At $t = 2\text{,}$ was she north or south of Pigeon Lake?

3. What is the total distance the biker traveled on $0 \le t \le 4\text{?}$ At the end of the ride, how close was she to the point at which she started?

4. Sketch an approximate graph of $y = s(t)\text{,}$ the position function of the cyclist, on the interval $0 \le t \le 4\text{.}$ Label at least four important points on the graph of $s\text{.}$

A toy rocket is launched vertically from the ground on a day with no wind. The rocket's vertical velocity at time $t$ (in seconds) is given by $v(t)= 500-32t$ feet/sec.

1. At what time after the rocket is launched does the rocket's velocity equal zero? Call this time value $a\text{.}$ What happens to the rocket at $t = a\text{?}$

2. Find the value of the total area enclosed by $y = v(t)$ and the $t$-axis on the interval $0 \le t \le a\text{.}$ What does this area represent in terms of the physical setting of the problem?

3. Find an antiderivative $s$ of the function $v\text{.}$ That is, find a function $s$ such that $s'(t) = v(t)\text{.}$

4. Compute the value of $s(a) - s(0)\text{.}$ What does this number represent in terms of the physical setting of the problem?

5. Compute $s(5) - s(1)\text{.}$ What does this number tell you about the rocket's flight?

An object moving along a horizontal axis has its instantaneous velocity at time $t$ in seconds given by the function $v$ pictured in Figure4.26, where $v$ is measured in feet/sec. Assume that the curves that make up the parts of the graph of $y=v(t)$ are either portions of straight lines or portions of circles.

1. Determine the exact total distance the object traveled on $0 \le t \le 2\text{.}$

2. What is the value and meaning of $s(5) - s(2)\text{,}$ where $y = s(t)$ is the position function of the moving object?

3. On which time interval did the object travel the greatest distance: $[0,2]\text{,}$ $[2,4]\text{,}$ or $[5,7]\text{?}$

4. On which time interval(s) is the position function $s$ increasing? At which point(s) does $s$ achieve a relative maximum?

Filters at a water treatment plant become dirtier over time and thus become less effective; they are replaced every 30 days. During one 30-day period, the rate at which pollution passes through the filters into a nearby lake (in units of particulate matter per day) is measured every 6 days and is given in the following table. The time $t$ is measured in days since the filters were replaced.

1. Plot the given data on a set of axes with time on the horizontal axis and the rate of pollution on the vertical axis.

2. Explain why the amount of pollution that entered the lake during this 30-day period would be given exactly by the area bounded by $y = p(t)$ and the $t$-axis on the time interval $[0,30]\text{.}$

3. Estimate the total amount of pollution entering the lake during this 30-day period. Carefully explain how you determined your estimate.