[Home](https://learningfolio.de5.net/) / [Math](https://learningfolio.de5.net/math/) / [Math glossary](https://learningfolio.de5.net/math/glossary/) / Arctan: Inverse Tangent, Graph, and Principal Values

[Math glossary](https://learningfolio.de5.net/math/glossary/)

# Arctan: Inverse Tangent, Graph, and Principal Values

Learn arctan’s domain, range, graph, exact values, and angle units. Check six examples, including a quadrant correction.

Written by **Learningfolio Team**

We’re subject-matter experts in math, science, parent support, and education, with 100 years of combined experience. We believe in learning, experimenting, and growing, and we review one another’s work.

## On this page

* [TL;DR](https://learningfolio.de5.net/math/arctan/#tldr)
* [Key Points](https://learningfolio.de5.net/math/arctan/#key-points)
* [What is arctan?](https://learningfolio.de5.net/math/arctan/#what-is-arctan)
* [What are arctan’s domain, range, and graph?](https://learningfolio.de5.net/math/arctan/#what-are-arctans-domain-range-and-graph)
* [Which arctan values can you find exactly?](https://learningfolio.de5.net/math/arctan/#which-arctan-values-can-you-find-exactly)
* [When does arctan need a quadrant correction?](https://learningfolio.de5.net/math/arctan/#when-does-arctan-need-a-quadrant-correction)
* [What are the derivative and integral of arctan?](https://learningfolio.de5.net/math/arctan/#what-are-the-derivative-and-integral-of-arctan)
* [Worked Arctan Examples](https://learningfolio.de5.net/math/arctan/#worked-arctan-examples)
* [Mistakes That Change an Arctan Answer](https://learningfolio.de5.net/math/arctan/#mistakes-that-change-an-arctan-answer)
* [Try It Yourself](https://learningfolio.de5.net/math/arctan/#try-it-yourself)
* [Answers and Reasoning](https://learningfolio.de5.net/math/arctan/#answers-and-reasoning)
* [Frequently Asked Questions](https://learningfolio.de5.net/math/arctan/#frequently-asked-questions)
* [Conclusion](https://learningfolio.de5.net/math/arctan/#conclusion)
* [Read More](https://learningfolio.de5.net/math/arctan/#read-more)
* [Research Behind This Article](https://learningfolio.de5.net/math/arctan/#research-behind-this-article)

## TL;DR

**Arctan returns the angle whose tangent equals the input.** Its input may be any real number. Its principal output is strictly between $-\pi/2$ and $\pi/2$, or between $-90^\circ$ and $90^\circ$.

## Key Points

* $\arctan x$ and $\tan^{-1}x$ ordinarily mean inverse tangent.
* Tangent must be restricted to one interval before it has this inverse.
* $\tan(\arctan x)=x$ for every real input.
* $\arctan(\tan\theta)=\theta$ only when $\theta$ is in the principal interval.
* For a direction given by signed coordinates, use a quadrant-aware function such as atan2.

## What is arctan?

**Arctan**, short for arctangent, is the inverse of the tangent function after limiting its input to a single interval. If $y=\arctan x$, then $y$ is the unique angle in the principal range whose tangent is $x$.

$$
y=\arctan x
\quad\Longleftrightarrow\quad
\tan y=x\quad\text{and}\quad -\frac\pi2<y<\frac\pi2.
$$

For example, $\arctan 1=\pi/4$ because $\tan(\pi/4)=1$ and $\pi/4$ lies in the required interval. Inverse-function notation $\tan^{-1}x$ reads “arctan.” A reciprocal is written $1/\tan x$ or $(\tan x)^{-1}$. The placement of the exponent changes the meaning. [OpenStax, Inverse Trigonometric Functions](https://openstax.org/books/algebra-and-trigonometry-2e/pages/8-3-inverse-trigonometric-functions)

## What are arctan’s domain, range, and graph?

Tangent is periodic, so without a restriction many angles would give the same tangent. Over the open interval from $-\pi/2$ to $\pi/2$, it increases continuously through every real value. On this interval it has a unique inverse.

| Feature | Arctangent |
| --- | --- |
| Domain | All real numbers |
| Range | $(-\pi/2,\pi/2)$ |
| Intercept | $(0,0)$ |
| Horizontal asymptotes | $y=-\pi/2$ and $y=\pi/2$ |
| Symmetry | Odd, so $\arctan(-x)=-\arctan x$ |
| Direction | Increasing on the entire real line |

The horizontal asymptotes are limits. No finite real input gives either endpoint of the range. Reflect the restricted tangent graph across $y=x$ to see why its vertical asymptotes become arctan’s horizontal asymptotes. [University of Colorado Colorado Springs, Inverses of the Circular Functions](https://academics.uccs.edu/kcliff/trigonometry/sec55.html)

![The arctangent graph rises through the origin between two horizontal asymptotes and marks arctangent of one](https://learningfolio.de5.net/assets/versioned/inverse-tangent-principal-values-graph.ccf14b933837.webp)


$\arctan x$ approaches the dashed lines as $x$ becomes large in either direction. The marked point $(1,\pi/4)$ shows a standard exact value.

## Which arctan values can you find exactly?

Use known tangent values and check that the angle is in range.

| Input $x$ | $\arctan x$ in radians | In degrees |
| --- | --- | --- |
| $-\sqrt3$ | $-\pi/3$ | $-60^\circ$ |
| $-1$ | $-\pi/4$ | $-45^\circ$ |
| $0$ | $0$ | $0^\circ$ |
| $1/\sqrt3$ | $\pi/6$ | $30^\circ$ |
| $1$ | $\pi/4$ | $45^\circ$ |
| $\sqrt3$ | $\pi/3$ | $60^\circ$ |

The [exact trigonometry table](https://learningfolio.de5.net/math/trigonometry-table/) provides the familiar angles to check in reverse. For an input such as 2 that does not simplify to a standard angle, a calculator gives about 1.1071 radians or $63.435^\circ$. Confirm the angle mode. [OpenStax, Inverse Trigonometric Functions in Precalculus](https://openstax.org/books/precalculus-2e/pages/6-3-inverse-trigonometric-functions)

## When does arctan need a quadrant correction?

The ratio $y/x$ cannot distinguish $(x,y)$ from $(-x,-y)$. The tangent alone therefore does not identify the full direction. In software, a function such as **atan2** takes both signed coordinates and uses their quadrant. Python uses the order `atan2(y, x)` and returns radians. For instance, for $(-4,3)$ the principal arctangent of $3/(-4)$ is about $-36.87^\circ$, while the actual direction measured counterclockwise from the positive horizontal axis is about $143.13^\circ$. [Python, Trigonometric Functions](https://docs.python.org/3/library/math.html#trigonometric-functions)

The same issue can arise with angle sums. A tangent addition formula may yield a ratio whose arctan is a principal value shifted by a multiple of $\pi$ from the original sum. Check the angles’ ranges before interpreting a simplified sum or difference.

## What are the derivative and integral of arctan?

For real $x$ in radian-based calculus,

$$
\frac{d}{dx}\arctan x=\frac{1}{1+x^2}.
$$

For an antiderivative of arctan itself, integrate by parts:

$$
\int\arctan x\,dx=x\arctan x-\frac12\ln(1+x^2)+C.
$$

Differentiate the right-hand side to check it. The product term contributes $\arctan x+x/(1+x^2)$, and the logarithm term subtracts $x/(1+x^2)$. The [arctan derivative guide](https://learningfolio.de5.net/math/derivative-of-arctan/) works through the proof and chain rule. [Wolfram MathWorld, Inverse Tangent](https://mathworld.wolfram.com/InverseTangent.html)

## Worked Arctan Examples

### Example 1

Find $\arctan(-\sqrt3)$ exactly.

1. The tangent of $\pi/3$ equals $\sqrt3$.
2. Tangent is odd, so the tangent of $-\pi/3$ is $-\sqrt3$.
3. The negative angle lies in the principal range. The answer is $-\pi/3$.

### Example 2

Simplify $\arctan(\tan(5\pi/6))$.

1. The original angle $5\pi/6$ is outside the principal interval.
2. Subtract one period $\pi$ to get $-\pi/6$, which has the same tangent.
3. The result is $-\pi/6$.

### Example 3

A ramp rises 7 units over 24 horizontal units. Find its inclination relative to the horizontal.

1. The tangent of the angle is rise divided by run, or $7/24$.
2. Take $\arctan(7/24)$ because the angle is acute.
3. To two decimal places, the angle is $16.26^\circ$.

### Example 4

Solve $\arctan(3x)=-\pi/4$.

1. The right-hand angle is in the principal interval.
2. Take tangent to get $3x=\tan(-\pi/4)=-1$.
3. The solution is $x=-1/3$. Substitute to verify.

### Example 5

Compare $\arctan 2$ and $\pi/4$ without approximating either.

1. $\arctan 1=\pi/4$.
2. Arctan increases on the real line.
3. Since $2>1$, $\arctan 2>\pi/4$. It is still smaller than $\pi/2$.

### Example 6

Find the angle for a vector with components $(-1,-1)$, measured in $(-180^\circ,180^\circ]$.

1. The ratio of components is 1, giving a $45^\circ$ reference angle.
2. Both components are negative, so the vector points into quadrant III.
3. The direction in the requested interval is $-135^\circ$. Ordinary $\arctan 1$ alone would give $45^\circ$.

## Mistakes That Change an Arctan Answer

### Mistake 1: Treating inverse tangent as reciprocal

$\arctan 1$ is $\pi/4$. The reciprocal of $\tan(\pi/4)$ is 1, a different quantity.

### Mistake 2: Cancelling tangent and arctan in either order without checking the angle

The cancellation $\tan(\arctan x)=x$ holds for every real input. In the other order, the angle must lie in the principal interval to be recovered unchanged.

### Mistake 3: Switching degree and radian units

An output of $\pi/4$ radians equals $45^\circ$. Use the [angle conversion guide](https://learningfolio.de5.net/math/radians-in-math/) before substituting it into a formula using another unit.

## Try It Yourself

1. Find $\arctan(1/\sqrt3)$.
2. Find $\arctan(\tan(3\pi/4))$.
3. Evaluate $\tan(\arctan(-7))$.

## Answers and Reasoning

1. $\pi/6$, because its tangent equals $1/\sqrt3$.
2. $-\pi/4$. Subtract $\pi$ from the starting angle to enter the principal interval.
3. $-7$, because tangent reverses arctan on the range arctan returns.

## Frequently Asked Questions

### Can arctan return 90 degrees?

No finite real input gives $90^\circ$ or $-90^\circ$. Those angles are limiting values.

### Is arctan defined at zero?

Yes. Arctan accepts all real inputs, and $\arctan0=0$.

### What does the inverse tangent button look like?

Many calculators label it tan⁻¹ or atan. Make sure the key is for the inverse function and check the displayed angle mode.

## Conclusion

* Treat arctan’s result as an angle in the principal range.
* Check angle units and whether additional quadrant information is available.
* Use known tangent values to verify exact or numerical outputs.

## Read More

* [Understand domain and range of functions](https://learningfolio.de5.net/math/functions-domain-range-and-input-output/)
* [Compare derivatives of inverse trigonometric functions](https://learningfolio.de5.net/math/differentiation-of-inverse-trigonometric-functions/)

## Research Behind This Article

1. OpenStax, *Algebra and Trigonometry 2e: Inverse Trigonometric Functions*. [OpenStax](https://openstax.org/books/algebra-and-trigonometry-2e/pages/8-3-inverse-trigonometric-functions)
2. OpenStax, *Precalculus 2e: Inverse Trigonometric Functions*. [OpenStax](https://openstax.org/books/precalculus-2e/pages/6-3-inverse-trigonometric-functions)
3. University of Colorado Colorado Springs, *Inverses of the Circular Functions*. [UCCS](https://academics.uccs.edu/kcliff/trigonometry/sec55.html)
4. Python Software Foundation, *math: Trigonometric Functions*. [Python Documentation](https://docs.python.org/3/library/math.html#trigonometric-functions)
5. Eric W. Weisstein, *Inverse Tangent*. [Wolfram MathWorld](https://mathworld.wolfram.com/InverseTangent.html)
