Sub topic 3
The complement rule: P(not A) = 1 - P(A)
What this chapter assumes
You should already be comfortable with fractions and percents, with listing outcomes of a simple experiment, and with the definition of probability as favorable outcomes over total outcomes. This chapter builds on that definition. It gives you one rule, shows why it works, and shows where it saves time and where it misleads.
The complement of an event
The complement of an event A is the event "A does not happen." It contains every outcome in the sample space that is not in A. Common notations are A', A^c, and "not A". This tutorial writes it as "not A".
Every outcome either belongs to A or belongs to not A, and never to both. Together the two events cover the whole sample space.
Why the rule works
The probabilities of all outcomes in a sample space add up to 1. Event A and event "not A" split the outcomes into two groups with no overlap. So:
P(A) + P(not A) = 1
Rearranging gives the complement rule:
P(not A) = 1 - P(A)
You can also write it as P(A) = 1 - P(not A). The rule works in both directions, and the second form is the one that matters on the GRE.
Take one roll of a fair die. Let A be "roll a 6", so P(A) = 1/6. Then "not A" is "roll 1, 2, 3, 4, or 5", and P(not A) = 1 - 1/6 = 5/6. Counting directly also gives 5 favorable outcomes out of 6. Both methods agree.
The two slices make up the entire sample space. If you know the size of one slice, the other is whatever remains.
Worked example 1: a direct count versus the complement
Two fair dice are rolled. What is the probability that the sum is not 7?
Method 1, direct count. List every sum other than 7. This is slow, because 30 of the 36 outcomes qualify.
Method 2, complement. Count the outcomes with sum 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). That is 6 outcomes, so P(sum is 7) = 6/36 = 1/6. Then:
P(sum is not 7) = 1 - 1/6 = 5/6
The complement method is shorter whenever the event you want to avoid is small and easy to list.
Checking the rule in code
This script enumerates the two-dice sample space and confirms that counting the complement directly gives the same answer as subtracting from 1.
from fractions import Fraction
from itertools import product
space = list(product(range(1, 7), repeat=2)) # 36 outcomes
def prob(event):
return Fraction(sum(1 for o in space if event(o)), len(space))
sum_is_7 = lambda o: o[0] + o[1] == 7
not_sum_is_7 = lambda o: not sum_is_7(o)
print(prob(sum_is_7)) # 1/6
print(prob(not_sum_is_7)) # 5/6
print(1 - prob(sum_is_7)) # 5/6
print(prob(sum_is_7) + prob(not_sum_is_7) == 1) # TrueThe last line checks the identity P(A) + P(not A) = 1. Using Fraction keeps the results exact, so the comparison is not affected by rounding.
When to reach for the complement
The complement rule is a tool for choosing the easier of two counts. Use it when the wording points to a large event whose opposite is small. These phrases are common signals:
- "at least one" (the opposite is "none")
- "at most" or "no more than" when the cutoff is near the top of the range
- "not equal to" a single value
- "fails" or "defective" when most items are fine
- any event that splits into many cases, while the opposite is a single case
The "at least one" pattern is common enough that a later chapter treats it in full. Here, one small preview is enough.
Worked example 2: three coin flips
A fair coin is flipped 3 times. What is the probability of getting at least one head?
The direct approach lists seven outcomes with one, two, or three heads. The opposite event is "no heads", which means all tails. Only one of the 8 equally likely outcomes (TTT) fits it:
P(no heads) = 1/8
P(at least one head) = 1 - 1/8 = 7/8
Working with percents and decimals
The rule is the same in any format, as long as the whole is 1 (or 100%).
| Given | Complement |
|---|---|
| P(A) = 3/5 | P(not A) = 2/5 |
| P(A) = 0.35 | P(not A) = 0.65 |
| P(A) = 12% | P(not A) = 88% |
| P(A) = 0 | P(not A) = 1 |
| P(A) = 1 | P(not A) = 0 |
The last two rows are the extreme cases. An impossible event has probability 0 and its complement is certain. A certain event has probability 1 and its complement is impossible.
Worked example 3: a percent problem
On a production line, 4% of items are defective. If one item is chosen at random, what is the probability that it is not defective?
P(not defective) = 1 - 0.04 = 0.96, or 96%.
Now suppose a question says the probability that a customer buys nothing is 0.58 and asks for the probability that the customer buys something. The wording "something" means "at least one item", which is the complement of "nothing". The answer is 1 - 0.58 = 0.42.
Common errors
- Subtracting from the wrong total. The "1" in the rule is the total probability, not the number of outcomes. For a die, P(not 6) is 1 - 1/6, not 6 - 1.
- Complementing the wrong event. The complement of "at least one head" is "no heads", not "at least one tail". These two events overlap whenever both a head and a tail appear.
- Complementing "greater than" incorrectly. The complement of "greater than 4" is "4 or less", not "less than 4". The boundary value belongs to the complement.
- Treating "not A and not B" as "not (A and B)". These are different events. The complement of "A or B" is "not A and not B". The complement of "A and B" is "not A or not B". When you complement a compound event, swap "and" with "or" and negate each part.
- Using the rule on outcomes that are not equally likely. The rule itself still holds, since the probabilities still sum to 1. But if you compute P(A) by counting outcomes and the outcomes are not equally likely, the count is wrong before you subtract.
Edge cases on the GRE
The complement rule often appears inside quantitative comparison questions. A question may give P(A) = 0.3 in one column and P(not A) in the other. You can decide the comparison without computing anything else: P(not A) = 0.7, which is larger. When only a range is known, such as P(A) < 0.4, the complement satisfies P(not A) > 0.6. Subtracting from 1 reverses the direction of an inequality.
If a problem gives probabilities for several mutually exclusive outcomes that together cover everything, the missing one is 1 minus the sum of the others. For example, a spinner lands on red with probability 0.2, on blue with probability 0.35, and on green with probability 0.25, and has no other region. Then P(yellow) = 1 - (0.2 + 0.35 + 0.25) = 0.2. This is the complement rule applied to a group of outcomes.
Summary
- The complement of A contains every outcome not in A.
- P(A) + P(not A) = 1, so P(not A) = 1 - P(A).
- Use it when the opposite event is easier to count, which is the usual signal in "at least one" wording.
- Name the complement in words, and flip "and" with "or" when complementing a compound event.
Exercise
A bag holds 4 red, 3 green, and 5 blue marbles. One marble is drawn at random. What is the probability that it is not blue?
Show answer
There are 4 + 3 + 5 = 12 marbles. P(blue) = 5/12, so P(not blue) = 1 - 5/12 = 7/12. This matches counting the 4 red and 3 green marbles directly: 7 out of 12.
Exercise
A fair coin is flipped 4 times. What is the probability of getting at least one tail?
Show answer
The complement is "no tails", which means all four flips are heads. That is 1 outcome out of 2^4 = 16, so P(no tails) = 1/16. Then P(at least one tail) = 1 - 1/16 = 15/16.
Exercise
Two fair dice are rolled. What is the probability that the sum is greater than 3?
Show answer
The complement is "sum is 3 or less". The sums 2 and 3 are the only ones: (1,1), (1,2), (2,1). That is 3 outcomes out of 36, or 1/12. So P(sum greater than 3) = 1 - 1/12 = 11/12.