Tangent Function : Graph, Period, Asymptotes & Properties

#Trigonometry
TL;DR
The tangent function, tan⁡θ=sin⁡θcos⁡θ\tan\theta = \dfrac{\sin\theta}{\cos\theta}, gives the slope of the line from the origin to a point on the unit circle. This article covers its definition, the tangent graph with vertical asymptotes, why the period is π\pi (not 2π2\pi), its domain, range, odd symmetry, and worked examples.
BT
Bhanzu TeamLast updated on August 15, 202610 min read

The Function That Turns An Angle Into A Slope

A road sign that reads "12% grade" is a tangent value in disguise: for every 100 metres travelled forward, the road climbs 12. That single number, rise over run, is exactly what the tangent function computes for any angle. Point your eye at a hilltop, measure the angle, and the tangent of that angle is the steepness you would feel underfoot.

That is why tangent sits at the centre of anything involving slope, gradient, or line of sight — surveying a building's height, aiming a telescope, setting the pitch of a roof. Get the tangent wrong and the height you calculate for a distant tower is wrong by the same ratio.

What Is The Tangent Function?

The tangent function, written tan⁡θ\tan\theta, is one of the three primary trigonometric functions. It has two equivalent definitions, and a student needs both.

  • Right-triangle definition. For an acute angle θ\theta in a right triangle, tan⁡θ=oppositeadjacent\tan\theta = \dfrac{\text{opposite}}{\text{adjacent}}. This is the SOH-CAH-TOA "TOA" - Tangent, Opposite, Adjacent.

  • Ratio definition (unit circle). For any angle θ\theta, tangent is the ratio of sine to cosine: tan⁡θ=sin⁡θcos⁡θ\tan\theta = \dfrac{\sin\theta}{\cos\theta}. On the unit circle - a circle of radius 1 centred at the origin - the terminal ray meets the circle at (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta), so tangent is the yy-coordinate divided by the xx-coordinate. Geometrically, that ratio is the slope of the ray.

The triangle definition handles angles between 0∘0^\circ and 90∘90^\circ. The ratio definition extends tangent to every angle, and it is the more powerful one — it tells you immediately that tangent breaks wherever cos⁡θ=0\cos\theta = 0. Tangent belongs to the wider family of trigonometric functions, and it is the quotient of the sine and cosine values you already know.

Reading Tangent Straight Off The Ratio

Take θ=60∘\theta = 60^\circ. You already know sin⁡60∘=32\sin 60^\circ = \dfrac{\sqrt{3}}{2} and cos⁡60∘=12\cos 60^\circ = \dfrac{1}{2}. So:

tan⁡60∘=sin⁡60∘cos⁡60∘=3212=3\tan 60^\circ = \dfrac{\sin 60^\circ}{\cos 60^\circ} = \dfrac{\frac{\sqrt{3}}{2}}{\frac{1}{2}} = \sqrt{3}

The tangent of 60∘60^\circ is about 1.7321.732 — a steep slope, which matches a 60∘60^\circ ramp being far steeper than a gentle one. A step-by-step view of how tangent is read directly from angle positions lives in the unit circle with tangent walkthrough.

What Are The Properties Of The Tangent Function?

The behaviour of tan⁡θ\tan\theta is fixed by a handful of properties, most of them readable straight off the graph above. Before the list, one term: a quadrant is one of the four regions the two axes cut the plane into, numbered I to IV anticlockwise from the top right.

  • Domain: all real numbers except θ=π2+kπ\theta = \dfrac{\pi}{2} + k\pi for every integer kk - the angles where cos⁡θ=0\cos\theta = 0 and the ratio has no value.

  • Range: all real numbers. Unlike sine and cosine, tangent has no ceiling or floor; it runs from −∞-\infty to +∞+\infty.

  • Period: π\pi (or 180∘180^\circ), not 2π2\pi. The whole curve repeats every half-turn: tan⁡(θ+π)=tan⁡θ\tan(\theta + \pi) = \tan\theta.

  • Odd function: tan⁡(−θ)=−tan⁡θ\tan(-\theta) = -\tan\theta. The graph has rotational symmetry about the origin.

  • No amplitude. Because the curve is unbounded, "amplitude" simply does not apply to tangent - a common point of confusion.

  • Vertical asymptotes at θ=π2+kπ\theta = \dfrac{\pi}{2} + k\pi: the curve races toward ±∞\pm\infty without ever touching these lines.

  • Zeros at θ=kπ\theta = k\pi (where sin⁡θ=0\sin\theta = 0): the curve crosses the axis at 0,±π,±2π,…0, \pm\pi, \pm 2\pi, \dots

Why Is The Period Of Tangent Equal To π\pi?

This is the question students ask most, and the ratio answers it. Sine and cosine each repeat every 2π2\pi. But move an angle by exactly π\pi (half a turn) and both sin⁡θ\sin\theta and cos⁡θ\cos\theta flip sign:

tan⁡(θ+π)=sin⁡(θ+π)cos⁡(θ+π)=−sin⁡θ−cos⁡θ=sin⁡θcos⁡θ=tan⁡θ\tan(\theta + \pi) = \dfrac{\sin(\theta + \pi)}{\cos(\theta + \pi)} = \dfrac{-\sin\theta}{-\cos\theta} = \dfrac{\sin\theta}{\cos\theta} = \tan\theta

The two minus signs cancel, so the ratio is back to where it started after only half a turn. Tangent finishes its full cycle in π\pi, twice as fast as sine or cosine.

Tangent Signs By Quadrant

Because tangent is sin⁡θcos⁡θ\dfrac{\sin\theta}{\cos\theta}, its sign is positive exactly when sine and cosine share a sign.

Quadrant

Angle range

Sign of tan⁡θ\tan\theta

I

0∘0^\circ to 90∘90^\circ

Positive

II

90∘90^\circ to 180∘180^\circ

Negative

III

180∘180^\circ to 270∘270^\circ

Positive

IV

270∘270^\circ to 360∘360^\circ

Negative

Tangent is positive in Quadrants I and III - the two quadrants where the slope of the terminal ray points the same way.

Key Tangent Values

These special-angle values recur throughout trigonometry and feed the trigonometric table.

θ\theta

0∘0^\circ

30∘30^\circ

45∘45^\circ

60∘60^\circ

90∘90^\circ

tan⁡θ\tan\theta

00

13\dfrac{1}{\sqrt{3}}

11

3\sqrt{3}

undefined

At 90∘90^\circ the value is undefined, not infinite and not zero - cosine is zero there, so the ratio simply has no number.

Examples Of The Tangent Function

Example 1

A right triangle has an opposite side of 4 and an adjacent side of 3. Find tan⁡θ\tan\theta.

tan⁡θ=oppositeadjacent=43\tan\theta = \dfrac{\text{opposite}}{\text{adjacent}} = \dfrac{4}{3}

Final answer: tan⁡θ=43\tan\theta = \dfrac{4}{3}.

Example 2

Evaluate tan⁡135∘\tan 135^\circ. First instinct, then the correct route.

The tempting move is to treat 135∘135^\circ like 45∘45^\circ and write tan⁡135∘=1\tan 135^\circ = 1, since 135∘135^\circ has a reference angle of 45∘45^\circ.

Check it against the quadrant. 135∘135^\circ lands in Quadrant II, where tangent is negative. A positive answer contradicts the sign table, so the instinct is wrong on the sign.

The rescue is to take the reference-angle value and then apply the quadrant sign as a separate step. The reference angle is 180∘−135∘=45∘180^\circ - 135^\circ = 45^\circ, so the size is tan⁡45∘=1\tan 45^\circ = 1, and the Quadrant II sign is negative:

tan⁡135∘=−tan⁡45∘=−1\tan 135^\circ = -\tan 45^\circ = -1

Final answer: tan⁡135∘=−1\tan 135^\circ = -1.

Example 3

Find the period of y=tan⁡(3x)y = \tan(3x).

The period of tan⁡(bx)\tan(bx) is π∣b∣\dfrac{\pi}{|b|}. Here b=3b = 3:

Period=π3\text{Period} = \dfrac{\pi}{3}

Final answer: period =π3= \dfrac{\pi}{3}.

Example 4

Where are the vertical asymptotes of y=tan⁡xy = \tan x between 00 and 2π2\pi?

Asymptotes occur where cos⁡x=0\cos x = 0. Between 00 and 2π2\pi, cosine is zero at π2\dfrac{\pi}{2} and 3π2\dfrac{3\pi}{2}.

Final answer: asymptotes at x=π2x = \dfrac{\pi}{2} and x=3π2x = \dfrac{3\pi}{2}.

Example 5

A surveyor stands 50 m from the base of a tower and measures the angle to the top as 40∘40^\circ. How tall is the tower?

The height is the opposite side, the 50 m is the adjacent side, so tan⁡40∘=h50\tan 40^\circ = \dfrac{h}{50}.

h=50×tan⁡40∘≈50×0.839=41.95 mh = 50 \times \tan 40^\circ \approx 50 \times 0.839 = 41.95 \text{ m}

Final answer: the tower is about 4242 m tall.

Example 6

Verify the identity tan⁡θ=sin⁡θcos⁡θ\tan\theta = \dfrac{\sin\theta}{\cos\theta} at θ=30∘\theta = 30^\circ.

Use the known values sin⁡30∘=12\sin 30^\circ = \dfrac{1}{2} and cos⁡30∘=32\cos 30^\circ = \dfrac{\sqrt{3}}{2}:

sin⁡30∘cos⁡30∘=1232=13=tan⁡30∘ ✓\dfrac{\sin 30^\circ}{\cos 30^\circ} = \dfrac{\frac{1}{2}}{\frac{\sqrt{3}}{2}} = \dfrac{1}{\sqrt{3}} = \tan 30^\circ \ \checkmark

Final answer: the identity holds; tan⁡30∘=13\tan 30^\circ = \dfrac{1}{\sqrt{3}}.

The first-instinct error students reach for across these is treating a reference angle as the whole answer — the reference angle fixes the size of the value, but the quadrant decides the sign, and skipping that second step is exactly where tan⁡135∘\tan 135^\circ comes out positive by mistake.

Why The Tangent Function Matters - "An angle becomes a slope"

Tangent exists to do one thing cleanly: convert an angle of inclination into a slope, and a slope back into an angle. That is its fundamental utility, and it is why the function turns up wherever direction and steepness meet.

  • Line of sight and height. Measure the angle to the top of something and its horizontal distance, and tangent hands you the height - the whole basis of surveying and heights-and-distances problems.

  • Gradient and design. The steepness of a wheelchair ramp, a rail track, or a roof pitch is a tangent value; the 12% road grade on a mountain sign is tan⁡θ\tan\theta written as a percentage.

  • The inverse direction. Reading a slope back into an angle uses the inverse tangent, arctan⁡\arctan, which is how a screen or a joystick turns two coordinates into a heading.

What competitor explainers usually skip is why tangent, alone among the three, has asymptotes: sine and cosine are bounded because they are coordinates on a circle of radius 1, but tangent is a ratio of those coordinates, and dividing by a shrinking cosine sends the value out of bounds. The asymptote is not a flaw in the graph - it is the slope of a ray that has turned fully vertical.

Common Mistakes With The Tangent Function

Mistake 1: Assuming the period is 2π2\pi

Where it slips in: Any time a student carries the sine/cosine period straight over to tangent.

Don't do this: Writing that y=tan⁡xy = \tan x repeats every 2π2\pi and drawing one long cycle.

The correct way: Tangent repeats every π\pi. The half-turn sign-flip in both sine and cosine cancels in the ratio, so the curve is already back to its start after π\pi.

The memorizer who learned "trig functions have period 2π2\pi" as a single fact applies it to all three and draws tangent with half the asymptotes it should have.

Mistake 2: Confusing zeros with asymptotes

Where it slips in: Sketching the graph or listing where the curve breaks.

Don't do this: Putting the vertical asymptotes at 0,π,2π0, \pi, 2\pi and the crossings at π2,3π2\dfrac{\pi}{2}, \dfrac{3\pi}{2}.

The correct way: Tangent is zero where sin⁡θ=0\sin\theta = 0 (at 0,π,2π0, \pi, 2\pi) and undefined where cos⁡θ=0\cos\theta = 0 (at π2,3π2\dfrac{\pi}{2}, \dfrac{3\pi}{2}). Sine controls the crossings; cosine controls the breaks.

Mistake 3: Claiming tangent has an amplitude

Where it slips in: Copying the y=asin⁡(bx)y = a\sin(bx) template onto y=atan⁡(bx)y = a\tan(bx).

Don't do this: Saying y=3tan⁡xy = 3\tan x has "amplitude 3."

The correct way: Tangent is unbounded, so it has no maximum or minimum and no amplitude. The coefficient 33 is a vertical stretch, but the curve still runs to ±∞\pm\infty.

Key Takeaways

  • The tangent function is oppositeadjacent\dfrac{\text{opposite}}{\text{adjacent}} in a triangle and sin⁡θcos⁡θ\dfrac{\sin\theta}{\cos\theta} — the slope of the terminal ray — on the unit circle.

  • Its period is π\pi, not 2π2\pi, because the half-turn sign-flip in sine and cosine cancels.

  • The range is all real numbers; tangent has no amplitude and no maximum.

  • Vertical asymptotes sit where cos⁡θ=0\cos\theta = 0; zeros sit where sin⁡θ=0\sin\theta = 0.

  • Tangent is odd: tan⁡(−θ)=−tan⁡θ\tan(-\theta) = -\tan\theta.

To go deeper into the tangent function with a teacher, explore Bhanzu's trigonometry tutor sessions, a high school math tutor for graphing practice, or live math classes online with peers from 20+ countries.

A Practical Next Step

Practice these to solidify your understanding: sketch y=tan⁡xy = \tan x from −π-\pi to π\pi from memory, marking the asymptotes first and the zeros second, then find the period of y=tan⁡(4x)y = \tan(4x). If you get stuck, come back to the properties list above. Want a live Bhanzu trainer to graph these with you? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

Is the tangent function even or odd?
Odd. tan⁡(−θ)=−tan⁡θ\tan(-\theta) = -\tan\theta, so the graph has rotational symmetry about the origin.
What is the range of the tangent function?
All real numbers. Tangent has no upper or lower bound, which is why it has no amplitude.
Why is tan called tangent?
Because its value equals the length of a line segment tangent to the unit circle — the segment on the vertical line x=1x = 1 cut off by the extended terminal ray.
Where is the tangent function undefined?
At every angle where cosine is zero: θ=π2+kπ\theta = \dfrac{\pi}{2} + k\pi. The ratio sin⁡θcos⁡θ\dfrac{\sin\theta}{\cos\theta} has no value when the denominator is zero.
How do you find the xx-intercepts of the tangent graph?
Set tan⁡θ=0\tan\theta = 0, which means sin⁡θ=0\sin\theta = 0. That happens at θ=kπ\theta = k\pi — the integer multiples of π\pi.
✍️ 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 →