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.

TL;DR

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

Key Points

  • arctanx\arctan x and tan−1x\tan^{-1}x ordinarily mean inverse tangent.
  • Tangent must be restricted to one interval before it has this inverse.
  • tan(arctanx)=x\tan(\arctan x)=x for every real input.
  • arctan(tanθ)=θ\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=arctanxy=\arctan x, then yy is the unique angle in the principal range whose tangent is xx.

y=arctanx⟺tany=xand−π2<y<π2.y=\arctan x \quad\Longleftrightarrow\quad \tan y=x\quad\text{and}\quad -\frac\pi2<y<\frac\pi2.

For example, arctan1=π/4\arctan 1=\pi/4 because tan(π/4)=1\tan(\pi/4)=1 and π/4\pi/4 lies in the required interval. Inverse-function notation tan−1x\tan^{-1}x reads “arctan.” A reciprocal is written 1/tanx1/\tan x or (tanx)−1(\tan x)^{-1}. The placement of the exponent changes the meaning. OpenStax, 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 −π/2-\pi/2 to π/2\pi/2, it increases continuously through every real value. On this interval it has a unique inverse.

Feature Arctangent
Domain All real numbers
Range (−π/2,π/2)(-\pi/2,\pi/2)
Intercept (0,0)(0,0)
Horizontal asymptotes y=−π/2y=-\pi/2 and y=π/2y=\pi/2
Symmetry Odd, so arctan(−x)=−arctanx\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=xy=x to see why its vertical asymptotes become arctan’s horizontal asymptotes. University of Colorado Colorado Springs, Inverses of the Circular Functions

The arctangent graph rises through the origin between two horizontal asymptotes and marks arctangent of one
arctanx\arctan x approaches the dashed lines as xx becomes large in either direction. The marked point (1,π/4)(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 xx arctanx\arctan x in radians In degrees
−3-\sqrt3 −π/3-\pi/3 −60∘-60^\circ
−1-1 −π/4-\pi/4 −45∘-45^\circ
00 00 0∘0^\circ
1/31/\sqrt3 π/6\pi/6 30∘30^\circ
11 π/4\pi/4 45∘45^\circ
3\sqrt3 π/3\pi/3 60∘60^\circ

The exact 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∘63.435^\circ. Confirm the angle mode. OpenStax, Inverse Trigonometric Functions in Precalculus

When does arctan need a quadrant correction?

The ratio y/xy/x cannot distinguish (x,y)(x,y) from (−x,−y)(-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)(-4,3) the principal arctangent of 3/(−4)3/(-4) is about −36.87∘-36.87^\circ, while the actual direction measured counterclockwise from the positive horizontal axis is about 143.13∘143.13^\circ. Python, 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 xx in radian-based calculus,

ddxarctanx=11+x2.\frac{d}{dx}\arctan x=\frac{1}{1+x^2}.

For an antiderivative of arctan itself, integrate by parts:

∫arctanxdx=xarctanx−12ln(1+x2)+C.\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 arctanx+x/(1+x2)\arctan x+x/(1+x^2), and the logarithm term subtracts x/(1+x2)x/(1+x^2). The arctan derivative guide works through the proof and chain rule. Wolfram MathWorld, Inverse Tangent

Worked Arctan Examples

Example 1

Find arctan(−3)\arctan(-\sqrt3) exactly.

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

Example 2

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

  1. The original angle 5π/65\pi/6 is outside the principal interval.
  2. Subtract one period π\pi to get −π/6-\pi/6, which has the same tangent.
  3. The result is −π/6-\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/247/24.
  2. Take arctan(7/24)\arctan(7/24) because the angle is acute.
  3. To two decimal places, the angle is 16.26∘16.26^\circ.

Example 4

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

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

Example 5

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

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

Example 6

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

  1. The ratio of components is 1, giving a 45∘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∘-135^\circ. Ordinary arctan1\arctan 1 alone would give 45∘45^\circ.

Mistakes That Change an Arctan Answer

Mistake 1: Treating inverse tangent as reciprocal

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

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

The cancellation tan(arctanx)=x\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 π/4\pi/4 radians equals 45∘45^\circ. Use the angle conversion guide before substituting it into a formula using another unit.

Try It Yourself

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

Answers and Reasoning

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

Frequently Asked Questions

Can arctan return 90 degrees?

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

Is arctan defined at zero?

Yes. Arctan accepts all real inputs, and arctan0=0\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

Research Behind This Article

  1. OpenStax, Algebra and Trigonometry 2e: Inverse Trigonometric Functions. OpenStax
  2. OpenStax, Precalculus 2e: Inverse Trigonometric Functions. OpenStax
  3. University of Colorado Colorado Springs, Inverses of the Circular Functions. UCCS
  4. Python Software Foundation, math: Trigonometric Functions. Python Documentation
  5. Eric W. Weisstein, Inverse Tangent. Wolfram MathWorld