21. Chain rule Chain rule Statement 21.1. Statement Examples The power rule says that d n [x ] = nxn−1 . dx This rule is valid for any power n, but not for any base other than the simple input variable x. For instance, d (2x + 5)3 6= 3(2x + 5)2 . dx The function h(x) = (2x + 5)3 is built up of the two simpler functions g(x) = 2x + 5 and f (x) = x3 : h(x) = (2x + 5)3 = (g(x))3 = f (g(x)). Technically speaking, h is the composition of f and g. The next rule expresses the derivative of such a function in terms of the derivatives of its components. Chain rule. For functions f and g d [f (g(x))] = f 0 (g(x)) · g 0 (x). dx Table of Contents JJ II J I Page 1 of 8 Back Print Version In the composition f (g(x)), we call f the outside function and g the inside function. With this terminology, the rule says that the derivative of the composition of two functions is the derivative of the outside function evaluated at the inside function times the derivative of the inside function. Home Page 21.2. Examples 21.2.1 Chain rule Example Statement d (2x + 5)3 . dx Find the derivative Examples Solution We begin by viewing (2x + 5)3 as a composition of functions and identifying the outside function f and the inside function g. The outside function is the last thing you do when computing the expression for a given input x. Here, the outside function is the cubing function: (2x + 5)3 = f (g(x)), where f (x) = x3 and g(x) = 2x + 5. Next, we do the computations required for the chain rule formula: f (x) = x3 0 f (x) = 3x Table of Contents g(x) = 2x + 5 g 0 (x) = 2 2 f 0 (g(x)) = 3(2x + 5)2 JJ II J I Finally, we use the formula: d dx d dx Page 2 of 8 [f (g(x))] ↓ (2x + 5)3 = f 0 (g(x)) · ↓ = 3(2x + 5) g 0 (x) ↓ 2 · Back 2 Print Version Home Page 21.2.2 Example d Find the derivative sin(x5 ) . dx Solution Here, the outside function is the sine function: sin(x5 ) = f (g(x)), Chain rule f (x) = sin x and g(x) = x5 . where Statement Examples So f (x) = sin x g(x) = x5 f 0 (x) = cos x g 0 (x) = 5x4 f 0 (g(x)) = cos(x5 ) giving 21.2.3 Example d dx [f (g(x))] d dx sin(x5 ) = ↓ f 0 (g(x)) · ↓ Find the derivative = cos(x5 ) g 0 (x) · 5x4 d 5 sin x . dx where f (x) = x5 JJ II J I Page 3 of 8 Solution Recalling that sin5 x means (sin x)5 , we see that the outside function is the one that raises an input to the fifth power: sin5 x = f (g(x)), Table of Contents ↓ and g(x) = sin x. In order to reduce the number of steps, we go immediately to the chain rule formula and do the intermediate computations mentally as required: Back Print Version Home Page d dx d dx 21.2.4 Solution Example [f (g(x))] ↓ 5 sin x = f 0 (g(x)) · ↓ = Find the derivative 4 5(sin x) · g 0 (x) Chain rule ↓ Statement cos x Examples d h x2 −4x+3 i 5 . dx Here, the outside function is the exponential function with base 5: 5x 2 −4x+3 = f (g(x)), where f (x) = 5x and g(x) = x2 − 4x + 3. Trimming the number of steps a bit more, we omit the formula for the chain rule and just think “Derivative of outside function, evaluated at inside function, times derivative of inside function”: 2 d h x2 −4x+3 i 5 = 5x −4x+3 ln 5 · (2x − 4). dx Table of Contents JJ II J I Page 4 of 8 21.2.5 Solution Example d √ x Find the derivative 5e + 4x3 . dx Back The outside function is the square root function: Print Version i d hp x 5e + 4x3 = 21 (5ex + 4x3 )−1/2 (5ex + 12x2 ). dx Home Page 21.2.6 Example Find the derivative 4 i d h cos ex . dx Chain rule Statement Solution The outside function is the cosine function: 4 i 4 d h 4i d h cos ex ex = − sin ex · dx dx = − sin ex 4 Examples 4 · ex (4x3 ). The second step required another use of the chain rule (with outside function the exponential function). 21.2.7 Example ex Find the derivative of f (x) = ee . Table of Contents Solution The chain rule is used twice, each time with outside function the exponential function: d h ee x i e f 0 (x) = dx ex d h ex i = ee · e dx = ee ex JJ II J I Page 5 of 8 x · ee · ex . Back 21.2.8 Example Find the derivative of f (x) = sin √ x3 + 2 5x − 74x Print Version . Home Page Solution We have Chain rule d x3 + 2 sin √ dx 5x − 74x x3 + 2 x3 + 2 d √ = cos √ · dx 5x − 74x 5x − 74x √ d √ d 3 5x − 74x x + 2 − (x3 + 2) 5x − 74x x3 + 2 dx dx √ = cos √ · 5x − 74x ( 5x − 74x )2 x3 + 2 = cos √ 5x − 74x √ 5x − 74x (3x2 ) − (x3 + 2) 12 (5x − 74x )−1/2 (5 − 74x (ln 7)(4)) . · 5x − 74x f 0 (x) = Statement Examples Table of Contents JJ II J I Page 6 of 8 Back Print Version Home Page 21 – Exercises Chain rule Statement Examples 21 – 1 21 – 2 Use the chain rule to find the following derivatives. Present your solution just like the solution in Example 21.2.1 (i.e., write the given function as a composition of two functions f and g, compute the quantities required on the right-hand side of the chain rule formula, and finally show the chain rule being applied to get the answer). (a) d 4 (2x − 5x)7 . dx (b) d [cos(8t − 3)]. dt Table of Contents Find the derivatives of the following functions. (You may omit details and proceed as in Example 21.2.5.) √ (a) f (x) = 3 8 − x3 . JJ II J I Page 7 of 8 (b) f (t) = esin 2t . Back 21 – 3 Find the derivative of f (x) = 2x 3 +4x cos(3x). Print Version 21 – 4 Find the derivative of f (t) = cos e5t . t − t8 Home Page Chain rule Statement Examples Table of Contents JJ II J I Page 8 of 8 Back Print Version Home Page
© Copyright 2025 Paperzz