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), like y = xx or y = (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

    1. Take the natural logarithm of both sides: Start with the function y = f(x) and apply ln to both sides to get ln(y) = ln(f(x)). Ensure f(x) > 0 for ln(f(x)) to be defined. If f(x) can be negative, consider taking the absolute value: ln|y| = ln|f(x)|.
    2. Simplify using logarithm properties: Use properties such as ln(ab) = ln a + ln b, ln(a/b) = ln a - ln b, and ln(an) = n ln a to expand the right side of the equation. This is the crucial step that transforms products/quotients into sums/differences and brings down exponents.
    3. 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 (differentiating ln(y) with respect to x). The right side will be differentiated using standard rules.
    4. Solve for dy/dx: Multiply both sides by y to isolate dy/dx.
    5. Substitute back y: Replace y with its original expression in terms of x to get the final derivative in terms of x.

    Example: Differentiating y = xx

    Let's apply the steps to find dy/dx for y = xx (for x > 0).

    1. Take natural log: ln(y) = ln(xx)
    2. Simplify: ln(y) = x * ln(x) (using ln(an) = n ln a)
    3. Differentiate implicitly: (1/y) * (dy/dx) = (1 * ln x) + (x * 1/x) (using product rule on the right side)
    4. Simplify right side: (1/y) * (dy/dx) = ln x + 1
    5. Solve for dy/dx: dy/dx = y * (ln x + 1)
    6. Substitute back y: dy/dx = xx * (ln x + 1)

    Practice questions

    1

    Which of the following functions would most benefit from logarithmic differentiation?

    2

    What is the first step when performing logarithmic differentiation on y = f(x)?

    3

    After taking the natural logarithm and simplifying, what technique is used to differentiate ln(y) with respect to x?

    4

    Find dy/dx for y = (sin x)^x using logarithmic differentiation.

    Practice more free →

    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