Combinatorics Through Guided Discovery, 2004a
Combinatorics Through Guided Discovery, 2004a
Combinatorics Through Guided Discovery, 2004a
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
A.1. Relations as sets of Ordered Pairs 137<br />
(f) Use the digraph of the previous part to explain whether the function<br />
is one-to-one.<br />
(g) Suppose the function f has domain S ′ and range T. Draw the digraph<br />
of f and use it to explain whether f is onto.<br />
(h) Use the digraph of the previous part to explain whether f is one-toone.<br />
A one-to-one function from a set X onto a set Y is frequently called a bijection,<br />
especially in combinatorics. Your work in Problem 337 should show you that a<br />
digraph is the digraph of a bijection from X to Y<br />
• if the vertices of the digraph represent the elements of X and Y,<br />
• if each vertex representing an element of X has one and only one arrow<br />
leaving it, and<br />
• each vertex representing an element of Y has one and only one arrow entering<br />
it.<br />
Problem 338. If we reverse all the arrows in the digraph of a bijection f ,we<br />
get the digraph of another function g. Is g a bijection? What is f (g(x))?<br />
What is g( f (x))?<br />
If f is a function from S to T, ifg is a function from T to S, and if f (g(x)) = x for<br />
each x in T and g( f (x)) = x for each x in S, then we say that g is an inverse of f<br />
(and f is an inverse of g).<br />
More generally, if f is a function from a set R to a set S, and g is a function from<br />
S to T, then we define a new function f ◦ g, called the composition of f and g ,by<br />
f ◦ g(x) = f (g(x)). Composition of functions is a particularly important operatio<br />
in subjects such as calculus, where we represent a function like h(x) = √ x 2 +1as<br />
the composition of the square root function and the square and add one function<br />
in order to use the chain rule to take the derivative of h.<br />
The function ι (the Greek letter iota is pronounced eye-oh-ta) from a set S to<br />
itself, given by the rule ι(x) =x for every x in S, is called the identity function on<br />
S. If f is a function from S to T and g is a function from T to S such that g( f (x)) = x<br />
for every x in S, we can express this by saying that g ◦ f = ι, where ι is the identity<br />
function of S. Saying that f (g(x)) = x is the same as saying that f ◦ g = ι, where<br />
ι stands for the identity function on T. We use the same letter for the identity<br />
function on two different sets when we can use context to tell us on which set the<br />
identity function is being defined.<br />
Problem 339. If f is a function from S to T and g is a function from T to S<br />
such that g( f (x)) = x, how can we tell from context that g ◦ f is the identity<br />
function on S and not the identity function on T? (h)