Tan Pi/2 : Why It Is Undefined, From the Unit Circle

#Trigonometry
TL;DR
The value of tan π/2 is undefined: it is not a number, because $\cos\frac{\pi}{2} = 0$ forces a division by zero. This article works from the radian angle and the unit-circle point $(0, 1)$, shows the vertical asymptote and the one-sided limits, notes why the odd-function rule does not rescue a value, and clears the "tan π/2 equals infinity" mix-up with examples.
BT
Bhanzu TeamLast updated on August 15, 20266 min read

What Does Tan Pi/2 Mean?

Angles are often measured in radians rather than degrees, and $\frac{\pi}{2}$ is a quarter of a full turn. On the unit circle, the tangent of an angle is the $y$-coordinate divided by the $x$-coordinate of the terminal point, so $\tan\frac{\pi}{2}$ asks for that ratio at the top of the circle.

At $\frac{\pi}{2}$ the terminal point is $(0, 1)$. The $x$-coordinate is exactly $0$, so the ratio $\frac{y}{x}$ becomes $\frac{1}{0}$. No number equals $\frac{1}{0}$, so the tangent is undefined here, a true gap in the function rather than a large value.

Where Tan Pi/2 Shows Up

A radius pointing to $\frac{\pi}{2}$ stands perfectly vertical, and the tangent of an angle is the slope of the line that radius traces. A vertical line has no horizontal run, so its slope has nothing to divide by, which is the geometric reason $\tan\frac{\pi}{2}$ is undefined.

This gap defines the shape of the tangent graph across the trigonometric functions: the curve breaks at $\frac{\pi}{2}$ and repeats that break every $\pi$ radians, so the function is never continuous the way sine and cosine are.

Standard-Angle Tangent Reference Table

In radians, the tangent climbs from $0$ and then simply has no value at $\frac{\pi}{2}$, the quarter-turn straight up the circle. Every entry below is read from the unit circle.

Angle (radians)

Angle (degrees)

$\tan\theta$

$0$

$0^\circ$

$0$

$\dfrac{\pi}{6}$

$30^\circ$

$\dfrac{1}{\sqrt{3}} \approx 0.5774$

$\dfrac{\pi}{4}$

$45^\circ$

$1$

$\dfrac{\pi}{3}$

$60^\circ$

$\sqrt{3} \approx 1.7321$

$\dfrac{\pi}{2}$

$90^\circ$

undefined

$\pi$

$180^\circ$

$0$

$\dfrac{3\pi}{2}$

$270^\circ$

undefined

The two undefined rows, $\frac{\pi}{2}$ and $\frac{3\pi}{2}$, are exactly where the radius points straight up or straight down and the $x$-coordinate is zero.

How Do You Show Tan Pi/2 Is Undefined?

Starting from the radian angle, three routes agree.

Method 1: The unit circle.

The terminal point at $\frac{\pi}{2}$ is $(0, 1)$.

$$\tan\frac{\pi}{2} = \frac{y}{x} = \frac{1}{0} \quad (\text{undefined})$$

Method 2: Sine over cosine.

$$\sin\frac{\pi}{2} = 1, \qquad \cos\frac{\pi}{2} = 0$$

$$\tan\frac{\pi}{2} = \frac{\sin\frac{\pi}{2}}{\cos\frac{\pi}{2}} = \frac{1}{0} \quad (\text{undefined})$$

Method 3: The one-sided limits.

$$\lim_{\theta \to \frac{\pi}{2}^{-}} \tan\theta = +\infty, \qquad \lim_{\theta \to \frac{\pi}{2}^{+}} \tan\theta = -\infty$$

The two sides run to opposite ends, so no single value exists and the graph shows a vertical asymptote at $\frac{\pi}{2}$. The same undefined behaviour appears at the degree twin, tan 90 degrees, which reaches the answer from the degree side instead.

Examples of Tan Pi/2

With no value to substitute, the work here is about handling the gap and its neighbours correctly. A recurring pattern: learners who have just met the odd-function rule for tangent try to use it at $\frac{\pi}{2}$ and expect a signed infinity, when the rule only relates values at angles where the tangent actually exists.

Example 1

Evaluate $\cot\frac{\pi}{2}$ using $\cot\theta = \frac{\cos\theta}{\sin\theta}$.

$$\cot\frac{\pi}{2} = \frac{\cos\frac{\pi}{2}}{\sin\frac{\pi}{2}} = \frac{0}{1} = 0$$

Cotangent is the reciprocal of tangent, and it is a clean $0$ exactly where the tangent is undefined.

Example 2

Tangent is odd, so does $\tan\left(-\frac{\pi}{2}\right) = -\tan\frac{\pi}{2}$ give a value?

Wrong attempt. A student writes $\tan\frac{\pi}{2} = +\infty$, then applies oddness to get $\tan\left(-\frac{\pi}{2}\right) = -\infty$, and treats the two as opposite numbers.

That breaks down. The identity $\tan(-\theta) = -\tan\theta$ only holds where $\tan\theta$ is a real number, and $\tan\frac{\pi}{2}$ is not. You cannot negate a value that does not exist.

Correct. Both $\tan\frac{\pi}{2}$ and $\tan\left(-\frac{\pi}{2}\right)$ are undefined. The odd-function rule says nothing new at the asymptote.

Example 3

For which radian angles in $[0, 2\pi)$ is the tangent undefined?

Tangent is undefined wherever $\cos\theta = 0$.

$$\cos\theta = 0 \implies \theta = \frac{\pi}{2} \ \text{and}\ \theta = \frac{3\pi}{2}$$

So $\frac{\pi}{2}$ is one of the two undefined angles in a full turn.

Example 4

Evaluate $\tan\left(\frac{\pi}{2} - 0.001\right)$ in radians to see the asymptote.

$$\tan\left(\frac{\pi}{2} - 0.001\right) \approx 1000.0$$

The value is huge just short of $\frac{\pi}{2}$ and would be large and negative just past it, which is why the point itself is undefined.

Example 5

Simplify $\dfrac{1}{\cos\frac{\pi}{2}}$ and state whether $\sec\frac{\pi}{2}$ exists.

$$\sec\frac{\pi}{2} = \frac{1}{\cos\frac{\pi}{2}} = \frac{1}{0}$$

Like the tangent, the secant divides by $\cos\frac{\pi}{2} = 0$, so $\sec\frac{\pi}{2}$ is undefined as well.

Where Do Students Trip Up on Tan Pi/2?

Mistake 1: Assigning it the value infinity

Where it slips in: After watching the tangent grow near $\frac{\pi}{2}$, when "unbounded" gets recorded as "equals $\infty$."

Don't do this: Writing $\tan\frac{\pi}{2} = \infty$ and carrying $\infty$ into later steps.

The correct way: Report it as undefined. The learner who checks both sides of the asymptote sees the right side heading to $-\infty$, which rules out a single value.

Mistake 2: Applying the odd-function rule at the gap

Where it slips in: Using $\tan(-\theta) = -\tan\theta$ at $\theta = \frac{\pi}{2}$, where the tangent has no value.

Don't do this: Concluding $\tan\left(-\frac{\pi}{2}\right)$ is the negative of some number.

The correct way: The identity holds only where the tangent is defined. At $\frac{\pi}{2}$ both sides are undefined, so the rule gives nothing.

Mistake 3: Reading the wrong coordinate off the unit circle

Where it slips in: Swapping $x$ and $y$ at $(0, 1)$ and computing $\frac{0}{1}$ instead of $\frac{1}{0}$.

Don't do this: Reporting $\tan\frac{\pi}{2} = 0$ from a flipped ratio.

The correct way: Tangent is $\frac{y}{x}$, and at $\frac{\pi}{2}$ that is $\frac{1}{0}$, which is undefined; $\frac{0}{1} = 0$ is the cotangent instead.

Key Takeaways

  • Tan pi/2 is undefined because the unit-circle point at $\frac{\pi}{2}$ is $(0, 1)$, giving $\frac{y}{x} = \frac{1}{0}$.

  • It is not infinity: the left limit is $+\infty$ and the right limit is $-\infty$, so no value exists.

  • The odd-function rule and the value at $-\frac{\pi}{2}$ are both undefined at this gap.

  • In degrees the same angle is $90^\circ$, and the tangent graph has a vertical asymptote at $\frac{\pi}{2}$.

To work through radians and asymptotes with a teacher, explore Bhanzu's trigonometry tutor sessions, a high school math tutor, or math classes online.

Practice These Before Moving On

  1. State whether each exists at $\frac{\pi}{2}$: $\tan\frac{\pi}{2}$, $\cot\frac{\pi}{2}$, $\sec\frac{\pi}{2}$, $\csc\frac{\pi}{2}$.

  2. List every radian angle in $[0, 2\pi)$ where the tangent is undefined.

  3. Evaluate $\tan\left(\frac{\pi}{2} - 0.0001\right)$ and explain in one line why $\tan\frac{\pi}{2}$ has no value.

Want a live Bhanzu trainer to unpack why tan pi/2 is undefined? Book a free demo class.

Read More

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the exact value of tan pi/2?
There is no exact value: $\tan\frac{\pi}{2}$ is undefined, because $\cos\frac{\pi}{2} = 0$.
Why is tan pi/2 undefined?
Because on the unit circle the point at $\frac{\pi}{2}$ is $(0, 1)$, and the tangent $\frac{y}{x} = \frac{1}{0}$ divides by zero.
Is tan pi/2 the same as tan 90 degrees?
Yes. $\frac{\pi}{2}$ radians equals $90^\circ$, and both are undefined for the same reason.
What is tan(−pi/2)?
Also undefined. The odd-function rule cannot assign a value where the tangent does not exist.
What is the limit of tan θ as θ approaches pi/2?
It is $+\infty$ from the left and $-\infty$ from the right, so the two-sided limit does not exist.
✍️ 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 →