Module Lesson 6
Module Lesson 6
Chapter 2-Derivatives
Lesson 6: Rules of
Differentiation
(Senior High School G-12)
LEARNING OUTCOMES: At the end of the lesson, the learner shall be able to:
If at least one of these conditions is not satisfied, the function is said to be discontinuous at c.
Example 1: The piecewise function defined by
Note:
- A function f is continuous from the left at a number c if x→ c lim ¿
−¿
f (x)=f (c)¿
Therefore f is continuous at x = 1, since the one-sided limits exist and are equal to each other, the
limit exists and equals 5. So, lim f (1)=5
x →1
5 ( x +h )−(5 x)
- For x < 1, f ( x )=¿ 5x and f ' ( x )=¿ lim ¿5
h→ 0 h
5 ( x +h ) −( 5 x )
f ' ( x )=lim
h →0 h
5 x +5 h−5 x
¿ lim
h→ 0 h
5h
¿ lim
h→ 0 h
¿ lim 5
h→ 0
¿5
- For x > 1, f ( x )=¿ 2x + 3 and f ' ( x )=¿ lim ¿¿¿
h→ 0
'
f ( x )=lim ¿ ¿ ¿ Since the one-sided limits at x = 1 do
h →0
¿2
Example 5: A function that is continuous at a point but not differentiable at that point is the absolute
value function f(x) = |x| at x = 0. Clearly, f(0) = 0 = lim ¿ x∨¿ ¿. However, if we look at the limit
x →0
definition of the derivative,
f ( 0+h ) −f (0)
lim =lim |0+ h|−¿ 0∨ ¿ =lim ¿ h∨ ¿ ¿¿
x →0 h x →0 h x →0 h
Note:
The absolute value function is defined differently to the left and right of 0 so we need to compute
one-sided limits.
If h approaches 0 from the left, then it approaches 0 through negative values. Since h < 0 =) |h | = -h,
it follows that,
lim ¿
x→ 0 ¿h∨ ¿ =
−¿
lim ¿¿ ¿
h x →0 −¿ −h
= lim ¿¿
h x → 0−¿ −1=−1¿
Similarly, if h approaches 0 from the right, then h approaches 0 through positive values.
Since h > 0 = |h | =h, we obtain
lim ¿
x→ 0 ¿h∨ ¿ =
+¿
lim ¿¿ ¿
h x →0 h = lim+¿
¿¿
h x → 0 +¿ 1=1¿
Hence, the derivative does not exist at x = 0 since the one-sided limits do not coincide.
The previous two examples prove that continuity does not necessarily imply differentiability. That is,
there are functions which are continuous at a point, but is not differentiable at that point. The next
theorem however says that the converse is always TRUE
Proof. That function f is differentiable at a implies that f ' ( a ) exists. To prove that f is continuous at a,
we must show that
Remark 1:
(a) If f is continuous at x = a, it does not mean that f is differentiable at x = a.
(b) If f is not continuous at x = a, then f is not differentiable at x = a.
(c) If f is not differentiable at x = a, it does not mean that f is not continuous at x = a.
(d) A function f is not differentiable at x = a if one of the following is true:
i. f is not continuous at x = a.
ii. The graph of f has a vertical tangent line at x = a.
iii. the graph of f has a corner or cusp at x = a.
TOPIC 6.2: The Differentiation Rules and Examples
Involving Algebraic, Exponential, and Trigonometric
Functions
The derivative of the function f the function f ' whose value at a number x in the domain of f is
given by
f ( x+ h )−f ( x )
f ' ( x )=lim 2.3
h →0 h
if the limit exists.
For example, let us compute the derivative of the first function of the seatwork above f (x) =3x 2 + 4.
Let us first compute the numerator of the quotient in (2.3):
¿6 x
We see that computing the derivative using the definition of even a simple polynomial is a lengthy
process. What follows next are rules that will enable us to find derivatives easily. We call them
Differentiation Rules.
Differentiation Rules
Proof:
EXAMPLE 1:
The definition of the derivative discussed in the previous lesson can be used to find the derivatives
of many power functions. For example, it can be shown that
If f ( x )=x 2, then f ' ( x )=2 x
If f ( x )=x 3 , then f ' ( x )=3 x 2
If f ( x )=x 4, then f ' ( x )=4 x 3
Notice the pattern in these derivatives. In each case, the new power of f becomes the coefficient in f 0
and the power of f 0 is one less than the original power of f. In general, we have the following rule:
Proof: (The cases n=1 and n=2) Using the limit definition.
If f ( x )=x
' f ( x +h )−f (x)
f ( x )=x =f ( x )=lim
h→0 h
( x +h ) −(x )
¿ lim
h→ 0 h
x +h−( x )
¿ lim
h→ 0 h
h 1−1
¿ lim =lim 1=1=1 x
h→ 0 h h →0
If f ( x )=x 2
f ( x +h )−f (x)
f ( x )=x =f ' ( x )=lim
h→0 h
¿ lim ¿ ¿ ¿
h→ 0
2 2 2
x +2 xh−h −x
¿ lim
h→ 0 h
2
2 xh−h
¿ lim
h→ 0 h
h (2 x +h)
¿ lim =lim 2 x +h=2 x =2 x 2−1
h→ 0 h h→ 0
For the function f ( x )=x n, in computing f ( x +h )=( x +h)n, we need to invoke the
Binomial Theorem:
EXAMPLE 2:
1. If f ( x )=x 3 ,then f ' ( x)=3 x 3−1=3 x 2
1
2. Find g ' ( x ) where g ( x )= 2
x
1 −2
g ( x )= 2
=x
x
g ' ( x )=x−2
= −2 x−2−1
−3
¿−2 x
−2
¿ 3
x
1
3. Ifh ( x )=√ x , then we can writeh( x)=x 2 . So we have
1
1 −1
h( x)= x 2
2
−1
1 1
h ( x )= x 2 ∨
2 2 √x
DIFFERENTIATING A CONSTANT TIMES A FUNCTION
−2
1 3
¿ x
9
DIFFERENTIATING SUMS AND DIFFERENCES OF FUNCTIONS
If f ( x )=g ( x ) +h(x ) where g and h are differentiable functions, then f ' ( x )=g ' ( x ) +h ' (x)
3 13
1. f ( x )=5 x 4 2. g ( x )= √ x 3. h ( x )=−√ 3 x
3
B. Use Rules 3 and 4 to differentiate the following: Hint: ( x )−g( x )= f ( x ) +(−1) g(x )¿
i. f ( x )−g (x)
ii. g ( x )−h(x )
iii. f ( x )−h( x)
Remark 2:
a.) The Sum Rule can also be extended to a sum of a finite number of functions. If
f ( x )=f 1 ( x )+ f 2 ( x ) +¿ … + f n ( x )
D X [ f ( x ) g ( x ) ] =f ( x ) g ( x )+ g ( x ) f ' (x)
'
Rule 5 states that the derivative of the product of two differentiable functions is the first function
times the derivative of the second function plus the second function times the derivative of the first
function.
The derivative of the product is NOT the product of their derivatives! Indeed, if f ( x )=x and g ( x )=x 2
D X [ f ( x ) ∙ g ( x ) ] =D X [ x ∙ x 2 ]=D X [ x3 ] =3 x 2
However,
DX ¿
Solution:
f ' ( x)=( 3 x 2−4 ) Dx ( x 2−3 x ) + ( x 2−3 x ) Dx ( 3 x 2−4 )
¿ ( 3 x 2−4 ) ( 2 x −3 ) + ( x 2−3 x ) (6 x )
2 2 3 2
¿ 6 x −9 x −8 x +12+6 x −18 x
3 2
¿ 12 x −27 x −8 x+12
Remark 3:
In the above example, we could have also multiplied the two factors and get
4 3 2
f ( x )=3 x −9 x −4 x +12 x
which is consistent with the one derived from using the product rule.
[ ]
'
f ( x ) g ( x ) f ( x )−f ( x ) g ' (x )
Dx =
g ( x) 2
[ g (x ) ]
The rule above states that the derivative of the quotient of two functions is the fraction having as its
denominator the square of the original denominator, and as its numerator the denominator times the
derivative of the numerator minus the numerator times the derivative of the denominator.
Note: The derivative of a quotient is NOT equal to the quotient of their derivatives, that is,
Dx
[ ]
f ( x ) Dx [ f ( x ) ]
≠
g ( x ) D x [g ( x ) ]
Since subtraction is not commutative, it matters which function you first copy and which one
you first differentiate. A very common mnemonic for the quotient rule is
Dx [ ]
High Low D ( high )−hich D( Low)
Low
=
Low squared
Example 6:
3 x+5
a) Let h ( x )= 2 Compute h '( x)
x +4
3 x+5
Solution: If h ( x )= 2 , then f(x) = 3x + 5 and g(x) = x2 + 4 and therefore f’(x) = 3 and g’(x) = 2x. Thus,
x +4
h '( x)
4 2
2 x +7 x −4
b) Find g ( x ) if g ( x )=
'
5 4
3 x + x −x+1
Solution:
Trigonometric functions:
sin x cos x 1 1
tan x= cot x= sec x= csc x ¿
cos x sin x cos x sin x
sin t cos −1
lim =1∧¿ lim =0
t →0 t t →0 t
a. f ( x )=sec x+ 3 csc x
b. g( x )=x 2 sin x−3 x cos x +5 sin x
f ' (x)=sec x tan x+3 (−csc x cot x )=sec x tan x−3 csc x cot x .
2
g '( x )=[(x )(cos x )+(sin x )(2 x )]−3 ¿ ¿
2
¿ x cos x+2 x sin x +3 x sin x−3cos x+5 cos x
2
¿ x cos x+5 x sin x +2 cos x .
Remark 4:
a. Whenever Rule 7 is applied to problems where the trigonometric functions are viewed as
functions of angles, the unit measure must be in radians.
b. Every trigonometric function is differentiable on its domain. In particular, the sine and
cosine functions are everywhere differentiable.
EXAMPLE 8:
(a) Find f ' ( x ) if f ( x ) = 3ex.
Solution. Applying Rules 3 and 7, we have
f ( x )=3 D X ( e x )=3 e x
h ' ( x ) ¿ [(e x )(cos x)+(sin x)( e x )]−3 [(e x )(−sin x)+(cos x )(e x )]
x x x x
¿ e cos x +e sin x +3 e sin x — 3 e cos x
x
¿ e (4 sin x — 2 cos x).
Remark 5:
d x
Since the domain of the exponential function is the set of real numbers, and [ e ]=e x , it
dx
follows that the exponential function is differentiable everywhere.
EXERCISES: