Addition principle

A collection of five dots and one of zero dots merge into one of five dots.
5+0=5 illustrated with collections of dots.

In combinatorics, the addition principle[1][2] or rule of sum[3][4] 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 ways to choose one of the actions.[3][1] In mathematical terms, the addition principle states that, for disjoint sets A and B, we have ,[2] provided that the intersection of the sets is without any elements.

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



The addition principle can be extended to several sets. If are pairwise disjoint sets, then we have:[1][2]This statement can be proven from the addition principle by induction on n.[2]

  1. ^ a b c Biggs 2002, p. 91.
  2. ^ a b c d mps (22 March 2013). "enumerative combinatorics". PlanetMath. Archived from the original on 23 July 2014. Retrieved 14 August 2021.
  3. ^ a b Leung, K. T.; Cheung, P. H. (1988-04-01). Fundamental Concepts of Mathematics. Hong Kong University Press. p. 66. ISBN 978-962-209-181-8.
  4. ^ Penner, R. C. (1999). Discrete Mathematics: Proof Techniques and Mathematical Structures. World Scientific. p. 342. ISBN 978-981-02-4088-2.
  5. ^ "4.1: Definition and Properties". Mathematics LibreTexts. 2021-08-24. Retrieved 2024-05-02.
  6. ^ "Rule of sum and rule of product | Combinatorics | Discrete math | Math". Hyperskill. Retrieved 2024-05-02.