discrete test 2 Flashcards
set
unordered collection of elements shown as xEs
sets are equal
if and only if they have the same elements number and order do not matter
cardinality |s|
the number of elements of the set (repetitions dont add anything
a is a subset of b iff (sideways u greater than thing
every element of a is in b
P(a)
the power set is the set of all subsets.
Cartesian products
A x B (write it you bastard)
union aUb
set of all elements in a or b and both aUb
intersection anb
just things that are in both a and b
symmetric difference(+)
denoted a (+) b
a - b
everything in a that isnt in b
a-
everything not in a
domain of a function
input set
range of a funciton
output set
one to one
if no output values get mapped to any input values
onto
if every element of the output is mapped to some input