Probability - Independent events
In probability, two events are independent if the incidence of one event does not affect the probability of the other event. If the incidence of one event does affect the probability of the other event, then the events are dependent.
There is a red 6-sided fair die and a blue 6-sided fair die. Both dice are rolled at the same time. Let be the event that the red die's result is even. Let be the event that the blue die's result is odd. Are the events independent?
Consider whether rolling an even number on the red die will affect whether or not the blue dies rolls odd. The outcome of the red die has no impact on the outcome of the blue die. Likewise, the outcome of the blue die does not affect the outcome of the red die.
regardless of whether happens or not.
regardless of whether happens or not.
Therefore, the events are independent.
Determining the independence of events is important because it informs whether to apply the rule of product to calculate probabilities. Calculating probabilities using the rule of product is fairly straightforward as long as the events you're working with are independent. Calculating probabilities of dependent events can be more challenging and less straightforward. Thus, it is important to think about whether events are independent or not, as it affects the approach to problem solving.
Contents
Identifying Independent and Dependent Events
The example in the introduction demonstrated events that were clearly independent. However, it can sometimes be a challenge to identify whether events are independent or not. Consider the following example:
There are 3 green marbles and 5 blue marbles in a bag. Two marbles are drawn from the bag at random. Let be the event that the first marble drawn is green. Let be the event that the second marble drawn is blue. Are the events independent?
![]()
Case 1: happens
When the first marble drawn is green, there are marbles left in the bag, and of them are blue. In this case, .
Case 2: does not happen
When the first marble drawn is blue, there are marbles left in the bag, and of them are blue. In this case, .
The incidence of affects the probability of . Therefore, these events are not independent. In other words, they are dependent.
In the previous example, the first marble drawn affected which marbles were left in the bag. Whenever events happen in sequence, and the incidence of an event affects the sample space of the next event, the events will be dependent.
Events do not have to occur in sequence to be dependent. Consider this example:
There are 12 horses in a race. Nyquist and Exaggerator are two of those horses. Each horse has an equal chance of winning. Let be the event that Nyquist wins the race, and let be the event that Exaggerator wins the race. Are the events independent?
Case 1: happens
If Nyquist wins the race, then Exaggerator cannot win the race. In this case, .
Case 2: does not happen
If Nyquist does not win the race, then there are other horses that could possibly win the race, each with an equal chance of winning. Exaggerator is one of those horses, and so .
The incidence of affects the probability of . Therefore, the events are dependent.
When trying to determine whether events are dependent or independent, consider how the incidence of one event affects the probability of the other. If the probability is affected, then the events are dependent. If there is no effect on the probability, then the events are independent.
Conditional Probability and Independent Events
The concept of conditional probability is closely related to the concept of independent events. You might notice that some of the previous examples can be restated using conditional probability. For instance, in the marble example, it can be stated that and .
With an understanding of conditional probability, the definitions of independent and dependent events can be restated:
Two events and are independent if:
and
Two events and are dependent if :
or
Note: and are the complements of and , respectively.
There are some results in probability that can be surprising due to the nature of dependent events. Sometimes, events are worded such that they do not seem to be related. However, further analysis shows that there is some dependence, and this has an effect on probability.
A couple have two children. What is the probability that both of the children are boys, given that one of the children is a boy?
Assume that when a child is born, it has an equal chance of being a boy or girl.
A common mistake on this problem is to assume that with one child being a boy, the other child simply has a chance of being a boy. However, this solution ignores how conditional probability is defined, and it also ignores the dependence of the events described in the problem. The actual solution is much more surprising.
Let be the sample space of this experiment. Let represent a boy and represent a girl, with the order of the births mattering. .
Let be the event that both children are boys. .
Let be the event that one of the children is a boy.
.
The sample space is uniform, so
Thus, the probability that both children are boys given that one of the children is a boy is .
This solution might seem non-intuitive, but it can be proven with real-world evidence. If you found many families that had exactly two children with at least one child being a boy, then roughly of those families would have two boys.
Part of the reason this result is so surprising is that the events and are dependent. , and so . The knowledge of one child being a boy has a dramatic effect on the probability that both children are boys.
A fair coin is flipped twice. Which pair of the following events is a pair of independent events?
Mutual Independence of more than two events
Let , , and be events, and let them be pairwise independent. That is to say, each pair of events is independent: and are independent, and are independent, and and are independent. Does this mean that , , and are mutually independent? Unfortunately, mutual independence of more than two events has stricter requirements:
Given a set of more than two events, the set of events is mutually independent if each event is independent of each intersection of the other events.
If even one independence is not satisfied, then the set of events is mutually dependent.
Two fair 6-sided dice are rolled, one red and one blue. Let be the event that the red die's result is 3. Let be the event that the blue die's result is 4. Let be the event that the sum of the rolls is 7. Are , , and mutually independent?
and . Thus, and are independent.
and . Thus, and are independent.
and . Thus, and are independent.
Theses events are pairwise independent. However, in order for all three events to be mutually independent, each event must be independent with each intersection of the other events.
and
These are not equal, and so , , and are mutually dependent.
In the previous example, one might suspect that something fishy is going on given that event involves both dice rolls. Given this, we would usually be skeptical of finding an event that is independent of . It turns out that it is coincidence that these pairs of events satisfy the definition for independence.
This definition of mutual independence is relevant for the rule of product, as the rule of product requires independent events. In the previous example, if we (incorrectly) try to obtain by the rule of product, we obtain. However, the correct probability of the intersection of events is .
The following theorem can sometimes be useful as a "sanity check" to ensure that you are applying the principles of independence properly:
A set of events is mutually independent if and only if, for every subset of events, the probability of the intersection of those events is equal to the product of the probabilities of those events.
A scientist is conducting an experiment with two rats, and she noted the incidence of the following events each day.
Over the course of the experiment, the scientist recorded the following probabilities:
Are the events mutually independent?
Independent Random Variables
Two random variables and are called independent if, for any outcomes and ,
More generally, a collection of random variables is called independent if for any outcomes ,
Note: is the symbol for intersections of a series, and is the symbol for products of a series.
As an application of this definition, one can show that if and are independent random variables. This is quite useful; linearity of expectation implies regardless of whether and are independent or dependent, but generally
If and are independent random variables, then .
Suppose takes on values and takes on values . By the definition of expectation,
Since and are independent, and it follows that
Let and be random variables describing independent tosses of a fair coin. Let be the random variable that equals if both and land heads and that equals 0 otherwise.
How many of the following statements are true?
- The collection of random variables is independent.
- The collection of random variables is independent.
- The collection of random variables is independent.
- The collection of random variables is independent.