The Slope of Tangent Lines

The Slope of Tangent Lines
Calculus is the study of ________.
Given a curve y=f(x), the tangent line at a given point is the line that ________ the curve near that point.
The slope of the tangent line at a given point tells us how quickly the curve is ________ at that point.

How do we construct a tangent line?
Given 2 points P and Q on the curve y=f(x), the ________ between these 2 points is the straight line that connects the two points.

As we slide point Q closer to point P(a,b), the slope of the secant line will be closer to the slope of the tangent line at P
m=hf(a+h)−f(a)
Example
Given the curve f(x)=x2+1,
a) find the slope of the secant line between the points x=0 and x=1
b) find the slope of the secant line between the points x=0 and x=0.5
c) find the slope of the secant line between the points x=0 and x=0.1
d) find the slope of the secant line between the points x=0 and x=0.01
e) find the slope of the secant line between the points x=0 and x=0.001
f) use your findings from a) - e) to estimate the slope of the tangent line at the point x=0
a) m=1−0f(1)−f(0)=1(12+1)−(02+1)=11=1
b) m=0.5−0f(0.5)−f(0)=0.5(0.52+1)−(02+1)=0.50.25=0.5
c) m=0.1−0f(0.1)−f(0)=0.1(0.12+1)−(02+1)=0.10.01=0.1
d) m=0.01−0f(0.01)−f(0)=0.01(0.012+1)−(02+1)=0.010.0001=0.01
e) m=0.001−0f(0.001)−f(0)=0.001(0.0012+1)−(02−1)=0.0010.000001=0.001
f) As the second point gets closer and closer to x=0, the slope of the secant line gets smaller and smaller and approaches 0. Therefore, the slope of the tangent line at the point x=0 is 0.

Example: Drawing Tangent Lines
For each of the following curves, sketch the tangent line at the indicated points, then answer the questions stated
a)

i) How many tangent lines to this curve have a slope of 0?
2 points (the points where the curve has a turning point
b)

i) How many tangent lines to this curve have a slope of 0?
2 points (at the top and bottom of the circle
ii) How many tangent lines to this curve have an infinite slope?
2 points (at the left and right-most points of the circle
c)

i) What can we conclude about the slope of the tangent line of a straight line?
The slope of the tangent line on a point that is on a straight line is the same as the slope of the straight line
ii) What is the slope of the tangent line at the turning point (a.k.a. cusp) of the absolute value function?
The slope is not defined because we can draw many different tangent lines at that point.

Example: Calculating Slopes of Tangents
Determine the slope of the tangent to the following curves at the indicated point.
a) f(x)=x2−x at the point x=0
m=h→0lim hf(0+h)−f(0)
m=h→0lim h((0+h)2−(0+h))−(02−0)
m=h→0lim h(h2−h)−0
m=h→0lim hh2−h
If we "substittue" the value h→0, we get 00, which doesn't make sense. Let's simplify this expression further:
m=h→0lim hh(h−1)
m=h→0lim h−1
m=0−1
m=−1
b) f(x)=x−1 at the point x=2
m=h→0lim hf(2+h)−f(2)
m=h→0lim h(2+h)−1−2−1
m=h→0lim h1+h−1
If we "substitute" the value h→0, we get 00, which doesn't make sense. Let's simplify this expression further:
m=h→0lim h1+h−1×1+h+11+h+1
m=h→0lim h(1+h+1)1+h−1
m=h→0lim h(1+h+1)h
m=h→0lim 1+h+11
m=1+0+11
m=21
c) f(x)=x2 at the point x=1
m=h→0lim hf(1+h)−f(1)
m=h→0lim h1+h2−12
m=h→0lim h1+h2−2
If we "substitute" the value h→0, we get 00 which doesn't make sense. Let's simplify this expression further:
m=h→0lim h[1+h2−2(1+h)]
m=h→0lim h[1+h2−2−2h]
m=h→0lim h[1+h−2h]
m=h→0lim 1+h−2
m=−1+02
m=−2

Example: Equation of the Tangent Line
Find the equation of the tangent line to y=5+x−x2 at the point where x=1.
At x=1, y=5+1−12=5.
So we are looking for the equation of the tangent line at the point (x0, y0)=(1, 5).
The slope of the line is
m=h→0lim hf(1+h)−f(1)
m=h→0lim h[5+(1+h)−(1+h)2]−[5+1−12]
m=h→0lim h[5−h−h2]−[5]
m=h→0lim h−h−h2
m=h→0lim hh(−1−h)
m=h→0lim−1−h
m=−1
Therefore, the equation of the tangent line at this particular point is:
y−5=−1(x−1)
y=−x+6
Practice: Equation of the Tangent Lines
Find the equation of the tangent line to the curve y=2−3x+1 at the point x=0.

Example: Slope of Tangent Line
Find the point(s) (if any) on the curve f(x)=1+x3 where the tangent line is perpendicular to the line 3y−x=3.
1. Find the slope of the given line
Rearranging the given line, we get y=31x+1, so the slope is 31
2. Take the negative reciprocal of this slope --> this is the slope of the line that is perpendicular to the given line
The tangent line perpendicular to this line will have slope −13 or −3
3. Use the slope of tangent formula to find the slope of the tangent line to the curve at the point x=a
Using the formula, we can calculate the slope of the tangent line at the point x=a:
m=h→0lim hf(a+h)−f(a)
m=h→0lim h[1+a+h3]−[1+a3]
4. Simplify the limit expression as much as possible, then evaluate the limit
m=h→0lim h[a+ha+h+3]−[aa+3]
m=h→0lim h[(a+h)a(a+h+3)a−(a+3)(a+h)]
m=h→0lim h[(a+h)aa2+ah+3a−a2−ah−3a−3h]
m=h→0lim h[(a+h)a−3h]
m=h→0lim (a+h)a−3
m=−(a+0)a3
m=−a23
5. Set the limit found in step 4 to the slope value you found in step 2
We need this slope to equal −3:
−3=−a23
6. Solve for the value a
a2=1
a=±1
7. Find the corresponding y values
- x=1 → y=1+13=4 the point is (1, 4)
- x=−1 → y=1+−13=−2 the point is (−1, −2)
Therefore, the points on the curve where the tangent line is perpendicular to the line 3y−x=3 are (1, 4) and (−1, −2)
Practice: Slope of Tangent Line
Find the point on the curve y=2x2−x where the tangent line is horizontal.