Tangent on the Unit Circle

Category: Trigonometry   Level: 201

tan θ = sin θ / cos θ, undefined at θ = π/2 + kπ

Extend the radius until it hits the vertical line x = 1. The height where it hits is tan θ. As θ nears 90°, the radius runs parallel to the line and the height runs off to infinity.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Draw the line x = 1

Draw the vertical line that touches the unit circle at (1, 0). It is called a tangent line because it only touches, and that is where the name of the function comes from.

tangent line: x = 1

Step 1: Draw the line x = 1

Step 2: Extend the radius to the line

Turn θ = 50° and extend the radius until it hits x = 1. The height of the hit point is tan θ.

tan 50° ≈ 1.192

Step 2: Extend the radius to the line

Step 3: Two similar triangles

The small triangle has legs cos θ and sin θ. The big one has legs 1 and tan θ. Same angle, same shape, so the ratios match.

tan θ / 1 = sin θ / cos θ ≈ 0.766/0.643

Step 3: Two similar triangles

Step 4: Plot the height against θ

Carry the height tan θ across to a graph, the same way a sine graph is built. At θ = 0.873 rad the graph is 1.192 high.

(θ, tan θ) ≈ (0.873, 1.192)

Step 4: Plot the height against θ

Step 5: Asymptotes at ±π/2

As θ nears 90°, the extended radius gets closer to parallel with x = 1 and the hit point flies off the top. At 90° they never meet, so tan θ is undefined. The pattern repeats every π.

tan θ = sin θ / cos θ, cos(π/2) = 0, period π

Step 5: Asymptotes at ±π/2

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render tangent-line-segment --out /tmp/tangent-line-segment

Source: svgmath/diagrams/unit_circle.py