The Complement Rule

Introduction

Welcome to Sharpening Probability Basics! In the first lesson of this course, we explored how to calculate single-event probability by comparing favorable outcomes to the total number of equally likely outcomes. Now, in the second lesson of four, we turn our attention to a powerful shortcut known as the complement rule.

Here, we will learn how to find the probability that an event does not happen, using the simple formula P(not A)=1P(A)P(\text{not } A) = 1 - P(A). We will also discover why this approach can save a great deal of counting work in certain situations.

Thinking in Opposites

The Complement Rule

A Simple Example

A Card-Deck Example

Common Mistakes to Avoid

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