The function is .
Horizontal line test:
\A function is one-to-one if and only if no horizontal line intersects its graph more than once.
\That is, any horizontal line in the graph must cross the curve at one point only.
\\
Observe the graph :
\Draw the horizontal line , this horizontal line does not touch the graph more than once.
The function is a one-to-one, because it passes the horizontal line test.
\The function is an one-to-one.