The sum

Cardinality

We denote the size, or cardinality, of a finite set by: $\boxed{|S|}$

Note:

For example:

  • Let hence . It is said that the cardinality of is 3, or has 3 elements.
  • If then .
Link to original

The sum rule

The sum rule states that if and are disjoint sets then $|A| + |B|$.

According to the sum rule, if are parwise disjoint sets then $|A_1| + |A_2| + ... + |A_n|$.

title: Example
A student can choose one project from project lists of three lecturers.
- John's list has 11.
- Bill's has 10.
- Eve's has 8.
 
No project occurs twice. How many possible projects are there to choose from?
- $A = \{ p | p \text{ is a project on John's list} \}$
- $B = \{ p | p \text{ is a project on Bill's list} \}$
- $C = \{ p | p \text{ is a project on Eve's list} \}$
 
Hence $|A \cup B \cup C| = |A| + |B| + |C| = 29$.
Link to original

Inclusion-exclusion principle

Inclusion-exclusion principle

The inclusion-exclusion principle states that $|A| + |B| - |A \cap B|$.

The inclusion-exclusion principle can be applied for three sets, by applying the same rule twice, , giving us: ?

Link to original