Example 29: Derivative of ,
Differentiate , w.r.t. .
Let , . Taking log on both sides,
Differentiating both sides w.r.t. ,
.
Want the reason behind every step, the basics and the checks?
Here both the base and the exponent change with . The power rule needs a fixed exponent; the rule for needs a fixed base. Neither fits. Taking logs turns the power into a product, , which the product rule handles. Then multiply back by .
- Given
- for .
- To find
- .
- Plan
- (1) Check and take logs. (2) Differentiate: chain rule on the left, product rule on the right. (3) Multiply by . (4) Expand the answer and interpret it.
Basics you need
For , means (as , Example 25). It is always positive. Basics: exponentials and logarithms
(Leibnitz or product rule, Section 5.3). Basics: derivative rules
For with : ; differentiate both sides; the left side gives (Section 5.5). Basics: solving for dy/dx
Solution
Take logarithms (allowed because )
Let . For the base is positive, so and exists. By the power law for logs,
This is why the question says . For , is undefined and a power like has no real value. The book's general remark for is that and must be positive; here .Differentiate both sides with respect to
Left (chain rule, outer , inner ): . Right: a product of and , so by the product rule
Both factors and change with , so the product rule is needed: differentiate one factor at a time, keeping the other, and add. The derivatives are (Theorem 5) and (Table 5.3).Product rule (Section 5.3); (Theorem 5). Lesson: logarithmic differentiationMultiply by
Multiplying both sides by isolates , and replacing by puts the answer in alone.Rearranging; . Basics: solving for dy/dxExpand, and see the two parts
Multiply out the bracket, using :
The two terms have a clear meaning:
- is what the power rule would give if the exponent were frozen;
- is what the rule (Example 28) with the chain rule would give if the base were frozen.
When both base and exponent vary, the total rate of change is the sum of the two "one at a time" rates. This is the product rule at work behind the scenes, and it is a quick way to check any answer of this type.See it on the graph
for , equal scales. At : and the slope is . At : and the slope is . These two points are good tests because one term of the bracket vanishes at each: at , ; at , . Near the function tends to (open dot), since , but itself is not in the domain.The derivative at a point is the slope of the tangent there. Basics: slope at a point
For ,
(Both forms are the book's.)
At : , , , . The formula gives
The central difference quotient with gives . At the formula gives exactly , and the difference quotient .
- Power rule: alone. That treats the exponent as constant and misses the second term.
- Exponential rule: alone. That treats the base as constant and misses the first term.
- Product rule slips on : both terms are needed.
- Forgetting to multiply by at the end, giving only the bracket.
- For with : , so (the book's formula at the start of Section 5.5).
- Here , : and .
- Answer = (power-rule part) + (exponential part).
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Logarithmic differentiation of , | Steps 1–3 | Section 5.5 (Lesson: logarithmic differentiation) |
| Step 1 | Section 5.4 | |
| Product rule | Step 2 | Algebra of derivatives (2), Section 5.3 |
| ; | Step 2 | Theorem 5, Section 5.4; Table 5.3 |
| Chain rule for | Step 2 | Theorem 4, Section 5.3.1 |
| Step 4 | Example 28 |
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 →