
In
combinatorics
Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ...
, 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
ways to choose one of the actions.
In mathematical terms, the addition principle states that, for disjoint sets ''A'' and ''B'', we have
,
provided that the intersection of the sets is without any elements.
The rule of sum is a fact about
set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
, 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
are pairwise disjoint sets, then we have:
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
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 ''A''
1, ..., ''A
n'' are finite sets, then
Subtraction principle
Similarly, for a given finite set S, and given another set A, if
, then
.
To prove this, notice that
by the addition principle.
Applications
The addition principle can be used to prove
Pascal's rule combinatorially. To calculate
, 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
ways to choose people without choosing the teacher, and
ways to choose people that includes the teacher. Thus
.
The addition principle can also be used to prove the
multiplication principle.
References
Bibliography
* {{Cite book , last=Biggs , first=Norman L. , title=Discrete Mathematics , publisher=
Oxford University Press
Oxford University Press (OUP) is the publishing house of the University of Oxford. It is the largest university press in the world. Its first book was printed in Oxford in 1478, with the Press officially granted the legal right to print books ...
, year=2002 , isbn=978-0-19-871369-2 , location=India
See also
*
Combinatorial principle
In proving results in combinatorics several useful combinatorial rules or combinatorial principles are commonly recognized and used.
The rule of sum, rule of product, and inclusion–exclusion principle are often used for enumerative purposes. Bi ...
*
Rule of product
In combinatorics, the rule of product or multiplication principle is a basic counting principle (a.k.a. the fundamental principle of counting). Stated simply, it is the intuitive idea that if there are ways of doing something and ways of doin ...
*
Inclusion–exclusion principle
In combinatorics, the inclusion–exclusion principle is a counting technique which generalizes the familiar method of obtaining the number of elements in the union (set theory), union of two finite sets; symbolically expressed as
: , A \cup B, ...
Combinatorics
Mathematical principles
fi:Todennäköisyysteoria#Tuloperiaate ja summaperiaate