8.3: Tangent Lines and Rates of Change
Learning objectives
 Demonstrate an understanding of the rate of change of a function.
 Demonstrate an understanding of the slope of the tangent line to the graph.
 Demonstrate an understanding of the instantaneous rate of change.
Introduction
Calculus is a branch of mathematics that deals with rates of change of a quantity. For example, a car speeding down the street, the inflation of currency, the number of bacteria in a culture, and the AC voltage of an electric signal are all examples of quantities that change with time. In this section, we will study the rate of change of a quantity and how it is related to the tangent lines on a curve.
The Tangent Line
Back in Lesson 8.1, we briefly discussed how a secant line could become a tangent line to a point on a graph. Recall from algebra, if points P(x_{0},y_{0}) and Q(x_{1},y_{1}) are two different points on the curve y = f(x), then the slope of the secant line connecting the two points is given by
(1) 

As discussed earlier, if we let the point x_{1} approach x_{o} then Q will approach P along the graph f and thus the slope of the secant line will gradually approach the slope of the tangent line as x_{1} approaches x_{0}. Therefore, (1) becomes
(2) 

To simplify our notation, if we let h = x_{1} −x_{0}, then x_{1} = x_{0} + h and x_{1} → x_{0} becomes equivalent to h → 0. This means that (2) becomes
The Slope of a Tangent Line If the point P(x_{0},y_{0}) is on the curve f, then the tangent line at Phas a slope that is given by provided that the limit exist. 

Recall that the equation of the tangent line through point (x_{0}, y_{0}) with slope m is the pointslope form of a line: y − y_{0} = m_{tan}(x − x_{0}).
Example 1: Find line tangent to the curve f(x)=x^{3} that passes through point P (2,8).
Solution: Since P(x_{0}, y_{0}) = (2, 8), using the slope of the tangent equation we have
and we get  
Thus the slope of the tangent line is 12. Using the pointslope formula above, we find that the equation of the tangent line is y 8 = 12 (x 2) or y = 12 x 16.
What we are interested in next is to be able to know the slope of the tangent line at any point on the curve f. Such a formula would be the same formula that we are using except we would replace the constant x_{0} by the variable x. This yields,
We denote this formula by,  
where f' (x) reads "f prime of x" The next example illustrate its usefulness.
Example 2: If f(x) = x^{2} − 3,find f' (x) and use the result to find the slope of the tangent line at x = 2 and x = −1.
Solution: Since then
To find the slope,we simply substitute x = 2 into the result f' (x):
f'(x)  = 2x  

f'(2)  =2(2)  
= 4  
and  
f'(x)  =2x  
f'(1)  =2(1)  
= 2 
Thus slope of the tangent line at x = 2 and x = −1 are 4 and −2 respectively.
Example 3: Find the slope of the tangent line to the curve y = 1/x that passes through the point (1, 1).
Solution: Using the slope of the tangent formula,
and substituting  
For x=1, the slope is  
Thus the slope of the tangent line at x = 1 for the curve y = 1/x is m = −1. To find the equation of the tangent line, we simply use the pointslope formula,
yy_{0}  =m(xx_{0})  

Where (x_{0}, y_{0}) = (1, 1).  
y 1  = 1(x1)  
y  = x+1+1  
y  = x+2 
So the equation of the tangent line is y=x+2.
Average Rate of Change and Instantaneous Rate of Change
One of the two primary concepts of calculus involves calculating the rate of change of one quantity with respect to another. For example, speed is defined as the rate of displacement with respect to time. If a person travels 120 miles in 4 hours, his speed is 120/4=30 mi/hr. This speed is called the average speed or the average rate of change of distance with respect to time. Of course the person who travels 120 miles at a rate of 30 mi/hr for 4 hr probably does not do so continuously. Though he probably slowed down or sped up during the 4hour period, it does suffice to say that he traveled for 4 hours at an average rate of 30 miles per hour. However, if the driver strikes a tree, it would not be his average speed that determines his survival but his speed at the instant of the collision. Similarly, when a bullet strikes a target, it is not the average speed that is significant but its instantaneous speed at the moment it strikes. So here we have distinct kinds of speeds, average speed and instantaneous speed.
The average speed of an object is defined as the object's displacement ∆x divided by the time interval ∆t during which the displacement occurs:
Notice that the points(t_{0}, x_{0}) and(t_{1}, x_{1}) lie on the position versus time curve, as the figure below shows.
This expression is also the expression for the slope of a secant line connecting the two points. Thus we conclude that the average velocity of an object between time t_{0} and t_{1} is respresented geometrically by the slope of the secant line connecting the two points (t_{o}, x_{o}) and (t_{1}, x_{1}). If we choose t_{1} close to t_{o}, then the average velocity will closely approximate the instantaneous velocity at time t_{o}.
Geometrically, the average rate of change is represented by the slope of a secant line (figure a, below) and the instantaneous rate of change is represented by the slope of the tangent line (figure b, below).
Average Rate of Change(such as the average velocity) The average rate of change of y=f(x) over the time interval [x_{0}, x_{1}] is the slope m_{sec} of the secant line to the points (x_{o}, f(x_{0})) and (x_{1}, f(x_{0})) on the graph (figure a):


Instantaneous Rate of Change The instantaneous rate of change of y=f(x) at the point x_{0} is the slope m_{sec} of the tangent line to the point x_{0}on the graph (figure b):


Example 4: Suppose that y = x^{2} − 3.
 Find the average rate of change of y with respect x over the interval [0, 2].
 Find the instantaneous rate of change of y with respect x at the point x = −1.
Solution:
 1. Applying the formula above for secant with f(x)=x^{2}3 and x_{0}=0 and x_{1}=2, yields

 This means that the average rate of change of y is 2 units per unit increase in x over the interval [0,2].
 2. From Example 2 above, we found that f'(x) = 2x, so
m_{tan}  = f'(x_{0})  

= f'(1)  
= 2(1)  
= 2 
 This means that the instantaneous rate of change is negative. That is, y is decreasing at the point x = 1. It is decreasing at a rate of 2 units per unit increase in x.
Lesson Summary
In this lesson we found a formula for the slope of a tangent line that relies on the concept of a limit. From this slope we were able to write the equation of a tangent using the pointslope form of a line. We will consider the slope of the tangent line further in the next lesson. We also considered the difference between average rate of change and instantaneous rate of change. We found that average rate of change uses secant lines and instantaneous rate of change uses tangent lines.
Points to Consider
 What are some examples of times you would be interested in knowing the instantaneous rate of change as opposed to the average rate of change?
 What are some examples of times you would be interested in knowing the average rate of change as opposed to the instantaneous rate of change?
Review Questions
 Given the function y = (1/2) x^{2} and the values of x_{0} = 3 and x_{1} = 4, find (a) The average rate of change of y with respect to x over the interval [x_{0}, x_{1}]. (b) The instantaneous rate of change of y with respect to x at x_{0}. (c) The slope of the tangent line at x_{1}. (d) The slope of the secant line connecting x_{0} and x_{1}.
 Repeat Problem (1) for f(x) = (1\x) and the values x_{0} = 2 and x_{1} = 3.
 Find the slope of the graph f(x) = x^{2} + 1 at a general point x. What is the slope of the tangent line at x_{0} = 6?
 Suppose that . (a) Find the average rate of change of y with respect to x over the interval [1, 3]. (b) Find the instantaneous rate of change of y with respect to x at point x = 1.
 A rocket is propelled upwards and reaches a height of h(t) = 4.9t^{2} in t seconds. (a) How high does it reach in 35 seconds? (b) What is the average velocity of the rocket during the first 35 seconds? (c) What is the average velocity of the rocket during the first 200 meters? (d) What is the instantaneous velocity of the rocket at the end of the 35 seconds?
 A particle moves in the positive direction along a straight line so that after t nanoseconds, its traversed distance is given by nanometers. (a) What is the average velocity of the particle during the first 2 nanoseconds? (b) What is the instantaneous velocity of the particle at t = 2 nanoseconds.
Review Answers
 (a) , (b) , (c) , (d)
 (a) , (b) (c) (d)
 2x + 1, 13.
 (a) , (b)
 (a) 6002.5 m, (b) 171.5 m/sec, (c) 31.3 m/sec, (d) 343 m/sec
 (a) 39.6 m/sec, (b) 118.8 m/sec