Kevin just started his first calculus class last week. His teacher has spent most of the first week of class talking about the basis of calculus, and what calculus is actually used for. Unfortunately, Kevin was still a little confused at the end of class on Friday, so he went to Mr. Banner and asked if he had any suggestions.
 Mr. Banner: "Kevin, do you remember finding the equation of a line by using two points in Algebra I?"
 Kevin: "Sure, that was easy. You just find the slope of the line by dividing the up/down difference in the points by the left/right difference. Then you use one of the points and the slope to find the yintercept, right?"
 Mr. Banner: "Was it harder if the points were closer together, or further apart?"
 Kevin: "No, not really, I guess. I mean, unless they were really far apart!"
 Mr. Banner: "Ok. Here is what I want you to do, Kevin. I'll even give you extra credit if you can complete it over the weekend. I want you to find the slope of three lines, just like you described. Are you ready to write down the points?"
 Kevin (grinning): "Easiest extra credit ever! Sure, go ahead."
 Mr. Banner: "The first pair of points is: (4, 7) and (5, 9), the second pair is (4, 6) and (4.5, 6.5). You got those?"
 Kevin: "Yeah, yeah, keep going, I got this!"
 Mr. Banner: "Ok, the last pair is (4, 5) and (4, 5)"
 Kevin (writing fast without looking): "Ok, got it! See you on Monday, be ready to give me that extra credit, Mr. Banner!"
Can you see what Mr. Banner did? What is Kevin going to find as he works those problems?
Watch This
Khan Academy: Equation of a Tangent Line
Guidance
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) 

Of course, 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
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 A
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.
Example B
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











To find the slope, we simply substitute x = 2 into the result f' ( x ):
f '( x )  = 2 x  

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 C
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,
y  y _{ 0 }  = m ( x  x _{ 0 } )  

Where ( x _{ 0 } , y _{ 0 } ) = (1, 1).  
y  1  = 1( x  1)  
y  =  x + 1 + 1  
y  =  x + 2 
So the equation of the tangent line is y =  x + 2.
Concept question wrapup:
Mr. Banner gave Kevin three sets of points, each defining a segment of a line, and each line shorter than the last. The first two were probably no sweat for Kevin to find equations for, since he seems to clearly remember the process of finding


>
Guided Practice
1) Given the function
 a) The average rate of change of y with respect to x over the interval [ x _{ 0 } , x _{ 1 } ].
 b) The slope of the secant line connecting x _{ 0 } and x _{ 1 }
 c) The instantaneous rate of change of y with respect to x at x _{ 0 } .
 d) The slope of the tangent line at x _{ 1 } .
2) Given the function
 (a) The average rate of change of y with respect to x over the interval [ x _{ 0 } , x _{ 1 } ].
 b) The slope of the secant line connecting x _{ 0 } and x _{ 1 } .
 c) The instantaneous rate of change of y with respect to x at x _{ 0 } .
 d) The slope of the tangent line at x _{ 1 } .
Answers
1) Given

a) To find the
average
rate of change:

Identify the two points by substituting 3 and 4 in for
x
in the function
f(x)=12x2 
Substitute the two points (3, 4.5) and (4, 8) into the average rate of change formula:
m=y1−y0x1−x0 
Average rate of change =
72

Identify the two points by substituting 3 and 4 in for
x
in the function

b) The slope of the secant line between
x0 andx1 is the slope between(3,4.5) and(4,8) which is72 
c) Instantaneous rate of change is the slope
at
x = 3.

Use the formula:
f(x+h)−f(x)h wheref(x)=12x2 andx=3 
f(3+h)−f(3)h ..... Substitute 3 for x 
12(3+h)2−12(3)2h ..... Replacef(x)→12x2 
12(9)+12(6h)+12h2−129h ..... FOIL and Distribute the 1/2 
6h+h22h ..... Simplify 
3+h2 ..... Simplify again 
3 ..... Ash→0  \begin{align*}\therefore\end{align*} the instantaneous slope at x = 3 is 3

Use the formula:

d) The slope of the tangent at 4 is the same as the instantaneous rate of change at
@$\begin{align*}x = 4\end{align*}@$
 This is the same series of steps as with x = 3 above
 @$\begin{align*}\therefore\end{align*}@$ the slope at x = 4 is 4
2) Given @$\begin{align*}y = \frac{1}{x}\end{align*}@$ where @$\begin{align*}x_0 = 2\end{align*}@$ and @$\begin{align*}x_1 = 3\end{align*}@$

a) To find the
average
rate of change:
 Identify the two points by substituting 2 and 3 in for x in the function @$\begin{align*}f(x) = \frac{1}{x}\end{align*}@$ to get @$\begin{align*}(2, \frac{1}{2})  (3, \frac{1}{3})\end{align*}@$
 Substitute the two points @$\begin{align*}(2, \frac{1}{2})  (3, \frac{1}{3})\end{align*}@$ into the average rate of change formula: @$\begin{align*}m = \frac{y_1  y_0}{x_1  x_0}\end{align*}@$
 Average rate of change = @$\begin{align*}\frac{1}{6}\end{align*}@$
 b) The slope of the secant line between @$\begin{align*}x_0\end{align*}@$ and @$\begin{align*}x_1\end{align*}@$ is the slope between @$\begin{align*}(2, \frac{1}{2})\end{align*}@$ and @$\begin{align*}(3, \frac{1}{3})\end{align*}@$ which is @$\begin{align*}\frac{1}{6}\end{align*}@$

c) Instantaneous rate of change at
x
_{
0
}
is the slope
at
x
= 2.
 Use the formula: @$\begin{align*}\frac{f(x + h)  f(x)}{h}\end{align*}@$ where @$\begin{align*}f(x) = \frac{1}{x}\end{align*}@$ and @$\begin{align*}x = 2\end{align*}@$
 @$\begin{align*}\frac{f(2 + h)  f(2)}{h}\end{align*}@$ ..... Substitute 2 for x
 @$\begin{align*}\frac{\frac{1}{2 + h}  \frac{1}{2}}{h}\end{align*}@$ ..... Replace @$\begin{align*}f(x) \to \frac{1}{x}\end{align*}@$
 @$\begin{align*}(\frac{1}{2 + h}  \frac{1}{2}) \cdot \frac{1}{h}\end{align*}@$ ..... We had a fraction divided by a fraction, invert to multiply
 @$\begin{align*}\frac{(2)(1)}{2(2 + h)}  \frac{(2 + h)(1)}{2(2 + h)} \cdot \frac{1}{h}\end{align*}@$ ..... Set common denominators
 @$\begin{align*}\frac{(2)  (2 + h)}{(2 + h)(2)(h)}\end{align*}@$ ..... Simplify
 @$\begin{align*}\frac{h}{4h +2h^2}\end{align*}@$ ..... Simplify again
 @$\begin{align*}\frac{1}{4 + 2h}\end{align*}@$ ..... once more (canceling the h )
 @$\begin{align*}\frac{1}{4}\end{align*}@$ ..... As @$\begin{align*}h \to 0\end{align*}@$
 @$\begin{align*}\therefore\end{align*}@$ the instantaneous slope at x = 2 is @$\begin{align*}\frac{1} {4}\end{align*}@$

d) The slope of the tangent at 3 is the same as the instantaneous rate of change at
@$\begin{align*}x = 3\end{align*}@$
 This is the same series of steps as with x = 2 above
 @$\begin{align*}\therefore\end{align*}@$ the slope at x = 3 is @$\begin{align*}\frac{1} {9}\end{align*}@$
Explore More
 What is the line connecting two points @$\begin{align*}(x_0, y_0)\end{align*}@$ and @$\begin{align*}(x_1, y_1)\end{align*}@$ on a curve called?
 As @$\begin{align*}(x_0, y_0)\end{align*}@$ gets immeasurably close to @$\begin{align*}(x_1, y_1)\end{align*}@$ the term describing the line between them becomes: "the ____________ line"
 The expression @$\begin{align*}f(x_0 + h)  f(x_0)\end{align*}@$ is used to describe what distance in the process of finding the slope of a tangent line?
 When calculating the slope of a tangent, what value is assumed to go to 0 as the two chosen points get closer and closer?
 What does the concept of limit, discussed in prior lessons, have to do with finding the slope of a line tangent to a curve?
Find the equation of the tangent line:
 What is the equation of the tangent line at @$\begin{align*}x = 3\end{align*}@$ assuming that @$\begin{align*}r(3) =  5\end{align*}@$ and @$\begin{align*}r'(3) = 1\end{align*}@$ ?
 What is the equation of the tangent line at @$\begin{align*} x = 1\end{align*}@$ assuming that @$\begin{align*}r(1) = 3\end{align*}@$ and @$\begin{align*}r'(1) = 5\end{align*}@$ ?
 What is the equation of the tangent line at @$\begin{align*}x = 2\end{align*}@$ assuming that @$\begin{align*}g(2) = 1\end{align*}@$ and @$\begin{align*}g'(2) = 3\end{align*}@$ ?
 What is the equation of the tangent line at @$\begin{align*}x = 4\end{align*}@$ assuming that @$\begin{align*}u(4) = 4\end{align*}@$ and @$\begin{align*}u'(4) = 3\end{align*}@$ ?
 What is the equation of the tangent line at @$\begin{align*}x = 4\end{align*}@$ assuming that @$\begin{align*}t(4) = 2\end{align*}@$ and @$\begin{align*}t'(4) = 5\end{align*}@$ ?
Find the equation of the tangent line:
 Find the equation of the tangent line to the graph of @$\begin{align*}h(x) = 5x^3  3x^2 + x + 3 \end{align*}@$ at @$\begin{align*}x = 1\end{align*}@$
 Find the equation of the tangent line to the graph of @$\begin{align*}t(x) = 2x\end{align*}@$ at @$\begin{align*}x = 2\end{align*}@$
 Find the equation of the tangent line to the graph of @$\begin{align*}m(x) = 3x^3 + 3x^2 + 4x + 4\end{align*}@$ at @$\begin{align*}x = 1\end{align*}@$
 Find the equation of the tangent line to the graph of @$\begin{align*}q(x) = x^3  4x^2 + 4x + 3\end{align*}@$ at @$\begin{align*}x = 2\end{align*}@$
 Find the equation of the tangent line to the graph of @$\begin{align*}t(x) = 4x^2 + 2x  4\end{align*}@$ at @$\begin{align*}x = 1\end{align*}@$
 Find the equation of the tangent line to the graph of @$\begin{align*}h(x) = 4x^3 + 2x^2  3x + 3\end{align*}@$ at @$\begin{align*}x = 1\end{align*}@$
 Find the equation of the tangent line to the graph of @$\begin{align*}m(x) = x \end{align*}@$ at @$\begin{align*}x = 0\end{align*}@$
 Find the equation of the tangent line to the graph of @$\begin{align*}s(x) = 3x^2  2x + 3 \end{align*}@$ at @$\begin{align*}x = 0\end{align*}@$
 Find the equation of the tangent line to the graph of @$\begin{align*}c(x) = 3\end{align*}@$ at @$\begin{align*}x = 0\end{align*}@$
 Find the equation of the tangent line to the graph of @$\begin{align*}b(x) = 5x^4 + 3x^3  x^2 + 5x  3 \end{align*}@$ at @$\begin{align*}x = 1\end{align*}@$