## Precalculus (6th Edition) Blitzer

The restriction on the cosine function is to limit its domain in $[0,\pi]$. In this way, the limited section of the curve will pass the horizontal line test and has an inverse function.