1.4.1 Independence
Let be the event that it rains tomorrow, and suppose that . Also suppose that I toss a fair coin; let be the event that it lands heads up. We have .
Now I ask you, what is ? What is your guess? You probably guessed that . You are right! The result of my coin toss does not have anything to do with tomorrow's weather. Thus, no matter if happens or not, the probability of should not change. This is an example of two independent events. Two events are independent if one does not convey any information about the other. Let us now provide a formal definition of independence.
Two events and are independent if and only if .
Now, let's first reconcile this definition with what we mentioned earlier, . If two events are independent, then , so
| $ = \frac{P(A \cap B)}{P(B)}$ | |
| . |
Thus, if two events and are independent and , then . To summarize, we can say "independence means we can multiply the probabilities of events to obtain the probability of their intersection", or equivalently, "independence means that conditional probability of one event given another is the same as the original (prior) probability".
Sometimes the independence of two events is quite clear because the two events seem not to have any physical interaction with each other (such as the two events discussed above). At other times, it is not as clear and we need to check if they satisfy the independence condition. Let's look at an example.
Example
I pick a random number from , and call it . Suppose that all outcomes are equally likely. Let be the event that is less than $7$, and let be the event that is an even number. Are and independent?
- Solution
- We have , , and . Then
Therefore, , so and are independent. This means that knowing that has occurred does not change our belief about the probability of . In this problem the two events are about the same random number, but they are still independent because they satisfy the definition.
- We have , , and . Then
The definition of independence can be extended to the case of three or more events.
Three events , , and are independent if all of the following conditions hold
Note that all four of the stated conditions must hold for three events to be independent. In particular, you can find situations in which three of them hold, but the fourth one does not. In general, for events to be independent we must have
This might look like a difficult definition, but we can usually argue that the events are independent in a much easier way. For example, we might be able to justify independence by looking at the way the random experiment is performed. A simple example of an independent event is when you toss a coin repeatedly. In such an experiment, the results of any subset of the coin tosses do not have any impact on the other ones.
Example
I toss a coin repeatedly until I observe the first tails at which point I stop. Let be the total number of coin tosses. Find .
- Solution
Here, the outcome of the random experiment is a number . The goal is to find . But what does mean? It means that the first $4$ coin tosses result in heads and the fifth one results in tails. Thus the problem is to find the probability of the sequence when tossing a coin five times. Note that is a shorthand for the event "(The first coin toss results in heads) and (The second coin toss results in heads) and (The third coin toss results in heads) and (The fourth coin toss results in heads) and (The fifth coin toss results in tails)." Since all the coin tosses are independent, we can write
$ =P(H)P(H)P(H)P(H)P(T)$ .
Discussion: Some people find it more understandable if you look at the problem in the following way. I never stop tossing the coin. So the outcome of this experiment is always an infinite sequence of heads or tails. The value (which we are interested in) is just a function of the beginning part of the sequence until you observe a tails. If you think about the problem this way, you should not worry about the stopping time. For this problem it might not make a big difference conceptually, but for some similar problems this way of thinking might be beneficial.
We have seen that two events and are independent if . In the next two results, we examine what independence can tell us about other set operations such as complements and unions.
Lemma
If and are independent then
- and are independent,
- and are independent,
- and are independent.
Proof
We prove the first one as the others can be concluded from the first one immediately. We have
| $ =P(A-B)$ | |
| $=P(A)-P(A)P(B) \hspace{20pt} \textrm{since and are independent}$ | |
| . |
Thus, and are independent.
Sometimes we are interested in the probability of the union of several independent events . For independent events, we know how to find the probability of intersection easily, but not the union. It is helpful in these cases to use De Morgan's Law:
| $=1-P(A_1^c)P(A_2^c) \cdots P(A_n^c) \textrm{(since the 's are independent)}$ | |
| . |
If are independent then
Example
Suppose that the probability of being killed in a single flight is based on available statistics. Assume that different flights are independent. If a businessman takes $20$ flights per year, what is the probability that he is killed in a plane crash within the next $20$ years? (Let's assume that he will not die because of another reason within the next $20$ years.)
- Solution
- The total number of flights that he will take during the next $20$ years is
. Let be the probability that he survives a given single
flight. Then we have
Since these flights are independent, the probability that he will survive all flights isLet be the event that the businessman is killed in a plane crash within the next $20$ years. Then
- The total number of flights that he will take during the next $20$ years is
. Let be the probability that he survives a given single
flight. Then we have
Warning! One common mistake is to confuse independence and being disjoint. These are completely different concepts. When two events and are disjoint it means that if one of them occurs, the other one cannot occur, i.e., . Thus, event usually gives a lot of information about event which means that they cannot be independent. Let's make it precise.
Lemma
Consider two events and , with and . If and are disjoint, then they are not independent.
Proof
Since and are disjoint, we have
Table 1.1 summarizes the two concepts of disjointness and independence.
| Concept | Meaning | Formulas |
| Disjoint | and cannot occur at the same time | $A \cap B=\emptyset, $ |
| Independent | does not give any information about |
Table 1.1: Differences between disjointness and independence.
Example (A similar problem is given in [6])
Two basketball players play a game in which they alternately shoot a basketball at a hoop. The first one to make a basket wins the game. On each shot, Player 1 (the one who shoots first) has probability of success, while Player 2 has probability of success (assume $0 < p_1,p_2 < 1$). The shots are assumed to be independent.
- Find , the probability that Player 1 wins the game.
- For what values of and is this a fair game, i.e., each player has a $50$ percent chance of winning the game?
- Solution
In this game, the event can happen in many different ways. We calculate the probability of each of these ways and then add them up to find the total probability of winning. In particular, Player 1 may win on her first shot, or her second shot, and so on. Define as the event that Player 1 wins on her 'th shot. What is the probability of ? happens if Player 1 is unsuccessful at her first shots and successful at her th shot, while Player 2 is unsuccessful at her first shots. Since different shots are independent, we obtain
Note that are disjoint events, because if one of them occurs the other ones cannot occur. The event that Player 1 wins is the union of the 's, and since the 's are disjoint, we have. Note that since $0 < p_1,p_2 < 1$, for we have $0 < x < 1$. Thus, using the geometric sum formula ($ \sum_{k=0}^{\infty} ax^k= a \frac{1}{1-x}$ for ), we obtain
It is always a good idea to look at limit cases to check our answer. For example, if we plug in , we obtain , which is what we expect. Similarly, if we let , we obtain , which again makes sense.Now, to make this a fair game (in the sense that ), we have
and we obtainNote that this means that , which makes sense intuitively. Since Player 1 has the advantage of starting the game, she should have a smaller success rate so that the whole game is fair.
