Lecture 4 Chain Rule, and Higher Derivatives

advertisement
MIT OpenCourseWare
http://ocw.mit.edu
18.01 Single Variable Calculus
Fall 2006
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.
Lecture 4
Sept. 14, 2006
18.01 Fall 2006
__________________________________________________________________________
Lecture 4
Chain Rule, and Higher Derivatives
Chain Rule
(𝑔 ° 𝑓)(π‘₯) = 𝑔(𝑓(π‘₯)) = sin2 (π‘₯)
We’ve got general procedures for differentiating
expressions with addition, subtraction, and
multiplication. What about composition?
Note: 𝑓 ° 𝑔 ≠ 𝑔 ° 𝑓. Not Commutative!
Example 1. y = f(x) = sin x, x = g(t) = t
𝑑𝑦
So, y = f(g(t)) = sin(t2). To find, 𝑑𝑑 , write:
𝑑 = 𝑑0
𝑑 = 𝑑0 + βˆ†π‘‘
π‘₯ = π‘₯0
π‘₯ = π‘₯0 + βˆ†π‘₯
𝑦 = 𝑓(π‘₯0 )
𝑦 = 𝑦0 + βˆ†π‘¦
Figure 1: Composition of functions: 𝑓 ° g(x) =
f(g(x))
Δ𝑦
Δ𝑦 Δπ‘₯
=
.
Δ𝑑
Δπ‘₯ Δ𝑑
𝑑
1
As Δt → 0, Δx → 0 too, because of continuity.
So we get:
𝑑𝑦
𝑑𝑑
=
𝑑𝑦
𝑑π‘₯
In the example,
So,
𝑑π‘₯
. 𝑑𝑑
𝑑π‘₯
𝑑𝑑
Let u = π‘₯
← The Chain Rule!
= 2𝑑, and
𝑑
(sin(𝑑 2 ))
𝑑𝑑
𝑑𝑦
𝑑π‘₯
=
1
Example 2. 𝑑π‘₯ cos (π‘₯) = ?
= cos π‘₯.
𝑑𝑦
𝑑π‘₯
𝑑π‘₯
. 𝑑𝑑
𝑑𝑦
𝑑π‘₯
=
𝑑𝑦 𝑑𝑒
𝑑𝑒 𝑑π‘₯
𝑑𝑦
𝑑𝑒
= −𝑠𝑖𝑛(𝑒);
𝑑𝑦
𝑑π‘₯
=
𝑠𝑖𝑛 (𝑒)
π‘₯2
𝑑𝑒
𝑑π‘₯
1
= − π‘₯2
−1
= (−𝑠𝑖𝑛 𝑒) ( π‘₯ 2 ) =
1
π‘₯
𝑠𝑖𝑛 ( )
π‘₯2
= (cos π‘₯)(2𝑑)
= (2𝑑)(cos(π‘₯ 2 ))
Example 3.
𝑑
. (π‘₯ −𝑛 )
𝑑π‘₯
=?
Another notation for the chain rule
There are two ways to proceed.
𝑑
𝑑𝑑
𝑓(𝑔(𝑑)) = 𝑓 ′ (𝑔(𝑑))𝑔′(𝑑)
(or
𝑑𝑦
𝑑π‘₯
1 𝑛
π‘₯ −𝑛 = (π‘₯) , or π‘₯ −𝑛 =
𝑓(𝑔(π‘₯)) = 𝑓 ′ (𝑔(π‘₯))𝑔′ (π‘₯))
1.
𝑑
𝑑 1 𝑛
1 𝑛−1 −1
(π‘₯ −𝑛 ) = ( ) = 𝑛 ( )
( π‘₯2 )
𝑑π‘₯
𝑑π‘₯ π‘₯
π‘₯
−(𝑛−1) −2
−𝑛−1
−𝑛π‘₯
Example 1. (continued)
Composition of
functions 𝑓(π‘₯) = sin π‘₯ and 𝑔(π‘₯) = π‘₯ 2
(𝑓 ° 𝑔)(π‘₯) = 𝑓(𝑔(π‘₯)) = sin π‘₯
2.
1
π‘₯
𝑑
(π‘₯ −𝑛 )
𝑑π‘₯
−(𝑛−1)
−𝑛π‘₯
2
1
π‘₯𝑛
= −𝑛π‘₯
𝑑
1
−1
= 𝑑π‘₯ (π‘₯ 𝑛 ) = 𝑛π‘₯ 𝑛−1 (π‘₯ 2𝑛 ) =
(Think of π‘₯ 𝑛 as u)
=
Lecture 4
Sept. 14, 2006
18.01 Fall 2006
__________________________________________________________________________
Start small and look for a pattern.
Higher Derivatives
𝐷π‘₯ = 1
𝐷 π‘₯ = 𝐷(2π‘₯) = 2 ( = 1 βˆ™ 2)
𝐷 3 π‘₯ 3 = 𝐷 2 (3π‘₯ 2 ) = 𝐷(6π‘₯) = 6 ( = 1 βˆ™ 2 βˆ™ 3)
𝐷 4 π‘₯ 4 = 𝐷 3 (4π‘₯ 3 ) = 𝐷 2 (12π‘₯ 2 ) = 𝐷(24π‘₯) =
24 ( = 1 βˆ™ 2 βˆ™ 3 βˆ™ 4)
derivatives are derivatives of derivatives. For
instance, if 𝑔 = 𝑓′, then β„Ž = 𝑔′ is the second
derivative of f. We wrilte β„Ž = (𝑓 ′ )′ = 𝑓′′.
2 2
Notations
𝑓 ′ (π‘₯)
𝐷𝑓
𝑑𝑓
𝑑π‘₯
The notation n! is called “n factorial” and
defined by n! = n(n − 1) · · · 2 · 1
𝑓′′(π‘₯)
𝐷2𝑓
𝑑2 𝑓
𝑑π‘₯ 2
Proof by Induction: We’ve already checked the
𝑓′′′(π‘₯)
𝐷3𝑓
𝑑3 𝑓
𝑑π‘₯ 3
base case (n = 1).
𝑓 𝑛 (π‘₯)
𝐷𝑛𝑓
𝑑𝑛 𝑓
𝑑π‘₯ 𝑛
Induction step: Suppose we know 𝐷 𝑛 π‘₯ 𝑛 = 𝑛!
case. Show it holds for the (𝑛 + 1)𝑠𝑑 case.
𝐷 𝑛+1 π‘₯ 𝑛+1 = 𝐷 𝑛 (𝐷π‘₯ 𝑛+1 ) =
𝐷 ((𝑛 + 1)π‘₯ 𝑛 ) = (𝑛 + 1)𝐷 𝑛 π‘₯ 𝑛 = (𝑛 + 1)(𝑛!)
𝑛
Higher derivatives are pretty straightforward —-
𝐷 𝑛+1 π‘₯ 𝑛+1 = (𝑛 + 1)!
just keep taking the derivative!
Proved!
Example. 𝐷 𝑛 π‘₯ 𝑛 = ?
2
Download