For which of the functions below is it true that, if f(x)=f(y), then x=y?

How to solve this question?

Well I can share the process for solving for the first option:

if x^2 = y^2, then either x = y or x = -y

So we can’t choose this option

Use a similar process for all the options