Derivative of ln(x²)
The derivative of ln(x²) is 2/x. You can find it with the chain rule, or by first using the log rule ln(x²) = 2 ln|x|.
How to find the derivative of ln(x²)
Method: chain rule.
- 1Apply the chain rule with u = x²: d/dx ln u = (1/u) · u′.
- 2Here u′ = 2x, so this is (1/x²) · 2x.
- 3Simplify: 2x/x² = 2/x.
- 4Check with log rules: ln(x²) = 2 ln|x|, whose derivative is 2 · (1/x) = 2/x.
What it means on the graph
y = ln(x²) has two mirror-image branches, since x² is positive on both sides of 0. The derivative 2/x is positive on the right, where the curve rises, and negative on the left, where it falls.
Table of values
The derivative column uses the formula. The last column estimates the slope directly from the original function, as an independent check.
| x | ln(x²) | 2/x | Slope, measured |
|---|---|---|---|
| −3 | 2.19722 | −2/3 | −2/3 |
| −1 | 0 | −2 | −2 |
| 1/2 | −2ln 2 | 4 | 4 |
| 1 | 0 | 2 | 2 |
| 3 | 2.19722 | 2/3 | 2/3 |
Second derivative
Differentiating once more gives:
The second derivative tells you which way the graph bends: positive means it curves upward, and negative means it curves downward.
Related derivatives
The same result with the chain or product rule. Each of these is checked numerically too.
| Function | Derivative |
|---|---|
ln(x3) | 3x |
ln(x)2 | 2ln(x)x |
Common mistakes
- Confusing ln(x²) with (ln x)². The derivative of (ln x)² is 2 ln x / x, which is different.
Frequently asked questions
What is the derivative of ln(x²)?
What is the second derivative of ln(x²)?
What is the difference between ln(x²) and (ln x)²?
Keep going
Type your own function into the derivative calculator and see every rule applied, step by step.