Exercise · ZW-INJECTIVE-FUNCTION-005 · ★★☆ Intermediate
Can there be an injective function \(f\colon\{1,2,3\}\to\{a,b\}\)?
Choose one option.
Show answer
- D. No, because the domain has more elements than the codomain
Exercise · ZW-INJECTIVE-FUNCTION-005 · ★★☆ Intermediate
Choose one option.
With three inputs and only two possible outputs, two inputs must share an image by the pigeonhole principle. Every assignment repeats a value, so no such function is injective.
Function \(f\colon A\to B\) in which distinct elements of \(A\) have distinct images in \(B\).