Example:Non-surjective

From CS2800 wiki
Revision as of 13:03, 18 February 2018 by {{GENDER:Mdg39|[math]'"2}} [/math]'"7
(<math>1) </math>2 | <math>3 (</math>4) | <math>5 (</math>6)

The following function is not surjective:

Fun-a1b23.svg

because there is no [math]x \href{/cs2800/wiki/index.php/%5Cin}{\in} \href{/cs2800/wiki/index.php/Enumerated_set}{\{a,b\}} [/math] with [math]f(x) = 3 [/math].