Derivative of arctan x
The derivative of arctan x (also written tan⁻¹x) is 1/(1 + x²). It is defined for every real x, and is always positive.
How to find the derivative of arctan x
Method: implicit differentiation.
- 1Let y = arctan x, so tan y = x.
- 2Differentiate both sides with respect to x, using the chain rule on the left: sec²y · dy/dx = 1.
- 3Solve for the derivative: dy/dx = 1/sec²y.
- 4Use the identity sec²y = 1 + tan²y, and tan y = x: sec²y = 1 + x².
- 5So dy/dx = 1/(1 + x²).
What it means on the graph
arctan x rises fastest at x = 0, with a slope of exactly 1. Far from the origin the graph levels off toward its horizontal asymptotes at ±π/2, and the slope 1/(1 + x²) shrinks toward 0 to match.
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 | arctan x | 1/(1 + x²) | Slope, measured |
|---|---|---|---|
| −4 | −1.32582 | 1/17 | 1/17 |
| −5/2 | −1.19029 | 0.137931 | 0.137931 |
| −1 | −π/4 | 1/2 | 1/2 |
| 0 | 0 | 1 | 1 |
| 3/2 | 0.982794 | 4/13 | 4/13 |
| 3 | 1.24905 | 1/10 | 1/10 |
| 4 | 1.32582 | 1/17 | 1/17 |
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 |
|---|---|
arctan(2x) | 21+4x2 |
arctan(x2) | 2x1+x4 |
arctan(1x) | −11+x2 |
xarctan(x) | arctan(x)+x1+x2 |
Common mistakes
- Writing sec²x, the derivative of tan x. Inverse functions have very different derivatives.
- Reading tan⁻¹x as 1/tan x. That is cot x, and the −1 here means inverse function.
Frequently asked questions
What is the derivative of arctan x?
What is the second derivative of arctan x?
Is the derivative of tan⁻¹x the same as arctan x?
What is the integral of 1/(1 + x²)?
Keep going
It is x arctan x − ln(1 + x²)/2 + C.
All real inputs, outputs between −π/2 and π/2.
It is 1/√(1 − x²).
It is −1/√(1 − x²).
It is 1/(|x|√(x² − 1)).
The power, product, quotient and chain rules, with examples.
Type your own function into the derivative calculator and see every rule applied, step by step.