AP Calculus AB and BC

Derivative of ln 2x: Answer, Why the 2 Vanishes

The derivative of ln 2x with respect to x is 1 over x, exactly the same as the derivative of ln x. The chain rule contributes a factor of 2 which then cancels against the 2 in the denominator. The log rule explanation is that ln 2x equals ln 2 plus ln x, and the constant differentiates away.

ddx[ln⁡2x]=1x\frac{d}{dx}\left[\ln 2x\right] = \frac{1}{x}

How to differentiate ln 2x

By the chain rule, the derivative of ln⁡u\ln u is u′u\frac{u'}{u}. With u=2xu = 2x the numerator is 22 and the denominator is 2x2x.

ddxln⁡(2x)=22x=1x\frac{d}{dx}\ln(2x) = \frac{2}{2x} = \frac{1}{x}

The twos cancel, so the answer is identical to the derivative of ln⁡x\ln x.

The log rule explanation

Splitting the logarithm first makes the result obvious without any cancellation.

ln⁡2x=ln⁡2+ln⁡x\ln 2x = \ln 2 + \ln x

ln⁡2\ln 2 is a constant, so it differentiates to zero and only 1x\frac{1}{x} survives. Geometrically, ln⁡2x\ln 2x is ln⁡x\ln x shifted vertically, and a vertical shift never changes slopes.

The same argument shows ddxln⁡(kx)=1x\frac{d}{dx}\ln(kx) = \frac{1}{x} for ANY positive constant kk.

Where the derivative of ln 2x shows up on the AP exam

Topics 3.1 and 2.8 cover this on both exams. It is a favourite multiple choice item precisely because the obvious answer 2x\frac{2}{x} is wrong and looks right.

Contrast it with ln⁡(x2)\ln\left(x^{2}\right), where the constant is an exponent rather than a factor: there the derivative IS 2x\frac{2}{x}.

Common mistakes with the derivative of ln 2x

  • Answering 2x\frac{2}{x}, keeping the chain rule factor but forgetting it cancels.
  • Answering 12x\frac{1}{2x}, forgetting the chain rule factor entirely.
  • Assuming the graphs are identical because the derivatives are. They differ by the constant ln⁡2\ln 2, which is invisible to differentiation but not to the function.

Check yourself, not just the answer

Type derivatives and get graded on mathematical equivalence, with rule-level hints when you miss, in the Derivative Practice Checker.

Frequently asked questions

What is the derivative of ln 2x?

It is 1x\frac{1}{x}, the same as the derivative of ln⁡x\ln x.

Why does the 2 disappear?

The chain rule puts a 22 on top and 2x2x underneath, and they cancel. Equivalently ln⁡2x=ln⁡2+ln⁡x\ln 2x = \ln 2 + \ln x, and the constant has zero derivative.

What is the derivative of ln(kx)?

It is 1x\frac{1}{x} for every positive constant kk, by the same cancellation.

What is the derivative of ln(x^2)?

That one IS 2x\frac{2}{x}, because the constant is an exponent, so the log rule brings it out as a multiplier.