ArcTan
✖
ArcTan
Details

- Mathematical function, suitable for both symbolic and numerical manipulation.
- All results are given in radians.
- For real
, the results are always in the range
to
.
- For certain special arguments, ArcTan automatically evaluates to exact values.
- ArcTan can be evaluated to arbitrary numerical precision.
- ArcTan automatically threads over lists.
- ArcTan[z] has branch cut discontinuities in the complex
plane running from
to
and
to
.
- If
or
is complex, then ArcTan[x,y] gives
. When
, ArcTan[x,y] gives the number
such that
and
.
- ArcTan can be used with Interval and CenteredInterval objects. »
Background & Context
- ArcTan is the inverse tangent function. For a real number x, ArcTan[x] represents the radian angle measure
such that
. The two-argument form ArcTan[x,y] represents the arc tangent of y/x, taking into account the quadrant in which the point
lies. It therefore gives the angular position (expressed in radians) of the point measured from the positive
axis. ArcTan is consequently useful when converting from Cartesian to polar coordinate systems and for finding the phase
in phasor notation
.
- ArcTan automatically threads over lists. For certain special exact arguments, ArcTan automatically evaluates to exact values. When given exact numeric expressions as arguments, ArcTan may be evaluated to arbitrary numeric precision. Operations useful for manipulation of symbolic expressions involving ArcTan include FunctionExpand, TrigToExp, TrigExpand, Simplify, and FullSimplify.
- ArcTan is defined for complex argument
via
. ArcTan[z] has branch cut discontinuities in the complex
plane.
- Related mathematical functions include Arg, Tan, ArcCot, ArcTanh, and Gudermannian.
Examples
open allclose allBasic Examples (7)Summary of the most common use cases

https://wolfram.com/xid/0tzy5776-xdt

Divide by Degree to get results in degrees:

https://wolfram.com/xid/0tzy5776-qw7

ArcTan[x,y] gives the angle of the point {x,y}:

https://wolfram.com/xid/0tzy5776-v9x


https://wolfram.com/xid/0tzy5776-jff

Plot over a subset of the reals:

https://wolfram.com/xid/0tzy5776-fkk

Plot over a subset of the complexes:

https://wolfram.com/xid/0tzy5776-kiedlx


https://wolfram.com/xid/0tzy5776-rur

Asymptotic expansions at Infinity:

https://wolfram.com/xid/0tzy5776-klydni

Asymptotic expansion at one of the singular points:

https://wolfram.com/xid/0tzy5776-k12ao4

Scope (49)Survey of the scope of standard use cases
Numerical Evaluation (6)

https://wolfram.com/xid/0tzy5776-mf9f3x


https://wolfram.com/xid/0tzy5776-iey7b3


https://wolfram.com/xid/0tzy5776-gz8fud

Evaluate using the two-argument form:

https://wolfram.com/xid/0tzy5776-c09w30

The precision of the output tracks the precision of the input:

https://wolfram.com/xid/0tzy5776-gvz0ta

Evaluate for complex arguments:

https://wolfram.com/xid/0tzy5776-b7vho4

The two-argument form supports complex numbers:

https://wolfram.com/xid/0tzy5776-kuxe50

Evaluate ArcTan efficiently at high precision:

https://wolfram.com/xid/0tzy5776-di5gcr


https://wolfram.com/xid/0tzy5776-bq2c6r

Compute worst-case guaranteed intervals using Interval and CenteredInterval objects:

https://wolfram.com/xid/0tzy5776-nagbar


https://wolfram.com/xid/0tzy5776-lmyeh7


https://wolfram.com/xid/0tzy5776-blphx

Or compute average-case statistical intervals using Around:

https://wolfram.com/xid/0tzy5776-cw18bq

Compute the elementwise values of an array:

https://wolfram.com/xid/0tzy5776-thgd2

Or compute the matrix ArcTan function using MatrixFunction:

https://wolfram.com/xid/0tzy5776-o5jpo

Specific Values (6)
Values of ArcTan at fixed points:

https://wolfram.com/xid/0tzy5776-nww7l

The angles of all points with integer coordinates between and
:

https://wolfram.com/xid/0tzy5776-ro6wem


https://wolfram.com/xid/0tzy5776-ec62ur


https://wolfram.com/xid/0tzy5776-ihfz5

Values at infinity of the ArcTan[x,y] form:

https://wolfram.com/xid/0tzy5776-f97fg2


https://wolfram.com/xid/0tzy5776-omp91

Zero of ArcTan:

https://wolfram.com/xid/0tzy5776-cw39qs

Find the value of satisfying equation
:

https://wolfram.com/xid/0tzy5776-f2hrld

https://wolfram.com/xid/0tzy5776-op0v0e


https://wolfram.com/xid/0tzy5776-yei1qb


https://wolfram.com/xid/0tzy5776-bxotei

Visualization (4)
Plot the ArcTan function:

https://wolfram.com/xid/0tzy5776-ecj8m7

Plot the two-argument ArcTan function in the plane:

https://wolfram.com/xid/0tzy5776-4i0jx0


https://wolfram.com/xid/0tzy5776-bo5grg


https://wolfram.com/xid/0tzy5776-bkmztt


https://wolfram.com/xid/0tzy5776-epb4bn

Function Properties (12)
ArcTan is defined for all real values:

https://wolfram.com/xid/0tzy5776-cl7ele


https://wolfram.com/xid/0tzy5776-de3irc

ArcTan achieves all real values from the interval :

https://wolfram.com/xid/0tzy5776-evf2yr

Function range for arguments from the complex domain:

https://wolfram.com/xid/0tzy5776-fphbrc

ArcTan is an odd function:

https://wolfram.com/xid/0tzy5776-dnla5q

ArcTan has the mirror property :

https://wolfram.com/xid/0tzy5776-heoddu

is an analytic function of
over the reals:

https://wolfram.com/xid/0tzy5776-h5x4l2

It is neither analytic nor meromorphic over the complex plane:

https://wolfram.com/xid/0tzy5776-nkbi2f


https://wolfram.com/xid/0tzy5776-e434t9

is not analytic over the reals:

https://wolfram.com/xid/0tzy5776-38qulz


https://wolfram.com/xid/0tzy5776-g6kynf

ArcTan is injective:

https://wolfram.com/xid/0tzy5776-gi38d7


https://wolfram.com/xid/0tzy5776-ctca0g

ArcTan is not surjective:

https://wolfram.com/xid/0tzy5776-hkqec4


https://wolfram.com/xid/0tzy5776-hdm869

ArcTan is neither non-negative nor non-positive:

https://wolfram.com/xid/0tzy5776-84dui

has no singularities or discontinuities:

https://wolfram.com/xid/0tzy5776-mdtl3h


https://wolfram.com/xid/0tzy5776-mn5jws


https://wolfram.com/xid/0tzy5776-rwegqb


https://wolfram.com/xid/0tzy5776-d9bjn5

ArcTan is neither convex nor concave:

https://wolfram.com/xid/0tzy5776-kdss3

TraditionalForm formatting:

https://wolfram.com/xid/0tzy5776-j24ade


https://wolfram.com/xid/0tzy5776-ys3b2

Differentiation (3)

https://wolfram.com/xid/0tzy5776-mmas49


https://wolfram.com/xid/0tzy5776-nfbe0l


https://wolfram.com/xid/0tzy5776-fxwmfc


https://wolfram.com/xid/0tzy5776-odmgl1

Integration (3)
Indefinite integral of ArcTan:

https://wolfram.com/xid/0tzy5776-bponid

Definite integral of ArcTan over an interval centered at the origin is 0:

https://wolfram.com/xid/0tzy5776-b9jw7l


https://wolfram.com/xid/0tzy5776-gzsps8


https://wolfram.com/xid/0tzy5776-k7js0j

Series Expansions (4)
Taylor expansion for ArcTan:

https://wolfram.com/xid/0tzy5776-ewr1h8

Plot the first three approximations for ArcTan around :

https://wolfram.com/xid/0tzy5776-binhar

General term in the series expansion of ArcTan:

https://wolfram.com/xid/0tzy5776-cvfu4n

Find series expansions at branch points and branch cuts:

https://wolfram.com/xid/0tzy5776-okams


https://wolfram.com/xid/0tzy5776-i50ap2

ArcTan can be applied to a power series:

https://wolfram.com/xid/0tzy5776-c4r5wa

Integral Transforms (3)
Compute the Laplace transform using LaplaceTransform:

https://wolfram.com/xid/0tzy5776-tq4


https://wolfram.com/xid/0tzy5776-dh37pf


https://wolfram.com/xid/0tzy5776-7mn4u

Function Identities and Simplifications (3)
Simplify expressions involving ArcTan:

https://wolfram.com/xid/0tzy5776-gji1fc

Use TrigToExp to express ArcTan using Log:

https://wolfram.com/xid/0tzy5776-c0uhue


https://wolfram.com/xid/0tzy5776-idssh

Expand assuming real variables and
:

https://wolfram.com/xid/0tzy5776-mcb

Function Representations (5)
Represent using ArcCot:

https://wolfram.com/xid/0tzy5776-bujw03

Representation through inverse Jacobi functions:

https://wolfram.com/xid/0tzy5776-m9whnz


https://wolfram.com/xid/0tzy5776-i0p6v1

Represent using Hypergeometric2F1:

https://wolfram.com/xid/0tzy5776-gdj3ez

ArcTan can be represented in terms of MeijerG:

https://wolfram.com/xid/0tzy5776-ey4sde


https://wolfram.com/xid/0tzy5776-ctzqg1

ArcTan can be represented as a DifferentialRoot:

https://wolfram.com/xid/0tzy5776-b6y0sk

Applications (9)Sample problems that can be solved with this function
Find angles of the right triangle with sides 3, 4 and hypotenuse 5:

https://wolfram.com/xid/0tzy5776-fhryb9


https://wolfram.com/xid/0tzy5776-kypfha

Find integrals of rational functions in terms of ArcTan:

https://wolfram.com/xid/0tzy5776-ca671l

Addition theorem for tangent function:

https://wolfram.com/xid/0tzy5776-bqgplf

Find the slope angle of the line through a pair of points and
:

https://wolfram.com/xid/0tzy5776-gec4ik

https://wolfram.com/xid/0tzy5776-cd0bnx

Solve a differential equation:

https://wolfram.com/xid/0tzy5776-erbom5

Branch cuts of ArcTan run along the imaginary axis:

https://wolfram.com/xid/0tzy5776-ds4pr

Polar decomposition of a complex number:

https://wolfram.com/xid/0tzy5776-k684rt

Special solution of the sine–Gordon equation:

https://wolfram.com/xid/0tzy5776-g76

https://wolfram.com/xid/0tzy5776-xbl

The cumulative distribution function (CDF) of the standard distribution of the hyperbolic secant is given in terms of ArcTan:

https://wolfram.com/xid/0tzy5776-bnplmf
This is a scaled and shifted version of the Gudermannian function:

https://wolfram.com/xid/0tzy5776-6olgr

Properties & Relations (5)Properties of the function, and connections to other functions
Use TrigToExp to express ArcTan using Log:

https://wolfram.com/xid/0tzy5776-ncs


https://wolfram.com/xid/0tzy5776-qlcrf4

Use FullSimplify to simplify expressions with ArcTan:

https://wolfram.com/xid/0tzy5776-ogg

ArcTan gives the angle in radians, while ArcTanDegrees gives the same angle in degrees:

https://wolfram.com/xid/0tzy5776-0u4ktt


https://wolfram.com/xid/0tzy5776-8h1c0s

ArcTan is a special case of some special functions:

https://wolfram.com/xid/0tzy5776-ys1mr

Use Reduce to solve inequalities involving ArcTan:

https://wolfram.com/xid/0tzy5776-d4vbx8

Possible Issues (1)Common pitfalls and unexpected behavior
Because ArcTan is a multivalued function,

https://wolfram.com/xid/0tzy5776-gewucp

This differs from the original argument by a factor of :

https://wolfram.com/xid/0tzy5776-5x8e3

Wolfram Research (1988), ArcTan, Wolfram Language function, https://reference.wolfram.com/language/ref/ArcTan.html (updated 2021).
Text
Wolfram Research (1988), ArcTan, Wolfram Language function, https://reference.wolfram.com/language/ref/ArcTan.html (updated 2021).
Wolfram Research (1988), ArcTan, Wolfram Language function, https://reference.wolfram.com/language/ref/ArcTan.html (updated 2021).
CMS
Wolfram Language. 1988. "ArcTan." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/ArcTan.html.
Wolfram Language. 1988. "ArcTan." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/ArcTan.html.
APA
Wolfram Language. (1988). ArcTan. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ArcTan.html
Wolfram Language. (1988). ArcTan. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ArcTan.html
BibTeX
@misc{reference.wolfram_2025_arctan, author="Wolfram Research", title="{ArcTan}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/ArcTan.html}", note=[Accessed: 07-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_arctan, organization={Wolfram Research}, title={ArcTan}, year={2021}, url={https://reference.wolfram.com/language/ref/ArcTan.html}, note=[Accessed: 07-June-2025
]}