# 4.1: Determining Distance Traveled from Velocity

- Page ID
- 4313

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

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

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

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

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

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

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

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

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Learning Objectives

In this section, we strive to understand the ideas generated by the following important 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 the 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 very first section of the text, we considered a situation where a moving object had a known position at time t. In particular, we stipulated that a tennis ball tossed into the air had its height s (in feet) at time t (in seconds) given by s(t) = 64 − 16(t − 1) 2 . From this starting point, we investigated the average velocity of the ball on a given interval [a, b], computed by the difference quotient s(b)−s(a) b−a , and eventually found that we could determine the exact instantaneous velocity of the ball at time t by taking the derivative of 207 208 the position function, s 0 (t) = lim h→0 s(t + h) − s(t) h . Thus, given a differentiable position function, we are able to know the exact velocity of the moving object at any point in time. Moreover, from this foundational problem involving position and velocity we have learned a great deal. Given a differentiable function f , we are now able to find its derivative and use this derivative to determine the function’s instantaneous rate of change at any point in the domain, as well as to find where the function is increasing or decreasing, is concave up or concave down, and has 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. That is, we have typically proceeded from a function f to its derivative, f 0 , and then used the meaning of the derivative to help us answer important questions. In a much smaller number of situations so far, we have encountered the reverse situation where we instead know the derivative, f 0 , and have tried to deduce information about f . It is this particular problem that will be the focus of our attention in most of Chapter 4: if we know the instantaneous rate of change of a function, are we able to determine the function itself? To begin, we start with a more focused question: if we know the instantaneous velocity of an object moving along a straight line path, can we determine its corresponding position function?

Preview Activity \(\PageIndex{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.

Figure 4.1: At left, axes for plotting y = v(t); at right, for plotting y = s(t).

- On the left-hand axes provided in Figure 4.1, sketch a labeled graph of the velocity function v(t) = 3. Note that while the scale on the two sets of axes is the same, the units on the right-hand axes differ from those on the left. The right-hand axes 209 will be used in question (d).
- 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)?
- Find an algebraic formula, s(t), for the position of the person at time t, assuming that s(0) = 0. Explain your thinking.
- On the right-hand axes provided in Figure 4.1, sketch a labeled graph of the position function y = s(t).
- 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.

Area under the graph of the velocity function In Preview Activity 4.1, we encountered a fundamental fact: when a moving object’s velocity is constant (and positive), the area under the velocity curve over a given interval tells us the distance the object traveled. As seen at left in Figure 4.2, if we consider an object

*Figure 4.2: At left, a constant velocity function; at right, a non-constant velocity function.*

moving at 2 miles per hour over the time interval [1, 1.5], then the area A1 of the shaded region under y = v(t) on [1, 1.5] is A1 = 2 miles hour · 1 2 hours = 1 mile. This principle holds in general simply due to the fact that distance equals rate times time, provided the rate is constant. Thus, if v(t) is constant on the interval [a, b], then the 210 distance traveled on [a, b] is the area A that is given by A = v(a)(b − a) = v(a)4t, where 4t is the change in t over the interval. Note, too, that we could use any value of v(t) on the interval [a, b], since the velocity is constant; we simply chose v(a), the value at the interval’s left endpoint. For several examples where the velocity function is piecewise constant, see http://gvsu.edu/s/9T. 1 The situation is obviously more complicated when the velocity function is not constant. At the same time, on relatively small intervals on which v(t) does not vary much, the area principle allows us to estimate the distance the moving object travels on that time interval. For instance, for the non-constant velocity function shown at right in Figure 4.2, we see that on the interval [1, 1.5], velocity varies from v(1) = 2.5 down to v(1.5) ≈ 2.1. Hence, one estimate for distance traveled is the area of the pictured rectangle, A2 = v(1)4t = 2.5 miles hour · 1 2 hours = 1.25 miles. Because v is decreasing on [1, 1.5] and the rectangle lies above the curve, clearly A2 = 1.25 is an over-estimate of the actual distance traveled. If we want to estimate the area under the non-constant velocity function on a wider interval, say [0, 3], it becomes apparent that one rectangle probably will not give a good approximation. Instead, we could use the six rectangles pictured in Figure 4.3, find the

*Figure 4.3: Using six rectangles to estimate the area under y = v(t) on [0, 3].*

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 velocity is sometimes negative? 1Marc Renault, calculus applets. 211 can we attain the exact area under any non-constant curve? These questions and more are ones we will study in what follows; for now it suffices to realize that the simple idea of the area of a rectangle gives us a powerful tool for estimating both distance traveled from a velocity function as well as the area under an arbitrary curve. To explore the setting of multiple rectangles to approximate area under a non-constant velocity function, see the applet found at http://gvsu.edu/s/9U. 2

Activity \(\PageIndex{2}\):

Suppose that a person is walking in such a way that her velocity varies slightly according to the information given in the table below and graph given in Figure 4.4.

*Figure 4.4: The graph of y = v(t).2Marc Renault, calculus applets. 212*

- Using the grid, graph, and given data appropriately, estimate the distance traveled by the walker during the two hour interval from t = 0 to t = 2. You should use time intervals of width 4t = 0.5, choosing a way to use the function consistently to determine the height of each rectangle in order to approximate distance traveled.
- How could you get a better approximation of the distance traveled on [0, 2]? Explain, and then find this new estimate.
- Now suppose that you know that v is given by v(t) = 0.5t 3 − 1.5t 2 + 1.5t + 1.5. Remember that v is the derivative of the walker’s position function, s. Find a formula for s so that s 0 = v.
- Based on your work in (c), what is the value of s(2)− s(0)? What is the meaning of this quantity?

## Two approaches: Area and Antidifferentiation

When the velocity of a moving object is positive, the object’s position is always increasing. While we will soon consider situations where velocity is negative and think about the ramifications of this condition on distance traveled, for now we continue to assume that we are working with a positive velocity function. In that setting, we have established that whenever v is actually constant, the exact distance traveled on an interval is the area under the velocity curve; furthermore, we have observed that when v is not constant, we can estimate the total distance traveled by finding the areas of rectangles that help to approximate the area under the velocity curve on the given interval. Hence, we see the importance of the problem of finding the area between a curve and the horizontal axis: besides being an interesting geometric question, in the setting of the curve being the (positive) velocity of a moving object, the area under the curve over an interval tells us the exact distance traveled on the interval. We can estimate this area any time we have a graph of the velocity function or a table of data that tells us some relevant values of the function. In Activity 4.1, we also encountered an alternate approach to finding the distance traveled. In particular, if we know a formula for the instantaneous velocity, y = v(t), of the moving body at time t, then we realize that v must be the derivative of some corresponding position function s. If we can find a formula for s from the formula for v, it follows that we know the position of the object at time t. In addition, under the assumption that velocity is positive, the change in position over a given interval then tells us the distance traveled on that interval. For a simple example, consider the situation from Preview Activity 4.1, where a person is walking along a straight line and has velocity function v(t) = 3 mph. As pictured in

*Figure 4.5: The velocity function v(t) = 3 and corresponding position function s(t) = 3t.*

Figure 4.5, we see the already noted relationship between area and distance traveled on the left-hand graph of the velocity function. In addition, because the velocity is constant 213 at 3, we know that if3 s(t) = 3t, then s 0 (t) = 3, so s(t) = 3t is a function whose derivative is v(t). Furthermore, we now observe that s(1.5) = 4.5 and s(0.25) = 0.75, which are the respective locations of the person at times t = 0.25 and t = 1.5, and therefore s(1.5) − s(0.25) = 4.5 − 0.75 = 3.75 miles. This is not only the change in position on [0.25, 1.5], but also precisely the distance traveled on [0.25, 1.5], which can also be computed by finding the area under the velocity curve over the same interval. There are profound ideas and connections present in this example that we will spend much of the remainder of Chapter 4 studying and exploring. For now, it is most important to observe that if we are given a formula for a velocity function v, it can be very helpful to find a function s that satisfies s 0 = v. In this context, we say that s is an antiderivative of v. More generally, just as we say that f 0 is the derivative of f for a given function f , if we are given a function g and G is a function such that G 0 = g, we say that G is an antiderivative of g. For example, if g(x) = 3x 2 + 2x, an antiderivative of g is G(x) = x 3 + x 2 , since G 0 (x) = g(x). Note that we say “an” antiderivative of g rather than “the” antiderivative of g because H(x) = x 3 + x 2 + 5 is also a function whose derivative is g, and thus H is another antiderivative of g.

Activity \(\PageIndex{3}\):

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

- 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?
- Find an antiderivative, s, of v that satisfies s(0) = 0.
- Compute the value of s(1) − s( 1 2 ). What is the meaning of the value you find?
- Using the graph of y = v(t) provided in Figure 4.6, find the exact area of the region under the velocity curve between t = 1 2 and t = 1. What is the meaning of the value you find?
- Answer the same questions as in (c) and (d) but instead using the interval [0, 1]. (f) What is the value of s(2) − s(0)? 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)? Explain. C

Here we are making the implicit assumption that s(0) = 0; we will further discuss the different possibilities for values of s(0) in subsequent study.

Figure 4.6: The graph of y = v(t).

When velocity is negative Most of our work in this section has occurred under the assumption that velocity is positive. This hypothesis guarantees that the movement of the object under consideration is always in a single direction, and hence ensures that the moving body’s change in position is the same as the distance it travels on a given interval. As we saw in Activity 4.2, there are natural settings in which a moving object’s velocity is negative; we would like to understand this scenario fully as well. Consider a simple example where a person goes for a walk on a beach along a stretch of very straight shoreline that runs east-west. We can naturally assume that their initial position is s(0) = 0, and further stipulate that their position function increases as they move east from their starting location. For instance, a position of s = 1 mile represents being one mile east of the start location, while s = −1 tells us the person is one mile west of where they began walking on the beach. Now suppose the person walks in the following manner. From the outset at t = 0, the person walks due east at a constant rate of 3 mph for 1.5 hours. After 1.5 hours, the person stops abruptly and begins walking due west at the constant rate of 4 mph and does so for 0.5 hours. Then, after another abrupt stop and start, the person resumes walking at a constant rate of 3 mph to the east for one more hour. What is the total distance the person traveled on the time interval t = 0 to t = 3? What is the person’s total change in position over that time? On one hand, these are elementary questions to answer because the velocity involved is constant on each interval. From t = 0 to t = 1.5, the person traveled D[0,1.5] = 3 miles per hour · 1.5 hours = 4.5 miles. Similarly, on t = 1.5 to t = 2, having a different rate, the distance traveled is D[1.5,2] = 4 miles per hour · 0.5 hours = 2 miles. 215 Finally, similar calculations reveal that in the final hour, the person walked D[2,3] = 3 miles per hour · 1 hours = 3 miles, so the total distance traveled is D = D[0,1.5] + D[1.5,2] + D[2,3] = 4.5 + 2 + 3 = 9.5 miles. Since the velocity on 1.5 < t < 2 is actually v = −4, being negative to indicate motion in the westward direction, this tells us that the person first walked 4.5 miles east, then 2 miles west, followed by 3 more miles east. Thus, the walker’s total change in position is change in position = 4.5 − 2 + 3 = 5.5 miles. While we have been able to answer these questions fairly easily, it is also important to think about this problem graphically in order that we can generalize our solution to the more complicated setting when velocity is not constant, as well as to note the particular impact that negative velocity has. In Figure 4.7, we see how the distances we computed

*Figure 4.7: At left, the velocity function of the person walking; at right, the corresponding position function.*

above can be viewed as areas: A1 = 4.5 comes from taking rate times time (3 · 1.5), as do A2 and A3 for the second and third rectangles. The big new issue is that while A2 is an area (and is therefore positive), because this area involves an interval on which the velocity function is negative, its area has a negative sign associated with it. This helps us to distinguish between distance traveled and change in position. The distance traveled is the sum of the areas, D = A1 + A2 + A3 = 4.5 + 2 + 3 = 9.5 miles. 216 But the change in position has to account for the sign associated with the area, where those above the t-axis are considered positive while those below the t-axis are viewed as negative, so that s(3) − s(0) = (+4.5) + (−2) + (+3) = 5.5 miles, assigning the “−2” to the area in the interval [1.5, 2] because there velocity is negative and the person is walking in the “negative” direction. In other words, the person 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. This affect of velocity being negative is also seen in the graph of the function y = s(t), which has a negative slope (specifically, its slope is −4) on the interval 1.5 < t < 2 since the velocity is −4 on that interval, which shows the person’s position function is decreasing due to the fact that she is walking east, rather than west. On the intervals where she is walking west, the velocity function is positive and the slope of the position function s is therefore also positive. To summarize, we see that if velocity is sometimes negative, this makes the moving object’s change in position different from its distance traveled. By viewing the intervals on which velocity is positive and negative separately, we may compute the distance traveled on each such interval, and then depending on whether we desire total distance traveled or total change in position, we may account for negative velocities that account for negative change in position, while still contributing positively to total distance traveled. We close this section with one additional activity that further explores the effects of negative velocity on the problem of finding change in position and total distance traveled.

Activity \(\PageIndex{4}\):

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 in Figure 4.8. 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

Figure 4.8: The velocity function of a moving object.

further that the object’s initial position at time t = 0 is s(0) = 1.

- Determine the total distance traveled and the total change in position on the time interval 0 ≤ t ≤ 2. What is the object’s position at t = 2?
- On what time intervals is the moving object’s position function increasing? Why? On what intervals is the object’s position decreasing? Why?
- What is the object’s position at t = 8? 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?
- Find the exact position of the object at t = 1, 2, 3, . . ., 8 and use this data to sketch an accurate graph of y = s(t) on the axes provided at right. How can you use the provided information about y = v(t) to determine the concavity of s on each relevant interval?

## Summary

In this section, we encountered the following important ideas:

- 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 . That is, F is an antiderivative of f provided that F 0 = f . In the context of velocity and position, if we know a velocity function v, an antiderivative of v is a position function s that satisfies s 0 = v. If v is positive on a given interval, say [a, b], then the change in position, s(b) − s(a), measures the distance the moving object traveled on [a, b].
- In the setting where velocity is sometimes negative, this means that the object is sometimes traveling in the opposite direction (depending on whether velocity is positive or negative), and thus involves the object backtracking. To determine distance traveled, we have to think about the problem separately on intervals where velocity is positive and negative and account for the change in position on each such interval.