4 Slope of A Curve and Derivative
4 Slope of A Curve and Derivative
Recall from the tangent line and limit, we showed that a limit could be used
to find a tangent line to a curve. Figure below illustrates how to define a
tangent to a curve y=f(x).
y
P
Q
The slope mPQ of the secant line through P and Q can be computed as
f ( x) f ( x0 )
mPQ
x x0
Slope of a Curve
If x approaches x0, then the point Q will move along the curve and approach the
point P. The secant line through P and Q approaches a limiting position as
x x0 , a position which is considered as the position for a tangent line.
Hence, the slope of the tangent line can be define as
f ( x) f ( x0 )
mtangent lim (1)
x x0 x x0
provided that the limit exists. Which gives the following definition for the
equation of the tangent line.
Definition 1 Suppose that x0 is in the domain of the function f . The tangent line to
the curve y=f(x) at the point P(x0,f(x0)) is the line having the equation
y f ( x0 ) mtangent ( x x0 )
where the slope is as given in (1).
Slope of a Curve
3
Example 1 Find the slope of y at the point (3,1)
x
The slope of the curve at the point (3,1) can be obtained as followings
3
1
f (3 h) f (3) 3 h
mtangent lim lim
h 0 h h 0 h
h
lim
h 0 h(3 h)
1
lim
h 0 (3 h)
1
3
3
The equation of the tangent line passing through the point (1,-1) has
the slope of -3. Hence we obtain the equation for the tangent
line as
The notation f is read “f prime” representing the slope of the tangent line
y = f(x) at x = x0 or the instantaneous rate of change of y with respect to x
at x = x0.
Derivatives
1. Definition of the Derivative Function (continue)
If we replace x0 by x in (1) from the last page, we have the following
definition for the derivative of a function
Definition 1 The derivative of f with respect to x can be defined as
f ( x h) f ( x )
f ( x) lim (2)
h0 h
provided that the limit exists. The domain of f is the same as the domain of f
dy df
Other notations of the derivatives are or .
dx dx
10 x 3
Derivatives
1. Definition of the Derivative Function (continue)
Example 2 Let f ( x) x 1 , find f (3)
f (3 h) f (3)
f (3) lim
h 0 h
(3 h ) 1 3 1
lim
h 0 h
h4 2 h4 2
lim
h 0
h h4 2
( h 4) 4
lim
h 0
h h4 2
h
lim
h 0
h h4 2
1
lim
h 0
h4 2
1
4
Derivatives
1. Definition of the Derivative Function (continue)
Example 3 Let f ( x) 2 x 2 3x 2, find
4x 3
But |h| 1, h 0
h 1, h0
|h| |h|
Hence, lim 1 and lim 1
x 0 h x 0 h
Since the one-sided limits are not equal, the limit in (3) does not exist,
therefore, f is not differentiable