Gale
- 682
- 2
Homework Statement
Let X = \{0,1 \} and let Y =\{a, b, c\} (where we assume that a, b, c are three distinct elements of Y .(i) Write down all functions from X to Y , by writing down the set of all subsets of X \times Y which are the graphs of the corresponding functions. How many functions are there? How many are injective? How many are surjective? Bijective? For each function f find the image f(X) the preimage f^{-1} (\{a,c\}); the preimage f^{-1}(a).
(ii) Write down all functions from X to Y , by writing down the set of all subsets of X \times Y which are the graphs of the corresponding functions. How many functions are there? How many are injective? How many are surjective? Bijective? For each function g, find: the image g(Y); the preimage g^{-1}(\{1\}) = g^{-1}(1).
Homework Equations
The Attempt at a Solution
Part i)
Ok, so I just started class and I'm not very familiar with the wording of this or what I'm supposed to do. I started thinking like this:
\{f: X \rightarrow Y | \forall x \in X, \exists y \in Y: f(x) =y \} But I don't really think that I'm saying anything with that... Nor do I know if I'm even working towards the right sort of answer.
As for how many are there? Well, I figured I could just count. The first element of X can map to the first element of Y, then the second element of X can then map to the first as well, or the second, or third. So three options. Similarly, the first element of X can map to the second element of Y, but there are still 3 options for the second element of X. And again you have three options if the first element maps to the third element. So 9 options. I figured it was easy enough to count, though I think mathematically it would be \# Y^{\#X} or in this case 3^2= 9. I think?
None of the functions can be surjective because since the cardinality of X is bigger than Y not every element can be mapped to.
For Injective, the domain can only map to the same element in Y 3 times, and since there are 9 total functions, 6 must be injective?
None are bijective because their cardinalities are different.
I don't know if those are rigorous enough proofs. I'd like to hold off on the rest until I'm sure I'm doing the first parts right. So thanks for any help!