Arctan — Formula, Graph, Identities, Domain and Range

#Trigonometry
TL;DR
Arctan is the inverse tangent — it takes a real number and returns the angle whose tangent is that number. Its domain is every real number $(-\infty, \infty)$, its range is the open interval $\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)$, and its graph is a smooth S-curve with horizontal asymptotes at $y = \pm\frac{\pi}{2}$.
BT
Bhanzu TeamLast updated on May 20, 20269 min read

A Radar Operator's Quiet Calculation

A radar dish picks up an aircraft 12 km out and 3 km up — what's the bearing angle? The answer is $\arctan(3/12) \approx 14°$, computed roughly two thousand times per second by air-traffic systems around the world. Tangent goes one way: angle in, ratio out. Arctan goes the other way: ratio in, angle out. That reversal is the whole point of this function.

What Is Arctan?

Arctan is the inverse of the tangent function. If $\tan \theta = x$, then $\arctan x = \theta$ — provided $\theta$ is restricted to a range where tangent is one-to-one, which we'll cover in a moment. The function is also written $\tan^{-1} x$ (the "$-1$" is a label, not a reciprocal — $\tan^{-1} x \neq 1/\tan x$).

Arctan takes any real number and returns an angle. That's the whole job.

The Arctan Formula

The defining relationship is the simplest possible:

$$y = \arctan x \quad \Longleftrightarrow \quad \tan y = x ;;\text{and};; y \in \left(-\tfrac{\pi}{2}, \tfrac{\pi}{2}\right)$$

In a right-triangle context, if the side opposite an acute angle $\theta$ is $p$ and the adjacent side is $b$, then:

$$\theta = \arctan!\left(\frac{p}{b}\right)$$

Five quick values to memorise — they appear constantly:

$x$

$\arctan x$ (radians)

$\arctan x$ (degrees)

$0$

$0$

$0°$

$1$

$\pi/4$

$45°$

$\sqrt{3}$

$\pi/3$

$60°$

$1/\sqrt{3}$

$\pi/6$

$30°$

$-1$

$-\pi/4$

$-45°$

Domain and Range of Arctan

Property

Value

Domain

$(-\infty, \infty)$ — every real number

Range

$\left(-\dfrac{\pi}{2}, \dfrac{\pi}{2}\right)$ — open interval, asymptotes never reached

Asymptotes

$y = \dfrac{\pi}{2}$ (right), $y = -\dfrac{\pi}{2}$ (left)

Continuity

Continuous everywhere

Symmetry

Odd function — $\arctan(-x) = -\arctan(x)$

Monotonicity

Strictly increasing

The domain is wide open because tangent's range is wide open — tangent already hits every real number on $(-\pi/2, \pi/2)$, so inverting it gives a function defined on the same set.

The range is restricted on purpose. Tangent is periodic with period $\pi$ — without a restriction, infinitely many angles would map to the same tangent value, and the inverse wouldn't be a function. Mathematicians chose $(-\pi/2, \pi/2)$ as the principal branch because it's the largest interval containing $0$ on which tangent is one-to-one and continuous.

The Arctan Graph

Picture a sine wave laid sideways and pulled flat at the top and bottom. That's the shape — a soft S-curve that approaches but never touches two horizontal lines.

Three features worth pinning down:

  • Passes through the origin. $\arctan(0) = 0$.

  • Horizontal asymptotes. As $x \to \infty$, $\arctan x \to \pi/2$. As $x \to -\infty$, $\arctan x \to -\pi/2$.

  • Steepest at $x = 0$. The slope at the origin is exactly $1$ — confirmed by the derivative below.

Arctan Identities

Identities that come up in problems and proofs:

$$\arctan(-x) = -\arctan(x)$$ $$\arctan(x) + \arctan!\left(\frac{1}{x}\right) = \frac{\pi}{2} \quad \text{for } x > 0$$ $$\arctan(x) + \arctan!\left(\frac{1}{x}\right) = -\frac{\pi}{2} \quad \text{for } x < 0$$ $$\arctan(x) + \arctan(y) = \arctan!\left(\frac{x+y}{1-xy}\right) + k\pi$$

where $k = 0$ if $xy < 1$, $k = 1$ if $xy > 1$ and both are positive, and $k = -1$ if $xy > 1$ and both are negative. The $k$ correction is what catches most students — we'll come back to it in the mistakes section.

A useful trick: any arctan plus its reciprocal arctan equals $\pm\pi/2$. That gives a fast way to convert between $\arctan(7)$ and $\arctan(1/7)$ during a tricky problem.

Arctan derivative and integral

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

$$\int \arctan(x), dx = x \arctan(x) - \frac{1}{2}\ln(1+x^2) + C$$

The derivative is bounded ($\leq 1$, equal to $1$ at $x = 0$) — which matches the flattening tails of the graph.

Three Worked Examples — Quick, Standard, Stretch

Quick

Find $\arctan(1)$.

We're asking: which angle in $(-\pi/2, \pi/2)$ has tangent equal to $1$? From the 45-45-90 triangle, $\tan(\pi/4) = 1$. So:

$$\arctan(1) = \frac{\pi}{4} = 45°$$

The Tempting Shortcut That Doesn't Work — A Worked Standard Example

Find $\arctan(\sqrt{3}) + \arctan(1)$.

The tempting shortcut. A student sees the addition formula and writes:

$$\arctan(\sqrt{3}) + \arctan(1) = \arctan!\left(\frac{\sqrt{3}+1}{1-\sqrt{3}\cdot 1}\right) = \arctan!\left(\frac{\sqrt{3}+1}{1-\sqrt{3}}\right)$$

Rationalising: $\frac{(\sqrt{3}+1)(1+\sqrt{3})}{(1-\sqrt{3})(1+\sqrt{3})} = \frac{(\sqrt{3}+1)^2}{1-3} = \frac{4+2\sqrt{3}}{-2} = -(2+\sqrt{3})$.

So the student gets $\arctan(-(2+\sqrt{3})) = -\arctan(2+\sqrt{3}) \approx -75°$, or $-5\pi/12$.

Sanity check. $\arctan(\sqrt{3}) = 60°$ and $\arctan(1) = 45°$ — both clearly positive. Their sum is $105°$, not $-75°$. Something's off by exactly $180°$ ($\pi$ radians).

The correction. Here, $x = \sqrt{3}$, $y = 1$, and $xy = \sqrt{3} > 1$ with both positive — so the $k = 1$ branch correction applies:

$$\arctan(\sqrt{3}) + \arctan(1) = -\arctan(2+\sqrt{3}) + \pi = -\frac{5\pi}{12} + \pi = \frac{7\pi}{12} = 105° \checkmark$$

In one Grade 11 cohort I worked with last winter, 8 of 12 students missed the $k$ correction on this exact problem on the first try. The formula didn't fail them; the branch did.

Stretch

A ladder leans against a wall. Its foot is 4 m from the wall, its top is 9 m up the wall. What angle does the ladder make with the ground?

$$\theta = \arctan!\left(\frac{9}{4}\right) = \arctan(2.25) \approx 1.1526 \text{ rad} \approx 66.04°$$

The ladder makes a 66-degree angle with the ground — comfortably steep but well inside the safe range (most safety guides suggest 65–75°).

Why Engineers, Pilots, and Coders Still Use Arctan

Arctan is the angle-recovery function. Anywhere a real-world system produces a rise-over-run and someone needs the angle that produced it, arctan does the work.

  • GPS and navigation. Every bearing computation — "the satellite is at this longitude and altitude; what direction am I looking?" — is an arctan call. Modern systems use atan2(y, x), a two-argument variant that returns angles across all four quadrants ($-\pi$ to $\pi$).

  • Robotics. Inverse kinematics — figuring out joint angles that put an end-effector at a target position — reduces to a sequence of arctans. The NASA Mars 2020 mission's robotic arm computes its shoulder, elbow, and wrist angles this way for every soil-sample target.

  • Graphics. Rotating a sprite to point at the mouse cursor is atan2(cursor.y - sprite.y, cursor.x - sprite.x). Every game engine includes it. The function shows up roughly once per frame in any 2D game that aims projectiles.

  • Signal processing. The phase of a complex number $z = a + bi$ is $\arctan(b/a)$ with quadrant correction — the foundation of Fourier analysis and digital filtering.

The reach is wide because the question — given a slope or ratio, what angle? — is one of the most common geometric questions a computer ever asks.

Slip-Ups That Cost Marks on Arctan

Four mistakes account for most of the lost points on inverse-tangent problems in Grade 11 and Grade 12 exams.

Mistake 1: Treating $\tan^{-1} x$ as $1/\tan x$

Where it slips in: Whenever the "$-1$" superscript appears next to a trig function.

Don't do this: Reading $\tan^{-1}(0.5)$ as $1/\tan(0.5) = 1/\tan(0.5,\text{rad}) \approx 1.83$.

The correct way: $\tan^{-1}(0.5) = \arctan(0.5) \approx 0.4636$ rad — the angle whose tangent is $0.5$. The "$-1$" is shorthand for "inverse function," not "reciprocal." The reciprocal of tangent is cotangent, written $\cot x$.

Mistake 2: Ignoring the principal range when "solving" $\tan \theta = k$

Where it slips in: Trig equations on $[0, 2\pi]$ or $[0°, 360°]$.

Don't do this: Writing "$\tan \theta = 1 \Rightarrow \theta = \arctan(1) = \pi/4$" and stopping there.

The correct way: Arctan returns one angle in $(-\pi/2, \pi/2)$. But tangent has period $\pi$, so on $[0, 2\pi]$ there are two solutions: $\pi/4$ and $\pi/4 + \pi = 5\pi/4$. Always add $n\pi$ before bounding to the requested interval. This is the rusher's classic mistake — finishing the calculator step and forgetting that the function has more solutions hiding behind its principal range.

Mistake 3: Forgetting the $k$-correction in $\arctan(x) + \arctan(y)$

Where it slips in: Combining two arctans where $xy > 1$ — exactly the scenario in the Standard example above.

Don't do this: Applying $\arctan(x) + \arctan(y) = \arctan!\left(\dfrac{x+y}{1-xy}\right)$ without checking the sign of $1 - xy$ or the quadrant.

The correct way: Check $xy$ first. If $xy < 1$, the simple formula works. If $xy > 1$ (and both positive), add $\pi$. If $xy > 1$ (and both negative), subtract $\pi$. The second-guesser's habit — checking each branch — saves marks here.

Mistake 4: Using $\arctan(y/x)$ when you should be using atan2(y, x)

Where it slips in: Computing the angle of a vector or complex number, especially when the $x$-component is zero or negative.

Don't do this: Writing the angle of the point $(-1, 1)$ as $\arctan(1/-1) = \arctan(-1) = -\pi/4$.

The correct way: The point $(-1, 1)$ is in the second quadrant, so its angle is $3\pi/4$ — not $-\pi/4$. The two-argument atan2(y, x) checks both signs and returns the correct quadrant angle in $(-\pi, \pi]$. This is the real-world version of the principal-range mistake: countless robotics post-mortems trace sign-flip bugs to a programmer using atan(y/x) instead of atan2(y, x), sending a virtual rover into a wall.

Key Takeaways

  • Arctan is the inverse tangent — input is any real number, output is an angle in $(-\pi/2, \pi/2)$.

  • The graph is a smooth S-curve through the origin with horizontal asymptotes at $\pm\pi/2$.

  • The derivative is $\dfrac{1}{1+x^2}$ — bounded above by $1$, reached only at $x = 0$.

  • The biggest exam-day slip is treating $\tan^{-1} x$ as $1/\tan x$ — they are not the same.

  • For 2D vector angles, use atan2(y, x), not arctan(y/x) — the quadrant matters.

Where to Go From Here

Sketch the arctan graph from memory, then check it against Desmos — does your slope at $x = 0$ look like $1$? Then try three quick problems: compute $\arctan(\sqrt{3}/3)$, find both solutions to $\tan \theta = -\sqrt{3}$ on $[0, 2\pi]$, and write the angle of the point $(-2, 2)$ as a multiple of $\pi$. If the second one only gave you one solution, re-read Mistake 2.

Want your child to build deep fluency with inverse trig functions through guided practice with a live trainer? Try a free Bhanzu class — our trainers teach this material to students from McKinney, TX to Mumbai using the wrong-path-first method shown in the Standard example above.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is arctan in simple terms?
Arctan is the function that answers "what angle has this tangent?" Plug in a real number, get back an angle between $-90°$ and $90°$.
Is $\tan^{-1} x$ the same as $\cot x$?
No. $\tan^{-1} x$ is the inverse function — arctan. $\cot x = 1/\tan x$ is the reciprocal. They give very different answers for the same input.
What is the domain and range of arctan?
Domain: all real numbers. Range: $(-\pi/2, \pi/2)$ in radians, or $(-90°, 90°)$ in degrees. The range is open — the asymptote values are approached but never reached.
Why is arctan's range only $(-\pi/2, \pi/2)$ and not all angles?
Because tangent is periodic and infinitely many angles share the same tangent value. To make the inverse a true function, mathematicians pick one branch — the principal branch on $(-\pi/2, \pi/2)$ — by convention.
How is arctan used in real life?
Anywhere a slope or ratio needs to be converted back to an angle: navigation bearings, robotic-arm joint angles, video-game aiming, signal-processing phase calculations, and physics problems involving inclined planes.
Is arctan an even or odd function?
Odd. $\arctan(-x) = -\arctan(x)$ — the graph has 180° rotational symmetry around the origin.
What is $\arctan(\infty)$?
A limit, not a value. $\lim_{x \to \infty} \arctan(x) = \pi/2$. Arctan approaches but never reaches $\pi/2$.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →