Addition principle explained

In combinatorics, the addition principle[1] or rule of sum[2] [3] 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

ways to choose one of the actions. In mathematical terms, the addition principle states that, for disjoint sets A and B, we have

|A\cupB|=|A|+|B|

, provided that the intersection of the sets is without any elements.

The rule of sum is a fact about set theory,[4] as can be seen with the previously mentioned equation for the union of disjoint sets A and B being equal to |A| + |B|.[5]

The addition principle can be extended to several sets. If

S1,S2,\ldots,Sn

are pairwise disjoint sets, then we have:|S_1|+|S_2|+\cdots+|S_| = |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

possible shops the person could end up shopping at today.

Inclusion–exclusion principle

See main article: 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\left|\bigcup_^n A_i\right| =\sum_^n\left|A_i\right|-\sum_\left|A_i\cap A_j\right| + \sum_\left|A_i\cap A_j\cap A_k\right|-\ \cdots\ + (-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\subsetS

, then

|Ac|=|S|-|A|

.[6] [7] To prove this, notice that

|Ac|+|A|=|S|

by the addition principle.

Applications

The addition principle can be used to prove Pascal's rule combinatorially. To calculate

\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

\binom{n}{k}

ways to choose people without choosing the teacher, and

\binom{n}{k-1}

ways to choose people that includes the teacher. Thus

\binom{n+1}{k}=\binom{n}{k}+\binom{n}{k-1}

.[8]

The addition principle can also be used to prove the multiplication principle.

References

Bibliography

See also

Notes and References

  1. Web site: mps . 22 March 2013 . enumerative combinatorics . live . https://web.archive.org/web/20140723121944/https://planetmath.org/EnumerativeCombinatorics . 23 July 2014 . 14 August 2021 . PlanetMath.
  2. Book: Leung . K. T. . Fundamental Concepts of Mathematics . Cheung . P. H. . 1988-04-01 . Hong Kong University Press . 978-962-209-181-8 . 66 . en.
  3. Book: Penner, R. C. . Discrete Mathematics: Proof Techniques and Mathematical Structures . 1999 . World Scientific . 978-981-02-4088-2 . 342 . en.
  4. Web site: 2021-08-24 . 4.1: Definition and Properties . 2024-05-02 . Mathematics LibreTexts . en.
  5. Web site: Rule of sum and rule of product Combinatorics Discrete math Math . 2024-05-02 . Hyperskill . en.
  6. Book: Diedrichs, Danilo R. . Transition to advanced mathematics . 2022 . Stephen Lovett . 978-1-003-04620-2 . Boca Raton, FL . 172 . 1302331608.
  7. Web site: Moreno . Miguel . 2018 . Lecture notes: Combinatorics . live . https://web.archive.org/web/20190819024109/https://u.math.biu.ac.il/~morenom3/Combinatorics%20spring%202018.pdf . 19 August 2019 . 26 November 2022 . u.math.biu.ac.il.
  8. 2108.04902 . Henry Adams . Kelly Emmrich . Maria Gillespie . Shannon Golden . Rachel Pries . Counting Rocks! An Introduction to Combinatorics . 15 November 2021. math.HO .