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⁡π2=0\cos\frac{\pi}{2} = 0 forces a division by zero. This article works from the radian angle and the unit-circle point (0,1)(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 π2\frac{\pi}{2} is a quarter of a full turn. On the unit circle, the tangent of an angle is the yy-coordinate divided by the xx-coordinate of the terminal point, so tan⁡π2\tan\frac{\pi}{2} asks for that ratio at the top of the circle.

At π2\frac{\pi}{2} the terminal point is (0,1)(0, 1). The xx-coordinate is exactly 00, so the ratio yx\frac{y}{x} becomes 10\frac{1}{0}. No number equals 10\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 π2\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⁡π2\tan\frac{\pi}{2} is undefined.

This gap defines the shape of the tangent graph across the trigonometric functions: the curve breaks at π2\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 00 and then simply has no value at π2\frac{\pi}{2}, the quarter-turn straight up the circle. Every entry below is read from the unit circle.

Angle (radians)

Angle (degrees)

tan⁡θ\tan\theta

00

0∘0^\circ

00

π6\dfrac{\pi}{6}

30∘30^\circ

13≈0.5774\dfrac{1}{\sqrt{3}} \approx 0.5774

π4\dfrac{\pi}{4}

45∘45^\circ

11

π3\dfrac{\pi}{3}

60∘60^\circ

3≈1.7321\sqrt{3} \approx 1.7321

π2\dfrac{\pi}{2}

90∘90^\circ

undefined

π\pi

180∘180^\circ

00

3π2\dfrac{3\pi}{2}

270∘270^\circ

undefined

The two undefined rows, π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}, are exactly where the radius points straight up or straight down and the xx-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 π2\frac{\pi}{2} is (0,1)(0, 1).

tan⁡π2=yx=10(undefined)\tan\frac{\pi}{2} = \frac{y}{x} = \frac{1}{0} \quad (\text{undefined})

Method 2: Sine over cosine.

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

tan⁡π2=sin⁡π2cos⁡π2=10(undefined)\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⁡θ→π2−tan⁡θ=+∞,lim⁡θ→π2+tan⁡θ=−∞\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 π2\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 π2\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⁡π2\cot\frac{\pi}{2} using cot⁡θ=cos⁡θsin⁡θ\cot\theta = \frac{\cos\theta}{\sin\theta}.

cot⁡π2=cos⁡π2sin⁡π2=01=0\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 00 exactly where the tangent is undefined.

Example 2

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

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

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

Correct. Both tan⁡π2\tan\frac{\pi}{2} and tan⁡(−π2)\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π)[0, 2\pi) is the tangent undefined?

Tangent is undefined wherever cos⁡θ=0\cos\theta = 0.

cos⁡θ=0  ⟹  θ=π2 and θ=3π2\cos\theta = 0 \implies \theta = \frac{\pi}{2} \ \text{and}\ \theta = \frac{3\pi}{2}

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

Example 4

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

tan⁡(π2−0.001)≈1000.0\tan\left(\frac{\pi}{2} - 0.001\right) \approx 1000.0

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

Example 5

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

sec⁡π2=1cos⁡π2=10\sec\frac{\pi}{2} = \frac{1}{\cos\frac{\pi}{2}} = \frac{1}{0}

Like the tangent, the secant divides by cos⁡π2=0\cos\frac{\pi}{2} = 0, so sec⁡π2\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 π2\frac{\pi}{2}, when "unbounded" gets recorded as "equals ∞\infty."

Don't do this: Writing tan⁡π2=∞\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⁡(−θ)=−tan⁡θ\tan(-\theta) = -\tan\theta at θ=π2\theta = \frac{\pi}{2}, where the tangent has no value.

Don't do this: Concluding tan⁡(−π2)\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 π2\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 xx and yy at (0,1)(0, 1) and computing 01\frac{0}{1} instead of 10\frac{1}{0}.

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

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

Key Takeaways

  • Tan pi/2 is undefined because the unit-circle point at π2\frac{\pi}{2} is (0,1)(0, 1), giving yx=10\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 −π2-\frac{\pi}{2} are both undefined at this gap.

  • In degrees the same angle is 90∘90^\circ, and the tangent graph has a vertical asymptote at π2\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 π2\frac{\pi}{2}: tan⁡π2\tan\frac{\pi}{2}, cot⁡π2\cot\frac{\pi}{2}, sec⁡π2\sec\frac{\pi}{2}, csc⁡π2\csc\frac{\pi}{2}.

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

  3. Evaluate tan⁡(π2−0.0001)\tan\left(\frac{\pi}{2} - 0.0001\right) and explain in one line why tan⁡π2\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

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⁡π2\tan\frac{\pi}{2} is undefined, because cos⁡π2=0\cos\frac{\pi}{2} = 0.
Why is tan pi/2 undefined?
Because on the unit circle the point at π2\frac{\pi}{2} is (0,1)(0, 1), and the tangent yx=10\frac{y}{x} = \frac{1}{0} divides by zero.
Is tan pi/2 the same as tan 90 degrees?
Yes. π2\frac{\pi}{2} radians equals 90∘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 →