d/dxDerivCalc

Derivative of ln(2x)

ln(2x) is calculus's favorite trick question: the chain rule fires, the 2s cancel, and the answer is identical to the derivative of plain ln(x).

Answer
d/dx [ln(2x)]  =  1/x
Rule used: Chain rule + logarithm properties
Open ln(2x) in the calculator →

Step-by-step solution

1
Apply the chain rule

Outer function ln(u) with derivative 1/u; inner function u = 2x with derivative 2. So f′(x) = [1/(2x)] · 2.

2
Cancel

The 2 from the inner derivative cancels the 2 in the denominator: f′(x) = 1/x.

3
Sanity-check with log rules

ln(2x) = ln 2 + ln(x). The constant ln 2 differentiates to zero, and ln(x) differentiates to 1/x — same answer, no chain rule needed.

Why it works

The cancellation isn't a coincidence — it's a logarithm property wearing a chain-rule costume. Multiplying the input of a log by any constant just shifts the graph vertically (by ln of that constant), and vertical shifts never change slope. So ln(2x), ln(5x), and ln(x/7) all share the derivative 1/x.

This example is worth internalizing because it teaches a general lesson: before differentiating, ask whether an algebraic rewrite makes the problem trivial. Splitting logs, expanding products, or simplifying fractions first often eliminates entire rule applications — and eliminates the opportunities for error that come with them.

Common mistakes

Practice problems

Differentiate ln(5x)

Answer: 1/x — the same cancellation.

Differentiate ln(x²)

Answer: 2/x — write it as 2 ln(x) first.

Differentiate ln(2x + 1)

Answer: 2/(2x + 1) — no cancellation now, because the inside isn't a pure multiple of x.

Related derivatives

ln(x)log(x)e^(2x)