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 functions are central in calculus because they describe growth that slows down as the input increases. The natural logarithm, written ln x, has a simple and powerful derivative: d/dx ln x = 1/x. This rule appears in physics, chemistry, economics, biology, and any setting where ratios, scales, or exponential relationships are studied.

Understanding it also helps connect logarithms and exponentials as inverse functions.

Understanding Calculus: Derivatives of Logarithmic Functions

A useful way to understand the natural logarithm rule is to start with its inverse relationship to the exponential function. If y equals ln x, then x equals e raised to the power y. Differentiate this second statement with respect to x.

The rate of change of e raised to y is e raised to y times the rate of change of y. Since e raised to y is x, the result says x times the derivative of y equals one.

Therefore the derivative of y is one over x. This reasoning explains why the rule has its particular form instead of being a fact to memorize without context.

The restriction to positive inputs matters a great deal in ordinary real number calculus. A natural logarithm has no real value at zero or at a negative number. As x approaches zero from the positive side, the slope becomes extremely large.

The graph rises almost vertically near the vertical axis. Far from zero, the slope becomes small, so equal increases in x produce smaller vertical changes. Students should connect this behavior to the graph.

A derivative is not just a symbolic result. It describes how steep the curve is at each input.

The chain rule makes logarithms especially useful when the input is more complicated than a single variable. For example, if a quantity is ln of three x squared plus one, first find the derivative of the inside expression. That derivative is six x.

Then divide by the original inside expression. The final rate is six x divided by three x squared plus one. This pattern works because the logarithm measures relative change.

The derivative of the inside quantity is compared with the quantity itself. A fast change in a small quantity creates a larger logarithmic rate than the same change in a large quantity.

Logarithmic differentiation is helpful when an expression contains many factors, powers, or variables in exponents. Taking a natural logarithm changes multiplication into addition and powers into multiplication. This can make a difficult derivative manageable.

For instance, a function built from several multiplied factors can be logged first, differentiated as a sum, then converted back to a derivative of the original function. This method appears in physics when formulas combine powers of measured quantities, in biology when comparing proportional growth, and in economics when studying percentage changes.

When practicing, write the domain before simplifying, keep parentheses around the full log input, and do not forget to differentiate the inside expression. Those small habits prevent most errors.

Key Facts

  • Natural log rule: d/dx ln x = 1/x, for x > 0.
  • General log rule: d/dx log_a x = 1/(x ln a), where a > 0 and a != 1.
  • Chain rule for natural logs: d/dx ln u = u'/u, where u is a differentiable function of x.
  • Power inside a log: d/dx ln(x^n) = n/x for x > 0, which matches ln(x^n) = n ln x.
  • Log of a product: ln(ab) = ln a + ln b, so logarithmic differentiation can turn products into sums before differentiating.
  • The slope of y = ln x is positive but decreases as x increases because 1/x gets smaller.

Vocabulary

Natural logarithm
The logarithm with base e, written ln x, where e is approximately 2.718.
Derivative
A derivative gives the instantaneous rate of change or slope of a function at a point.
Chain rule
The chain rule is a differentiation rule used when one function is inside another function.
Logarithmic differentiation
Logarithmic differentiation is a method that takes the logarithm of both sides to make complicated products, quotients, or powers easier to differentiate.
Domain
The domain is the set of input values for which a function is defined, and ln x requires x > 0.

Common Mistakes to Avoid

  • Writing d/dx ln x = x is wrong because the derivative of ln x is the reciprocal 1/x, not the original input.
  • Forgetting the chain rule in ln(3x^2 + 1) is wrong because the inside function must also be differentiated, giving 6x/(3x^2 + 1).
  • Using d/dx log_a x = 1/x for every base is wrong because only the natural logarithm has derivative 1/x; other bases require the factor 1/ln a.
  • Ignoring the domain of logarithms is wrong because ln x and log_a x are defined only for positive inputs in real-valued calculus.

Practice Questions

  1. 1 Find d/dx ln(5x) and simplify your answer.
  2. 2 Find the derivative of f(x) = ln(2x^2 + 3x) at x = 2.
  3. 3 Explain why the tangent slope of y = ln x is steeper at x = 1 than at x = 5.