Logarithmic differentiation
Logarithmic Differentiation: An Essential Technique
Logarithmic differentiation is a powerful technique used to find the derivative of functions that are difficult to differentiate directly using standard rules. This method is particularly useful for functions involving products, quotients, and powers, especially when the base and the exponent are both functions of the independent variable, such as y = f(x)g(x).
When to Use Logarithmic Differentiation
- Variable in both base and exponent: Functions of the form
y = f(x)g(x), likey = xxory = (sin x)x. Standard power rule(d/dx xn = nxn-1)applies only when the exponent is a constant, and the exponential rule(d/dx ax = ax ln a)applies only when the base is a constant. Logarithmic differentiation handles cases where both are variables. - Complex products and quotients: Functions with many factors multiplied or divided, such as
y = (x2+1)3 * sin(x) / sqrt(x-5). Taking the natural logarithm simplifies these expressions into sums and differences, making differentiation easier.
Steps for Logarithmic Differentiation
- Take the natural logarithm of both sides: Start with the function
y = f(x)and applylnto both sides to getln(y) = ln(f(x)). Ensuref(x) > 0forln(f(x))to be defined. Iff(x)can be negative, consider taking the absolute value:ln|y| = ln|f(x)|. - Simplify using logarithm properties: Use properties such as
ln(ab) = ln a + ln b,ln(a/b) = ln a - ln b, andln(an) = n ln ato expand the right side of the equation. This is the crucial step that transforms products/quotients into sums/differences and brings down exponents. - Differentiate implicitly with respect to
x: Differentiate both sides of the simplified equation. The left side will typically become(1/y) * (dy/dx)due to the chain rule (differentiatingln(y)with respect tox). The right side will be differentiated using standard rules. - Solve for
dy/dx: Multiply both sides byyto isolatedy/dx. - Substitute back
y: Replaceywith its original expression in terms ofxto get the final derivative in terms ofx.
Example: Differentiating y = xx
Let's apply the steps to find dy/dx for y = xx (for x > 0).
- Take natural log:
ln(y) = ln(xx) - Simplify:
ln(y) = x * ln(x)(usingln(an) = n ln a) - Differentiate implicitly:
(1/y) * (dy/dx) = (1 * ln x) + (x * 1/x)(using product rule on the right side) - Simplify right side:
(1/y) * (dy/dx) = ln x + 1 - Solve for
dy/dx:dy/dx = y * (ln x + 1) - Substitute back
y:dy/dx = xx * (ln x + 1)
Practice questions
Which of the following functions would most benefit from logarithmic differentiation?
What is the first step when performing logarithmic differentiation on y = f(x)?
After taking the natural logarithm and simplifying, what technique is used to differentiate ln(y) with respect to x?
Find dy/dx for y = (sin x)^x using logarithmic differentiation.
Related topics
Free AP4U account — unlimited practice, AI grader, and progress tracking.
Canonical: https://apforu.com/ap/calculus-bc/unit-3-differentiation-composite-implicit-and-inverse-functions/logarithmic-differentiation