Exercise 5.2 · Q1: Differentiate
Differentiate the function with respect to :
Let . Put , so .
By the chain rule,
.
Want the reason behind every step, the basics and the checks?
This is not "sine of ": it is sine of something that itself changes with , namely . Such a function is a composite, and the chain rule says its rate of change is the product of two rates: how fast the sine changes with its input, times how fast that input changes with .
- Given
- , defined for every real .
- To find
- .
- Plan
- Name the inner function and the outer function . Differentiate each one separately, multiply the two derivatives (chain rule), then write the answer in terms of only.
Basics you need
A composite applies one function to the output of another. In we first compute (the inner function) and then take its sine (the outer function). Basics: composite functions
If depends on and depends on , then , provided both derivatives on the right exist (Theorem 4, Section 5.3.1). Lesson: the chain rule
, , the derivative of a constant is , and the derivative of a sum is the sum of the derivatives (Table 5.3 and rule (1) in Section 5.3). Basics: derivative rules
Solution
Name the inner and the outer function
Let and put
Substituting the first into the second gives back , so this split describes our function exactly.
The function as a chain of two machines. A small change in is multiplied by on its way to , and that change in is multiplied by on its way to . Table 5.3 tells us how to differentiate , but only when the input is the variable we are differentiating with respect to. Here the input of sine is , not . Giving the input its own name turns one unfamiliar derivative into two familiar ones.To find the inner function, ask: "what would I compute first on a calculator?" For you would compute first and press sin last, so is inner and sine is outer. Basics: composite functionsDifferentiate the outer function with respect to
Inside this link of the chain, is the variable and sine is applied directly to it, so the standard result applies with no adjustment. This derivative exists for every real .is in Table 5.3 (Section 5.3), with the letter in place of . The name of the variable does not matter. Basics: derivative rulesDifferentiate the inner function with respect to
The sum rule lets us differentiate and separately. The power rule with gives . The constant 5 does not change when changes, so its rate of change is . This derivative also exists for every real .Power rule: . Sum rule: . Constant: . All three are in Section 5.3 (rule (1) and Table 5.3). Basics: derivative rulesMultiply the two rates (chain rule) and return to
Both derivatives exist for every real number, so the chain rule applies everywhere:
In the last line we replaced by , because the answer should be expressed in terms of only.
The chain rule multiplies the rates along the chain: a small change produces a change in of about , and that produces a change in of about . Dividing by gives the product. We write in front so that nobody misreads the answer as .Theorem 4 (Chain Rule), Section 5.3.1: if , , and both and exist, then . The textbook's Example 21 () is the same pattern. Lesson: the chain rule · Example 21
For every real ,
(Textbook answer: .)
Take . The formula gives , and (radians), so the slope is about . Directly from the function, with :
The two agree. (The inputs are and .)
- Forgetting the inner derivative. Writing alone treats the input as if it were . The factor is the whole point of the chain rule.
- Changing the inside. The cosine keeps the same input . Answers such as or differentiate the inside and then put the result back in the wrong place.
- Keeping the constant. is , not : a constant has derivative .
- For : the derivative is times the derivative of the something.
- Always name the inner function before differentiating. It makes the chain rule mechanical and the mistakes visible.
- The same pattern gives for any differentiable inner function .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Step 2 | Table 5.3, Section 5.3 | |
| ; ; constant has derivative 0 | Step 3 | Rule (1) and Table 5.3, Section 5.3 |
| Chain rule | Step 4 | Theorem 4, Section 5.3.1 (Lesson: the chain rule) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →