A logarithm to any constant base is the natural logarithm scaled by a fixed factor.
\[\frac{d}{dx}\log_{a} x = \frac{1}{x\ln a}\]
What it says
The change-of-base identity \(\log_{a}x = \frac{\ln x}{\ln a}\) turns every logarithm into a constant multiple of \(\ln x\). Since \(\ln a\) is just a number, the constant multiple rule finishes the job: \(\frac{1}{\ln a}\cdot\frac{1}{x}\).
So the only difference from the natural logarithm is a fixed divisor. For base \(e\) it disappears, because \(\ln e = 1\); for base \(10\) it is \(\ln 10 \approx 2.3026\), which is why \(\log_{10}\) curves flatten so much faster.
In this calculator, \(\log(a, x)\) means \(\log_{a}x\), and \(\log_{2}\) and \(\log_{10}\) have their own shorthands \(\texttt{log2}\) and \(\texttt{log10}\).
When it applies
A logarithm whose base is a constant other than \(e\).
\(\log_{2}\) in computing work, \(\log_{10}\) in decibels, pH and orders of magnitude.
If the base itself contains the variable, this rule does not apply — the expression is rewritten in natural logs instead.
Five worked examples
Every line is the step the calculator would show, in the order it applies them. Each graph
is live: hover it to read both curves and see the tangent whose slope is the derivative,
drag to pan, scroll to zoom.
The shape of \(\ln x\) stretched vertically by \(\tfrac{1}{\ln 2} \approx 1.44\), with f′ correspondingly above the curve \(\tfrac{1}{x}\). Changing the base rescales the whole picture; it does not bend it.
About \(1.4427/x\) — steeper than \(\ln x\), because \(\log_{2}\) climbs faster.