MAT Lecture6
MAT Lecture6
Theorem
sin 𝑥 cos 𝑥 − 1
lim =1 lim =0
!→# 𝑥 !→# 𝑥
Why are the above limits true? We will give an informal argument as to why
the first limit works.
If you are interested, you can pick any calculus textbook for the formal proof.
sin 𝑥
lim =1
!→# 𝑥
$%& !
◦ Note that the function 𝑓 𝑥 = !
is not defined when 𝑥 = 0.
◦ As we have done before, we will construct a table of values correct to eight decimal
places to investigate the limit from the left and right of 0.
$%& !
◦ In addition to the table, the graph of 𝑓 𝑥 = confirms our guess.
!
cos 𝑥 − 1
lim =0
!→# 𝑥
!
◦ To find the above limit, we will use a familiar technique to knock out the “ ” indeterminate form; namely
!
taking the conjugate.
cos 𝑥 − 1 cos 𝑥 + 1 cos $ 𝑥 − 1 Multiply top and bottom by
lim = lim the conjugate.
"→! 𝑥 cos 𝑥 + 1 "→! 𝑥(cos 𝑥 + 1)
sin 4𝑥 4 sin 4𝑥
lim = lim Factor out a 4 and let 𝑡 = 4𝑥.
"→! 𝑥 "→! 4𝑥
sin 𝑡 So 𝑡 → 0 as 𝑥 → 0 to make the limit look
= 4 lim =4 1 =4 like lim
$%& !
= 1.
(→! 𝑡 !→# !
Example 2
◦ Evaluate the following limit
sin 3𝑥
lim .
!→# sin 5𝑥
◦ Solution:
$%& !
◦ We first observe that we can apply the fact that lim = 1.
!→# !
◦ However, if we divide the numerator and denominator by 𝑥, we can then proceed as in example 1.
sin 3𝑥 3 sin 3𝑥
lim 𝑥 = lim 3𝑥
"→! sin 5𝑥 "→! 5 sin 5𝑥
𝑥 5𝑥
sin 𝑡
3lim 3 1 3 Let 𝑡 = 3𝑥, 𝑎𝑠 𝑥 → 0, 𝑡 → 0.
(→! 𝑡
= = = Let 𝑢 = 5𝑥, 𝑎𝑠 𝑥 → 0, 𝑢 → 0
sin 𝑢 5 1 5
5 lim
)→! 𝑢
The Derivative of Sine
◦ Recall
◦ The formal definition of the derivative is:
𝑓 𝑥 + ℎ − 𝑓(𝑥)
𝑓' 𝑥 = lim .
(→# ℎ
◦ Let 𝑓 𝑥 = sin 𝑥 .
◦ So, 𝑓 𝑥 + ℎ = sin(𝑥 + ℎ) = sin 𝑥 cos ℎ + sin ℎ cos 𝑥, by the addition identity.
◦ Therefore, we get
sin(𝑥 + ℎ) − sin 𝑥
𝑓' 𝑥 = lim
(→# ℎ
sin 𝑥 cos ℎ + sin ℎ cos 𝑥 − sin 𝑥
= lim
(→# ℎ
sin 𝑥 cos ℎ − 1 + sin ℎ cos 𝑥 Factor out sin 𝑥
= lim
(→# ℎ
sin 𝑥 cos ℎ − 1 sin ℎ cos 𝑥 The sum of the limit is
= lim + lim the limit of the sum Law
(→# ℎ (→# ℎ
cos ℎ − 1 sin ℎ
= sin 𝑥 lim + cos 𝑥 lim = sin 𝑥 0 + cos 𝑥 1 = cos 𝑥. sin 𝑥 and cos 𝑥 are
(→# ℎ (→# ℎ
independent of ℎ
0 1
The Derivatives of Sine and Cosine
Theorem
𝑑
sin 𝑥 = cos 𝑥 ,
𝑑𝑥
𝑑
cos 𝑥 = − sin 𝑥 .
𝑑𝑥
Note: The derivative of cosine is proved in a similar way as the derivative of sine. You just need to use the addition
identity for cosine.
Try it out!
Example 3
◦ Find the derivative of 𝑓 𝑥 = 𝑒 ! sin 𝑥 .
◦ Solution:
◦ Note that we must use the product rule to answer this question.
Recall:
𝑑
𝑓 𝑥 𝑔 𝑥 = 𝑓 ' 𝑥 𝑔 𝑥 + 𝑔' 𝑥 𝑓(𝑥)
𝑑𝑥
Example 4
LM
◦ Let 𝑦 = sin 𝑥 − cos 𝑥 . Find L! .
◦ Solution:
𝑑𝑦
= cos 𝑥 − − sin 𝑥 = cos 𝑥 + sin 𝑥
𝑑𝑥
𝑑
sin 𝑥 𝑑
𝑑𝑥 cos 𝑥
𝑑𝑥
The Derivative of 𝑦 = tan 𝑥
◦ Calculate the derivative of 𝑦 = tan 𝑥 .
◦ Solution: Quotien Rule:
$%& !
𝑑 𝑓 𝑥 𝑓 ' 𝑥 𝑔 𝑥 − 𝑔' 𝑥 𝑓(𝑥)
◦ We first use the fact that 𝑦 = tan 𝑥 = . =
()$ ! 𝑑𝑥 𝑔 𝑥 𝑔 𝑥 )
◦ To evaluate the derivative, we use the Quotient Rule.
𝑑 𝑑 sin 𝑥 cos 𝑥 cos 𝑥 − (−sin 𝑥) sin 𝑥
(tan 𝑥 ) = =
𝑑𝑥 𝑑𝑥 cos 𝑥 (cos * 𝑥)
1
csc 𝑥 =
sin 𝑥
cos 𝑥
cot 𝑥 =
sin 𝑥
Example 5 Quotien Rule:
𝑑 𝑓 𝑥 𝑓 ! 𝑥 𝑔 𝑥 − 𝑔! 𝑥 𝑓(𝑥)
=
$+( ! 𝑑𝑥 𝑔 𝑥 𝑔 𝑥 "
◦ Differentiate 𝑓 𝑥 = .
,-./& !
◦ For what values of 𝑥 does the graph of 𝑓 have a horizontal tangent?
◦ Solution:
◦ To answer the first question, we use the Quotient Rule:
𝑑 sec 𝑥 sec 𝑥 tan 𝑥 (1 + tan 𝑥) − sec $ 𝑥 sec 𝑥
=
𝑑𝑥 1 + tan 𝑥 (1 + tan$ 𝑥)$
𝑦 𝑢 𝑥
◦ Solution:
◦ The outer function is 𝑓 𝑢 = 𝑢,# .
◦ The inner function is 𝑢 = 𝑥 : + 4𝑥 + 1.
◦ Thus,
𝑑
𝑥 : + 4𝑥 + 1 ,## = 100 𝑥 : + 4𝑥 + 1 ;; (3𝑥 * + 4)
𝑑𝑥
derivative of the outer function
𝑓′(𝑢) evaluated at the inner function derivative of the inner function, 𝑔′(𝑥)
Example 9
◦ Differentiate
]
𝑡Y
𝑓 𝑡 = .
2𝑡 Y +4
To differentiate the inner function,
◦ Solution: we use the Quotient Rule:
𝑑 𝑓 𝑥 𝑓 ' 𝑥 𝑔 𝑥 − 𝑔' 𝑥 𝑓(𝑥)
◦ The outer function is 𝑓 𝑢 = 𝑢: . =
𝑑𝑥 𝑔 𝑥 𝑔 𝑥 )
<-
◦ The inner function is 𝑢 = .
*.- -9
◦ Thus,
Y
𝑡Y 2𝑡 2𝑡 Y + 4 − 4𝑡 𝑡 Y 24𝑡 _
𝑓' 𝑡 = 3 =
2𝑡 Y + 4 2𝑡 Y + 4 Y 2𝑡 Y + 4 `
derivative of the outer function
derivative of the inner function, 𝑔′(𝑥)
𝑓′(𝑢) evaluated at the inner function
Chain Rule for
Powers
We observe from the previous
examples that the chain rule
leads to a generalization of the
Power Rule for differentiable
functions.
Example 10
◦ Find the derivative of ◦ Find the derivative of
* .
𝑓 𝑥 = sec 𝑥 + 5 + 𝑓 𝑥 = 𝑒 %&' "
◦ Solution: ◦ Solution:
◦ Based on the previous theorem, we can ◦ We can certainly use the generalized
*
directly take 𝑛 = and proceed with the power rule, but here it is not needed.
+ .
generalized power rule to differentiate the ◦ Observe that 𝑒 %&' " = 𝑒 . %&' " . Thus
function.
1 *
𝑓 , 𝑥 = 𝑒 . %&' " (5 cos 𝑥)
𝑓 𝑥 = sec 𝑥 + 5 +-* (sec 𝑥 tan 𝑥)
,
3
sec 𝑥 tan 𝑥
= $
3 sec 𝑥 + 5 +
Implicit Differentiation
◦ So far, we have been studying functions that can be expressed in the form 𝑦 =
𝑓 𝑥 , where 𝑦 is defined explicitly as a function of 𝑥.
◦ In practice, relations between variables are expressed implicitly.
◦ Consider, for example, the equation of the circle 𝑥 Y + 𝑦 Y = 25.
◦ This equation describes 𝑦 implicitly.
◦ Be careful! This equation does not describe a function (why?)
◦ If this equation is solved for 𝑦, we get two functions:
𝑦 = 25 − 𝑥 Y and 𝑦 = − 25 − 𝑥 Y.
◦ In this case of the circle, it was easy to solve explicitly for 𝑦.
◦ Goal: Develop a method to find the derivative from an equation without first
solving for 𝑦.
𝑑 ` 𝑑 `
𝑥 + 𝑦 =0
𝑑𝑥 𝑑𝑥
𝑑𝑦
4𝑥 ] + 4𝑦 ] =0
𝑑𝑥
+,
◦ Step 2: Solve for +! .
𝑑𝑦
4𝑥 . + 4𝑦 . =0
𝑑𝑥
𝑑𝑦 𝑥.
=− .
𝑑𝑥 𝑦
+!,
◦ To find , we differentiate the last equation again with respect to 𝑥.
+! !
𝑑𝑦
𝑑 𝑑𝑦 𝑑 𝑥. 3𝑥 ) 𝑦 . − 𝑥 . 3𝑦 )
= − . =− 𝑑𝑥
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑦 𝑦0
) . . ) 𝑥. !"
𝑑) 𝑦 3𝑥 𝑦 − 3𝑥 𝑦 − . Substitute −
+,
, found in step 2.
𝑦 , " for +!
= −
𝑑𝑥 ) 𝑦0
𝑑) 𝑦 3(𝑥 ) 𝑦 / + 𝑥 0 ) 3𝑥 ) 𝑦 / + 𝑥 / The values of 𝑥 and 𝑦must satisfy the
= =− equation 𝑥 / + 𝑦 / = 16
𝑑𝑥 ) 𝑦1 𝑦1
𝑑) 𝑦 3𝑥 ) 16 48𝑥 )
=− =− 1
𝑑𝑥 ) 𝑦1 𝑦