Section 2.4 The Chain Rule

advertisement
Unit 2 – Differentiation
Objectives:
1.
2.
3.
4.
Find the derivative of a composite function using the Chain Rule.
Find the derivative of a function using the General Power Rule.
Simplify the derivative of a function using algebra.
Find the derivative of a trigonometric function using the Chain Rule.
The Chain Rule is an extremely important rule in calculus and allows
us to extend differentiation to many more types of functions. Below
are examples of functions that can be done without the Chain Rule,
and those that can be done with it.
Without the Chain Rule
With the Chain Rule
𝑦 = π‘₯2 + 1
𝑦=
𝑦 = sin(π‘₯)
𝑦 = sin(6π‘₯)
𝑦 = 3π‘₯ + 2
𝑦 = π‘₯ + tan(π‘₯)
π‘₯2 + 1
𝑦 = 3π‘₯ + 2
5
𝑦 = π‘₯ + tan(π‘₯ 2 )
The Chain Rule expands differentiation to composite functions
like 𝑓 ∘ 𝑔 π‘₯ = 𝑓 𝑔 π‘₯ or 𝑔 ∘ 𝑓 π‘₯ = 𝑔 𝑓 π‘₯ .
If 𝑦 = 𝑓(𝑒) is a differentiable function of 𝑒 and 𝑒 =
𝑔(π‘₯) is a differentiable function of π‘₯, then 𝑦 =
𝑓(𝑔(π‘₯)) is a differentiable function of π‘₯ and
𝑑𝑦
𝑑π‘₯
=
𝑑𝑦
𝑑𝑒
βˆ™
𝑑𝑒
𝑑π‘₯
or, equivalently,
𝑑
𝑑π‘₯
𝑓(𝑔 π‘₯ ) = 𝑓 ′ 𝑔 π‘₯ 𝑔′ π‘₯ .
» Part of the process in using the Chain Rule is
figuring out the best way to decompose a
function. Remember that a composite function
is made from one function inside of another.
For example, 𝑦 = 3π‘₯ can be thought of as the
function 𝑔(π‘₯) = 𝑒 = 3π‘₯ inside of the function
𝑓, where 𝑓 𝑒 = 𝑒.
» Example 1 will illustrate this process further.
» Decompose the following functions:
𝑦 = 𝑓(𝑔 π‘₯ )
𝑒 = g(π‘₯)
𝑦 = 𝑓(𝑒)
𝑒 = 2π‘₯ − 3
1
𝑦=
𝑒
B. 𝑦 = cos(3π‘₯)
𝑒 = 3π‘₯
𝑦 = cos(𝑒)
C. 𝑦 = 5π‘₯ 2 + 3π‘₯
𝑒 = 5π‘₯ 2 + 3π‘₯
𝑦= 𝑒
D. 𝑦 = cot 2 (π‘₯)
𝑒 = cot(π‘₯)
𝑦 = 𝑒2
A. 𝑦 =
1
2π‘₯−3
» Differentiate the following functions using methods learned in
sections 2.2 & 2.3, and then by using the Chain Rule.
3
A. 𝑦 = π‘₯ + 2
We will begin by multiplying out the entire polynomial:
𝑦 = π‘₯+2 3 = π‘₯+2 π‘₯+2 π‘₯+2
= π‘₯ + 2 π‘₯ 2 + 4π‘₯ + 4
= π‘₯ 3 + 6π‘₯ 2 + 12π‘₯ + 8
𝑦 ′ = 𝐷π‘₯ π‘₯ 3 + 6π‘₯ 2 + 12π‘₯ + 8
= 3π‘₯ 2 + 12π‘₯ + 12
Once multiplied out the derivative is easily completed, but getting
there can be time consuming, especially for higher powers.
» Differentiate the following functions using methods learned in
sections 2.2 & 2.3, and then by using the Chain Rule.
3
B. 𝑦 = π‘₯ + 2
Now for the Chain Rule:
We begin by decomposing the two functions like in Example 1:
𝑒 =π‘₯+2
𝑓(𝑒) = 𝑒3
From the Chain Rule, the derivative is:
𝑦′
𝑑
=
𝑓(𝑔 π‘₯ ) = 𝑓 ′ 𝑔 π‘₯ 𝑔′ π‘₯ = 𝑓 ′ 𝑒 𝑒′
𝑑π‘₯
So, to continue we must differentiate both of the decomposed functions.
» Differentiate the following functions using methods learned in
sections 2.2 & 2.3, and then by using the Chain Rule.
3
B. 𝑦 = π‘₯ + 2
By differentiating each we get:
𝑒=π‘₯
𝒖
𝒙+2
𝟐
𝒖′ = 𝟏
𝒇′(𝒖) = πŸ‘π’–πŸ
𝑓(𝑒) = 𝑒3
So, the combined result is:
𝑦 ′ = 𝒇′ 𝒖 𝒖′ = πŸ‘π’–πŸ 𝟏 = πŸ‘π’–πŸ = 3 𝒙 + 𝟐
2
Which when multiplied out is (which isn’t always necessary):
𝑦′ = 3 π‘₯ + 2
2
= 3 π‘₯ 2 + 4π‘₯ + 4 = 3π‘₯ 2 + 12π‘₯ + 12
» Differentiate the following functions using methods learned in
sections 2.2 & 2.3, and then by using the Chain Rule.
B. 𝑦 = sin(2π‘₯)
To differentiate this without the Chain Rule requires using a
double-angle trigonometric identity with the Product Rule:
𝑦 = sin(2π‘₯) = 2 sin π‘₯ cos(π‘₯)
𝑑
𝑑
′
𝑦 =2
sin(π‘₯) cos π‘₯ + sin(π‘₯)
cos(π‘₯)
𝑑π‘₯
𝑑π‘₯
= 2 cos π‘₯ cos π‘₯ + sin(π‘₯) −sin(π‘₯)
= 2 cos2 π‘₯ − sin2 (π‘₯)
» Differentiate the following functions using methods learned in
sections 2.2 & 2.3, and then by using the Chain Rule.
B. 𝑦 = sin(2π‘₯)
Now for the Chain Rule:
By decomposition we get:
By differentiating we get:
𝑒 = 2π‘₯
𝑓(𝑒) = sin(𝑒)
𝑒′ = 2
𝑓′(𝑒) = cos(𝑒)
So, the result is:
𝑦 ′ = 𝑓 ′ 𝑒 𝑒′
= cos(𝑒) 2 = 2cos(2π‘₯)
Which by another double-angle identity is equivalent to:
𝑦 ′ = 2 cos 2π‘₯ = 2 cos2 π‘₯ − sin2 (π‘₯)
» Differentiate the following functions using methods learned in
sections 2.2 & 2.3, and then by using the Chain Rule.
C. 𝑦 =
2
3π‘₯+1
We first differentiate using the Quotient Rule:
𝑑
𝑑
2 3π‘₯ + 1 − 2
3π‘₯ + 1
𝑑π‘₯
𝑑π‘₯
′
𝑦 =
3π‘₯ + 1 2
=
0 3π‘₯ + 1 − 2 3
6
=
−
3π‘₯ + 1 2
3π‘₯ + 1
2
» Differentiate the following functions using methods learned in
sections 2.2 & 2.3, and then by using the Chain Rule.
C. 𝑦 =
2
3π‘₯+1
= 𝑓(𝑔 π‘₯ )
Now for the Chain Rule:
By decomposition we get:
By differentiating we get:
𝑔 π‘₯ = 𝑒 = 3π‘₯ + 1
2
𝑓 𝑒 =
𝑒
𝑔′(π‘₯) = 𝑒′ = 3
So, the result is:
𝑦′
=
𝑓′
𝑒
𝑒′
𝑓′
𝑒 =
2
= − 2
𝑒
2𝑒−1
=
−2𝑒−2
6
3 =−
3π‘₯ + 1
2
2
=− 2
𝑒
» In each case, we saw how three different
problems can be solved with and without the
Chain Rule. Once you get used to the Chain
Rule, it becomes much faster and easier, and
often can be done in your head. It also is
convenient to serve as a way to check answers
when a different method is requested.
If 𝑦 = 𝑒(π‘₯) 𝑛 , where 𝑒 is a differentiable
function of π‘₯ and 𝑛 is a rational number, then
𝑑𝑦
= 𝑛 𝑒(π‘₯)
𝑑π‘₯
𝑛−1
𝑑𝑒
𝑑π‘₯
or, equivalently,
𝑑 𝑛
𝑒 = 𝑛𝑒𝑛−1 𝑒′ .
𝑑π‘₯
A. Find 𝑑𝑦/𝑑π‘₯ for 𝑦 = 2π‘₯ 2 + 5 3 .
𝑒=
2π‘₯ 2
𝑦 = 𝑒3
+5
𝑑𝑒
𝑒 =
= 4π‘₯
𝑑π‘₯
𝑑𝑦
′
𝑦 =
= 3𝑒2
𝑑𝑒
𝑑𝑦
= 3 2π‘₯ 2 + 5
𝑑π‘₯
𝑑𝑦
𝑑𝑒
′
2
𝑑𝑦 𝑑𝑦 𝑑𝑒
=
βˆ™
𝑑π‘₯ 𝑑𝑒 𝑑π‘₯
4π‘₯ = 12π‘₯ 2π‘₯ 2 + 5
𝑑𝑒
𝑑π‘₯
2
1
π‘₯ 2 +1
B. If 𝑓(π‘₯) =
and 𝑔(π‘₯) = π‘₯, then the derivative
of 𝑓(𝑔(π‘₯)) is
a)
− π‘₯
π‘₯ 2 +1 2
b) − π‘₯ + 1
c)
d)
e)
−2π‘₯
π‘₯ 2 +1 2
1
π‘₯+1 2
1
2 π‘₯ π‘₯+1
−2
This question is similar to a possible
AP multiple choice question. It is
unique in that it separates the
functions being composed.
1
π‘₯ 2 +1
B. If 𝑓(π‘₯) =
and 𝑔(π‘₯) = π‘₯, then find the
derivative of 𝑓(𝑔(π‘₯)).
𝑒 =π‘₯+1
We will start by saying:
β„Ž π‘₯ =𝑓 𝑔 π‘₯
=
1
π‘₯
2
+1
=
1
.
π‘₯+1
1
β„Ž(𝑒) =
𝑒
However, we will not use the Chain Rule on 𝑓 and 𝑔,
but rather make a different decomposition.
1
π‘₯ 2 +1
B. If 𝑓(π‘₯) =
and 𝑔(π‘₯) = π‘₯, then find the
derivative of 𝑓(𝑔(π‘₯)).
𝑓 𝑔 π‘₯
=β„Ž π‘₯ =
𝑒 =π‘₯+1
𝑑𝑒
𝑒 =
=1
𝑑π‘₯
′
1
π‘₯+1
1
β„Ž(𝑒) =
𝑒
π‘‘β„Ž
𝑑 −1
′
β„Ž 𝑒 =
=
𝑒
𝑑𝑒 𝑑𝑒
= −𝑒−2 = −
1
𝑒2
1
π‘₯ 2 +1
B. If 𝑓(π‘₯) =
and 𝑔(π‘₯) = π‘₯, then find the
derivative of 𝑓(𝑔(π‘₯)).
𝑓 𝑔 π‘₯
=β„Ž π‘₯ =
1
π‘₯+1
1
𝑒 = π‘₯ + 1 β„Ž(𝑒) =
𝑒
𝑑𝑒
=1
𝑑π‘₯
π‘‘β„Ž
1
=− 2
𝑑𝑒
𝑒
π‘‘β„Ž π‘‘β„Ž 𝑑𝑒
1
1
1
=
βˆ™
=− 2 1 =− 2=−
𝑑π‘₯ 𝑑𝑒 𝑑π‘₯
𝑒
𝑒
π‘₯+1
We are now ready to answer the multiple choice question.
2
B. If 𝑓(π‘₯) =
1
π‘₯ 2 +1
of 𝑓(𝑔(π‘₯)) is
a)
− π‘₯
π‘₯ 2 +1 2
b) − π‘₯ + 1
c)
d)
e)
−2π‘₯
π‘₯ 2 +1 2
1
π‘₯+1 2
1
2 π‘₯ π‘₯+1
−2
and 𝑔(π‘₯) = π‘₯, then the derivative
𝑑
1
𝑓(𝑔 π‘₯ ) = −
𝑑π‘₯
π‘₯+1
Even if you solved the problem
correctly, you could easily miss
this question by not paying
attention. Notice that d) looks
like the correct answer, but it
lacks the negative sign. So, the
correct answer is not in the same
format, but by looking closely we
see the answer is b).
2
C. If
𝑑
𝑓(π‘₯)
𝑑π‘₯
= 𝑔(π‘₯) and β„Ž(π‘₯) = sin(π‘₯), then
𝑑
𝑓(β„Ž(π‘₯))
𝑑π‘₯
equals
a) 𝑔 sin π‘₯
b) cos π‘₯ βˆ™ 𝑔(π‘₯)
c) 𝑔′(π‘₯)
d) cos π‘₯ βˆ™ 𝑔 sin π‘₯
e) sin π‘₯ βˆ™ 𝑔(sin π‘₯)
𝑑
𝑓 π‘₯ = 𝑓′(π‘₯) = 𝑔(π‘₯)
𝑑π‘₯
𝑑
𝑓 β„Ž π‘₯
𝑑π‘₯
= 𝑓 ′ β„Ž π‘₯ β„Ž′(π‘₯)
= 𝑔 β„Ž π‘₯ β„Ž′ π‘₯
= 𝑔(sin π‘₯) βˆ™ cos π‘₯
» Using Leibniz’s Notation in the previous
example shows us how the Chain Rule can be
extended to more functions.
𝑑𝑦 𝑑𝑦 𝑑𝑒 𝑑𝑣
=
βˆ™
βˆ™
𝑑π‘₯ 𝑑𝑒 𝑑𝑣 𝑑π‘₯
» The next example will demonstrate this further.
» Differentiate using the Chain Rule twice.
𝑦 = 1 + π‘₯2 − 5
𝑣 = π‘₯2 − 5
15 10
𝑒 = 1 + 𝑣 15
𝑦 = 𝑒10
𝑑𝑣
𝑑𝑒
𝑑𝑦
14
= 2π‘₯
= 15𝑣
= 10𝑒9
𝑑π‘₯
𝑑𝑣
𝑑𝑒
𝑑𝑦 𝑑𝑦 𝑑𝑒 𝑑𝑣
=
βˆ™
βˆ™
= 10𝑒9 15𝑣 14 2π‘₯
𝑑π‘₯ 𝑑𝑒 𝑑𝑣 𝑑π‘₯
= 300π‘₯𝑒9 𝑣 14 = 300π‘₯ 1 + 𝑣 15 9 𝑣 14
= 300π‘₯ 1 + π‘₯ 2 − 5
15 9
π‘₯2 − 5
14
3
» Find all points on the graph of 𝑓(π‘₯) =
π‘₯2 − 4 2
for which 𝑓′(π‘₯) = 0 and those for which 𝑓′(π‘₯) does
not exist.
𝑓(π‘₯) =
𝑓′
3
π‘₯2 − 4
2 2
π‘₯ = π‘₯ −4
3
2
=
1
−3
π‘₯2
−4
2π‘₯ =
2
3
4π‘₯
3
3 π‘₯2 − 4
Since the derivative is a rational function, to find where 𝑓′(π‘₯) = 0, we
set the numerator equal to zero and solve. To find where 𝑓′(π‘₯) does
not exist, we set the denominator equal to zero and solve.
3
» Find all points on the graph of 𝑓(π‘₯) =
π‘₯2 − 4 2
for which 𝑓′(π‘₯) = 0 and those for which 𝑓′(π‘₯) does
not exist.
𝑓′
π‘₯ =
To find
4π‘₯
3
3 π‘₯2 − 4
𝑓′
π‘₯ = 0:
4π‘₯ = 0
π‘₯=0
To find 𝑓 ′ π‘₯ = DNE:
3
3 π‘₯2 − 4 ≠ 0
π‘₯2 − 4 ≠ 0
π‘₯−2 π‘₯+2 ≠0
π‘₯ ≠ ±2
» By studying the graphs of the original function and its
derivative, it becomes more apparent.
y
𝑓(π‘₯) =
𝑓′ π‘₯ =
3
π‘₯2 − 4
4π‘₯
3
π‘₯2 − 4
2
10
9
𝑓′(0) = 0
8
π‘₯ ≠ ±2
6
You may recall that function is
NOT differentiable at a sharp
corner. This is indicative of the
vertical asymptotes at π‘₯ = ±2.
Also note the slope of the blue
graph is zero precisely where the
green crosses the x-axis, at π‘₯ = 0.
7
𝑓(π‘₯)
5
4
3
2
1
–10 –9
–8
–7
–6
–5
–4
–3
–2
–1
–1
–2
𝑓′(π‘₯)
–3
–4
–5
–6
–7
–8
–9
–10
1
2
3
4
5
6
7
8
9
10
x
A. Differentiate 𝑔 π‘₯ =
3
.
2
5−3π‘₯
𝑔 π‘₯ = 3 5 − 3π‘₯
𝑔′
π‘₯ = −6 5 − 3π‘₯
−3
−2
18
−3 =
5 − 3π‘₯
Here we see it is much easier to apply the Chain Rule
and differentiate than to use the Quotient Rule. On the
next slide we will modify the function slightly, and still
use the Chain Rule.
3
B. Differentiate 𝑔 π‘₯ =
𝑔 π‘₯ = 3π‘₯ 5 − 3π‘₯
𝑔′ π‘₯ = 3 5 − 3π‘₯
−2
−2
3
=
5 − 3π‘₯
3π‘₯
.
2
5−3π‘₯
Because the numerator is not a
constant, if we try to apply the
Chain Rule here, we will also have
to use the Product Rule.
+ 3π‘₯ −2 5 − 3π‘₯
18π‘₯
+
2
5 − 3π‘₯
3
−3
−3
B. Differentiate 𝑔 π‘₯ =
3π‘₯
.
2
5−3π‘₯
Now to differentiate it with the Quotient Rule.
𝑔′
=
π‘₯ =
3 5 − 3π‘₯
3 5 − 3π‘₯
2
− 3π‘₯ 2 5 − 3π‘₯ −3
5 − 3π‘₯ 2 2
2
+ 18π‘₯ 5 − 3π‘₯
5 − 3π‘₯ 4
3 5 − 3π‘₯ 2 18π‘₯ 5 − 3π‘₯
=
+
4
5 − 3π‘₯
5 − 3π‘₯ 4
3
18π‘₯
=
+
2
5 − 3π‘₯
5 − 3π‘₯ 3
Clearly for this particular
problem, the Chain Rule
combined with the Product
Rule was easier. Sometimes if
you get stuck, try a different
method.
» On the last example we just saw a problem whose derivative
was given as two different fractions:
𝑔′
3
π‘₯ =
5 − 3π‘₯
18π‘₯
+
2
5 − 3π‘₯
3
» Many times though, for instance on the multiple choice
section of the AP test, an answer may be given as one
fraction only. The following three examples illustrate
techniques for simplifying derivatives.
» Note, an alternative method would be to get a common
denominator after getting two separate fractions.
» Differentiate and simplify by factoring out the least powers.
𝑓
𝑔
1
2
2
𝑓(π‘₯) = 2π‘₯ 9 − π‘₯ = 2π‘₯ 2 9 − π‘₯ 2 2
𝑓′
𝑓′
𝑔
π‘₯ = 4π‘₯ 9 −
1
2
π‘₯ 2
𝑓
+
2π‘₯ 2
Observe, when multiplying like bases,
add the exponents. We will use this
result backwards to factor.
1
1
−
−
9 − π‘₯2 2 9 − π‘₯2 1 = 9 − π‘₯2 2
𝑔′
1
2
9−
1
−
2
π‘₯ 2
𝑒′
𝑒
+
9
2
− π‘₯2 2
=
= 9
−2π‘₯
1
− π‘₯2 2
» We will now factor out the least power, as well as the GCF.
𝑓 ′ π‘₯ = 4π‘₯ 9 −
= 2π‘₯ 9
𝟏
−
− π‘₯2 𝟐
1
π‘₯2 2
+ 2π‘₯ 2
2 πŸ—−
π’™πŸ
1
2
9
𝟏
−
− π‘₯2 𝟐
1
+π‘₯
2
GCF
9
1
2 −2
−π‘₯
𝟐 𝟏
πŸ—−𝒙
= 9−
1
2 2
π‘₯
−2π‘₯
−2π‘₯
» Now to simplify.
𝑓′(π‘₯) = 2π‘₯ 9 −
1
−
π‘₯2 2
= 2π‘₯ 9 − π‘₯
=
2 9−
1
−
2 2
2π‘₯ 18 − 3π‘₯ 2
9−
1
π‘₯2 2
π‘₯2
1
+π‘₯
2
18 − 2π‘₯ 2 − π‘₯ 2
=
6π‘₯ 6 − π‘₯ 2
9 − π‘₯2
−2π‘₯
» Differentiate and simplify.
4π‘₯
4π‘₯
=
β„Ž π‘₯ =3
π‘₯2 + 1
π‘₯2 + 1
𝑓′
β„Ž′(π‘₯) =
𝑔
4 π‘₯2 + 1
𝑓
1
3
𝑓(π‘₯)
1
3
𝑔(π‘₯)
𝑔′
1
− 4π‘₯
3
π‘₯2 + 1
𝑔2
π‘₯2 + 1
2
3
2
−3
𝑒
2π‘₯
𝑒′
» Now to simplify the derivative.
First observe, when multiplying like bases, add the exponents.
π‘₯2
β„Ž′ π‘₯ =
4
π‘₯2
π‘₯2
+1
1
− 4π‘₯ 3
π‘₯2
+1
+1
1
3
2
−
3
π‘₯2
+1
2
3
Factored from top.
4
= π‘₯2 + 1
3
2
−3
4
= π‘₯2 + 1
3
2
−3
1
=
π‘₯2
+1
+1
2
−
3
2π‘₯
4÷
+1
π‘₯2 + 3
π‘₯2
+1
2
3
2
3
=
π‘₯2
+1
+
3
3
=
π‘₯2
+1
1
3
We will use this result backwards
to factor the derivative.
4
=3
3
3 π‘₯ 2 + 1 − π‘₯ 2π‘₯
π‘₯2
2
−
3
4 2
= π‘₯ +1
3
4 π‘₯2 + 3
3
π‘₯2
+1
4
3
2
−3
3π‘₯ 2 + 3 − 2π‘₯ 2
π‘₯2
+1
2
3
» Differentiate and simplify.
2
1+π‘₯
𝑦=
2 + π‘₯2
1+π‘₯ 𝑑 1+π‘₯
𝑦 =2
2 + π‘₯ 2 𝑑π‘₯ 2 + π‘₯ 2
′
1+π‘₯
=2
2 + π‘₯2
1+π‘₯
=2
2 + π‘₯2
1 2 + π‘₯ 2 − 1 + π‘₯ 2π‘₯
2 + π‘₯2 2
−π‘₯ 2 − 2π‘₯ + 2
−2 1 + π‘₯ π‘₯ 2 + 2π‘₯ − 2
=
2 + π‘₯2 2
2 + π‘₯2 3
» Differentiate the following trigonometric
functions.
A. y = cos 5π‘₯
𝑦 ′ = − sin 5π‘₯
𝑑
5π‘₯ = −sin(5π‘₯) 5 = −5sin(5π‘₯)
𝑑π‘₯
B. 𝑦 = tan 4π‘₯ − 1
𝑦′
=
sec 2
𝑑
4π‘₯ − 1
4π‘₯ − 1 = sec 2 4π‘₯ − 1 4 = 4 sec 2 4π‘₯ − 1
𝑑π‘₯
» Parentheses change a lot with respect to
trigonometric functions. Keep that in mind
when differentiating.
A. y = sin 2π‘₯ 3 = sin 2π‘₯ 3
𝑦 ′ = cos 2π‘₯ 3
𝑑
2π‘₯ 3 = cos2π‘₯ 3 6π‘₯ 2 = 6π‘₯ 2 cos2π‘₯ 3
𝑑π‘₯
B. 𝑦 = sin2
𝑦 ′ = sin 2
π‘₯3
Here sin2 acts as a constant since the
variable is not inside the sine function.
𝑑 3
π‘₯ = sin 2 3π‘₯ 2 = 3 sin 2 π‘₯ 2
𝑑π‘₯
» Parentheses change a lot with respect to
trigonometric functions. Keep that in mind
when differentiating.
C. y = sin 2π‘₯
𝑦 ′ = cos 8π‘₯ 3
3
= sin 8π‘₯ 3
𝑑
8π‘₯ 3 = cos8π‘₯ 3 24π‘₯ 2 = 24π‘₯ 2 cos8π‘₯ 3
𝑑π‘₯
D. 𝑦 = sin2 π‘₯ = sin π‘₯
2
= sin π‘₯ sin π‘₯
𝑑
𝑑
sin π‘₯ sin π‘₯ + sin π‘₯
sin π‘₯ = cos π‘₯ sin π‘₯ + sin π‘₯ cos π‘₯
𝑑π‘₯
𝑑π‘₯
= 2 sin π‘₯ cos π‘₯ = sin 2π‘₯ The last step used a double-angle identity.
𝑦′ =
» Parentheses change a lot with respect to
trigonometric functions. Keep that in mind
when differentiating.
E. 𝑦 = sin π‘₯ = sin π‘₯
𝑦′
1
= sin π‘₯
2
1
−2
𝑑
sin π‘₯ =
𝑑π‘₯
1
2
1
2 sin π‘₯
1 βˆ™ cos π‘₯ =
2
cos π‘₯
2 sin π‘₯
» Some trigonometric functions require repeated use of
the Chain Rule. Differentiate the following:
𝑓 𝑑 = cos3 2𝑑 = cos 2𝑑
𝑓′(𝑑) = 3 cos 2𝑑
2
= 3 cos 2𝑑
2
= 3 cos 2𝑑
2
3
𝑑
cos 2𝑑
𝑑π‘₯
𝑑
− sin 2𝑑
2𝑑
𝑑π‘₯
− sin 2𝑑 2
= −6cos2 2𝑑 sin 2𝑑
» Find an equation of the tangent line to the graph of
πœ‹
, −1
2
𝑓 π‘₯ = 3 cos π‘₯ + sin 3π‘₯ at the point
. Then
determine all values of π‘₯ in the interval (0, 2πœ‹) at which
the graph of 𝑓 has a horizontal tangent.
First find the derivative and substitute in π‘₯ =
πœ‹
2
to find the slope at that point.
𝑓 ′ π‘₯ = −3 sin π‘₯ + 3 cos 3π‘₯
𝑓
′
πœ‹
πœ‹
3πœ‹
= −3 sin + 3 cos
2
2
2
= −3 1 + 3 0 = −3
» Find an equation of the tangent line to the graph of
πœ‹
, −1
2
𝑓 π‘₯ = 3 cos π‘₯ + sin 3π‘₯ at the point
. Then
determine all values of π‘₯ in the interval (0, 2πœ‹) at which
the graph of 𝑓 has a horizontal tangent.
π‘š=
𝑓′
πœ‹
= −3
2
Now use point-slope
form to write the
equation substituting
in the point and the
slope we just found.
𝑦 − 𝑦1 = π‘š π‘₯ − π‘₯1
πœ‹
𝑦 − −1 = −3 π‘₯ −
2
3πœ‹
𝑦 + 1 = −3π‘₯ +
2
3πœ‹
𝑦 = −1 − 3π‘₯ +
2
» Find an equation of the tangent line to the graph of
πœ‹
, −1
2
𝑓 π‘₯ = 3 cos π‘₯ + sin 3π‘₯ at the point
. Then
determine all values of π‘₯ in the interval (0, 2πœ‹) at which
the graph of 𝑓 has a horizontal tangent.
Horizontal tangents occur where the slope is zero, so one method to
find them is to graph the derivative and find the zeros of the function.
𝑓 ′ π‘₯ = −3 sin π‘₯ + 3 cos 3π‘₯ = 0
Set the window sizes as shown to
maximize the graph. Note the x-min
and x-max are 0 & 2πœ‹.
» Find an equation of the tangent line to the graph of
πœ‹
, −1
2
𝑓 π‘₯ = 3 cos π‘₯ + sin 3π‘₯ at the point
. Then
determine all values of π‘₯ in the interval (0, 2πœ‹) at which
the graph of 𝑓 has a horizontal tangent.
Horizontal tangents occur where the slope is zero, so one method to
find them is to graph the derivative and find the zeros of the function.
𝑓 ′ π‘₯ = −3 sin π‘₯ + 3 cos 3π‘₯ = 0
With a little playing around with the trace
feature, it becomes obvious that the zeros
πœ‹
are certain multiples of 8 .
πœ‹ 5πœ‹ 3πœ‹ 9πœ‹ 13πœ‹ 7πœ‹
π‘₯= ,
,
,
,
,
8 8 4 8 8 4
» For Example 14A-G, the following table of
functions and their derivatives is given.
Questions like these may be on the AP test.
π‘₯
𝑓
𝑓′
𝑔
𝑔′
0
2
1
5
−4
1
3
2
3
−3
2
5
3
1
−2
3
10
4
0
−1
A. If 𝐴 = 𝑓 + 2𝑔, then 𝐴′(3) =
π‘₯
𝑓
𝑓′
𝑔
𝑔′
0
2
1
5
−4
First we must differentiate 𝐴
to find the general function 𝐴′ .
1
3
2
3
−3
𝐴′ = 𝑓′ + 2𝑔′
2
5
3
1
−2
3
10
4
0
−1
So, 𝐴′ 3 = 𝑓 ′ 3 + 2𝑔′ 3 = 4 + 2 −1 = 2.
B. If 𝐡 = 𝑓 βˆ™ 𝑔, then 𝐡′(2) =
π‘₯
𝑓
𝑓′
𝑔
𝑔′
0
2
1
5
−4
1
3
2
3
−3
2
5
3
1
−2
3
10
4
0
−1
First we must differentiate 𝐡 to
find the general function 𝐡′ .
𝐡′ = 𝑓 ′ 𝑔 + 𝑓𝑔′
So, 𝐡′ 2 = 𝑓 ′ 2 𝑔 2 + 𝑓 2 𝑔′ 2
= 3 1 + 5 −2 = −7.
C. If 𝐷 =
1
,
𝑔
then 𝐷′(1) =
π‘₯
𝑓
𝑓′
𝑔
𝑔′
0
2
1
5
−4
1
3
2
3
−3
2
5
3
1
−2
3
10
4
0
−1
So,
𝐷′
1 =−
𝑔′ 1
𝑔 1 2
=
First we must differentiate 𝐷 to
find the general function 𝐷′ .
𝐷 = 𝑔 −1
𝐷′ = − 𝑔 −2 𝑔′
𝑔′
=− 2
𝑔
−3
− 2
3
3
9
= =
1
.
3
D. If 𝐻(π‘₯) =
𝑓(π‘₯), then 𝐻′(3) =
π‘₯
𝑓
𝑓′
𝑔
𝑔′
0
2
1
5
−4
1
3
2
3
−3
2
5
3
1
−2
3
10
4
′
So, 𝐻 3 =
𝑓′ 3
2 𝑓(3)
First we must differentiate 𝐻 to
find the general function 𝐻′ .
1
2
𝐻(π‘₯) = 𝑓(π‘₯)
1
1
−
0
−1
𝐻′ π‘₯ = 𝑓 π‘₯ 2𝑓 ′ π‘₯
2
𝑓′(π‘₯)
=
4
2
=
=
.
2 𝑓(π‘₯)
2 10
10
E. If 𝐾(π‘₯) =
𝑓
𝑔
(π‘₯), then 𝐾′(0) =
π‘₯
𝑓
𝑓′
𝑔
𝑔′
0
2
1
5
−4
1
3
2
3
−3
2
5
3
1
−2
3
10
4
0
−1
′
So, 𝐾 0 =
𝑓 ′ 0 𝑔 0 −𝑓 0 𝑔′ (0)
𝑔(0) 2
First we must differentiate 𝐾 to
find the general function 𝐾 ′ .
′ 𝑔 − 𝑓𝑔′
𝑓
𝐾′ =
𝑔2
=
1 5 −2 −4
5 2
=
13
.
25
F. If 𝑀(π‘₯) = 𝑓 𝑔 π‘₯ , then 𝑀′(1) =
π‘₯
𝑓
𝑓′
𝑔
𝑔′
0
2
1
5
−4
1
3
2
3
−3
2
5
3
1
−2
3
10
4
0
−1
First we must differentiate 𝑀
to find the general function 𝑀′ .
𝑀′ (π‘₯) = 𝑓 ′ 𝑔 π‘₯ 𝑔′(π‘₯)
So, 𝑀′ 1 = 𝑓 ′ 𝑔 1 𝑔′ 1 = 𝑓 ′ 3 −3
= 4 −3 = −12.
G. If 𝑃(π‘₯) = 𝑓 π‘₯ 3 , then 𝑃′(1) =
π‘₯
𝑓
𝑓′
𝑔
𝑔′
0
2
1
5
−4
First we must differentiate 𝑃 to
find the general function 𝑃′ .
1
3
2
3
−3
𝑃′ (π‘₯) = 𝑓 ′ π‘₯ 3 3π‘₯ 2
2
5
3
1
−2
3
10
4
0
−1
So, 𝑃′ 1 = 𝑓 ′ 13 3 1
2
= 2 3 = 6.
= 𝑓′ 1 3
Download