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

Explanation

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.

Study Set theory in ZWMath →

Review the concept: Injective function

Function \(f\colon A\to B\) in which distinct elements of \(A\) have distinct images in \(B\).

\[\forall a_1,a_2\in A\,\bigl(f(a_1)=f(a_2)\Rightarrow a_1=a_2\bigr)\]

More practice problems: injective function

← ZW-INJECTIVE-FUNCTION-004 ZW-INJECTIVE-FUNCTION-006 →