Q4 W1 Basic Rules of Differentiation
Q4 W1 Basic Rules of Differentiation
Q4 W1 Basic Rules of Differentiation
d (c )
= 0 , for any constant, c.
dx
This rule states that the derivative of a constant is zero.
For example,
f ( x) = 5
f ' ( x) = 0
RULE 2: THE POWER RULE
( )
d xn
= nx n −,1 where n is any real number
dx
This rule states that the derivative of x raised to a power is the
power times x raised to a power one less or n – 1.
For example,
f (x ) = x 5
f ' (x ) = 5 x 4
Notice that the derivative is the original power, 5 times x
raised to the fourth, which is one less than 5.
RULE 3: DERIVATIVE OF A CONSTANT
MULTIPLE OF A FUNCTION
d
cf ( x) = c d f ( x) , where c is a constant
dx dx
=5 ( )
d 4
dx
x
( )
= 5 4 x3
= 20 x 3
RULE 4: DERIVATIVE OF A SUM OR
DIFFERENCE
d
f ( x) + g ( x) = d f ( x) + d g ( x)
dx dx dx
This rule states that the derivative of a sum or difference is
the sum or difference of the derivatives.
d
f ( x) g ( x) = f ( x) g ( x) + g ( x) f ( x)
dx
In other words:
The derivative of f times g is the
first times the derivative of the
second plus the second times the
derivative of the first.
PRODUCT RULE
d d d
f ( x ) g ( x ) = f ( x) g ( x) + g ( x) f ( x)
dx dx dx
( )(
Ex. f ( x) = x + 2 x + 5 3x − 8 x + 1
3 7 2
)
( )(
f ( x) = 3x 2 + 2 3x 7 − 8 x 2 + 1) + ( x + 2 x + 5 )( 21x
3 6
− 16 x )
Derivative Derivative of
of the first the second
function function
f ( x) = 30 x + 48 x + 105 x − 40 x − 45 x − 80 x + 2
9 7 6 4 2
Another notation to express the product rule:
d dv du
( uv ) = u + v
Some times the two functions are expressed
as u and v, so here u is u(x) and v is v(x)
dx dx dx meaning both are functions of x.
This is sometimes memorized as: d ( uv ) = u dv + v du
d 2
dx
(
x + 3 2 x )(
3
+ 5 x ) ( )
= x 2 + 3 ( 6 x 2 + 5 ) + ( 2 x3 + 5 x ) ( 2x )
d
dx
(
2 x5 + 5 x3 + 6 x3 + 15 x )
d
dx
(
2 x5 + 11x3 + 15 x ) 6 x 4 + 5 x 2 + 18 x 2 + 15 + 4 x 4 + 10 x 2
10 x 4 + 33x 2 + 15 10 x 4 + 33x 2 + 15
→
Find the derivative of 𝑓(𝑥) = (2𝑥 2 − 1)(3𝑥 + 4)
(first )
derivative of derivative of
+ (second )
the second the first
f ( x) = (2 x 2 − 1)
d
dx dx
(
(3x + 4) + (3x + 4) d 2 x 2 − 1 )
f ( x) = (2 x 2 − 1) 3 + (3x + 4) 4 x
f ( x) = 6 x 2 − 3 + 12 x 2 + 16 x
f ( x) = 18 x 2 + 16 x − 3
f ( x) = (2 x 2 − 1)(3x + 4)
f ( x) = 6 x 3 + 8 x 2 − 3x − 4
f ( x) = 18 x 2 + 16 x − 3
Notice in the first example, finding the derivative of the function
𝑓(𝑥) = (2𝑥 2 − 1)(3𝑥 + 4) the derivative could be found in two
different ways. Whether you use the Product Rule or rewrite the
function by multiplying and find the derivative using the Power Rule,
the result or the derivative, 𝑓′ 𝑥 = 18𝑥 2 + 16𝑥 − 3
was the same.
EXAMPLE 2 OF THE PRODUCT RULE:
Now use the Product Rule.
derivative of derivative of
f ' (x ) = (first ) + (second )
the second the first
d 3
( )
1 1
d
f ( x) = x 3
x − 1 + x − 1
2 2
x
dx
dx
Example 2 continued…
d 12 12 d 3
f ( x) = x
3
x − 1 + x − 1
dx ( )x
dx
3 1 2
−1 1
2
f ( x) = x x − 0 + x − 13 x
2
2
1 52 5
f ( x) = x + 3x 2 − 3x 2 Recall when you are multiplying
2
the same base you add the exponents.
7 52
f ( x) = x − 3x 2
2
1 1
y = ( x + )( x − + 1)
x x
RULE 6: THE QUOTIENT RULE
𝑑 𝑑
𝑑 𝑓(𝑥) 𝑔(𝑥) 𝑓(𝑥) − 𝑓(𝑥) 𝑔(𝑥)
= 𝑑𝑥 𝑑𝑥
𝑑𝑥 𝑔(𝑥) 𝑔(𝑥) 2
This rule may look overwhelming with the functions but it is
easy to learn if you can repeat these words: The derivative of
a quotient is the bottom times the derivative of the top minus
the top times the derivative of the bottom over the bottom
squared.
derivativeof derivativeof
bottom ⋅ − top ⋅
Derivativeof thetop thebottom
=
aquotient bottom 2
Expressing quotient rule in terms of function u and v
(remember u and v are functions of x):
du dv
v −u u v du − u dv
d u dx dx or d =
=
2
dx v v 2 v v
d 2 x3 + 5 x
=
( )( ) ( )
x 2 + 3 6 x 2 + 5 − 2 x3 + 5 x ( 2 x )
dx x + 3
( )
2 2
x +3
2
→
𝑑 𝑥 2 − 3𝑥 − 1
Example of the Quotient Rule: Find 𝑑𝑥 𝑥
derivativeof derivativeof
bottom ⋅ − top ⋅
Derivativeof thetop thebottom
=
aquotient bottom 2
d x − 3x − 1
2 x
d 2
dx
( )
x − 3x − 1 − ( x 2 − 3x − 1) (x )
d
dx
=
dx x x2
x (2 x − 3) − ( x 2 − 3x − 1) 1
=
x2
2 x 2 − 3x − x 2 + 3x + 1
=
x2
x2 +1
= 2
x
Another way to do the same problem is to do the division first and
then use the power rule.
𝑥 2 − 3𝑥 − 1 𝑥 2 3𝑥 1
= − − = 𝑥 − 3 − 𝑥 −1
𝑥 𝑥 𝑥 𝑥
𝑑 𝑑 2
𝑥2 + 1 ⋅ 𝑥 − 𝑥 ⋅ 𝑥 +1
𝑓′ 𝑥 = 𝑑𝑥 𝑑𝑥
𝑥2 + 1 2
𝑥 2 + 1 ⋅ 1 − 𝑥 ⋅ 2𝑥 𝑥 2 + 1 − 2𝑥 2
= =
𝑥2 + 1 2 𝑥2 + 1 2
−𝑥 2 + 1
= 2
𝑥 +1 2
DIFFERENTIABLE FUNCTION ARE
CONTINUOUS
Theorem 1
dy
y = is the third derivative. We will learn
later what these
dx higher order
derivatives are
used for.
( 4) d
y = y is the fourth derivative.
dx
Higher Order Derivatives:
y = 4x + 7x − 9
5 2
CONCLUDING REMARKS
CONCLUDING REMARKS