Exercise · ZW-INJECTIVE-FUNCTION-010 · ★★☆ Intermediate

How many injective functions are there from \(\{1,2\}\) to \(\{a,b,c\}\)?

Choose one option.

Show answer
  • C. 6

Explanation

The first input has \(3\) possible values and the second only \(2\), those left after the first choice. That gives \(3\cdot 2=6\). The total \(3^2=9\) counts every function, including those that repeat an image.

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-009