Sec 3.3 Differentiation Rules
Sec 3.3 Differentiation Rules
Theorem 1:
𝑑𝑓 𝑑
= (𝑐) = 0.
𝑑𝑥 𝑑𝑥
Proof
We apply the definition of the derivative to 𝑓(𝑥) = 𝑐, the function whose outputs have
the constant value 𝑐 (See the Figure above).
Example 1
𝑑 𝑑 𝑑 𝜋2 𝑑
[1] = 0, [−3] = 0, [ ] = 0, [−√2] = 0
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑒 − 1 𝑑𝑥
Theorem 2:
𝑑 𝑛
[𝑥 ] = 𝑛𝑥 𝑛−1
𝑑𝑥
Theorem 3:
𝑑 𝑟
[𝑥 ] = 𝑟𝑥 𝑟−1
𝑑𝑥
Example 2
Solution
𝑑
(a) (𝑥 3 ) = 3𝑥 3−1 = 3𝑥 2
𝑑𝑥
2 2 1
𝑑 2
( )−1 2
(b) (𝑥 3) = 𝑥 3 = 𝑥 −3
𝑑𝑥 3 3
𝑑
(c)
𝑑𝑥
(𝑥 √2 ) = √2𝑥 √2−1
𝑑 1 𝑑 4
(d) ( ) = 𝑑𝑥 (𝑥 −4 ) = −4𝑥 −4−1 = −4𝑥 −5 = − 𝑥 5
𝑑𝑥 𝑥 4
4 4 7
𝑑 − 4 −( )−1 4 −
(e)
𝑑𝑥
(𝑥 ) = − 3 𝑥
3 3 =− 𝑥
3
3
𝜋 𝜋 1
𝑑 𝑑 1+( ) 𝜋 1+( )−1 𝜋 ( ) 1
(f)
𝑑𝑥
(√𝑥 2+𝜋 ) =
𝑑𝑥
(𝑥 2 ) = (1 + 2 ) 𝑥 2 = (1 +
2
) (𝑥 𝜋 ) 2 = (2 + 𝜋)√𝑥 𝜋
2
Theorem 4:
𝑑 𝑑
[𝑐𝑓(𝑥)] = 𝑐 [𝑓(𝑥)]
𝑑𝑥 𝑑𝑥
Using prime notation:
′
(𝑐𝑓(𝑥)) = 𝑐𝑓′(𝑥)
Example 3
Solution
𝑑 𝑑
(a) [−4𝑥 8 ] = −4 [𝑥 8 ] = −4[8𝑥 7 ] = −32𝑥 7
𝑑𝑥 𝑑𝑥
𝑑 𝜋 𝑑 𝜋
(b) [ ]=𝜋 [𝑥 −1 ] = 𝜋(−𝑥 −2 ) = −
𝑑𝑥 𝑥 𝑑𝑥 𝑥2
Example 4
𝑑
Find
𝑑𝑥
[ √𝑥 ]
Solution
𝑑 𝑑 1 1 (1)−1 1 −1 1
[√𝑥 ] = [𝑥 2 ] = 𝑥 2 = 𝑥 2=
𝑑𝑥 𝑑𝑥 2 2 2 √𝑥
𝑑 1
∴ 𝑑𝑥 [√𝑥 ] = 2
√𝑥
Theorem 5:
𝑑 𝑑 𝑑
[(𝑓(𝑥) + 𝑔(𝑥))] = [𝑓(𝑥)] + [𝑔(𝑥)];
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑 𝑑 𝑑
[(𝑓(𝑥) − 𝑔(𝑥))] = [𝑓(𝑥)] − [𝑔(𝑥)].
𝑑𝑥 𝑑𝑥 𝑑𝑥
Or using prime notation
′
(𝑓(𝑥) + 𝑔(𝑥)) = 𝑓 ′ (𝑥) + 𝑔′ (𝑥)
′
(𝑓(𝑥) − 𝑔(𝑥)) = 𝑓 ′ (𝑥) − 𝑔′ (𝑥)
Note:
The Sum Rule can be extended to the sum of any number of functions.
For instance, using this theorem twice, we get
(𝑓 + 𝑔 + ℎ)′ = (𝑓 + 𝑔)′ + ℎ′ = 𝑓 ′ + 𝑔′ + ℎ′
Example 5
4
Find the derivative of the polynomial 𝑦 = 𝑥 3 + 𝑥 2 − 5𝑥 + 1.
3
Solution
𝑑 𝑑 4 𝑑 𝑑
𝑦′ = (𝑥 3 ) + ( 𝑥 2 ) − 𝑑𝑥 (5𝑥) + 𝑑𝑥 (1) (Sum and Difference Rules)
𝑑𝑥 𝑑𝑥 3
4 8
= 3𝑥 2 + ⋅ 2𝑥 − 5 + 0 = 3𝑥 2 + 𝑥 − 5.
3 3
Checkpoint 1
𝑑
Find the derivative [2𝑥 6 + 𝑥 −9 ].
𝑑𝑥
Solution
Example 6
𝑑 √𝑥−2𝑥
Find the derivative [ ].
𝑑𝑥 √𝑥
Solution
𝑑 √𝑥 − 2𝑥 𝑑
[ ] = [1 − 2√𝑥]
𝑑𝑥 √𝑥 𝑑𝑥
𝑑 𝑑 1 1
= [1] − [2√𝑥] = 0 − 2 ( )=−
𝑑𝑥 𝑑𝑥 2 √𝑥 √𝑥
Checkpoint 2
3
Find the derivative of 𝑦 = √𝑥 2.
Solution
4
𝑑𝑔
Calculate | , where 𝑔(𝑡) = 𝑡 −3 + 2√𝑡 − 𝑡 −5 .
𝑑𝑡 𝑡=1
Solution
We differentiate term-by-term using the Power Rule without justifying the intermediate
1
steps. Writing √𝑡 as 𝑡 2 , we have
𝑑𝑔 𝑑 1 4 1 1 4 9
= (𝑡 −3 + 2𝑡 2 − 𝑡 −5 ) = −3𝑡 −4 + 2 ( ) 𝑡 −2 − (− ) 𝑡 −5
𝑑𝑡 𝑑𝑡 2 5
1 4 9
= −3𝑡 −4 + 𝑡 −2 + 𝑡 −5
5
𝑑𝑔 4 6
| = −3 + 1 + = −
𝑑𝑡 𝑡=1 5 5
Example 8
Solution
𝑑𝑦
The horizontal tangents, if any, occur where the slope is zero. We have
𝑑𝑥
𝑑𝑦 𝑑 4
= (𝑥 − 2𝑥 2 + 2) = 4𝑥 3 − 4𝑥
𝑑𝑥 𝑑𝑥
𝑑𝑦
Now solve the equation = 0 for 𝑥 :
𝑑𝑥
4𝑥 3 − 4𝑥 = 0
4𝑥(𝑥 2 − 1) = 0
4𝑥(𝑥 − 1)(𝑥 + 1) = 0
⇒ 𝑥 = 0,1, −1
The corresponding points on the curve are (0,2), (1,1), and (−1,1). See the Figure
below.
We will see in Chapter 4 that finding the values of 𝑥 where the derivative of a function
is equal to zero is an important and useful procedure.
Checkpoint 3
Find equations of the tangent line and normal line to the curve 𝑦 = 𝑥 √𝑥 at the point
(1,1).
Solution
1 3
The derivative of 𝑓(𝑥) = 𝑥 √𝑥 = 𝑥𝑥 2 = 𝑥 2 is
3 3 3 1 3
𝑓 ′ (𝑥) = 𝑥 2−1 = 𝑥 2 = √𝑥
2 2 2
3
So the slope of the tangent line at (1,1) is 𝑓 ′ (1) = .
2
3 3 1
𝑦 − 1 = (𝑥 − 1) or 𝑦 = 𝑥 −
2 2 2
The normal line is perpendicular to the tangent line, so its slope is the negative
3 2
reciprocal of , that is, − . Thus, an equation of the normal line is
2 3
2 2 5
𝑦 − 1 = − (𝑥 − 1) or 𝑦 = − 𝑥 +
3 3 3
We graph the curve and its tangent line and normal line in the Figure below.
Theorem 6:
Theorem 7:
𝑓
If 𝑓 and 𝑔 are differentiable functions, then is differentiable for all 𝑥 such that 𝑔(𝑥) ≠
𝑔
0, and
Example 10
Solution
𝑑𝑦 𝑑
= [(4𝑥 2 − 1)(7𝑥 3 + 𝑥)]
𝑑𝑥 𝑑𝑥
𝑑 𝑑
= (4𝑥 2 − 1) [7𝑥 3 + 𝑥] + (7𝑥 3 + 𝑥) [4𝑥 2 − 1]
𝑑𝑥 𝑑𝑥
= (4𝑥 − 1)(21𝑥 + 1) + (7𝑥 + 𝑥)(8𝑥) = 140𝑥 4 − 9𝑥 2 − 1
2 2 3
Thus,
𝑑𝑦 𝑑
= [28𝑥 5 − 3𝑥 3 − 𝑥] = 140𝑥 4 − 9𝑥 2 − 1
𝑑𝑥 𝑑𝑥
which agrees with the result obtained using the product rule.
Example 11
Find 𝑦 ′ (𝑥) .
𝑥 3 +2𝑥 2 −1 1
(a) 𝑦 = . (b) 𝑦 =
𝑥+5 2𝑥 2 +3𝑥−5
Solution
𝑑 3 𝑑
𝑑𝑦 𝑑 𝑥 3 + 2𝑥 2 − 1 (𝑥 + 5) [𝑥 + 2𝑥 2 − 1] − (𝑥 3 + 2𝑥 2 − 1) [𝑥 + 5]
(𝑎) = [ ] = 𝑑𝑥 𝑑𝑥
𝑑𝑥 𝑑𝑥 𝑥+5 (𝑥 + 5)2
(𝑥 + 5)(3𝑥 2 + 4𝑥) − (𝑥 3 + 2𝑥 2 − 1)(1)
=
(𝑥 + 5)2
(3𝑥 3 + 19𝑥 2 + 20𝑥) − (𝑥 3 + 2𝑥 2 − 1)
=
(𝑥 + 5)2
2𝑥 3 + 17𝑥 2 + 20𝑥 + 1
=
(𝑥 + 5)2
𝑑𝑦 𝑑 1 4𝑥+3
(b) = ( ) = − (2𝑥 2+3𝑥−5)2
𝑑𝑥 𝑑𝑥 2𝑥 2 +3x−5
Solution
𝑑 𝑑 𝑑
𝑓 ′ (𝑥) = [√𝑥𝑔(𝑥)] = √𝑥 [𝑔(𝑥)] + 𝑔(𝑥) [√𝑥]
𝑑𝑥 𝑑𝑥 𝑑𝑥
1
= √𝑥𝑔′ (𝑥) + 𝑔(𝑥) ⋅ 𝑥 −1/2
2
𝑔(𝑥)
= √𝑥𝑔′ (𝑥) +
2 √𝑥
𝑔(4) 2
So 𝑓 ′ (4) = √4𝑔′ (4) + =2⋅3+ = 6.5
2√4 2⋅2
Checkpoint 4
Differentiate
1−𝑥 2
(a) 𝑦 = (𝑥 3 − 2𝑥 2 + 3)(7𝑥 2 − 4𝑥) (b) 𝑦 =
1+𝑥 2
Answer:
(a) 𝑦 ′ = 35𝑥 4 − 72𝑥 3 + 24𝑥 2 + 42𝑥 − 12
4𝑥
(b) 𝑦 ′ = − (1+𝑥 2)2
Solution
′′
𝑑2𝑦 𝑑 𝑑𝑦 𝑑𝑦 ′
𝑓 (𝑥) = 2 = ( )= = 𝑦 ′′ = 𝐷2 (𝑓)(𝑥) = 𝐷𝑥2 𝑓(𝑥)
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑 𝑑
𝑦 ′′ = (𝑦 ′ ) = (6𝑥 5 ) = 30𝑥 4
𝑑𝑥 𝑑𝑥
Thus 𝐷2 (𝑥 6 ) = 30𝑥 4.
𝑑𝑦 ′′ 𝑑3𝑦
• If 𝑦 ′′ is differentiable, its derivative, 𝑦 ′′′ = = , is the third derivative of 𝑦
𝑑𝑥 𝑑𝑥 3
with respect to 𝑥.
• The names continue as you imagine, with
(𝑛)
𝑑 (𝑛−1) 𝑑 𝑛 𝑦
𝑦 = 𝑦 = 𝑛 = 𝐷𝑛 𝑦
𝑑𝑥 𝑑𝑥
denoting the 𝒏th derivative of 𝑦 with respect to 𝑥 for any positive integer 𝑛.
• You will see in the next chapter that the second derivative reveals whether the
graph bends upward or downward from the tangent line as we move off the point
of tangency.
• In the next section, we interpret both the second and third derivatives in terms
of motion along a straight line.
Example 13
Solution
First derivative: 𝑦 ′ = 3𝑥 2 − 6𝑥
Second derivative: 𝑦 ′′ = 6𝑥 − 6
All polynomial functions have derivatives of all orders. In this example, the fifth and
Checkpoint 5
Solution
The following table summarizes the differentiation rules that we have encountered
thus far.
𝑑
• (𝑐) = 0, 𝑐 is a constant.
𝑑𝑥
𝑑
• 𝑥 𝑟 = 𝑟𝑥 𝑟−1 , 𝑟 is a real number.
𝑑𝑥
𝑑 1
• [ √𝑥 ] = 2
𝑑𝑥 √𝑥
′
• (𝑐𝑓(𝑥 )) = 𝑐𝑓′(𝑥)
′
• (𝑓(𝑥 ) + 𝑔(𝑥 )) = 𝑓 ′ (𝑥 ) + 𝑔′ (𝑥)
′
• (𝑓(𝑥 ) − 𝑔(𝑥 )) = 𝑓 ′ (𝑥 ) − 𝑔′ (𝑥)
Theorem 8:
𝑑 𝑛
𝑥 = 𝑛𝑥 𝑛−1
𝑑𝑥
Proof
can be verified by multiplying out the right-hand side. Then from the alternative
formula for the definition of the derivative,
′ (𝑥)
𝑓(𝑧) − 𝑓(𝑥) 𝑧𝑛 − 𝑥𝑛
𝑓 = lim = lim
𝑧→𝑥 𝑧−𝑥 𝑧→𝑥 𝑧 − 𝑥
Theorem 9:
𝑑 𝑑
[𝑐𝑓(𝑥)] = 𝑐 [𝑓(𝑥)]
𝑑𝑥 𝑑𝑥
Proof
𝑑 𝑐𝑓(𝑥 + ℎ) − 𝑐𝑓(𝑥)
[𝑐𝑓(𝑥)] = lim
𝑑𝑥 ℎ→0 ℎ
𝑓(𝑥 + ℎ) − 𝑓(𝑥)
= lim 𝑐 [ ]
ℎ→0 ℎ
𝑓(𝑥 + ℎ) − 𝑓(𝑥) A constant factor can be
= 𝑐lim
ℎ→0 ℎ moved through a limit sig
𝑑
=𝑐 [𝑓(𝑥)]
𝑑𝑥
Theorem 10:
𝑑 𝑑 𝑑
[𝑓(𝑥) + 𝑔(𝑥)] = [𝑓(𝑥)] + [𝑔(𝑥)]
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑 𝑑 𝑑
[𝑓(𝑥) − 𝑔(𝑥)] = [𝑓(𝑥)] − [𝑔(𝑥)]
𝑑𝑥 𝑑𝑥 𝑑𝑥
Proof: