# The sum rule

# The sum rule¶

This is the final rule we are going to consider in this lecture.
It is one of the most important rules.
**You absolutely have to memorize it.**
It goes as follows.

Consider the sequence of logical sentences \(B_1,\dots,B_n\) such that:

One of them is definitely true:

They are mutually exclusive:

Then, for any logical sentence \(A\) we have:

Again, this requires a bit of meditation. You take any logical sentence A and set of exclusive but exhaustive possibilities \(B_1,\dots,B_n\) and you break down the probability of \(A\) in terms of the probabilities of the \(B_i\)’s. The Venn diagrams in Fig. 6 can help you understand what is going on.

The sum rule can be trivially proved by induction using only the obvious rule and the product rule. It is instructive to go through the proof. For \(n=2\) we have:

because

And then, assume that it holds for \(n\), you can easily show that it also holds for \(n+1\) completing the proof.