Panphobia
- 435
- 13
Homework Statement
How many functions are there from {0,1} to {0,1}?
The Attempt at a Solution
I know the answer is 9, but how is the answer 9?
Panphobia said:Homework Statement
How many functions are there from {0,1} to {0,1}?
The Attempt at a Solution
I know the answer is 9, but how is the answer 9?
Panphobia said:ohhhh I thought it was 2^2 possibilities not 3^2, thanks, because {} \subset {0,1} and the value of {} is undefined correct?
Dick said:f(0) could be either 0, 1 or undefined. Same for f(1). Count all of the possibilities.
Panphobia said:ohhhh I thought it was 2^2 possibilities not 3^2, thanks, because {} \subset {0,1} and the value of {} is undefined correct?
Dick said:No, it's because they only said f:{0,1}->{0,1}. They didn't say the function was defined for all values in the set {0,1}. If they had said the DOMAIN of f was {0,1}, then the answer 4 would be correct. It's more legalese than important.
Panphobia said:On my practise mid term exam, it gives this exact question, the answer was 9, so pasmith, it can't be 4.