Horizontal line test :
\A function is one-to-one if and only if no horizontal line intersects its graph more than once.
\Draw a horizontal line.
\Observe the graph :
\The function attains the value twice, around its maximum and minimum.
\The function is not one-to-one, because it violates the horizontal line test.
\The function is not one-to-one.