The function <math>f(x) = x^2</math> fails to be onto because there is no input that gives a result of, say, -3. It fails to be one-to-one because <math>f(3)</math> and <math>f(-3)</math> are the same number. | The function <math>f(x) = x^2</math> fails to be onto because there is no input that gives a result of, say, -3. It fails to be one-to-one because <math>f(3)</math> and <math>f(-3)</math> are the same number. |