Let and . Give an example of a function from to . Can you define a function from to which is onto? Give reasons for your answer.
Relations and Functions · Question 48 of 135
Let A = x : 0 x 2 and B = 1 .
Solution:
Key idea: A function from to gives every element of exactly one image in . A function is onto when every element of the co-domain is an image.
Step 1 — Give a function from to . has only one element, so the only possible image is 1. We send every to 1.
Every has exactly one image, so is a function (a constant function) from to .
Step 2 — Look at functions from to . has only one element, so any function has exactly one image, .
Step 3 — Decide whether such a function can be onto. contains infinitely many numbers (all real numbers from 0 to 2), but has only one image. One image cannot cover all of ; for example, if , then has no pre-image.
Therefore, for all is a function from to , and no function from to can be onto, because has one element while has infinitely many.
