Example 43: Differentiate with respect to
Differentiate w.r.t. .
Let and .
Differentiating w.r.t. (chain rule),
.
Want the reason behind every step, the basics and the checks?
"Differentiate with respect to " asks for : how fast changes compared with . Both depend on , so plays the role of a parameter, exactly as does in parametric differentiation. Hence
- Given
- and , both defined for every real .
- To find
- and where it is valid.
- Plan
- Find and by the chain rule; find where ; divide and simplify; check by writing directly in terms of .
Basics you need
If and both depend on , then where (Section 5.6). Here , and play the roles of , and . Lesson: parametric differentiation
Theorem 4, Section 5.3.1. We need it for and for . Lesson: the chain rule
(Theorem 5, Section 5.4), and for every real . Basics: exponentials and logarithms
Solution
Translate the question
Let and . We want . Since both are functions of , the chain rule gives , so
We cannot differentiate "with respect to " directly with our rules, which are all with respect to a single variable. Going through turns the problem into two ordinary derivatives and one division. This is the same reasoning the textbook uses for parametric forms in Section 5.6.Section 5.6, with as the parameter. Lesson: parametric differentiationFind
: outer function , inner function .
means , the square of the sine, so the outer function is squaring. The power rule gives and the chain rule multiplies by .Power rule and chain rule; (Table 5.3). Basics: derivative rulesFind
: outer function , inner function .
The exponential is its own derivative, evaluated at the same input ; the chain rule then multiplies by . This is Example 26 (iv) of the textbook.Theorem 5 (1), Section 5.4; chain rule. Example 26Where is ?
for every , so is zero exactly when , that is , . We work with .
We are about to divide by and then cancel ; both need . The textbook cancels without stating this, so we state it.Divide and simplify
For :
The common factor cancels because it is not zero (Step 4). The minus sign comes from . Dividing by is the same as multiplying by .(laws of exponents). Basics: exponentials and logarithmsCheck by writing in terms of
Since , we have , and . So
Differentiating with respect to by the chain rule:
the same answer. This route also shows why is excluded: there , so or , an end of the interval of possible -values, where only a one-sided rate exists.
Here the parameter can be removed completely, and the direct derivative agrees with Step 5. Agreement of two independent routes is the best check that no sign was lost.
For (),
(This agrees with the textbook's worked answer.)
Take . Then and , whose ratio is about . The final formula gives . The two agree, and so does at .
- Multiplying instead of dividing. is divided by , not their product.
- Dividing the wrong way round. "Differentiate with respect to " puts 's derivative in the denominator.
- Losing the minus sign of .
- Cancelling silently. It is only allowed for .
- To differentiate one function of with respect to another, divide their -derivatives: , where .
- This is parametric differentiation with as the parameter.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| where | Steps 1, 5 | Section 5.6 (Lesson: parametric differentiation) |
| Chain rule; power rule | Steps 2, 3, 6 | Theorem 4, Section 5.3.1; Table 5.3 |
| , | Steps 2, 3 | Table 5.3, Section 5.3 |
| , ; | Steps 3, 4, 6 | Theorem 5, Section 5.4; Example 26 (iv) |
| Step 6 | Trigonometric identity (Class XI) |
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 →