Exercise · ZW-SURJECTIVE-FUNCTION-010 · ★★☆ Intermediate
Let \(f\colon\{1,2\}\to\{a,b,c\}\). Can \(f\) be surjective?
Choose one option.
Show answer
- D. No; its image has at most \(2\) elements and \(\{a,b,c\}\) has \(3\)
Exercise · ZW-SURJECTIVE-FUNCTION-010 · ★★☆ Intermediate
Choose one option.
The domain has only two inputs, so the image has at most two values, while the codomain has three. No function can cover it. Being injective does not help either: it only requires the two values to be distinct.
Function \(f\colon A\to B\) whose image is the whole codomain \(B\).