Comp 1311 Mathematics 1 Flashcards
What is the cardinality of a set?
The number of elements within a set
What is a predicate?
Something that is either true or false about a member of some universe (set)
Which set operations are associative?
Union
Intersection
Which set operations are commutative?
Union
Intersection
T/F The difference set operation is associative and commutative?
False
It is neither
When is a set a subset of another?
When every element of X is also a member of Y
What is a proper subset?
When a subset is strictly larger of smaller than another
When are two sets equal?
When they contain the same elements
What is a powerset of a set?
The set of all subsets of the original set.
What is {a} + {b}?
{(a,0),(b,1)}
What is a function?
A mapping between a domain and codomain where exactly one element of the domain maps to one element of the codomain
What is the range?
A subset of the codomain, for the element of the codomain that are mapped to by a function
What is the formula for the symmetric difference?
A △ B = (A-B) U (B-A)
What is the identity function?
Every value maps uniquely to itself in the codomain
How is a function with multiple inputs handled?
The domain is the Cartesian product of two sets