A batch of three indicator lamps is checked, and the question is the probability that at least one lamp is faulty. That event gathers exactly one, exactly two and three faults, while its opposite, no faulty lamp, is a single case. This lesson proves that in every probability model an event has probability one minus the probability of its complement, and shows how to find the correct complement for phrases such as at least one, not all and at least k.
Key terms
Complementary partition
Definition The complement of an event is the event of all outcomes in that are not in . The two events are disjoint and together exhaustive,
so when is neither nor they form a partition of into two nonempty events. Conversely, an event is the complement of exactly when and , that is, when is disjoint from and the two events together are exhaustive.
In plain words Every outcome lies in exactly one of and . A proposed opposite event is the complement exactly when it shares no outcome with and leaves out no outcome outside , so both conditions have to be checked.
Example A delivery forecast uses the event that a package arrives by its deadline. The event that it arrives exactly one minute late is disjoint from , but it misses every other late arrival, so it is not . If the model also allows the package never to arrive, then even “arrives after the deadline” leaves outcomes out. The complement is “does not arrive by the deadline”, which contains every late arrival and nondelivery. If the forecast gives probability , the remaining belongs to all of these outcomes together, not to the one-minute case alone.
Complement rule
Definition For every event of a probability model,
and equivalently . The proof uses only the axioms. The events and are disjoint with union , so additivity and normalization give . Nothing is assumed about independence, equally likely outcomes, the number of outcomes or repeated trials.
In plain words The probability inside an event and the probability outside it share the total of one. When the opposite event is easier to describe or to compute, find its probability and subtract from one. Most mistakes happen in naming the opposite event, not in the subtraction.
Example A constructed model for a batch of three lamps records a pattern such as GFG, with G for good and F for faulty in the positions of lamps 1, 2 and 3. The model gives every pattern a probability.
| Faults | Patterns | Probability of each | Group total |
|---|---|---|---|
| GGG | |||
| FGG, GFG, GGF | |||
| FFG, FGF, GFF | |||
| FFF |
The probabilities are nonnegative and the group totals add to , so the table is a valid model. The event that at least one lamp is faulty is the complement of , so its probability is . Adding the seven patterns with a fault gives the same value, , with more work.
At least one
Definition For events , the event that at least one of them occurs is the union . By De Morgan’s law its complement is the event that none of them occurs,
so the complement rule gives
In plain words “At least one” gathers many cases, exactly one, exactly two and so on, while “none” is often a single case. The probability of none still has to come from the model. It is the probability of an intersection, and replacing it by a product of separate probabilities needs a reason such as independence, which the model has to supply.
Example In the lamp table let be the event that lamp is faulty. The event has complement , which gives the probability found above. Lamp 1 is faulty in FGG and in the three patterns FFG, FGF and FFF, which have probability each, so
and the same holds for lamps 2 and 3. Multiplying the three probabilities of a good lamp gives , not the stated for GGG. So this table does not describe lamps that fail independently, and the product would give the wrong value for at least one fault. The complement rule needed no independence, because it used the stated probability of the whole complementary event.
Not all
Definition For events , the event that not all of them occur is the complement of . By De Morgan’s law
which is the event that at least one of them fails to occur. The complement rule gives
In plain words “Not all” is a weak denial. It holds as soon as one event fails, while “none” needs every event to fail.
Example In the lamp table, “not all lamps are good” is the complement of , so its probability is . It is the same event as “at least one lamp is faulty”. The event “no lamp is good” is , with probability . Reading “not all good” as “all not good” would replace by .
Complement of at least k
Definition Let be a count attached to each outcome that takes only integer values, such as the number of faulty lamps, and let be an integer. Write for the event of all outcomes whose count is at least . Then
so and . For a quantity that can take values between integers, the complement of “at least ” is still “less than ”, but it need not be the same as “at most ”.
In plain words The complement of “at least ” is “fewer than ”. The boundary value belongs to “at least ”, so it has to leave the complement, and turning into without that adjustment counts the boundary on both sides.
Example A constructed model for the number of defective items in a sample of four assigns these probabilities.
The complement of is , with probability , so . Direct addition agrees, since . The event has complement , with probability , so . Taking as the complement of would give for at least two defects, losing the on exactly two. Taking “no defects” as the complement would give , because exactly one defect would then be counted as at least two.
Check yourself
- Using the lamp table, find the probability of at most one fault. Then use it to find the probability of at least two faults, and name the complement you use.
Show the answer
With the number of faulty lamps, at most one fault is , the pattern GGG together with the three one-fault patterns, so its probability is . For a whole-number count, a value that is not at most is at least , so the complement of is . Hence the probability of at least two faults is . Direct addition confirms it, since .
- Using the lamp table, find the probability that not all lamps are faulty and the probability that at least one lamp is good. Then explain why “not all faulty” and “all good” are different events.
Show the answer
Not all faulty is the complement of , so its probability is . A pattern has at least one good lamp exactly when it is not FFF, so at least one good lamp is the same event with the same probability .
All good contains only GGG and has probability . The pattern GFF is not all faulty and has a good lamp, but it is not all good. That one outcome shows that the two events differ.
- A second batch has a different joint table, and the only information given is that all three lamps are good with probability . Which of these probabilities can you find, at least one fault, not all good, exactly one fault, all faulty?
Show the answer
At least one fault is the complement of all good, so its probability is . Not all good is the same event, so it also has probability .
Exactly one fault and all faulty are not determined. The remaining could sit entirely on the one-fault patterns, or it could be split as on exactly one fault, on exactly two and on all three. Both splits give valid models with all good at , yet exactly one fault gets in the first and in the second, and all faulty gets and . Filling the gap by assuming independent lamps would add an assumption that the given information does not contain.