3.3 KiB
3.3 KiB
- #MA284 - Discrete Mathematics
- Previous Topic: Counting
- Next Topic: Binomial Coefficients
- Relevant Slides:
- (Aside) Notation for Complement:
A^C
for some setA
. -
Counting with Sets
-
Additive Principle for Sets
-
Additive Principle in terms of "events"
- If Event
A
can occurm
ways, and EventB
can occurn
(disjoint / independent) ways, then event "A
or $B$" can occur inm+n
ways. - But, an "event" can just be expressed as ^^selecting an element of a set.^^
- Saying "Event
A
can occurm
ways" is ^^the same^^ as saying "$|A|=m$". - Saying "Event
B
can occurn
ways is the same as saying "$|B|=n$". - If events
A
andB
are disjoint / independent, that means that|A \cap B| = 0
, or, equivalently ,A \cap B = \emptyset
.
- Saying "Event
- If Event
- What is the Additive Principle for Sets? #card
card-last-interval:: -1
card-repeats:: 1
card-ease-factor:: 2.32
card-next-schedule:: 2022-11-15T00:00:00.000Z
card-last-reviewed:: 2022-11-14T20:02:08.655Z
card-last-score:: 1
- Given two sets
A
andB
with|A \cap B| = 0
, then: -
|A \cup B| = |A| + |B|
- Given two sets
-
-
Multiplicative Principle for Sets
- What is the Cartesian Product of two sets? #card
card-last-interval:: 11.04
card-repeats:: 3
card-ease-factor:: 2.76
card-next-schedule:: 2022-11-25T16:36:56.463Z
card-last-reviewed:: 2022-11-14T16:36:56.463Z
card-last-score:: 5
- The Cartesian Product of two sets,
A
andB
is:-
A \times B = \{(x,y) : x \in A \text{ and } y \in B \}
-
- This is the set of pairs where the first term in each pair comes from
A
, and the second term in each pair comes fromB
.
- The Cartesian Product of two sets,
-
Multiplicative Principle in terms of "events"
- If event
A
can occurm
ways, and each possibility allows forB
to occur inn
(disjoint) ways, then event "A
and $B$" can occur inm \times n
ways.
- If event
- What is the Multiplicative Principle for Sets? #card
card-last-interval:: 33.64
card-repeats:: 4
card-ease-factor:: 2.9
card-next-schedule:: 2022-12-18T11:00:28.884Z
card-last-reviewed:: 2022-11-14T20:00:28.884Z
card-last-score:: 5
- Given two sets,
A
andB
:-
|A \times B| = |A| \cdot |B|
-
- This extends to 3 or more sets in the obvious way.
- Given two sets,
- What is the Cartesian Product of two sets? #card
card-last-interval:: 11.04
card-repeats:: 3
card-ease-factor:: 2.76
card-next-schedule:: 2022-11-25T16:36:56.463Z
card-last-reviewed:: 2022-11-14T16:36:56.463Z
card-last-score:: 5
-
-
The Principle of Inclusion & Exclusion (PIE)
- What is the Principle of Inclusion & Exclusion? #card
card-last-interval:: 33.64
card-repeats:: 4
card-ease-factor:: 2.9
card-next-schedule:: 2022-12-18T11:01:03.942Z
card-last-reviewed:: 2022-11-14T20:01:03.942Z
card-last-score:: 5
- For any two finite sets
A
andB
:-
|A \cup B| = |A| + |B| - |A \cap B|
-
- This also extends to larger numbers of sets, for example:
- For any 3 finite sets
A
,B
, andC
:-
|A \cup B \cup C| = |A| + |B| + |C| - |A \cap B| - |A \cap C| - |B \cap C| + |A \cap B \cap C |
-
- For any 3 finite sets
- For any two finite sets
- What is the Principle of Inclusion & Exclusion? #card
card-last-interval:: 33.64
card-repeats:: 4
card-ease-factor:: 2.9
card-next-schedule:: 2022-12-18T11:01:03.942Z
card-last-reviewed:: 2022-11-14T20:01:03.942Z
card-last-score:: 5
-
Subsets & Power Sets
- What is a power set? #card
card-last-interval:: 4
card-repeats:: 2
card-ease-factor:: 2.66
card-next-schedule:: 2022-11-27T12:19:42.366Z
card-last-reviewed:: 2022-11-23T12:19:42.366Z
card-last-score:: 5
- The power set of a set
A
, denoted byP(A)
, is the ^^set of all subsets^^ ofA
, ^^including the empty set^^ (\emptyset
).
- The power set of a set
- What is a power set? #card
card-last-interval:: 4
card-repeats:: 2
card-ease-factor:: 2.66
card-next-schedule:: 2022-11-27T12:19:42.366Z
card-last-reviewed:: 2022-11-23T12:19:42.366Z
card-last-score:: 5