AP Calculus AB and BC
Derivative of ln(x^2): Answer, Proof, Mistakes
The derivative of ln(x^2) with respect to x is 2/x. By the chain rule with inner function x^2, the derivative is (1/x^2) times 2x, which simplifies to 2/x. You get the same answer by rewriting ln(x^2) as 2 ln|x| and differentiating to 2 times 1/x. It holds for every x except 0.
The proof: chain rule on ln(x^2)
The outer function is and the inner is . Differentiate the outer to , keep the inner, then multiply by the inner derivative .
The in the denominator and the from the chain rule cancel down to . Leaving the answer as is not wrong, but the graders expect the simplified .
The shortcut: rewrite ln(x^2) as 2 ln|x|
A log of a power comes down as a coefficient: . The absolute value matters because is positive for every , so the domain of is all , wider than the domain of .
Both routes agree, and the derivative is itself defined for all , matching the domain of the original function.
Common mistakes
- Answering by differentiating and stopping. That skips the chain rule factor from the inner function .
- Confusing with . The second is a square of a log and differentiates by the chain rule to , a different function.
- Leaving unsimplified. It equals , and simplifying avoids the false impression the answer still depends on .
- Writing instead of and then claiming the domain is only . The original is defined for negative too.
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(x^2)?
It is . The chain rule gives , and rewriting gives the same .
Is the derivative of ln(x^2) the same as the derivative of 2 ln x?
Yes, the formula is the same, . The only difference is the domain: and are defined for all , while needs .
Why does the x^2 disappear from the answer?
The chain rule puts in the denominator and in the numerator. The common factor of cancels, leaving .