Sub topic 3
The Complement Rule: P(not A) = 1 - P(A)
What the complement rule means
Assume you know how to work with fractions, ratios, percents, and simple sample spaces. The complement of an event \(A\) is the event that \(A\) does not happen. It is written as \(A^c\), “not \(A\).”
Every outcome belongs either to \(A\) or to \(A^c\). Therefore, their probabilities add to 1:
\[ P(A) + P(A^c) = 1 \]
Rearranging gives the complement rule:
\[ \boxed{P(A^c) = 1 - P(A)} \]
For example, if the probability that a randomly selected student studies calculus is \(0.35\), then the probability that the student does not study calculus is:
\[ 1 - 0.35 = 0.65 \]
When the complement is easier
Use the complement rule when the requested event has many ways to happen, but its opposite has only a few ways.
The phrase at least one is a common signal. Instead of counting one, two, three, and so on, count none, then subtract from 1.
Suppose a fair coin is flipped three times. Let \(A\) be the event that at least one flip is heads.
- The complement \(A^c\) is “no heads.”
- No heads means all three flips are tails.
- \(P(A^c) = (1/2)^3 = 1/8\).
Thus,
\[ P(A) = 1 - P(A^c) = 1 - \frac18 = \frac78 \]
The same idea works with percentages. If a machine has a 4% chance of producing a defective item, the chance of producing a nondefective item is \(100\% - 4\% = 96\%\).
Common errors
Be precise about the complement.
- The complement of “at least one success” is “zero successes,” not “at most one success.”
- The complement of “more than 4” is “4 or less,” not “less than 4.”
- The complement of “an even number” is “an odd number,” when the possible outcomes are integers.
- A probability must stay between 0 and 1. If subtraction produces a negative number, check the original probability.
For a compound event, complement each condition carefully. The complement of “both \(A\) and \(B\)” is “not both,” which includes cases where one occurs and cases where neither occurs.
from fractions import Fraction
# Probability of at least one head in three fair flips
p_no_heads = Fraction(1, 2) ** 3
p_at_least_one_head = 1 - p_no_heads
print(p_at_least_one_head) # 7/8On a GRE quantitative comparison question, the complement rule can simplify both columns. Compute the easier “does not happen” probability first, then subtract from 1. Do not assume that a larger probability for the complement means the original event is larger without performing the subtraction.
Exercise
A fair six-sided die is rolled four times. What is the probability that at least one roll is a 6?
Show answer
The complement is no 6s. Its probability is (5/6)^4 = 625/1296, so the answer is 1 - 625/1296 = 671/1296.