Miscellaneous · Q7: Differentiate for
Differentiate w.r.t. the function
Let , , so .
Taking log on both sides,
Differentiating both sides w.r.t. (product rule),
Want the reason behind every step, the basics and the checks?
The same expression is both the base and the exponent, so neither the power rule nor the rule for applies. Take logarithms: , a product. The condition is exactly what makes the base positive, so that its logarithm exists.
- Given
- for .
- To find
- .
- Plan
- (1) Check the base is positive. (2) Take logarithms. (3) Differentiate both sides (chain rule on the left, product and chain rules on the right). (4) Multiply by .
Basics you need
(base ) is defined for positive numbers, is increasing, and (Section 5.4). So exactly when . Basics: exponentials and logarithms
For and any real (Section 5.4).
For with : take logs, differentiate, multiply by (Section 5.5). Lesson: logarithmic differentiation
Solution
The base is positive
Let . Since is increasing and ,
So the base is a positive number, is a positive real number, and and are both defined.
A variable real power needs a positive base, and logarithmic differentiation takes the logarithm of the base. For the base would be zero or negative, which is why the question insists on .Properties (1), (3), (4) of the log function, Section 5.4. Basics: exponentials and logarithmsTake logarithms
The rule with and brings the exponent down. Now we have a product of and ., Section 5.4.Differentiate the left side
Outer function , inner function . The chain rule gives times the inner derivative .Chain rule, Theorem 4, Section 5.3.1; Theorem 5. Lesson: chain ruleDifferentiate the right side by the product rule
First factor , with derivative . Second factor : outer , inner , so its derivative is . The product rule gives
In the second term cancels: it is not zero because . This cancellation is what produces the neat "".Product rule (2), Section 5.3; , Theorem 5. Basics: derivative rulesMultiply by
Equating Steps 3 and 4 and multiplying by :
Equivalently, .
The answer must be in terms of , so we substitute back. The second form just takes out the common factor .Logarithmic differentiation, Section 5.5 (compare Example 29). Lesson: logarithmic differentiation
For ,
(Textbook answer: , , the same.)
Take , so and . With , the formula gives
Difference quotient with : and , so the quotient is about . ✓
- Using the power rule: treats the exponent as a constant and misses the term.
- Differentiating as , forgetting the inner derivative .
- Ignoring . Without it the base can be zero or negative and the logarithm in Step 2 does not exist.
- For with both varying: , valid where .
- The domain condition in the question usually tells you exactly where the base is positive.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| is increasing, , defined on positive numbers | Step 1 | Section 5.4, properties of the log function |
| Step 2 | Section 5.4 (stated there for every real , without proof) | |
| Steps 3, 4 | Theorem 5, Section 5.4 | |
| Chain rule; product rule | Steps 3, 4 | Theorem 4, Section 5.3.1; rule (2), Section 5.3 (Lesson: chain rule) |
| Logarithmic differentiation | Steps 2–5 | Section 5.5, Example 29 (Lesson: logarithmic differentiation) |
| Answer | Result | Answers, Miscellaneous Exercise on Chapter 5, Q7 |
| Numerical values | Check | Recomputed in the site's verification script |
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 →