3.10 A Bag of Logarithmic Tricks
In the early 17th century, before the dawn of mechanical calculators, astronomers and navigators spent agonizing portions of their lives multiplying gargantuan numbers to predict celestial motions. The Scottish mathematician John Napier introduced a radical parlor trick in 1614: a mathematical function that could metamorphose painful multiplication into gentle addition. This conceptual leap—the logarithm—remains one of the most powerful algebraic tools in modern calculus.
Before we engage in the algebraic gymnastics of logarithmic differentiation, we must firmly ground ourselves in the two fundamental derivatives of exponential and logarithmic functions:
It is a central philosophy in mathematics to reduce the unfamiliar to the familiar. How do we differentiate or ? Rather than memorizing an endless catalog of new rules, we manipulate the expressions back to our native base, .
Let . Find .
We again use the logarithm to free the variable from the exponent:
Differentiating both sides implicitly with respect to requires the chain rule on the left-hand side:
Solving for and substituting our original function back into the expression yields:
∎
Let . Find .
We begin by invoking the fundamental definition of the logarithm to unpack the function:
By taking the natural logarithm of both sides, we project the equation into our preferred base:
Applying the exponent rule , we pull the function down from the exponent:
Now, differentiation is trivial. Because is merely a constant scalar, we apply the standard derivative for the natural logarithm:
∎
Test your intuition by generalizing the previous examples. Find the derivative of:
-
1.
, where and .
-
2.
, where .
We now confront a more stubborn class of functions. What happens when the base and the exponent are both variables? Consider . The power rule requires a constant exponent. The exponential rule requires a constant base. Here, both rules fail entirely.
When dealing with variables in both the base and the exponent, the logarithm acts as an algebraic “lowering operator.” By taking the logarithm of both sides, we convert a tricky exponentiation into a more manageable multiplication, perfectly poised for the product rule. This is the essence of logarithmic differentiation.
Find the derivative of .
Take the natural logarithm of both sides to bring the trigonometric exponent down to the baseline:
We now differentiate implicitly with respect to . The left side requires the chain rule, while the right side demands the product rule.
Multiplying both sides by yields:
Finally, we substitute the original expression for :
∎
Suppose and are differentiable functions such that . Show your mastery of logarithmic differentiation by finding the derivative of:
Students are often tempted to differentiate by treating it either as a power function (bringing down the ) or an exponential function. It is neither! The base and the exponent are both moving targets. Logarithmic differentiation is the only robust way to tame this beast.
The classic identities of logarithms—namely and —are not just theoretical niceties; they are practical imperatives. Before diving into calculus, one should always ask if algebra can simplify the landscape.
Find the derivative of .
We are faced with a choice of strategy.
-
1.
Approach 1: Quotient Rule Immediately (Good luck!). Differentiating this heinous rational function would require nested applications of the quotient rule, product rule, and chain rule. While mathematically valid, this path is an exercise in masochism and invites countless algebra errors.
-
2.
Approach 2: Simplify by Log First. We can evaluate by observing that
and differentiating gives
which we solve to get
∎
Never underestimate the power of preprocessing your functions algebraically. The logarithm is particularly adept at shattering complex fractions into a sequence of gentle linear terms.