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).
Step-by-step solution
Outer function ln(u) with derivative 1/u; inner function u = 2x with derivative 2. So f′(x) = [1/(2x)] · 2.
The 2 from the inner derivative cancels the 2 in the denominator: f′(x) = 1/x.
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
- Answering 1/(2x): applying the outer derivative but forgetting to multiply by the inner derivative 2.
- Answering 2/x: multiplying by the inner derivative but forgetting the 2 already sitting in the denominator.
- Overgeneralizing the cancellation: it works for ln(kx) with constant k, but not for ln(x²), whose derivative is 2/x.
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.