Preply — Study more efficiently by working with a personal tutor. Get 50% off.Affiliate

Wikipedia

Addition principle

Addition principle

In combinatorics, the addition principle or rule of sum is a basic counting principle. Stated simply, it is the intuitive idea that if we have A number of ways of doing something and B number of ways of doing another thing and we can not do both at the same time, then there are A + B {\displaystyle A+B} ways to choose one of the actions. In mathematical terms, the addition principle states that, for disjoint sets A and B, we have | A ∪ B | = | A | + | B | {\displaystyle |A\cup B|=|A|+|B|} , provided that the intersection of the sets is without any elements. The rule of sum is a fact about set theory, as can be seen with the previously mentioned equation for the union of disjoint sets A and B being equal to |A| + |B|.

The addition principle can be extended to several sets. If S 1 , S 2 , … , S n {\displaystyle S_{1},S_{2},\ldots ,S_{n}} are pairwise disjoint sets, then we have: | S 1 | + | S 2 | + ⋯ + | S n | = | S 1 ∪ S 2 ∪ ⋯ ∪ S n | . {\displaystyle |S_{1}|+|S_{2}|+\cdots +|S_{n}|=|S_{1}\cup S_{2}\cup \cdots \cup S_{n}|.} This statement can be proven from the addition principle by induction on n.

Simple example A person has decided to shop at one store today, either in the north part of town or the south part of town. If they visit the north part of town, they will shop at either a mall, a furniture store, or a jewelry store (3 ways). If they visit the south part of town then they will shop at either a clothing store or a shoe store (2 ways). Thus there are 3 + 2 = 5 {\displaystyle 3+2=5} possible shops the person could end up shopping at today.

Inclusion–exclusion principle

The inclusion–exclusion principle (also known as the sieve principle) can be thought of as a generalization of the rule of sum in that it too enumerates the number of elements in the union of some sets (but does not require the sets to be disjoint). It states that if A1, ..., An are finite sets, then

| ⋃ i = 1 n A i | = ∑ i = 1 n | A i | − ∑ i , j : 1 ≤ i < j ≤ n | A i ∩ A j | + ∑ i , j , k : 1 ≤ i < j < k ≤ n | A i ∩ A j ∩ A k | − ⋯ + ( − 1 ) n − 1 | A 1 ∩ ⋯ ∩ A n | . {\displaystyle \left|\bigcup _{i=1}^{n}A_{i}\right|=\sum _{i=1}^{n}\left|A_{i}\right|-\sum _{i,j\,:\,1\leq i<j\leq n}\left|A_{i}\cap A_{j}\right|+\sum _{i,j,k\,:\,1\leq i<j<k\leq n}\left|A_{i}\cap A_{j}\cap A_{k}\right|-\ \cdots \ +(-1)^{n-1}\left|A_{1}\cap \cdots \cap A_{n}\right|.}

Subtraction principle Similarly, for a given finite set S, and given another set A, if A ⊂ S {\displaystyle A\subset S} , then | A c | = | S | − | A | {\displaystyle |A^{c}|=|S|-|A|} . To prove this, notice that | A c | + | A | = | S | {\displaystyle |A^{c}|+|A|=|S|} by the addition principle.

Applications

The addition principle can be used to prove Pascal's rule combinatorially. To calculate ( n + 1 k ) {\displaystyle {\binom {n+1}{k}}} , one can view it as the number of ways to choose k people from a room containing n children and 1 teacher. Then there are ( n k ) {\displaystyle {\binom {n}{k}}} ways to choose people without choosing the teacher, and ( n k − 1 ) {\displaystyle {\binom {n}{k-1}}} ways to choose people that includes the teacher. Thus ( n + 1 k ) = ( n k ) + ( n k − 1 ) {\displaystyle {\binom {n+1}{k}}={\binom {n}{k}}+{\binom {n}{k-1}}} . The addition principle can also be used to prove the multiplication principle.

References

Bibliography Biggs, Norman L. (2002). Discrete Mathematics. India: Oxford University Press. ISBN 978-0-19-871369-2.

See also Combinatorial principle Rule of product Inclusion–exclusion principle

Tags

  • Combinatorics
  • Mathematical principles