Tangent Lines, Velocities, and Growth

Site: Saylor Academy
Course: MA005: Calculus I
Book: Tangent Lines, Velocities, and Growth
Printed by: Guest user
Date: Wednesday, May 8, 2024, 7:09 PM

Description

Read this section for an introduction to connecting derivatives to quantities we can see in the real world. Work through practice problems 1-4.

Introduction

We estimated the slope of a line tangent to the graph of a function at a point and constructed a new function which was the slope of the line tangent to the graph of a function at each point.  In both cases, before we could calculate a slope, we had to estimate the tangent line from the graph of the function, a method which required an accurate graph and good estimating.  In this section, we will start to look at a more precise method of finding the slope of a tangent line which does not require a graph or any estimation by us.  We will start with a nonapplied problem and then look at two applications of the same idea.



Source: Dale Hoffman, https://s3.amazonaws.com/saylordotorg-resources/wwwresources/site/wp-content/uploads/2012/12/MA005-2.1-Tangent-Lines-Velocities-Growth.pdf
Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 License.

The Slope of a Line Tangent to a Function at a Point

Our goal is to find a way of exactly determining the slope of the line which is tangent to a function (to the graph of the function) at a point in a way which does not require us to have the graph of the function.


Let's start with the problem of finding the slope of the line L (Fig. 1) which is tangent to f(x)=x^{2} at the point (2,4). We could estimate the slope of \mathrm{L} from the graph, but we won't. Instead, we can see that the line through (2,4) and (3,9) on the graph of \mathrm{f} is an approximation of the slope of the tangent line, and we can calculate that slope exactly: \mathrm{m}=\Delta \mathrm{y} / \Delta \mathrm{x}=(9-4) /(3-2)=5. But \mathrm{m}=5 is only an estimate of the slope of the tangent line and not a very good estimate. It's too big. We can get a better estimate by picking a second point on the graph of f which is closer to (2,4)- the point (2,4) is fixed and it must be one of the points we use. From Fig. 2, we can see that the slope of the line through the points (2,4) and (2.5,6.25) is a better approximation of the slope of the tangent line at (2,4): \mathrm{m}=\Delta \mathrm{y} / \Delta \mathrm{x}=(6.25-4) /(2.5-2)=2.25
    /.5 =4.5, a better estimate, but still an approximation. We can continue picking points closer and closer to (2,4) on the graph of \mathrm{f}, and then calculating the slopes of the lines through each of these points and the point (2,4):



Points to the left of (2,4)   Points to the right of (2,4)
\begin{array}{l|l|l}x & y=x^{2} & \begin{array}{l}\text { slope of line through } \\ (x, y) \text { and }(2,4)\end{array} \\ \hline 1.5 & 2.25 & 3.5 \\ 1.9 & 3.61 & 3.9 \\ 1.99 & 3.9601 & 3.99 \end{array}
                   \begin{array}{l|l|l} x & y=x^{2} & \begin{array}{l} \text { slope of line through } \\ (\mathrm{x}, \mathrm{y}) \text { and }(2,4) \end{array} \\ \hline 3 & 9 & 5 \\ 2.5 & 6.25 & 4.5 \\ 2.01 & 4.0401 & 4.01
                \end{array}

The only thing special about the x-values we picked is that they are numbers which are close, and very close, to \mathrm{x}=2. Someone else might have picked other nearby values for \mathrm{x}. As the points we pick get closer and closer to the point (2,4) on the graph of \mathrm{y}=\mathrm{x}^{2}, the slopes of the lines through the points and (2,4) are better approximations of the slope of the tangent line, and these slopes are getting closer and closer to 4.

Practice 1: What is the slope of the line through (2,4) and (x, y) for y=x_{m}^{2} and x=1.994 ? x=2.0003 ?

We can bypass much of the calculating by not picking the points one at a time: let's look at a general point near (2,4). Define \mathrm{x}=2+\mathrm{h} so \mathrm{h} is the increment from 2 to \mathrm{x} (Fig. 3). If \mathrm{h} is small, then \mathrm{x}=2+\mathrm{h} is close to 2 and the point (2+\mathrm{h}, \mathrm{f}(2+\mathrm{h}))=\left(2+\mathrm{h},(2+\mathrm{h})^{2}\right) is close to (2,4). The slope \mathrm{m} of the line through the points (2,4) and \left(2+\mathrm{h},(2+\mathrm{h})^{2}\right) is a good approximation of the slope of the tangent line at the point (2,4):



\begin{aligned} m &=\frac{\Delta y}{\Delta x}=\frac{(2+h)^{2}-4}{(2+h)-2} \\ &=\frac{\left\{4+4 h+h^{2}\right\}-4}{h}=\frac{4 h+h^{2}}{h}=\frac{h(4+h)}{h}=4+h. \end{aligned}

If h is very small, then m=4+h is a very good approximation to the slope of the tangent line, and m=4+h is very close to the value 4. The value m=4+h is called the slope of the secant line through the two points (2,4) and \left(2+\mathrm{h},(2+\mathrm{h})^{2}\right). The limiting value 4 of \mathrm{m}=4+\mathrm{h} as \mathrm{h} gets smaller and smaller is called the slope of the tangent line to the graph of \mathrm{f} at (2,4).


Example 1: Find the slope of the line tangent to f(x)=x^{2} at the point (1,1) by evaluating the slope of the secant line through (1,1) and (1+\mathrm{h}, \mathrm{f}(1+\mathrm{h})) and then determining what happens as \mathrm{h} gets very small (Fig. 4).


Solution: The slope of the secant line through the points (1,1) and (1+\mathrm{h}, \mathrm{f}(1+\mathrm{h})) is

\begin{aligned} m=& \frac{f(1+h)-1}{(1+h)-1}=\frac{(1+h)^{2}-1}{h}=\frac{\left\{1+2 h+h^{2}\right\}-1}{h} \\&=\frac{2 h+h^{2}}{h}=2+h .\end{aligned}

As h gets very small, the value of m approaches the value 2, the slope of tangent line at the point (1,1).


Practice 2: Find the slope of the line tangent to the graph of \mathrm{y}=\mathrm{f}(\mathrm{x})=\mathrm{x}^{2} at the point (-1,1) by finding the slope of the secant line, \mathrm{m}_{\mathrm{sec}}, through the points (-1,1) and (-1+\mathrm{h}, \mathrm{f}(-1+\mathrm{h})) and then determining what happens to \mathrm{m}_{\mathrm{sec}} as \mathrm{h} gets very small.

Falling Tomato

Suppose we drop a tomato from the top of a 100 foot building (Fig. 5) and time its fall.


Some questions are easy to answer directly from the table:  

(a) How long did it take for the tomato \mathrm{n} to drop 100 feet?     (2.5 seconds) 

(b) How far did the tomato fall during the first second?            (100 – 84 = 16 feet) 

(c) How far did the tomato fall during the last second?             (64 – 0 = 64 feet) 

(d) How far did the tomato fall between \mathrm{t =.5} and \mathrm{t = 1}?       (96 – 84 = 12 feet) 

 Some other questions require a little calculation:

(e) What was the average velocity of the tomato during its fall?

\text{Average velocity} = \frac{\text { distance fallen }}{\text { total time }}=\frac{\Delta \text { position }}{\Delta \text { time }}=\frac{-100 \, \mathrm{ft}}{2.5 \mathrm{~s}}=-40 \, \mathrm{ft} / \mathrm{s}

(f) What was the average velocity between \mathrm{t}=1 and \mathrm{t}=2 seconds?

\text { Average velocity }=\frac{\Delta \text { position }}{\Delta \text { time }}=\frac{36 \mathrm{ft}-84 \mathrm{ft}}{2 \mathrm{~s}-1 \mathrm{~s}}=\frac{-48 \mathrm{ft}}{1 \mathrm{~s}}=-48 \mathrm{ft} / \mathrm{s}.

Some questions are more difficult. 

(g) How fast was the tomato falling 1 second after it was dropped? 

This question is significantly different from the previous two questions about average velocity. Here we want the instantaneous velocity, the velocity at an instant in time. Unfortunately the tomato is not equipped with a speedometer so we will have to give an approximate answer. 

One crude approximation of the instantaneous velocity after 1 second is simply the average velocity during the entire fall, \text{–40 ft/s}. But the tomato fell slowly at the beginning and rapidly near the end so the "\text{–40 ft/s}" estimate may or may not be a good answer. 

We can get a better approximation of the instantaneous velocity at \mathrm{t}=1 by calculating the average velocities over a short time interval near t=1. The average velocity between t=0.5 and t=1 is \frac{-12 \text { feet }}{0.5 \mathrm{~s}}=-24
    \mathrm{ft} / \mathrm{s}, and the average velocity between \mathrm{t}=1 and \mathrm{t}=1.5 is \frac{-20 \mathrm{feet}}{.5 \mathrm{~s}}=-40 \mathrm{ft} / \mathrm{s} so we can be reasonably sure that the instantaneous velocity is between -24 \mathrm{ft} / \mathrm{s} and -40 \mathrm{ft} / \mathrm{s}.

In general, the shorter the time interval over which we calculate the average velocity, the better the average velocity will approximate the instantaneous velocity. The average velocity over a time interval is  \dfrac {\Delta position}{\Delta time} , which is the slope of the secant line through two points on the graph of height versus time (Fig. 6). The instantaneous velocity at a particular time and height is the slope of the tangent line to the graph at the point given by that time and height.



 \begin{aligned} \text { Average velocity } &=\frac{\Delta \text { position }}{\Delta \text { time }} \\ &=\text { slope of the secant line through } 2 \text { points. } \\ \\ \text{Instantaneous velocity} &= \text{slope of the line tangent
    to the graph.} \end{aligned}

Practice 3: Estimate the velocity of the tomato 2 seconds after it was dropped.


Growing Bacteria

Suppose we set up a machine to count the number of bacteria growing on a petri plate (Fig. 7). At first there are few bacteria so the population grows slowly. Then there are more bacteria to divide so the population grows more quickly. Later, there are more bacteria and less room and nutrients available for the expanding population, so the population grows slowly again. Finally, the bacteria have used up most of the nutrients, and the population declines as bacteria die. 




The population graph can be used to answer a number of questions.

(a) What is the bacteria population at time \mathrm{t}=3 days?

(Answer: about 500 bacteria)

(b) What is the population increment from \mathrm{t}=3 to \mathrm{t}=10 days?

(about 4000 bacteria)

(c) What is the rate of population growth from \mathrm{t}=3 to \mathrm{t}=10 days? (Fig. 7)

Solution: The rate of growth from \mathrm{t}=3 to \mathrm{t}=10 is the average change in population during that time:

\begin{aligned} \text { average change in population } &=\frac{\text { change in population }}{\text { change in time }}=\frac{\Delta \text { population }}{\Delta \text { time }} \\ &=\frac{4000 \text { bacteria }}{7 \text { days }} \approx 570 \text { bacteria/day.} \end{aligned}

This is the slope of the secant line through the two points (3,500) and (10,4500).

(d) What is the rate of population growth on the third day, at \mathrm{t}=3?


Solution: This question is asking for the instantaneous rate of population change, the slope of the line which is tangent to the population curve at (3,500). If we sketch a line approximately tangent to the curve at (3,500) and pick two points near the ends of the tangent line segment (Fig. 8), we can estimate that instantaneous rate of population growth is approximately \text{320 bacteria/day}.

\begin{aligned}  \text { Average population growth rate } &=\frac{\Delta \text { population }}{\Delta \text { time }} \\ &=\text { slope of the secant line through } 2 \text { points. } \\ \\ \text { Instantaneous population growth rate }& =\text { slope of the line tangent to the graph. }\end{aligned}

Practice 4: Approximately what was the average change in population between \mathrm{t}=9 and \mathrm{t}=13 ? Approximately what was rate of population growth at \mathrm{t}=9 days?

The tangent line problem, the instantaneous velocity problem and the instantaneous growth rate problem are all similar. In each problem we wanted to know how rapidly something was changing at an instant in time, and each problem turned out to be finding the slope of a tangent line. The approach in each problem was also the same: find an approximate solution and then examine what happened to the approximate solution over shorter and shorter intervals. We will often use this approach of finding a limiting value, but before we can use it effectively we need to describe the concept of a limit with more precision.

Practice Problem Answers

Practice 1: \quad y=x^{2}

If x=1.994, then y=3.976036 so the slope between (2,4) and (x, y) is

\frac{4-y}{2-x}=\frac{4-3.976036}{2-1.994}=\frac{0.023964}{0.006} \approx 3.994

If x=2.0003, then y \approx 4.0012 so the slope between (2,4) and (x, y) is

\frac{4-y}{2-x}=\frac{4-4.0012}{2-2.0003}=\frac{-0.0012}{0.0003} \approx 4.0003


Practice 2: \quad\mathrm{m}_{\mathrm{sec}}=\frac{\mathrm{f}(-1+\mathrm{h})-(1)}{(-1+\mathrm{h})-(-1)}=\frac{(-1+\mathrm{h})^{2}-1}{\mathrm{~h}}=\frac{1-2 \mathrm{~h}+\mathrm{h}^{2}-1}{\mathrm{~h}}=\frac{\mathrm{h}(-2+\mathrm{h})}{\mathrm{h}}=\mathbf{- 2}+\mathbf{h}

As \mathrm{h} \rightarrow 0, \mathrm{~m}_{\mathrm{sec}}=-2+\mathrm{h} \rightarrow \mathbf{- 2}.


Practice 3: The average velocity between \mathrm{t}=1.5 and \mathrm{t}=2.0 is \frac{36-64 \mathrm{feet}}{2.0-1.5 \mathrm{sec}}=-56 feet per second.

The average velocity between t=2.0 and t=2.5 is \frac{0-36 \text { feet }}{2.5-2.0 \mathrm{sec}}=-72 feet per second.

The velocity at \mathrm{t}=2.0 is somewhere between -56 \mathrm{ft} / \mathrm{sec} and -72 \mathrm{ft} / \mathrm{sec}, probably about the middle of this interval: \frac{(-56)+(-72)}{2}=-\mathbf{6 4} \mathbf{~ f t} / \mathrm{sec}.


Practice 4: (a) When \mathrm{t}=9 days, the population is approximately \mathrm{P}=4,200 bacteria. When \mathrm{t}=13, \mathrm{P} \approx 5,000. The average change in population is approximately

\frac{5000-4200 \text { bacteria }}{13-9 \text { days }}=\frac{800 \text { bacteria }}{4 \text { days }}=200 \text { bacteria per day. }


(b) To find the rate of population growth at \mathrm{t}=9 days, sketch the line tangent to the population curve at the point (9,4200) and then use (9,4200) and another point on the tangent line to calculate the slope of the line. Using the approximate values (5,2800) and (9,4200), the slope of the tangent line at the point (9,4200) is approximately \frac{4200-2800 \text { bacteria }}{9-5 \text { days }}=\frac{1400 \text { bacteria }}{4 \text { days }} \approx \text{350 bacteria/day}.