Exercise 5.2 · Q2: 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?
The cosine here is applied to , not to . So the function is a composite: first compute , then take the cosine of that number. The chain rule differentiates it as (derivative of cosine, evaluated at ) times (derivative of ).
- Given
- , defined for every real .
- To find
- .
- Plan
- Inner function , outer function . Differentiate both, multiply, and substitute back.
Basics you need
means: take , compute , then take the cosine of the result. The function applied first is the inner one. Basics: composite functions
when depends on , depends on , and both derivatives exist (Theorem 4, Section 5.3.1). Lesson: the chain rule
and (Table 5.3). Note the minus sign for cosine: cosine decreases on , where sine is positive. Basics: derivative rules
Solution
Name the inner and the outer function
Let and put
Table 5.3 gives the derivative of only when cosine is applied directly to the variable. Here it is applied to . Naming splits the problem into two derivatives we know."What is computed first?" On a calculator you press sin first and cos last, so sine is inner and cosine is outer. Reversing the order would describe a different function, . Basics: composite functionsDifferentiate each link
Each link is now a standard function of its own variable, so Table 5.3 applies directly. Both derivatives exist for every real number, so the chain rule can be used at every .Multiply (chain rule) and return to
In the last line was replaced by , and the factors were reordered so the expression reads clearly.
The outer derivative must be evaluated at the inner function's value, . That is why the answer contains , a sine of a sine, and not alone. Writing in front avoids the ambiguous "", which some readers take as .Chain rule, Theorem 4, Section 5.3.1. Lesson: the chain rule
For every real ,
(Textbook answer: .)
Take (radians). Then , , and . The formula gives
A difference quotient of with on each side of also gives .
A second check: at the formula gives . This makes sense, because is near there and is flat (at its maximum) near .
- Losing the minus sign. The derivative of cosine is , so the answer is negative wherever and are both positive (for example near ).
- Evaluating the outer derivative at . is wrong: the outer derivative must be evaluated at , giving .
- Forgetting the inner factor. alone is missing , the derivative of the inner function.
- For : the derivative is .
- The outer derivative keeps the inner function inside it unchanged; only one extra factor, the inner derivative, appears.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| , | Step 2 | Table 5.3, Section 5.3 |
| Chain rule | Step 3 | 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 →