Derivatives
Derivatives
THE DERIVATIVE
f ( x2 ) − f ( x1 )
mPQ = where x = x2 − x1
x
and x2 = x1 + x
f ( x1 + x) − f ( x1 )
mPQ =
x
P( x1 , f ( x1 )) Q( x2 , f ( x2 ))
secant line
y y = f (x)
x = x 2 − x1
x 2 = x1 + x
=
(2 x + 2x − 1)(1 + 2 x ) − (2 x − 1)(1 + 2 x + 2x )
(1 + 2 x + 2x )(1 + 2 x ))
2 x + 2x − 1 + 4 x 2 + 4 xx − 2 x − 2 x − 4 x 2 − 4 xx + 1 + 2 x + 2x
=
(1 + 2 x + 2x )(1 + 2 x ))
y 4 x
3. =
x x( 1 + 2 x + 2x )( 1 + 2 x )
y 4
4. lim = lim
x →0 x x →0 ( 1 + 2 x + 2x )( 1 + 2 x )
dy 4
=
x) 2 and Integral Calculus
dx (1 + 2Differential
dy
3. Find u sin g the four − step rule given y = x − 1 when x = 10
dx
1. y + y = x + x − 1 4. lim
y
= lim
1
x →0 x x →0 x + x − 1 + x − 1
2. y = x + x − 1 − x − 1 dy 1
=
dx 2 x − 1
3. y x + x − 1 − x − 1
=
x x
y x + x − 1 − x − 1 x + x − 1 + x − 1 when x =10,
=
x x x + x − 1 + x − 1
dy 1 1 1
y
=
x + x − 1 − x + 1 = = =
dx 2 10 − 1 2( 3 ) 6
(
x x x + x − 1 + x − 1 )
y x
=
x x ( x + x − 1 + x − 1 )
y 1
=
x x + x − 1 + x − 1
Differential and Integral Calculus
Module 5
DIFFERENTIATION RULES FOR
ALGEBRAIC FUNCTIONS
Derivative of a Constant
2. y = − 25 4. h(x) = log 3 4
dy
=0 h' (x) = 0
dx
−5 36
y' = 40 x7 f' (x) = 36 x = 5
x
2
4 3
2. y = −5 x 5
4. F(r) = r
3
2
dy 2 5 −1 4
= (− 5 ) x F' (r) = (3)(r )
2
dx 5 3
2 5 3
dy − − − 2 − 2 5
x 2
= −2 x 5 5 = −2 x 5 = =
dx 5
x3 x
Differential and Integral Calculus
Derivatives of Sums or Differences
Theorem (Sum or Difference Rule): If f and g are
both differentiable functions at x, then so are
f + g , and f − g
then, d d d
( f g ) = ( f ) (g ) or
dx dx dx
d d d
f ( x) g ( x) = f ( x) g ( x)
dx dx dx
In words, the derivative of a sum or of a
difference equals the sum or difference of
their derivatives, if these derivatives exist.
Differential and Integral Calculus
Proof:
(
y' = 4 5x3 + 3 x − 1 ) -8
f' (x) = 5 + 9
x
3
4 3
−4
2. y = −6 x − 2 x − 4x − 5 x + 9
2 2
4. F(r) = r + r −2
3
1
dy 15 4
F' (r) = - 2r + (3)(r )
2
= 24 x −5 - 4x - 4 - x 2 -3
dx 2 3
dy 24 15 21 4
F' (r) = 6r + (3)(r )
2
= 5 - 4x - 4 - x -4
dx x 2 3
6
F' (r) = 4 4r 2
x
Differential and Integral Calculus
Derivative of a Product
Theorem (The Product Rule): If f and g are both
differentiable functions at x, then so is the
product f g , and
d dg df or
( f g) = f + g
d dx dx d dx d
f ( x) g ( x) = f ( x) [ g ( x)] + g ( x) f ( x)
dx dx dx
In words the derivative of a product of two
functions is the first function times the derivative
of the second plus the second function times the
derivative of the first, if these derivatives exist.
Differential and Integral Calculus
Proof:
d f ( x + x) g ( x + x) − f ( x) g ( x)
[ f ( x) g ( x)] = lim
dx x→0 x
f ( x + x) g ( x + x) − f ( x + x) g ( x) + f ( x + x) g ( x) − f ( x) g ( x)]
= lim
x→0 x
g ( x + x) − g ( x) f ( x + x) − f ( x)
= lim f ( x + x) + g ( x)
x →0
x x
g ( x + x) − g ( x) f ( x + x) − f ( x)
= lim f ( x + x) lim + lim g ( x) lim
x→0 x→0 x x→0 x→0 x
= lim f ( x + x
x →0
d
dx
g ( x) + lim
x →0
g ( x)
d
dx
f ( x)
Differential and Integral Calculus
Example : Differentiate the following functions and simplify .
(
1. y = (3 x + 4 ) 4 x 2 − 3 )
y' = (3 x + 4 )(8 x ) + (4 x 2
− 3 (3) )
y' = 24x2 + 32x + 12x2 - 9
y' = 36x2 + 32x - 9
( )
2. y = x 3 − 1 (5 - 2x)
y' = (x 3
− 1)(- 2 ) + (5 - 2x)(3x ) 2
y' =
( ( )
1 − 2 x )(8 x ) − 4 x 2 − 3 (− 2 )
(1 − 2 x )2
8 x − 16 x 2 + 8 x 2 − 6
y' =
(1 − 2 x )2
− 8 x2 + 8 x − 6
y' =
(1 − 2 x )2
y' =
(
2 − 4 x2 + 4 x − 3 )
(1 − 2 x )2
Differential and Integral Calculus
Derivatives of Composition
Theorem (The Chain Rule): If g is differentiable at
x and if f is differentiable at x, then the
composition g (x) is differentiable at x.
Moreover, if y = f ( g ( x)) u = g (x) and y = f (u)
dy dy du
then f g and =
dx du dx
or
du ( )
= nu
n
n −1 du
dx dx
Differential and Integral Calculus
Example : Differentiate the following functions and simplify .
(
1. y = 3x − 10 x + 15
2
) 5
(
y' = 5 3x − 10 x + 15 (6x - 10)
2
)
4
3
5
2. G(x) =
x -1
2
5 5 125
G' (x) = 3 − = −3
2
4
x -1 (x − 1) (x − 1)
3. y = (3x + 1)(4 x − 5 )
4
2. y = 5 (2 x − 4 )( x − 5 )
1
y = ((2 x − 4 )( x − 5 )) 5
1 1
y' = ((2 x − 4 )(x − 5 ))5 ((2 x − 4 )(1) + ( x − 5 )(2 ))
−1
5
1 4
y' = ((2 x − 4 )(x − 5 )) 5 (2 x − 4 + 2 x − 10)
−
5
1 4
y' = ((2 x − 4 )(x − 5 )) 5 (4 x − 14)
−
5
1 4
y' = ((2 x − 4 )(x − 5 )) 5 (4 x − 14)
−
5
2(2 x − 7 )
y' = 4
5((2 x − 4 )(x − 5 )) 5
'! ∆! # % + ∆% − #(%)
= lim = lim
'% ∆"→$ ∆% ∆"→$ ∆%
provided the limit exists.
• To find the equation of a line you need a point and a slope.
• The slope of the tangent line is the value of the derivative at the point
of tangency.
• The normal line is a line that is perpendicular to the tangent line and
passes through the point of tangency.
• Because the slopes of perpendicular lines (neither of which is vertical)
are negative reciprocals of one another, the slope of the normal line
to the graph of f(x) is −1/f(x)
EXAMPLES
• Find the slope of the curve ! = 3% % − 2% + 1 at (-1,6)
"&'
• At what points do the curve ! = "(' (% ≠ 1) have a slope of 2?
• Find the equation of the tangent line and normal line to the curve
! = 4% % − 2% + 1 at (-2,21)
)
• What is the equation of the tangent line and normal line to ! = −
"
at (4,-4)?
• Find the equation of the tangent line to the curve ! = 2% % + 3 that is
parallel to the line 8x − ! + 3 = 0
PARAMETRIC DIFFERENTIATION
• If ! = #(9) and % = :(9) then:
!"
!" !%
=
!# !#
!%
!" $% &
= ; &’(%) ≠ 0
!# '% &
EXAMPLES
1. Suppose # = 3- ( − 2- + 5 and " = 4- − 2, find dy/dx
2. # = 2- ( − 5- − 1 and " = - ) − 3- ( + 5- − 1, find dy/dx