# What is the range of the function y = tan x?

you will see that the various repeated "pieces" of the graph point both upward and downward in an increasing direction from left to right. The function is undefined at $\frac{\pi}{2}$ and its odd multiples, or $\frac{\left(2 n + 1\right) \pi}{2}$ .