1 / 54

The Chain Rule

The Chain Rule. Chapter 3.4. The Chain Rule. The Chain Rule might perhaps be the most important of the differentiation rules It tells us how to differentiation a function within a function That is, it tells us how to differentiate a composition of functions

cheng
Download Presentation

The Chain Rule

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Chain Rule Chapter 3.4

  2. The Chain Rule • The Chain Rule might perhaps be the most important of the differentiation rules • It tells us how to differentiation a function within a function • That is, it tells us how to differentiate a composition of functions • The next slide shows examples of functions that can be differentiated without the Chain Rule and those for which the Chain Rule can apply • Note that for those that use the Chain Rule, each can be thought of as a composition of functions

  3. The Chain Rule

  4. The Chain Rule

  5. The Chain Rule

  6. The Chain Rule

  7. The Chain Rule

  8. Theorem 3.11: The Chain Rule THEOREM: If is a differentiable function of u and is a differentiable function of x, then is a differentiable function of x and Or equivalently, PROOF We will define and use the alternative form of the derivative to show that, for

  9. Theorem 3.11: The Chain Rule THEOREM: PROOF First, note that since by assumption, g is differentiable, then it is also continuous. So we know that and . We will also assume (the reason will be explained at the end) that there are no other values of x such that . Now by definition Here, we multiplied and divided by . It is this step that requires us to assume that for any values of x different from c.

  10. Theorem 3.11: The Chain Rule THEOREM: PROOF Continuing

  11. Theorem 3.11: The Chain Rule THEOREM: Although this proof seems reasonable, the problem is that we multiplied and divided by . This itself isn’t a problem if we are letting . But if there happen to be other values of x nearby such that (as we might find in a function that is not one-to-one), then we will have multiplied by the indefinite form . To avoid this, we could define two piecewise functions so that approach to c is continuous. Appendix A shows how this would work.

  12. The Chain Rule • When applying the Chain Rule, it is important to identify the “inner” and the “outer” functions • If , then g is the “inner” function and f is the “outer” function • We may designate a function for that • The Chain Rule says that is the derivative of the “outer” function (as though were just a variable, say u) times the derivative of the “inner” function • That is,

  13. Example 2: Decomposition of a Composite Function

  14. Example 2: Decomposition of a Composite Function

  15. Example 2: Decomposition of a Composite Function

  16. Example 2: Decomposition of a Composite Function

  17. Example 2: Decomposition of a Composite Function

  18. The Chain Rule Using Notation • If we take and we take , then • In the last version, y is a function of u, so taking the derivative gives • However, u is a function of x, so its derivative is • We combine these to come up with the Chain Rule as follows

  19. The Chain Rule Using Notation • Note that this looks like cross-canceling of du, but it really isn’t • The reason is that derivative is not a ratio, it is a limit • However, under the right circumstances it behaves as though it were a ratio • So, it’s ok to think about cross-canceling here, but do not assume without justification that these will behave just like ratios in any circumstance • For example, we should not jump to the conclusion that we can add

  20. Example 3: Using the Chain Rule Find for . Our inner function here is while the outer function is . Find and and multiply them to get the answer: Don’t forget to back-substitute for u!

  21. Example 3: Using the Chain Rule Find for . For this example we also could have applied the exponent and then taken the derivative (remember that this isn’t always possible and even when it is, it usually involves more work). So The result is the same.

  22. The General Power Rule • In an earlier section of this chapter you saw that the Power Rule is • Using the Chain Rule, we can derive a more general Power Rule that applies whenever a function is raised to a power

  23. Theorem 3.12: The General Power Rule THEOREM: If , where u is a differentiable function of x and n is a rational number, then Or equivalently The proof is a straightforward application of the Chain Rule

  24. Example 4: Applying the General Power Rule Find the derivative of . Take . Then we have and the derivative is

  25. Example 5: Differentiating Functions Involving Radicals Find all points on the graph of for which . It will be easier here to rewrite the function with a rational exponent: . Now take and . We have and . Applying the Chain Rule Note that if , then the numerator must be zero implying that . Hence, the point at which the slope of the tangent line is zero is (i.e., the value of ). Confirm this result using your graphing calculator.

  26. Example 6: Differentiating Quotients With Constant Numerators Differentiate . Rewrite the function as . Now, and . So we have So the derivative is

  27. Simplifying Derivatives • Finding derivatives of composite functions that also involve products or quotients requires keeping track of the various rules and where they must be applied in the function • It is usually best in these cases to break the derivative into its component parts and take derivatives separately as needed • It is best not to skimp on the use of notation

  28. Example 7: Simplifying by Factoring Out the Least Powers Find the derivative of . First identify the operations in the function. Here we have a product and a radical which can be the “outer” function in a composite function. Begin by rewriting the radical with a rational exponent Apply the Product rule and use derivative notation for the composite part of the function Now let and and apply the Chain Rule Replace this in the original derivative and simplify

  29. Example 7: Simplifying by Factoring Out the Least Powers Find the derivative of .

  30. Example 8: Simplifying the Derivative of a Quotient Find the derivative of Rewrite the denominator with a rational exponent Apply the Quotient Rule Apply the Chain Rule with

  31. Example 8: Simplifying the Derivative of a Quotient Find the derivative of Replace this in the original derivative and simplify

  32. Example 9: Simplifying the Derivative of a Power Find the derivative of We can apply the General Power Rule Use the Quotient Rule Substitute this into the original derivative and simplify

  33. Trigonometric Functions & the Chain Rule • The following show the application of the Chain Rule to trigonometric functions • Remember that these apply when the argument is itself a function • That is, in the table that follows, u will be a function of x

  34. Trigonometric Functions & the Chain Rule

  35. Example 10: Applying the Chain Rule to Transcendental Functions • , with . • , with . • , with .

  36. Example 11: Parentheses & Trigonometric Functions • , with . • . Recognize that this is just a constant times , so the Chain Rule does not apply. We get • , with . • . Apply the General Power Rule:

  37. Repeated Application of the Chain Rule • A function of the form requires two applications of the chain rule • To see why, let , , and • By the Chain Rule we get • In the next example, use u and v for the inner functions

  38. Example 12: Repeated Application of the Chain Rule Find the derivative of First, rewrite the function as . Now take , , and . Differentiate each of these Remember that

  39. Derivative of the Natural Logarithm Function • Up to this point, the derivatives of algebraic functions (like polynomial functions or radical functions) have been algebraic functions • Likewise, the derivatives of transcendental functions (like trigonometric functions and exponential functions) have been transcendental functions • The natural logarithm function is unusual in that it is a transcendental function, but its derivative is an algebraic function

  40. Theorem 3.13: Derivative of the Natural Logarithm Function THEOREM: Let u be a differentiable function of x. Then PROOF Rewrite the function as . Now differentiate both sides of the equation with respect to x

  41. Theorem 3.13: Derivative of the Natural Logarithm Function THEOREM: Note here that we have applied the Chain Rule to obtain the result on the left because y is a function of x. Another way to think of this is to set and we get Solve for

  42. Example 13: Differentiation of the Logarithmic Functions • , with . • , with . • . Apply the Product Rule: • , with .

  43. Logarithmic Properties as Aids to Differentiation • Logarithms were first developed by amateur mathematician John Napier during the 16th century as an aid to calculation, specifically multiplying, dividing, and raising to powers • Prior to the widespread availability of calculators, doing such calculations was tedious (as they still are) • Napier created tables of logarithmic values so that products and quotients could be turned into sums and differences using the properties of logarithms • Though such tables are now obsolete, we can use the logarithm properties to simplify differentiation, as the following examples show

  44. Example 14: Logarithmic Properties as Aids to Differentiation Differentiate We could apply the Chain Rule twice here, but we can more easily make use of the logarithm properties by rewriting Now,

  45. Example 15: Logarithmic Properties as Aids to Differentiation Differentiate Again we could apply the Chain Rule here, but using the logarithm properties greatly simplifies the task Differentiating

  46. Derivative of the Natural Logarithm Involving Absolute Value • Since logarithms are undefined for , it is common to see the form • As the next theorem shows, we can differentiate such forms as though the absolute value signs were missing

  47. Theorem 3.14: Derivative Involving Absolute Value THEOREM: If u is a differentiable function of x such that , then PROOF If , then and the result is the same as Theorem 3.13. If , then and we have

  48. Exponential Function to Base a DEFINITION: If a is a positive real number () and x is any real number, then the exponential function to base ais denoted by as is defined by If , then is a constant function.

  49. Logarithmic Function to Base a DEFINITION: If a is a positive real number () and x is any positive real number, then the logarithmic function to the base ais denoted by and is defined as Note that this can be thought of as the change of base formula applied to base a with input x.

  50. Theorem 3.15: Derivatives for Bases Other Than e THEOREM: Let a be a positive real number other than 1 and let u be a differentiable function of x.

More Related