Higher Derivatives

advertisement
LECTURE 4
CHAIN RULE, AND HIGHER DERIVATIVES
CHAIN RULE
1
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.
2
We’ve got general procedures for differentiating expressions with
addition, subtraction, and multiplication. What about composition?
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 + βˆ†π‘¦
3
Δ𝑦
Δ𝑦 Δπ‘₯
=
.
Δ𝑑
Δπ‘₯ Δ𝑑
As Δt → 0, Δx → 0 too, because of continuity.
So we get:
𝑑𝑦
𝑑𝑑
=
𝑑𝑦
𝑑π‘₯
𝑑π‘₯
.
𝑑𝑑
← The Chain Rule!
4
οƒ’
In the
𝑑π‘₯
𝑑𝑑
𝑑𝑦
example,
= 2𝑑, and =
𝑑π‘₯
𝑑
𝑑𝑦 𝑑π‘₯
2
So, (sin(𝑑 )) =
.
𝑑𝑑
𝑑π‘₯ 𝑑𝑑
cos π‘₯.
= (cos π‘₯)(2𝑑)
= (2𝑑) cos(π‘₯ 2 )
5
ANOTHER NOTATION FOR THE CHAIN RULE
𝑑
𝑓
𝑑𝑑
𝑔 𝑑
′
= 𝑓 𝑔 𝑑 𝑔′(𝑑)
(or
𝑑𝑦
𝑓
𝑑π‘₯
𝑔 π‘₯
= 𝑓 ′ 𝑔 π‘₯ 𝑔′ π‘₯ )
6
EXAMPLE 1. (CONTINUED)
Composition of functions 𝑓(π‘₯) = sin π‘₯ and
𝑔 π‘₯ = π‘₯2
𝑓 ° 𝑔 π‘₯ = 𝑓 𝑔 π‘₯ = sin π‘₯ 2
𝑔 ° 𝑓 π‘₯ = 𝑔 𝑓 π‘₯ = sin2 (π‘₯)
Note: 𝑓 ° 𝑔 ≠ 𝑔 ° 𝑓. Not Commutative!
7
COMPOSITION OF FUNCTIONS:
𝑓 ° G(X) = F(G(X))
8
EXAMPLE 2.
Let u =
𝑑
1
COS
𝑑π‘₯
π‘₯
=?
1
π‘₯
𝑑𝑦
𝑑𝑦 𝑑𝑒
=
𝑑π‘₯
𝑑𝑒 𝑑π‘₯
𝑑𝑦
𝑑𝑒
1
= −𝑠𝑖𝑛 𝑒 ;
= − 2
𝑑𝑒
𝑑π‘₯
π‘₯
1
𝑠𝑖𝑛
𝑑𝑦
𝑠𝑖𝑛 (𝑒)
−1
π‘₯
=
= (−𝑠𝑖𝑛 𝑒)
=
2
2
𝑑π‘₯
π‘₯
π‘₯
π‘₯2
9
EXAMPLE 3.
𝑑
.
𝑑π‘₯
π‘₯ −𝑛 = ?
There are two ways to proceed. π‘₯ −𝑛 =
π‘₯
−𝑛
=
1
π‘₯𝑛
𝑑
οƒ’
𝑑π‘₯
π‘₯ −𝑛 =
−𝑛π‘₯ − 𝑛−1 π‘₯
𝑑
οƒ’
𝑑π‘₯
−𝑛
π‘₯
−𝑛π‘₯ −
=
𝑛−1
𝑑 1 𝑛
𝑑π‘₯ π‘₯
−2
1 𝑛−1 −1
=𝑛
π‘₯
π‘₯2
−𝑛−1
1 𝑛
,
π‘₯
or
=
= −𝑛π‘₯
𝑑
1
𝑑π‘₯ π‘₯ 𝑛
𝑛−1
= 𝑛π‘₯
(Think of π‘₯ 𝑛 as u)
−1
π‘₯ 2𝑛
=
10
HIGHER DERIVATIVES
Higher derivatives are derivatives of
derivatives. For instance, if 𝑔 = 𝑓′, then β„Ž =
𝑔′ is the second derivative of f. We write β„Ž =
𝑓 ′ ′ = 𝑓′′.
11
Notations
Higher derivatives are pretty straightforward —just
keep taking the derivative!
𝑓′ π‘₯
𝐷𝑓
𝑑𝑓
𝑑π‘₯
𝑓′′(π‘₯)
𝐷2 𝑓
𝑑2 𝑓
𝑑π‘₯ 2
𝑓′′′(π‘₯)
𝐷3 𝑓
𝑑3 𝑓
𝑑π‘₯ 3
𝑓 𝑛 (π‘₯)
𝐷𝑛 𝑓
𝑑𝑛 𝑓
𝑑π‘₯ 𝑛
12
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)
13
The notation n! is called “n factorial” and defined
by n! = n(n − 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 ) = 𝐷𝑛 (𝑛 +
14
Thank You!
15
Download