Complementary Event
In probability and statistics, a complementary event E' represents the opposite outcome of a given event E.
If E is a specific event, its complementary event (or complement) is denoted by \(E'\) or \(E^{c}\) and occurs only when \(E\) does not occur.
For example, if we consider rolling a six-sided die and event \(E\) is "rolling an even number", then the complementary event \(E'\) would be "rolling an odd number".
In set theory terms, if U represents the universal set containing all elements, and F is the set of outcomes that favor event E, then F' is the complementary set U\F.
$$ F' = U \text{ \ } F $$
This means that F' includes all elements of U that are not in F.
For example, here's a representation of event E ("rolling an even number") and its complement E' using Euler-Venn diagrams.

A fundamental result in probability theory states that the probability of an event and the probability of its complement always add up to 1. $$ p(E) + p(E') = 1 $$ Hence, the probability of the complementary event is: $$ p(E') = 1 - p(E) $$
Recall that $ p(E) = \frac{f}{n} $, where $ f $ denotes the number of favorable outcomes and $ n $ the total number of equally likely outcomes.
$$ p(E') = 1 - \frac{f}{n} $$
Equivalently, the probability of the complement can be written as:
$$ p(E') = \frac{n - f}{n} $$
This identity is especially useful because it offers a straightforward way to compute the probability of an event once the probability of its complement is known.
Proof. Begin with the sum of the probabilities of event E and its complement E': $$ p(E) + p(E') $$ By definition, $ p(E) = f/n $, the ratio of favorable outcomes to the total number of possible outcomes. $$ p(E) + p(E') = \frac{f}{n} + p(E') $$ The complement has probability $ p(E') = (n - f)/n $, the ratio of nonfavorable outcomes to the total. $$ p(E) + p(E') = \frac{f}{n} + \frac{n - f}{n} $$ Combining the numerators yields n, giving a final value of 1. $$ p(E) + p(E') = \frac{f + n - f}{n} = \frac{n}{n} = 1 $$
A practical example
Example 1
What is the probability of rolling a 3 on a single throw of a fair die? And what is the probability of the complementary event?
A fair six-sided die has $ n = 6 $ equally likely outcomes.
There is only one favorable outcome, $ f = 1 $, so the probability of obtaining a 3 is:
$$ p(E) = \frac{1}{6} = 0.1\bar{6} $$
In percentage form, this is roughly 17%.
The complementary event is obtaining any outcome other than 3. Its probability is:
$$ p(E') = 1 - \frac{1}{6} = \frac{5}{6} = 0.8\bar{3} $$
In percentage form, this corresponds to about 83%.
Note. The probability of the complementary event can also be computed directly using the general formula for complements, with $ f = 1 $ and $ n = 6 $. $$ p(E') = \frac{n - f}{n} = \frac{6 - 1}{6} = \frac{5}{6} $$ As expected, the result is identical.
Example 2
Let's consider the event E = "rolling a number greater than 2" with a six-sided die.
The sample space is:
$$ U = \{ 1,2,3,4,5,6 \} $$
The set of favorable outcomes is:
$$ F = \{ 3,4,5,6 \} $$
We calculate the ratio between the number of elements in set F and set U to determine the probability of event E:
$$ p(E) = \frac{|F|}{|U|} = \frac{4}{6} = 0.66 $$
The cardinality of set F is |F| = 4 since it contains 4 elements, while the cardinality of set U is |U| = 6.
Therefore, the probability of rolling a number greater than 2 (event E) is approximately 0.67, or 67%.
The complementary event E' represents the opposite scenario: "rolling a number less than or equal to 2".
In this case, we can skip calculating the probability of E' directly, since we already know the probability p(E) = 0.67 of event E and can find E's complement by subtraction.
Knowing that, according to the probability theorem, the sum of the probabilities of an event E and its complement E' equals 1:
$$ p(E) + p(E') = 1 $$
We can derive the probability of p(E'):
$$ p(E') = 1 - p(E) $$
$$ p(E') = 1 - 0.67 $$
$$ p(E') = 0.33 $$
So, we've determined the probability of E' by subtraction, without having to calculate it as a ratio of favorable to total outcomes.
The probability of rolling a number less than or equal to 2 is approximately 0.33, or 33%.
And so on.
