Tutorials › Calculus I › Exponential and Logarithmic Derivative Comparison Problems

Exponential and Logarithmic Derivatives · Tutorial 561 of 1495

Exponential and Logarithmic Derivative Comparison Problems

Learn to compare exponential and logarithmic derivatives at matched inputs, including when their rates have the same sign and how their relative rates differ.

Intermediate 10 min read

What You'll Learn

  • Differentiate exponential and logarithmic functions with a common base.
  • Determine the signs of both derivatives for bases above or below one.
  • Compare derivative magnitudes at a specified matched input.
  • Calculate and interpret relative rates of change.
  • Distinguish comparisons at the same input from comparisons at inverse-related inputs.
  • Recognize when a relative rate is undefined.

Comparing Rates at the Same Input

Exponential and logarithmic functions are closely connected, but their derivatives behave differently as the input changes. A useful comparison asks what happens at the same input: are both functions increasing or decreasing, which derivative has greater magnitude, and how quickly is each function changing relative to its own value?

To make the comparison precise, we will use a common base \(a\). The exponential function \(a^x\) is defined for every real \(x\) when \(a>0\). The logarithm \(\log_a x\) is defined only for \(x>0\), and requires \(a\ne 1\). Thus, a same-input comparison between these functions is restricted to \(x>0\).

Definition: The rate of change of a differentiable function \(f\) at \(x\) is its derivative \(f'(x)\). Its relative rate of change, when \(f(x)\ne 0\), is the ratio \(f'(x)/f(x)\). The derivative measures change per unit of input; the relative rate measures change per unit of the function’s current value.

Derivative Formulas and Sign Conditions

For \(a>0\), the derivative of \(a^x\) is \(\ln(a)a^x\). For \(a>0\), \(a\ne1\), and \(x>0\), the derivative of \(\log_a x\) is \(1/(x\ln(a))\). The natural logarithm \(\ln(a)\) is positive when \(a>1\) and negative when \(0<a<1\).

$$ \frac{d}{dx}a^x=\ln(a)a^x, \qquad \frac{d}{dx}\log_a x=\frac{1}{x\ln(a)}. $$

Because \(a^x>0\) and \(x>0\), the signs of these derivatives are determined by \(\ln(a)\). For \(a>1\), both derivatives are positive, so both functions are increasing. For \(0<a<1\), both derivatives are negative, so both are decreasing. The case \(a=1\) is excluded for logarithms and would give a constant exponential function rather than a meaningful logarithmic comparison.

Having derivatives with the same sign does not mean the functions change at the same rate. To compare the sizes of their rates at one input, compare the absolute values of their derivatives. At the same \(x>0\), their ratio is

$$ \frac{\left|\dfrac{d}{dx}\log_a x\right|} {\left|\dfrac{d}{dx}a^x\right|} = \frac{1}{x(\ln a)^2a^x}. $$

This ratio is positive for every permitted \(a\) and \(x\). If it exceeds \(1\), the logarithmic function has the larger derivative magnitude at that input. If it is less than \(1\), the exponential function has the larger derivative magnitude. The formula provides a comparison, not a claim that one function always changes faster: the result depends on both the base and the input.

Why the Logarithmic Derivative Has This Form

The logarithm and exponential with the same base undo one another: \(a^{\log_a x}=x\) for \(x>0\). Differentiating this identity explains the logarithmic derivative formula. Set \(u=\log_a x\), so \(a^u=x\). By the chain rule, differentiating both sides with respect to \(x\) gives \(\ln(a)a^u u'=1\). Since \(a^u=x\), solving for \(u'\) gives the formula below.

$$ \ln(a)a^u u'=1, \qquad \ln(a)x u'=1, \qquad u'=\frac{1}{x\ln(a)}. $$

This calculation requires \(x>0\), \(a>0\), and \(a\ne1\): these conditions ensure that \(\log_a x\) is defined and that \(\ln(a)\ne0\), so division by \(\ln(a)\) is valid.

Relative Rates at a Matched Input

For the exponential function \(f(x)=a^x\), its relative rate is constant:

$$ \frac{f'(x)}{f(x)} = \frac{\ln(a)a^x}{a^x} = \ln(a). $$

For the logarithmic function \(g(x)=\log_a x\), the relative rate is defined only when \(g(x)\ne0\). Since \(\log_a x=0\) exactly when \(x=1\), it is undefined there. For \(x>0\) with \(x\ne1\), use \(g(x)=\ln(x)/\ln(a)\) to obtain

$$ \frac{g'(x)}{g(x)} = \frac{\dfrac{1}{x\ln(a)}}{\dfrac{\ln(x)}{\ln(a)}} = \frac{1}{x\ln(x)}. $$

Thus the exponential relative rate depends only on the base, whereas the logarithmic relative rate depends on the input and not on the base. The logarithmic relative rate is negative for \(0<x<1\) and positive for \(x>1\). This sign concerns change relative to the function’s value: a negative relative rate can occur even when the logarithm itself is increasing, because \(\log_a x\) is negative on \(0<x<1\) when \(a>1\).

Worked Comparisons

Worked Example: Compare \(3^x\) and \(\log_3 x\) at \(x=2\)

Both functions are defined at \(x=2\), and the base satisfies \(3>1\). Their derivatives are

$$ \frac{d}{dx}3^x=\ln(3)3^x, \qquad \frac{d}{dx}\log_3 x=\frac{1}{x\ln(3)}. $$

Evaluate each at \(x=2\):

$$ \left.\frac{d}{dx}3^x\right|_{x=2}=9\ln(3), \qquad \left.\frac{d}{dx}\log_3 x\right|_{x=2}=\frac{1}{2\ln(3)}. $$

Both are positive. To compare magnitudes, their ratio, logarithmic derivative over exponential derivative, is

$$ \frac{\dfrac{1}{2\ln(3)}}{9\ln(3)} = \frac{1}{18(\ln(3))^2}. $$

Since \(\ln(3)>1\), this ratio is less than \(1/18\), and therefore less than \(1\). The exponential derivative has the greater magnitude. For relative rates, \(3^x\) has relative rate \(\ln(3)\), while \(\log_3 x\) has relative rate \(1/(x\ln x)\) at \(x=2\), which is \(1/(2\ln(2))\). These are positive, but they are not the raw derivatives calculated above.

Check: the derivative formulas give \(9\ln(3)\) and \(1/(2\ln(3))\) when \(x=2\); their ratio is exactly \(1/[18(\ln(3))^2]\), as used in the comparison.

Worked Example: Compare \((1/2)^x\) and \(\log_{1/2}x\) at \(x=2\)

Here \(0<a<1\), so both derivatives are negative. First evaluate them:

$$ \left.\frac{d}{dx}\left(\frac12\right)^x\right|_{x=2} = \ln\left(\frac12\right)\left(\frac12\right)^2 = -\frac{\ln(2)}{4}, $$ $$ \left.\frac{d}{dx}\log_{1/2}x\right|_{x=2} = \frac{1}{2\ln(1/2)} = -\frac{1}{2\ln(2)}. $$

Both functions are decreasing at this input. Compare magnitudes by taking the ratio:

$$ \frac{\left|-\dfrac{1}{2\ln(2)}\right|} {\left|-\dfrac{\ln(2)}{4}\right|} = \frac{1}{2\ln(2)}\cdot\frac{4}{\ln(2)} = \frac{2}{(\ln(2))^2}. $$

Because \(0<\ln(2)<1\), this ratio exceeds \(2\), and in particular exceeds \(1\). The logarithmic derivative has greater magnitude. For relative rates, the exponential’s is \(\ln(1/2)=-\ln(2)\). The logarithm’s is \(1/(2\ln(2))\), which is positive because both its function value, \(\log_{1/2}(2)=-1\), and its derivative are negative.

Check: substituting \(x=2\) into the original derivative formulas gives \(-\ln(2)/4\) and \(-1/(2\ln(2))\). Their signs are negative and their magnitude ratio is \(2/(\ln(2))^2>1\), consistent with the conclusion.

Worked Example: Compare \(e^x\) and \(\ln x\) at \(x=e\)

This is the common-base case \(a=e\). The derivatives are \(e^x\) and \(1/x\), respectively. At the matched input \(x=e\),

$$ \left.\frac{d}{dx}e^x\right|_{x=e}=e^e, \qquad \left.\frac{d}{dx}\ln x\right|_{x=e}=\frac{1}{e}. $$

Both rates are positive, and \(e^e>1/e\), so the exponential derivative has greater magnitude. Their relative rates are different quantities:

$$ \frac{(e^x)'}{e^x}=1, \qquad \left.\frac{(\ln x)'}{\ln x}\right|_{x=e} = \frac{1/e}{\ln(e)} = \frac{1}{e}. $$

Check: \(e^e\) is the derivative of \(e^x\) at \(e\), while \(1/e\) is the derivative of \(\ln x\) there. Dividing by the corresponding function values \(e^e\) and \(\ln(e)=1\) gives relative rates \(1\) and \(1/e\).

Same Input Is Not the Same as Inverse-Related Inputs

Although \(a^x\) and \(\log_a x\) are inverse functions, comparing them at the same input is different from comparing their derivatives at inverse-related inputs. If the exponential input is \(t\), its output is \(a^t\). The corresponding logarithmic input is therefore \(a^t\), not \(t\). At those paired inputs, the derivatives are reciprocals:

$$ \left.\frac{d}{dx}a^x\right|_{x=t} = \ln(a)a^t, \qquad \left.\frac{d}{dx}\log_a x\right|_{x=a^t} = \frac{1}{a^t\ln(a)}. $$

Their product is \(1\). This does not say that the derivatives at a shared input \(x\) are reciprocals. For a same-input comparison, evaluate both derivative formulas at that same positive \(x\), as in the worked examples.

A Common Mistake

A frequent error is to place \(\ln(a)\) in the numerator when differentiating a logarithm. For example, the incorrect calculation \((\log_2 x)'=\ln(2)/x\) would give \(\ln(2)/2\) at \(x=2\). The correct derivative is \(1/(x\ln(2))\), giving \(1/(2\ln(2))\) there. These results differ.

The identity \(2^{\log_2 x}=x\) checks the correction. Differentiating both sides gives \(\ln(2)2^{\log_2 x}(\log_2 x)'=1\). Since \(2^{\log_2 x}=x\), this becomes \(\ln(2)x(\log_2 x)'=1\), so \((\log_2 x)'=1/(x\ln(2))\). Keep the two formulas distinct: the exponential derivative multiplies by \(\ln(a)\), while the logarithmic derivative divides by \(\ln(a)\).

Check Your Understanding

Use the derivative formulas and state any domain restrictions before comparing rates.

  1. For \(a=5\) at \(x=1\), what are the signs of the derivatives of \(a^x\) and \(\log_a x\)?
  2. At \(x=3\), write the ratio of the magnitude of the derivative of \(\log_2 x\) to that of \(2^x\).
  3. What is the relative rate of \(4^x\), and why is it constant?
  4. At which positive input is the relative rate of \(\log_a x\) undefined, and why?
  5. For \(0<a<1\), what are the signs of the derivatives of \(a^x\) and \(\log_a x\) on their common domain?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon