Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Logarithmic differentiation is a method for finding derivatives by first taking the natural logarithm of both sides of an equation. It is especially useful when a function contains products, quotients, roots, or variables in both the base and exponent. The method turns complicated multiplication and division into addition and subtraction, making the derivative easier to manage.

It matters because many functions that look difficult at first become straightforward after applying log rules.

The main idea is to write y = f(x), take ln y = ln(f(x)), simplify using logarithm properties, and then differentiate implicitly. Because d/dx[ln y] = y'/y, you multiply by y at the end to solve for y'. For example, y = x^x sqrt(x^2 + 1) / sin x becomes ln y = x ln x + (1/2)ln(x^2 + 1) - ln(sin x).

After differentiating, the final derivative is y times the simplified derivative of ln y.

Understanding Calculus: Logarithmic Differentiation

The method works because a logarithm measures relative change. When a quantity grows from one hundred to one hundred one, its ordinary change is one. Its relative change is one part in one hundred.

The derivative of the natural logarithm captures this relative change through the rate of change divided by the original quantity. That is why, after differentiating the logged form, the result gives the derivative as the original function multiplied by a collection of simpler rates. Each factor contributes its own rate of change.

A factor in a denominator contributes a negative rate. A power contributes a multiplier from its exponent.

The most important step is applying the chain rule correctly after the logarithms have simplified the expression. For a term such as the natural logarithm of a function, differentiate the inside function, then divide by that inside function. For example, the derivative of the natural logarithm of quantity x squared plus one is two x divided by x squared plus one.

Students sometimes write one divided by x squared plus one and forget the derivative of the inside. This error appears often with square roots, trigonometric expressions, and brackets raised to powers. Work slowly through each inside function before combining terms.

There is one condition that needs care. For real-number logarithms, the input must be positive. If a function might be negative, a more complete working form uses the natural logarithm of the absolute value of the function.

This lets the method work on intervals where the function is nonzero. Values where a denominator is zero, a logarithm input is zero, or a trigonometric factor is zero must be excluded. The derivative formula can be correct only on parts of the domain where the original expression exists.

Domain checks are not decoration. They tell you where the answer has meaning.

Variable exponents show why this technique is valuable. Ordinary power rules handle a constant exponent, such as x raised to five. Exponential rules handle a constant base, such as five raised to x.

An expression with x in both places needs both ideas at once. Taking a natural logarithm turns the exponent into a factor, so the product rule can handle it. This appears in models of changing growth rates, repeated processes, population formulas, and some probability calculations.

In exams, first identify whether the expression is a long product, quotient, root, or variable power. Then keep the original function visible, simplify the logarithmic form carefully, differentiate every term, and multiply by the original function only at the final step.

Key Facts

  • If y = f(x), then logarithmic differentiation starts with ln y = ln(f(x)).
  • d/dx[ln y] = y'/y when y is a function of x.
  • ln(ab) = ln a + ln b and ln(a/b) = ln a - ln b.
  • ln(a^r) = r ln a, which is useful for roots, powers, and variable exponents.
  • For y = x^x, ln y = x ln x, so y' = x^x(ln x + 1).
  • For y = x^x sqrt(x^2 + 1) / sin x, y' = y[ln x + 1 + x/(x^2 + 1) - cot x].

Vocabulary

Logarithmic differentiation
A differentiation method that takes the natural logarithm of both sides before differentiating.
Natural logarithm
The logarithm with base e, written ln x, where e is approximately 2.718.
Implicit differentiation
A method of differentiating equations where y is treated as a function of x.
Variable exponent
An exponent that contains the variable, such as x in x^x or sin x in x^(sin x).
Logarithm properties
Rules that rewrite logs of products, quotients, and powers into simpler expressions.

Common Mistakes to Avoid

  • Forgetting to multiply by y at the end, which is wrong because differentiating ln y gives y'/y, not y'.
  • Writing ln(a + b) = ln a + ln b, which is wrong because logarithm sum rules apply to products, not addition inside the logarithm.
  • Differentiating x^x as x x^(x - 1), which is wrong because the power rule only applies when the exponent is constant.
  • Ignoring domain restrictions, which is wrong because taking ln y, ln x, or ln(sin x) requires the logged quantity to be positive on the interval being used.

Practice Questions

  1. 1 Use logarithmic differentiation to find dy/dx for y = x^3 sqrt(x^2 + 4) / (x + 1), assuming x > 0.
  2. 2 Use logarithmic differentiation to find dy/dx for y = x^(sin x), assuming x > 0.
  3. 3 Explain why logarithmic differentiation is a good strategy for y = (x^2 + 1)^5 (3x - 2)^4 / sqrt(x^2 - 9), and identify which log properties would be used.