How to differentiate a function with a variable exponent using logarithmic differentiation
Logarithmic differentiation transforms functions of the form into manageable products by applying the natural logarithm to both sides. This method applies whenever the base and the exponent are both non-constant functions of the independent variable, where standard power and exponential rules fail.
The setup
Identify a function of the form where . Begin by applying the natural logarithm to both sides of the equation, yielding . Use the logarithm power rule to rewrite the right side as a product: .
The steps
- Apply to both sides of . 2. Rewrite the right side as . 3. Differentiate both sides implicitly with respect to . The left side becomes . The right side requires the product rule and chain rule. 4. Multiply both sides of the equation by to isolate . 5. Substitute the original expression for back into the right side to express the final derivative strictly in terms of .
Checking the result
Verify that the final derivative contains the original function as a leading factor. You can cross-check the result by rewriting the original function using base , such that , and differentiating using the standard exponential chain rule. Both methods must yield identical expressions.
Common errors
A frequent error is forgetting to multiply the differentiated right side by in the final step. Another common mistake is applying the standard power rule to , incorrectly yielding , which is mathematically invalid for variable exponents. Finally, students often misapply the product rule when differentiating .
Worked example
Find the derivative of with respect to .
Let . Apply the natural logarithm to both sides: . Use log properties to bring down the exponent: . Differentiate both sides with respect to . The left side is . The right side uses the product rule: . Equate the two sides: . Multiply by : . Substitute back into the equation: .
FAQ
Run your own problem
References: Stewart Calculus, 8th Edition, Section 3.6 · OpenStax Calculus Volume 1, Chapter 3.9
See also