Week 3 Flashcards
If given two sets, A and U, A is a subset of U. What is the compliment of A in U?
The compliment of A in U is a set that includes all the elements in U that are NOT in A.
What are the De Morgan Laws when applied to compliments of sets?
A and B are subsets of U
(A union B) com in U = (A com in U) intersect (B com in U)
(A intersect B) com in U = (A com in U) union (B com in U)
What is the Cartesian Product of A and B (A x B)?
The cartesian product is a set where each element of A x B has two parts: (a,b).
a comes from set A and b comes from set B
What are the three components that define a function?
Domain - A collection of possible inputs
Codomain - A collection of possible outputs
Rule - A mathematical rule to apply
What does it mean if two functions are equal?
-They have the same domain
-They have the same codomain
-Every output from the first function is equal to
the output from the second function
What is the definition of an injective function?
Every element in the domain goes to a unique element in the codomain.
What is the definition of a surjective function?
Every element in the codomain corresponds to an element in the domain.
What is the definition of a bijective function?
A function that is injective and surjective.
What does the following function composition mean:
f.g.h(x)
f(g(h(x)))
Is function composition Associative?
(example f,g,h are functions)
Yes
h.(g.f) = (h.g).f
What is the identity function and the symbol?
The identity function is a function when applied to a set will output the exact same set.
Symbol: idX(x) = x
What does it mean for a function to have a left inverse?
- If we have two functions f and g
- f: X -> Y and g: Y -> X
Starting at the domain (x) if we apply g.f(x) = x
What does it mean for a function to have a right inverse?
- If we have two functions f and g
- f: X -> Y and g: Y -> X
Starting at the domain (y) if we apply f.g(y) = y
What does it mean for a function to be an inverse of another function?
It has both a left and right inverse.
What can we conclude about a function that has a left inverse?
It is injective