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.
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
Turn θ = 50° and extend the radius until it hits x = 1. The height of the hit point is tan θ.
tan 50° ≈ 1.192
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
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)
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 π
cd svg-generator python3 -m svgmath render tangent-line-segment --out /tmp/tangent-line-segment
Source: svgmath/diagrams/unit_circle.py