Discrete Math - onto, 1-1 functions. Let S={3,B}. Give an example of a function f:S times S rightarrow S that is onto. Give an example of a function g:S rightarrow S times S that is 1-1. Give an example of a function h:P(S) rightarrow S times S that is 1-1 and onto.

Gaige Haynes

Gaige Haynes

Answered question

2022-09-04

Discrete Math - onto, 1-1 functions
Let S = { 3 , B }
Give an example of a function f : S × S S that is onto.
Give an example of a function g : S S × S that is 1-1.
Give an example of a function h : P ( S ) S × S that is 1-1 and onto.
Trying to revise for exam, but simply cannot understand 1-1 and onto functions.

Answer & Explanation

Bordenauaa

Bordenauaa

Beginner2022-09-05Added 18 answers

Step 1
One-to-one functions (often called injective function) map each element from its domain to distinct values in its codomain. That is, if you have a one-to-one function f : A B and two distinct values x , y A, you know that f ( x ) f ( y ).
Step 2
Onto functions (often called surjective functions) "fill" the entire codomain in the sense that if you take b B and f : A B is onto, you know that there exist a a A, such that f ( a ) = b.
As an example, in your first assigment, you could choose the function f : S × S S, that maps ( a , b ) S to a S.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?