arctanx, the inverse tangent or arctangent, is the inverse of the tangent function tan1. Since tan has period π, it is restricted to the interval (−2π,2π), on which it increases, and the inverse of that restriction, the principal value, is arctan.
Definition
y=arctanx is the value y satisfying both of the following.
tany=x
−2π<y<2π
Domain and range
Because tan takes every real value on that interval, the domain of arctan is all real numbers. The range is the open interval (−2π,2π), and the endpoint values are never reached.
Symmetry and monotonicity
Since arctan(−x)=−arctanx it is an odd function, and its graph is symmetric about the origin. The derivative is as follows.
dxdarctanx=1+x21
It is always positive, so the function increases monotonically. The denominator never vanishes, so the function is smooth on the whole real line, with none of the vertical tangents that the inverse sine and cosine have at their endpoints.
Asymptotes
x
arctanx
→−∞
→−2π
−3
−3π
−1
−4π
0
0
1
4π
3
3π
→+∞
→2π
The horizontal asymptotes y=2π and y=−2π give a gentle S-shaped curve, and the values never cross those two lines.
Inflection point
The second derivative is y′′=−(1+x2)22x, whose sign changes only at x=0. The origin is therefore the single inflection point, and it is also the center of symmetry. Near it arctanx≈x.
Series and the number π
The expansion about the origin converges on the interval [−1,1].
arctanx=x−3x3+5x5−⋯
Substituting x=1 and using arctan1=4π gives the Leibniz series2.
4π=1−31+51−71+⋯
Its convergence is very slow, so practical computations of π use formulas built from smaller arguments such as arctan51.
Polar angle and atan2
To find the polar angle of a point (x,y), using arctanxy on its own cannot tell the first quadrant from the third, or the second from the fourth. That ambiguity is why most programming languages provide a separate two-argument atan2, which returns the correct angle in every direction.
Applications
Recovering an angle from a slope
The integral ∫1+x2dx=arctanx+C
Phase calculations in signal processing and control engineering