#### Question

Check the injectivity and surjectivity of the given functions: *f*: **R** → **R** given by *f*(*x*) = *x*^{2}

#### Solution

*f*: **R** → **R** is given by,

*f*(*x*) = *x*^{2}

It is seen that *f*(−1) = *f*(1) = 1, but −1 ≠ 1.

∴ *f *is not injective.

Now,−2 ∈ **R**. But, there does not exist any element *x *∈ **R** such that *f*(*x*) = *x*^{2} = −2.

∴ *f* is not surjective.

Hence, function *f* is neither injective nor surjective.

Is there an error in this question or solution?

Solution Check the Injectivity and Surjectivity of the Following Functions: F: R → R Given By F(X) = X2 Concept: Types of Functions.