Chapter 2 Flashcards
List
an ordered sequence of objects
Multiplication Principle
Consider two-element lists for which there are n choices for the first element, and for each choice of the first element there are m choices for the second element. Then the number of such lists is nm.
Factorial
Used in a special case of this problem is to count the number of length-n lists chosen from a pool of n objects in which repetition is forbidden.
two sets to be equal
the two sets have exactly the same elements. To prove that sets A and B are equal, one shows that every element of A is also an element of B, and vice versa.
Subset
Suppose A and B are sets. We say that A is a subset of B provided every element
of A is also an element of B. The notation A ⊆ B means A is a subset of B.
Proposition 10.3 (Proof)
Let x be anything and let A be a set; then x ∊ A if and only i f {x} ⊆ A
Power set
Let A be a set. The power set of A is the set of all subsets of A.
Union
Let A and B be sets.
The union of A and B is the set of all elements that are in A or B (or both). The union of
A and B is denoted A ∪ B.
Intersection
The intersection of A and B is the set of all elements that are in both A and B. The
intersection of A and B is denoted A ∩ B.
Disjoint, pairwise disjoint
Let A and B be sets. We call A and B disjoint provided A ∩ B = ⦲. Let A1, A2, … , An be a collection of sets. These sets are called pairwise disjoint provided Ai ∩ Aj = ⦲ whenever i ≠ j . In other words, they are pairwise disjoint provided no two of them have an element in common.
Addition Principle
Let A and B be finite sets. If A and B are disjoint, then |A ∪ B| = |A| + |B|.
Set difference
Let A and B be sets. The set difference, A B, is the set of all elements of A that are not in B
symmetric difference of A and B
denoted A ∆ B, is the set of all elements in A but not B or in B but not A.
Proposition 12.11, Let A and B be sets. Then
A ∆ B = (A ∪ B) - (A ∩ B)
DeMorgan’s Laws
A - (B ∪ C) = (A - B) ∩ (A - C) and A - (B ∩ C) = (A - B) ∪ (A - C)