Text
For each of the following arrow diagrams between the set and a set of boys, decide whether the relation is a function and, if so, whether it is injective, surjective or bijective. (figures in the original test)
- (a) Alex, Bob, Carl, Dave, Eli, Fred; arrows: Alice→Alex, Beth→Bob, Cara→Carl, Dana→Dave, Eve→Fred.
- (b) same ; arrows: Alice→Alex, Alice→Carl, Beth→Alex, Dana→Dave, Eve→Fred (Cara with no arrow).
- (c) Alex, Bob, Carl, Dave, Eli; arrows: Alice→Alex, Beth→Bob, Cara→Carl, Dana→Dave, Eve→Eli.
- (d) Alex, Bob, Carl, Dave; arrows: Alice→Alex, Beth→Bob, Cara→Bob, Dana→Dave, Eve→Carl.
Solution
A function assigns to every element of exactly one element of . It is injective if different elements have different images; surjective if every element of is the image of at least one element; bijective if both injective and surjective.
- (a) Every girl has exactly one arrow, all to distinct boys: an injective function; but Eli is not reached, so not surjective.
- (b) Alice has two arrows and Cara none: not a function.
- (c) Every girl one arrow to distinct boys, and all five boys are reached: a bijective function.
- (d) Every girl one arrow (function); Beth and Cara both map to Bob → not injective; all four boys are reached → surjective.