Answer:
There are many. Two examples are
[tex]f(x) = x, \\f(x) = x^3[/tex]
Step-by-step explanation:
There are many examples. The simplest is
1 -
[tex]f(x) = x[/tex]
It is trivial that
[tex]\text{if \,\,\,\,} f(x) = f(y) \,\,\,\,\,\text{then} \,\,\,\,\, x=y[/tex]
2 -
[tex]f(x) = x^3[/tex]
That function is injective as well.
[tex]\text{if \,\,\,\,} x^3 = y^3 \,\,\,\,\,\text{then} \,\,\,\,\, x=y[/tex]
An example of a function that is NOT injective is
[tex]f(x) = x^2[/tex]
Notice that
[tex]f(-2) = (-2)^2 = 2^2 = 4[/tex]