## Precalculus (10th Edition)

The Horizontal Line Test says that if all horizontal lines drawn intersect the graph of the function at at most one point, then the function is one-to-one. This function doesn't pass the Horizontal Line Test because the horizontal line $y=2$ passes through an infinite number of points on the graph. Hence the function is not one-to-one.