Example 41: for ,
Find if for all .
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 . Neither the power rule (fixed exponent) nor the rule for (fixed base) applies. Taking logarithms brings the exponent down as a factor, , and that product can be differentiated with ordinary rules. This is logarithmic differentiation, and it is allowed because on .
- Given
- for .
- To find
- .
- Plan
- Check that the base is positive; take natural logarithms; differentiate both sides (chain rule on the left, product and chain rules on the right); multiply by .
Basics you need
For : . The logarithm turns an exponent into a multiplier (Section 5.4). Basics: exponentials and logarithms
For with : , then differentiate both sides with respect to (Section 5.5). Lesson: logarithmic differentiation
(rule (2), Section 5.3). Basics: derivative rules
Solution
Check that the base is positive
For , . So the base is positive, is a well-defined positive number, and and both exist.
A real power with a non-integer exponent is defined only for , and the logarithm needs a positive input. The interval in the question is exactly what makes the method legal. (The textbook says the function "is defined for all positive real numbers". What matters is that the base is positive; that holds on but not for every positive : on , for example, and the logarithm step fails.)Take logarithms
The exponent moves down in front of the logarithm. The right side is now a product of two functions of , which the product rule can handle.Differentiate the left side
is a composite: is a function of and is applied to it. Chain rule: (derivative of at ) times .Differentiate the right side (product rule)
Let and . Then , and by the chain rule . So
The product rule differentiates one factor at a time. In the second term cancels (allowed, since on ). Finally is a common factor of both terms.Solve for
Equating the two sides, . Multiply by :
Logarithmic differentiation always ends this way: the left side was , so we multiply by and replace by its formula so that the answer is in terms of alone.Since both sides of are equal for every in , their derivatives are equal too. Lesson: logarithmic differentiationAn alternative route, and what the answer shows
Since , . Differentiating with the chain rule (outer , inner , whose derivative is Step 4) gives
the same answer.
The derivative is zero where () and where , that is ( and ). The graph has flat tangents exactly there:
on . The derivative vanishes at the three rose points: where (lowest value ) and at (value ). Open dots at the ends: and are not in the domain. The second route avoids writing but rests on the same fact, for . Checking where the derivative is zero against the picture is a quick test that the formula is right: the flat points of the graph are exactly the zeros of .
For ,
(This agrees with the textbook's worked answer.)
Take . Then , , , and . The formula gives
A difference quotient of with on each side of gives . They agree.
- Using the power rule. treats the exponent as a constant. It is not.
- Using the rule for . treats the base as a constant. Also wrong; the correct answer contains both pieces (it is their sum).
- Forgetting to multiply by at the end, leaving , which is , not .
- Taking logs without checking the sign. The method needs , which is why the question restricts to .
- For with both and depending on (and ): .
- That general formula is exactly "power-rule part plus exponential part": .
- Always check the base is positive before taking logarithms.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| on | Steps 1, 4 | Trigonometry (Class XI) |
| , | Step 2 | Section 5.4, properties of logarithms |
| ; | Steps 3, 4, 6 | Theorem 5, Section 5.4 |
| Chain rule; product rule | Steps 3, 4, 6 | Theorem 4, Section 5.3.1; rule (2), Section 5.3 |
| Logarithmic differentiation | Steps 2–5 | Section 5.5 (Lesson: logarithmic differentiation) |
| for | Step 6 | Example 25, Section 5.4 (Example 25) |
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 →