Addition rule
The addition rule determines the total count or probability of mutually exclusive alternatives by summing their individual counts or probabilities.
Statistics Every Programmer Needs
The addition rule of counting determines the number of outcomes from mutually exclusive alternatives by adding their numbers of possibilities.
- How it is used
- Counts outcomes among mutually exclusive choices and computes the probability of either incompatible event.
- How deep it goes
- Defines the exclusivity condition, contrasts multiplication, and works numerical examples; does not develop a rule for overlapping events.
- Examples
- Uses coin-or-die choices, travel routes, and two-dice sums of 7 or 11.
- What you can do after
- Apply it to count exclusive alternatives and calculate disjoint-event probabilities after checking that outcomes cannot overlap.
Read how Statistics Every Programmer Needs explains addition rule →
Timeless Algorithms, The Foundational Ideas
The addition rule calculates the probability that at least one of multiple mutually exclusive events occurs by summing their probabilities.
- How it is used
- Allocates probability across competing outcomes in probabilistic reasoning and classification.
- How deep it goes
- Defines mutually exclusive and exhaustive events, works through a die example, and gives the overlapping-events formula without detailing model algorithms.
- Examples
- Illustrates the rule with a fair die, spam classification, logistic regression, and classification random forests.
- What you can do after
- Evaluate and understand probability sums by distinguishing mutually exclusive outcomes from collectively exhaustive ones.
Read how Timeless Algorithms, The Foundational Ideas explains addition rule →
What to know first
- probability theoryProbability theory is the mathematical framework for quantifying and reasoning about uncertainty in events, variables, and outcomes.
Related concepts
- mutually exclusive eventused by · Mutually exclusive events are events that cannot occur simultaneously and have no outcomes in common.
- multiplication rulecontrasts with · The multiplication rule determines a combined count or probability by multiplying the numbers of choices or the relevant probabilities at successive stages.
- probabilistic reasoningused by · Probabilistic reasoning is drawing conclusions or making decisions under uncertainty by representing and evaluating possibilities using probabilities.
- eventuses · A software event is an occurrence, state change, or notification that a system can detect, record, communicate, or handle.
Questions about addition rule
What is addition rule?
The addition rule determines the total count or probability of mutually exclusive alternatives by summing their individual counts or probabilities.
Which Manning books explain addition rule?
Statistics Every Programmer Needs and Timeless Algorithms, The Foundational Ideas.
What should I know before learning addition rule?
Manning books that teach addition rule usually introduce probability theory first.
What is the difference between addition rule and multiplication rule?
The addition rule determines the total count or probability of mutually exclusive alternatives by summing their individual counts or probabilities. The multiplication rule determines a combined count or probability by multiplying the numbers of choices or the relevant probabilities at successive stages.
What is addition rule a kind of?
Addition rule is a kind of probability rule. A probability rule is a mathematical rule for calculating or relating probabilities of events.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

