Example 1. - WordPress.com

advertisement
MIT OpenCourseWare
http://ocw.mit.edu
18.01 Single Variable Calculus
Fall 2006
For information about citingthese materials or our Terms of Use, visit: http://ocw.mit.edu/terms.
Lecture 4
Sept. 14, 2006
18.01 Fall 2006
Lecture 4
ChainRule, and Higher Derivatives
Chain Rule
We’ve got general procedures for differentiating expressions with addition, subtraction, and multiplication. What about composition?
Example 1. ๐‘ฆ = ๐‘“(๐‘ฅ) = ๐‘ ๐‘–๐‘›๐‘ฅ, ๐‘ฅ = ๐‘”(๐‘ก) = ๐‘ก 2 .
So, ๐‘ฆ = ๐‘“(๐‘”(๐‘ก)) = sinโก(๐‘ก 2 ). To find
๐‘‘๐‘ฆ
,
๐‘‘๐‘ก
write
๐‘ก0 = ๐‘ก0
๐‘ฅ0 = ๐‘”(๐‘ก0 )
๐‘ฅ0 = ๐‘“(๐‘ฅ0 )
๐‘ก = ๐‘ก0 + โˆ†๐‘ก
๐‘ฅ = ๐‘ฅ0 + โˆ†๐‘ฅ
๐‘ฆ = ๐‘ฆ0 + โˆ†๐‘ฆ
Δ๐‘ฆ Δ๐‘ฆ Δ๐‘ฅ
=
โˆ™
Δ๐‘ก Δ๐‘ฅ Δ๐‘ก
As โˆ†๐‘ก → 0, โˆ†๐‘ฅ → 0 too, because of continuity. So we get:
๐‘‘๐‘ฆ ๐‘‘๐‘ฆ ๐‘‘๐‘ฅ
=
โก ← ๐“๐ก๐žโก๐‚๐ก๐š๐ข๐งโก๐‘๐ฎ๐ฅ๐ž!
๐‘‘๐‘ก ๐‘‘๐‘ฅ ๐‘‘๐‘ก
๐‘‘๐‘ฅ
๐‘‘๐‘ฆ
In the example, ๐‘‘๐‘ก = 2๐‘กโกandโก ๐‘‘๐‘ฅ = cos ๐‘ฅ.
So,
๐‘‘
(sin(๐‘ก 2 ))
๐‘‘๐‘ก
๐‘‘๐‘ฆ
๐‘‘๐‘ฅ
๐‘‘๐‘ฅ
๐‘‘๐‘ก
= ( )( )
= (cos ๐‘ฅ)(2๐‘ก)
= (2๐‘ก)(cos(๐‘ก 2 ))
Another notation for the chain rule
๐‘‘
๐‘“(๐‘”(๐‘ก))
๐‘‘๐‘ก
Example 1. (continued)
= ๐‘“ ′ (๐‘”(๐‘ก))๐‘”′(๐‘ก)
๐‘‘
( or ๐‘‘๐‘ฅ ๐‘“(๐‘”(๐‘ฅ)) = ๐‘“ ′ (๐‘”(๐‘ฅ))๐‘”′(๐‘ฅ) )
Composition of functions . ๐‘ฆ = ๐‘ ๐‘–๐‘›๐‘ฅโกandโก๐‘”(๐‘ฅ) = ๐‘ฅ 2
(๐‘“โกโกโƒ˜๐‘”)(๐‘ฅ) = ๐‘“(๐‘”(๐‘ฅ)) = sinโก(๐‘ฅ 2 )
(๐‘”โกโกโƒ˜๐‘“ )(๐‘ฅ) = ๐‘”(๐‘“(๐‘ฅ)) = โก๐‘ ๐‘–๐‘›2 (๐‘ฅ)
Note:
๐‘“โกโกโƒ˜๐‘”โก ≠ ๐‘”โกโกโƒ˜๐‘“.โกโกโกโกโกโกโกNot Commutative!
1
Lecture 4
Sept. 14, 2006
18.01 Fall 2006
Figure 1: Composition of functions: (f โƒ˜g)(x)=f(g(x))
Example 2.
๐’…
๐Ÿ
๐œ๐จ๐ฌ (๐’™)
๐’…๐’™
=?
1
Let ๐‘ข = ๐‘ฅ
๐‘‘๐‘ฆ
๐‘‘๐‘ฆ ๐‘‘๐‘ข
โกโก = โกโก
๐‘‘๐‘ฅ
๐‘‘๐‘ข ๐‘‘๐‘ฅ
Example 3.
๐‘‘
โก(๐‘ฅ −๐‘› )
๐‘‘๐‘ฅ
๐‘‘๐‘ฆ
โก=
๐‘‘๐‘ข
− sin โก(๐‘ข) ;
๐‘‘๐‘ฆ
๐‘‘๐‘ฅ
sinโก(๐‘ข)
๐‘ฅ2
=
๐‘‘๐‘ฆ
๐‘‘๐‘ฅ
−1
= (− sin ๐‘ข)โก( ๐‘ฅ 2 ) =
=?
1 ๐‘›
1
There are two ways to proceed. ๐‘ฅ −๐‘› = (๐‘ฅ) , orโก๐‘ฅ −๐‘› = ๐‘ฅ ๐‘›
1.
2.
๐‘‘
โก(๐‘ฅ −๐‘› )
๐‘‘๐‘ฅ
๐‘‘
โก(๐‘ฅ −๐‘› )
๐‘‘๐‘ฅ
๐‘‘
1 ๐‘›
1 ๐‘›−1 −1
( ๐‘ฅ 2 ) = −๐‘›๐‘ฅ −(๐‘›−1) ๐‘ฅ −2 = −๐‘›๐‘ฅ −๐‘›−1
−1
๐‘›๐‘ฅ ๐‘›−1 โˆ™ (๐‘ฅ 2๐‘› ) = −๐‘›๐‘ฅ −๐‘›−1 โก(Thinkโกofโก๐‘ฅ ๐‘› โกasโก๐‘ข)
= ๐‘‘๐‘ฅ (๐‘ฅ) = ๐‘› (๐‘ฅ)
๐‘‘
1
= ๐‘‘๐‘ฅ (๐‘ฅ ๐‘› ) =
2
=−
1
๐‘ฅ
๐‘ฅ2
1
๐‘ฅ2
sin( )
Lecture 4
Sept. 14, 2006
18.01 Fall 2006
Higher Derivatives
Higher derivatives are derivatives of derivatives. For instance, if ๐‘” = ๐‘“′, then โ„Ž = ๐‘”′ is the second
derivative of f. We write โ„Ž = (๐‘“ ′ )′ = ๐‘“ ′′ .
Notations
๐‘“′(๐‘ฅ)
๐ท๐‘“
๐‘‘๐‘“
๐‘‘๐‘ฅ
๐‘“′′(๐‘ฅ)
๐ท2๐‘“
๐‘‘2 ๐‘“
๐‘‘๐‘ฅ 2
๐‘“′′′(๐‘ฅ)
๐ท3๐‘“
๐‘“ (๐‘›) (๐‘ฅ)
๐ท๐‘› ๐‘“
๐‘‘3 ๐‘“
๐‘‘๐‘ฅ 3
๐‘‘๐‘› ๐‘“
๐‘‘๐‘ฅ ๐‘›
Higher derivatives are pretty straightforward โ‡ just keep taking the derivative!
Example.
๐ท ๐‘› ๐‘ฅ ๐‘› =?
Start small and look for a pattern.
๐ท๐‘ฅโกโกโกโกโก = 1
๐ท 2 ๐‘ฅ 2 = ๐ท(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)
๐ท ๐‘› ๐‘ฅ ๐‘› = ๐‘›! โก ← โกweโกguess, basedโกonโกtheโกpatternโกwe’reโกseeingโกhere.
The notation n! is called “n factorial” and defined by ๐‘›! = ๐‘›(๐‘› − 1) โ‹ฏ 2 โˆ™ 1
Proof by Induction: We’ve already checked the base case (n = 1).
Induction step: Suppose we know ๐ท ๐‘› ๐‘ฅ ๐‘› = ๐‘›! (๐‘›๐‘กโ„Ž โกcase).โกShow it holds for the (๐‘› + 1)๐‘ ๐‘ก case.
๐ท ๐‘›+1 ๐‘ฅ ๐‘›+1 = ๐ท ๐‘› (๐ท๐‘ฅ ๐‘›+1 ) = ๐ท ๐‘› ((๐‘› + 1)๐‘ฅ ๐‘› ) = (๐‘› + 1)๐ท ๐‘› ๐‘ฅ ๐‘› = (๐‘› + 1)(๐‘›!)
๐ท ๐‘›+1 ๐‘ฅ ๐‘›+1 = (๐‘› + 1)!
Proved!
3
Download