Practical:Chain rule for differentiation: Difference between revisions

From Calculus
No edit summary
Line 27: Line 27:
# '''Plug into the chain rule formula''' the expressions for the functions and their derivatives.
# '''Plug into the chain rule formula''' the expressions for the functions and their derivatives.
# '''Simplify the expression thus obtained''' (this is optional in general, though it may be required in some contexts).
# '''Simplify the expression thus obtained''' (this is optional in general, though it may be required in some contexts).
For instance, consider the problem:
{{quotation|Differentiate the function <math>p(x) := \sin(x^2)</math>}}
The procedure is as follows:
# '''Identify the two functions''': The two functions are <math>f = u \mapsto \sin u</math> and <math>g = x \mapsto x^2</math> (note: per the note included with the formulation of the chain rule, we use different variable names for the generic variable for the two functions, to reduce confusion regarding which one to apply on what).
# '''Calculate the derivatives''': <math>f' = u \mapsto \cos u</math> and <math>g' = x \mapsto 2x</math>.
# '''Plug into the chain rule formula''': We get <math>p'(x) = f'(g(x))g'(x) = \cos(x^2)(2x)</math>.
# '''Simplify the expression thus obtained''': There isn't really anything to simplify, but we can rearrange the terms to the more conventional order where the algebraic part is before the trigonometric part, obtaining the final answer <math>2x \cos (x^2)</math>.

Revision as of 05:47, 5 December 2023

This article considers practical aspects of the chain rule for differentiation: how is this rule used in actual computations?

ORIGINAL FULL PAGE: Chain rule for differentiation
STUDY THE TOPIC AT MULTIPLE LEVELS:
ALSO CHECK OUT: Practical tips on the topic |Quiz (multiple choice questions to test your understanding) |Page with videos on the topic, both embedded and linked to

Statement to remember

The statement of the chain rule for differentiation that we will be using is:

where and .

NOTE: As a matter of convention, and to reduce confusion, we use a different variable ( in this case) for the generic input to compared to the variable ( in this case) that we use for the generic input to .

Procedure to apply the chain rule for differentiation

The chain rule for differentiation is useful as a technique for differentiating functions that are expressed in the form of composites of simpler functions.

Most explicit procedure

The explicit procedure is outlined below:

  1. Identify the two functions whose composite is the given function. In other words, explicitly decompose the function as a composite of two functions. We will here call the functions and , though you may choose to give them different names.
  2. Calculate the derivatives of and separately, on the side.
  3. Plug into the chain rule formula the expressions for the functions and their derivatives.
  4. Simplify the expression thus obtained (this is optional in general, though it may be required in some contexts).

For instance, consider the problem:

Differentiate the function

The procedure is as follows:

  1. Identify the two functions: The two functions are and (note: per the note included with the formulation of the chain rule, we use different variable names for the generic variable for the two functions, to reduce confusion regarding which one to apply on what).
  2. Calculate the derivatives: and .
  3. Plug into the chain rule formula: We get .
  4. Simplify the expression thus obtained: There isn't really anything to simplify, but we can rearrange the terms to the more conventional order where the algebraic part is before the trigonometric part, obtaining the final answer .