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 diο¬erentiating 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 ο¬nd, ππ‘ , 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 deο¬ned 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