Skip to content
ihateDesmos

Derivative of arctan x

Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The derivative of arctan x
ddx(arctan(x))=11+x2

The derivative of arctan x (also written tan⁻¹x) is 1/(1 + x²). It is defined for every real x, and is always positive.

−4−224−110
Open in calculator
y=arctan(x)
in blue and its derivative
y=11+x2
in red.

How to find the derivative of arctan x

Method: implicit differentiation.

  1. 1
    Let y = arctan x, so tan y = x.
  2. 2
    Differentiate both sides with respect to x, using the chain rule on the left: sec²y · dy/dx = 1.
  3. 3
    Solve for the derivative: dy/dx = 1/sec²y.
  4. 4
    Use the identity sec²y = 1 + tan²y, and tan y = x: sec²y = 1 + x².
  5. 5
    So 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.

Values of arctan x and its derivative
xarctan x1/(1 + x²)Slope, measured
−4−1.325821/171/17
−5/2−1.190290.1379310.137931
−1−π/41/21/2
0011
3/20.9827944/134/13
31.249051/101/10
41.325821/171/17

Second derivative

Differentiating once more gives:

d2dx2(arctan(x))=−2x(1+x2)2

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.

Related derivatives
FunctionDerivative
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?
The derivative of arctan x is 1/(1 + x²).
What is the second derivative of arctan x?
Differentiate 1/(1 + x²) again to get the second derivative. The result is shown on this page under “Second derivative”.
Is the derivative of tan⁻¹x the same as arctan x?
Yes. tan⁻¹x and arctan x are two names for the inverse tangent, and both have the derivative 1/(1 + x²).
What is the integral of 1/(1 + x²)?
arctan x + C, which is this result read backwards.

Keep going

Differentiate any function

Type your own function into the derivative calculator and see every rule applied, step by step.

Open the derivative calculator