A mapping , where is the set of natural numbers is defined as
for . Show that is neither injective nor surjective.
Confirming your payment
Sign up now and get 250 free tokens.
Functions · Question 15 of 51
A mapping , where is the set of natural numbers is defined as
for . Show that is neither injective nor surjective.
Solution:
Key idea: To show a function is not injective, find two different inputs with the same image. To show it is not surjective, find a natural number that is never an image. Here it helps to notice whether the images are odd or even.
Step 1 — Look for a repeated image. An odd input is squared and an even input goes to , so we try an odd square that also has the form . The value 9 works.
Since 3 is odd, the square rule applies to it.
Since 4 is even, the rule applies to it.
The different inputs 3 and 4 have the same image, so is not injective.
Step 2 — Find the parity of every image. If is odd, then is odd (odd × odd = odd). If is even, then is odd. So every image of is an odd number.
Step 3 — Find an element with no pre-image. Since all images are odd, no even natural number is ever an image. For example, 2 has no pre-image, so is not surjective.
Therefore, is neither injective nor surjective.