The General Addition Rule

Introduction

Welcome to the fourth and final lesson of this course! In the previous lesson, you discovered that when two events overlap, adding their individual probabilities counts the shared outcomes twice, inflating the result. We even measured the exact size of the error. What we did not do was fix it.

That changes now. In this lesson, you will learn the general addition rule, the formula that corrects for double-counting by subtracting the overlap. By the end, you will be able to compute P(A or B)P(A \text{ or } B) for any pair of events — overlapping or not — with confidence.

From Double-Counting to a Fix

The General Addition Rule

Applying the Rule Step by Step: Part 1

Applying the Rule Step by Step: Part 2

A Business Example

The Mutually Exclusive Case Revisited

What About More Than Two Events?

Common Mistakes to Watch For

Conclusion and Next Steps

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal