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\)

Explanation

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.

Study Set theory in ZWMath →

Review the concept: Surjective function

Function \(f\colon A\to B\) whose image is the whole codomain \(B\).

\[\forall b\in B\,\exists a\in A\,(f(a)=b)\]

More practice problems: surjective function

← ZW-SURJECTIVE-FUNCTION-009