Addition Rule

A product manager is reviewing the success metrics for a new feature. They want to know the probability that a user either clicks the 'Share' button OR completes a 'Profile Update' within a session. They calculate the individual probabilities and then sum them up, but the result is surprisingly high, even exceeding 100%. This outcome is clearly impossible, as probabilities cannot exceed 1. Why did their simple sum lead to an impossible probability, and how can they accurately calculate the chance of at least one of these events happening?

Calculating the probability of event A or event B occurring is a fundamental task in probability. Intuitively, one might think to simply add the individual probabilities, P(A) + P(B). While this approach works in some specific scenarios, it often leads to incorrect results, as our product manager discovered. The accuracy of this calculation depends entirely on the relationship between the two events.

Mutually Exclusive Events: No Overlap

Mutually Exclusive Events
Two events are mutually exclusive if they cannot occur at the same time. The occurrence of one event prevents the occurrence of the other.
Example: When rolling a single six-sided die, the event of rolling a '1' and the event of rolling a '6' are mutually exclusive. You cannot roll both a '1' and a '6' simultaneously on a single roll.
Venn Diagram: Mutually Exclusive Events
Loading diagram...
This diagram illustrates two events, A and B, within a sample space S. They are distinct and do not overlap, indicating that they cannot occur together.

For mutually exclusive events, the Addition Rule is straightforward. Since there is no overlap between the events, there's no chance of double-counting any outcomes. If event A happens, event B cannot, and vice-versa. Therefore, to find the probability of A or B occurring, you simply sum their individual probabilities. This aligns with the visual representation of separate, non-intersecting sets.

📐 Addition Rule for Mutually Exclusive Events

If events A and B are mutually exclusive, the probability that A or B occurs is:

P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B)

pythonCalculating P(A or B) for Mutually Exclusive Events
Check Your Understanding
In a standard deck of 52 cards, what is the probability of drawing a King OR a Queen?

Non-Mutually Exclusive Events: When Overlap Occurs

Non-Mutually Exclusive Events
Two events are non-mutually exclusive if they can occur at the same time. There is an overlap, meaning some outcomes satisfy both events.
Example: Consider our product manager's scenario: a user clicking 'Share' and completing 'Profile Update'. It's entirely possible for a user to do both within the same session. These events are not mutually exclusive because their occurrences can overlap.
Venn Diagram: Non-Mutually Exclusive Events
Loading diagram...
This Venn diagram shows two events, A and B, with a clear overlapping region representing outcomes where both A and B occur simultaneously. This overlap is crucial for the general Addition Rule.

When events are non-mutually exclusive, simply adding P(A) + P(B) leads to a problem: the outcomes where both A and B occur are counted twice. This double-counting inflates the total probability, potentially leading to impossible results like the product manager's 100%+ probability. To correct this, we must subtract the probability of the overlap, P(A and B), once. This ensures that each outcome is counted exactly once, accurately reflecting the total probability of A or B.

📐 General Addition Rule (for Non-Mutually Exclusive Events)

If events A and B are non-mutually exclusive, the probability that A or B occurs is:

P(A or B)=P(A)+P(B)−P(A and B)P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)

pythonApplying the General Addition Rule for Overlapping Events
Comparing Addition Rules for Different Event Types
FeatureMutually Exclusive EventsNon-Mutually Exclusive Events
DefinitionCannot occur at the same time (no shared outcomes)Can occur at the same time (shared outcomes exist)
Visual RepresentationSeparate, non-overlapping Venn diagram circlesOverlapping Venn diagram circles
Key CharacteristicP(A and B) = 0P(A and B) > 0
Addition Rule FormulaP(A or B) = P(A) + P(B)P(A or B) = P(A) + P(B) - P(A and B)
This table summarizes the key differences and appropriate Addition Rule formulas for mutually exclusive and non-mutually exclusive events.
Check Your Understanding
A company is running two marketing campaigns: Campaign X (email) and Campaign Y (social media). 20% of customers respond to Campaign X, 15% respond to Campaign Y, and 5% respond to both. What is the probability that a randomly selected customer responds to at least one campaign?
Try It Yourself
A data analyst is examining user behavior on a website. They find that the probability a user adds an item to their cart (Event C) is 0.40, and the probability a user views their wishlist (Event W) is 0.25. If the probability that a user does both (adds an item to cart AND views wishlist) is 0.15, calculate the probability that a user either adds an item to their cart OR views their wishlist. First, determine if these events are mutually exclusive or not.
python
Key Takeaways
  • The Addition Rule calculates the probability of at least one of two events (A or B) occurring.

  • The choice of formula depends on whether events are mutually exclusive or non-mutually exclusive.

  • Mutually exclusive events cannot happen simultaneously; their intersection P(A and B) is 0.

  • For mutually exclusive events: P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B).

  • Non-mutually exclusive events can happen simultaneously; their intersection P(A and B) is greater than 0.

  • For non-mutually exclusive events: P(A or B)=P(A)+P(B)−P(A and B)P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B).

  • Subtracting P(A and B) prevents double-counting outcomes that belong to both events, ensuring accurate probability calculations, as demonstrated by the product manager's initial dilemma.

← All lessons in Probability Basics

Ready to keep this from fading?

Bitelrn turns lessons like this into a full course — quizzes, a knowledge map, and spaced review.

Get started free