

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


The Cartesian product of two sets X and Y is the set
X Y = f(x; y ) : x 2 X ; y 2 Y g:
That is, it is the set of all ordered pairs where the rst co ordinate comes from X and the second co ordinate comes from Y. A relation b etween two sets X and Y is any subset of X Y. That is, it is any subset of ordered pairs, where the rst co ordinates are drawn from X and the second co ordinates are drawn from Y. The domain of a relation S is the set of rst co ordinates in the relation; i.e.,
Domain(S ) = fx 2 X : (x; y ) 2 S for some y 2 Y g:
The range of a relation S is the set of second co ordinates in the relation; i.e.,
Range(S ) = fy 2 Y : (x; y ) 2 S for some x 2 X g:
Here are my high scho ol teacher's de nitions: A cklepicker of a relation is a rst co or- dinate that app ears in more than one ordered pair of the relation. A function is a relation with no cklepickers. If f is a function, then we write, for example, y 1 = f (x 1 ) to mean that the ordered pair (x 1 ; y 1 ) is in the function. When we write f : X ! Y is a function, we mean that the domain of f is the entire set X , and the range of f is contained in (but not necessarily equal to) Y. A function f : X ! Y is one-to-one or an injection if no element of the range is paired with more than one element of X. A function f : X ! Y is onto or a surjection if its range is all of Y. A function f : X ! Y is one-to-one and onto or a bijection if it is b oth one-to-one and onto.
When we write jX j = m, we mean that X is a nite set that contains exactly m elements; i.e., the cardinality of X is m.
Injections Surjections Bijections
m < n
m = n
m > n