# Tangent Function

## Function

tan(θ)

## Summary

Given the angle of a right triangle as input returns the ratio of the triangle's opposite side over its adjacent side.

Tangent takes in the angle of a right triangle as input and returns the ratio of the triangle’s opposite side over its adjacent side. The angle is represented by the symbol theta (θ).

Illustrated below is every possible triangle with hypotenuse of length one (the unit circle). Notice the extremes, where the opposite and adjacent sides are either zero or one. When the numerator (opposite side) becomes really small the graph approaches zero. Where the denominator (adjacent side) becomes really small the graph diverges towards positive and negative infinity.