06.09.2021 Views

Combinatorics Through Guided Discovery, 2004a

Combinatorics Through Guided Discovery, 2004a

Combinatorics Through Guided Discovery, 2004a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10 1. What is <strong>Combinatorics</strong>?<br />

If we have a function f from a set S to a set T, we draw a line of dots or circles,<br />

called vertices to represent the elements of S and another (usually parallel) line of<br />

circles or dots to represent the elements of T. We then draw an arrow from the<br />

circle for x to the circle for y if f (x) =y. Sometimes, as in part (e) of the figure, if we<br />

have a function from a set S to itself, we draw only one set of vertices representing<br />

the elements of S, in which case we can have arrows both entering and leaving a<br />

given vertex. As you see, the digraph can be more enlightening in this case if we<br />

experiment with the function to find a nice placement of the vertices rather than<br />

putting them in a row.<br />

Notice that there is a simple test for whether a digraph whose vertices represent<br />

the elements of the sets S and T is the digraph of a function from S to T. There<br />

must be one and only one arrow leaving each vertex of the digraph representing an<br />

element of S. The fact that there is one arrow means that f (x) is defined for each x<br />

in S. The fact that there is only one arrow means that each x in S is related to exactly<br />

one element of T. (Note that these remarks hold as well if we have a function from<br />

S to S and draw only one set of vertices representing the elements of S.) For further<br />

discussion of functions and digraphs see Sections A.1.1 and Subsection A.1.2 of<br />

Appendix A.<br />

◦ Problem 23. Draw the digraph of the function from the set {Alice, Bob,<br />

Dawn, Bill} to the set {A, B, C, D, E} given by<br />

f (X) = the first letter of the name X.<br />

• Problem 24. A function f : S → T is called an onto function or surjection<br />

if each element of T is f (x) for some x ∈ S. Choose a set S and a set T so<br />

that you can draw the digraph of a function from S to T that is one-to-one<br />

but not onto, and draw the digraph of such a function.<br />

◦ Problem 25. Choose a set S and a set T so that you can draw the digraph of<br />

a function from S to T that is onto but not one-to-one, and draw the digraph<br />

of such a function.<br />

• Problem 26. Digraphs of functions help us visualize the ideas of one-to-one<br />

functions and onto functions.<br />

(a) What does the digraph of a one-to-one function (injection) from a finite<br />

set X to a finite set Y look like? (Look for a test somewhat similar to the<br />

one we described for when a digraph is the digraph of a function.) (h)<br />

(b) What does the digraph of an onto function look like?

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!