Independence
Does getting heads on a coin change the chance of rolling a $5$ on a die when you play a board game with friends? No. That is why you can simply multiply their probabilities. But in a problem with data and tables it is not always obvious whether two events are independent: you have to check it with a precise mathematical condition, not "by eye".
Formal definition of independence
If $A$ and $B$ are independent, then $P(A \cap B) = P(A)\cdot P(B)$: knowing that $A$ happened does not change the chance of $B$.
The probability of $B$ given that $A$ has occurred is written $P(B|A)$. It is defined by $P(B|A) = \dfrac{P(A \cap B)}{P(A)}$. If $A$ and $B$ are independent, $P(B|A) = P(B)$.
Let $A$ and $B$ be two events in a random experiment. It is known that $P(A) = 0.4$, $P(B) = 0.5$ and $P(A \cap B) = 0.2$. Determine algebraically whether the events $A$…
Let $A$ and $B$ be two events in a random experiment. It is known that $P(A) = 0.4$, $P(B) = 0.5$ and $P(A \cap B) = 0.2$. Determine algebraically whether the events $A$ and $B$ are independent.
In a random experiment, events $C$ and $D$ are independent. If $P(C) = 0.6$ and $P(D) = 0.3$, calculate the probability that both events occur at the same time, that is,…
In a random experiment, events $C$ and $D$ are independent. If $P(C) = 0.6$ and $P(D) = 0.3$, calculate the probability that both events occur at the same time, that is, find $P(C \cap D)$.
Events $E$ and $F$ are independent. Given that the probability of their intersection is $P(E \cap F) = 0.15$ and that $P(E) = 0.3$, find the probability of event $F$.
Events $E$ and $F$ are independent. Given that the probability of their intersection is $P(E \cap F) = 0.15$ and that $P(E) = 0.3$, find the probability of event $F$.
From a Spanish deck of $40$ cards, a card is drawn, its suit recorded, returned to the deck, shuffled, and a second card is drawn. Calculate the probability that both…
From a Spanish deck of $40$ cards, a card is drawn, its suit recorded, returned to the deck, shuffled, and a second card is drawn. Calculate the probability that both drawn cards are of the suit of "coins".
Checking independence from data
When the data come from a table, a survey or a statement with percentages, you first have to calculate the three probabilities ($P(A)$, $P(B)$, $P(A\cap B)$) from the counts, and then compare them.
Two events $M$ and $N$ are incompatible (mutually exclusive) and have probabilities strictly greater than zero. Can they be independent? Justify your answer using the…
Two events $M$ and $N$ are incompatible (mutually exclusive) and have probabilities strictly greater than zero. Can they be independent? Justify your answer using the mathematical definition of independence.
In a statistical study on reading habits, $200$ people were surveyed. The results show that $120$ read regularly and $80$ do not. Furthermore, $90$ of the respondents…
In a statistical study on reading habits, $200$ people were surveyed. The results show that $120$ read regularly and $80$ do not. Furthermore, $90$ of the respondents have a university degree, of whom $54$ read regularly. Test mathematically whether the events "reading regularly" and "having a university degree" are independent in this sample.
Consider two events $A$ and $B$ from the same sample space such that $P(A) = 0.5$, $P(B) = 0.4$ and $P(A \cup B) = 0.8$. Show algebraically that events $A$ and $B$ are…
Consider two events $A$ and $B$ from the same sample space such that $P(A) = 0.5$, $P(B) = 0.4$ and $P(A \cup B) = 0.8$. Show algebraically that events $A$ and $B$ are not independent, and then calculate the conditional probability $P(A|B)$.
Based on historical records from a weather station in the west of Ireland collected by Met Éireann during autumn, it is estimated that on any given day the probability…
Based on historical records from a weather station in the west of Ireland collected by Met Éireann during autumn, it is estimated that on any given day the probability of rain is $P(L) = 0.60$ and the probability of recording strong wind gusts is $P(V) = 0.40$. Likewise, the data reveal that it rains and is strongly windy at the same time on $30\,\%$ of the days ($P(L \cap V) = 0.30$).
- a) Determine rigorously using the mathematical definition whether the events "rain" and "strong wind" are statistically independent in that region.
- b) A resident argues: "Since storms in autumn bring wind and rain together, both phenomena cannot be independent." Explain whether the numerical result obtained in the previous section supports the resident's statement, comparing the actual overlap with what would be expected if they were independent.
Independence and the probability of the union
A cyclist rides daily along an avenue where they must pass through two traffic lights whose cycles are regulated completely independently. The probability of finding the…
A cyclist rides daily along an avenue where they must pass through two traffic lights whose cycles are regulated completely independently. The probability of finding the first traffic light green is $P(S_1) = 0.7$ and that of finding the second one green is $P(S_2) = 0.6$.
- a) Before performing any calculation, estimate with reasoning: will the probability of going through at least one of the two traffic lights on green ($P(S_1 \cup S_2)$) be greater than $0.7$, less than $0.6$, or between $0.6$ and $0.7$? Why?
- b) Use the union formula for independent events to calculate the exact value of $P(S_1 \cup S_2)$ and check whether your initial estimation was correct, interpreting the result.
In a coastal city, the probability of it raining on a Saturday is $40\%$, and the probability of it raining on a Sunday is $30\%$. Assuming that the weather on Sunday is…
In a coastal city, the probability of it raining on a Saturday is $40\%$, and the probability of it raining on a Sunday is $30\%$. Assuming that the weather on Sunday is independent of the weather on Saturday, find the probability that it rains during the weekend (that is, that it rains on Saturday, Sunday or both days).
Let $A$ and $B$ be two independent events associated with a random experiment. It is known that the probability of the union is $P(A \cup B) = 0.88$ and the probability…
Let $A$ and $B$ be two independent events associated with a random experiment. It is known that the probability of the union is $P(A \cup B) = 0.88$ and the probability of $A$ is $P(A) = 0.6$. Calculate the probability of event $B$.
Independence in systems with several components
When several components (sensors, firewalls, players) act separately, without influencing one another, the product extends to as many factors as there are components.
Sometimes the second event depends on the first. When you draw without replacement, the second branch of a tree uses the conditional probability $P(B|A)$, because the contents of the box have changed.
A box contains $3$ green counters (V) and $2$ orange counters (N). Two consecutive extractions are going to be carried out. Analyse the tree diagrams corresponding to…
A box contains $3$ green counters (V) and $2$ orange counters (N). Two consecutive extractions are going to be carried out. Analyse the tree diagrams corresponding to carrying out the experiment with replacement (Panel A) and without replacement (Panel B). Calculate the probability of drawing a green counter on the second extraction in both cases, and explain mathematically in which of the two scenarios the result of the second extraction is independent of the result of the first.
For several independent trials, "exactly one" means adding the different ways it can happen.
In a hospital, a patient undergoes two independent diagnostic tests to detect a respiratory allergy. Test $X$ gives a false negative (fails to detect the allergy when…
In a hospital, a patient undergoes two independent diagnostic tests to detect a respiratory allergy. Test $X$ gives a false negative (fails to detect the allergy when the patient actually has it) with a probability of $0.15$. Test $Y$ gives a false negative with a probability of $0.10$. If the tested patient is actually allergic, what is the probability that neither of the two tests detects their allergy?
A student has to take a multiple-choice exam. The probability that they know the correct answer to a History question is $0.7$, and the probability that they know the…
A student has to take a multiple-choice exam. The probability that they know the correct answer to a History question is $0.7$, and the probability that they know the answer to a Geography question is $0.8$. If they are asked one question on each subject and their knowledge of them is independent, what is the probability that they know how to answer exactly one of the two questions?
A high-tech bank security system consists of three motion sensors operating completely independently. The probabilities of each sensor detecting an intruder entering the…
A high-tech bank security system consists of three motion sensors operating completely independently. The probabilities of each sensor detecting an intruder entering the vault are $0.90$, $0.85$ and $0.95$, respectively. Calculate the probability that the system detects an intruder (that is, that at least one sensor is activated).
An electronic circuit for a communications satellite consists of three components $A$, $B$ and $C$ arranged as shown in the diagram. The circuit functions correctly if…
An electronic circuit for a communications satellite consists of three components $A$, $B$ and $C$ arranged as shown in the diagram. The circuit functions correctly if component $A$ works AND at least one of components $B$ or $C$ works. The three components fail independently with probabilities $P(F_A) = 0.02$, $P(F_B) = 0.1$ and $P(F_C) = 0.1$. Calculate the probability that the circuit as a whole functions correctly.
There are two urns with the composition shown in the figure. A ball is drawn at random from urn $A$ and, independently, another ball from urn $B$. Calculate the…
There are two urns with the composition shown in the figure. A ball is drawn at random from urn $A$ and, independently, another ball from urn $B$. Calculate the probability that both drawn balls are of the same colour.
Bernoulli trials
A Bernoulli trial has two outcomes, success (probability $p$) and failure (probability $1-p$), and repeated trials are independent.
For up to 3 trials, list the ways it can happen and add them.
Two friends, Aoife and Niamh, take turns rolling a fair six-sided die in a game. The winner is the first player to roll a $6$. If Aoife takes the first turn and they…
Two friends, Aoife and Niamh, take turns rolling a fair six-sided die in a game. The winner is the first player to roll a $6$. If Aoife takes the first turn and they roll independently, calculate the exact probability that Aoife wins the game on her first or second roll.
Prove analytically that if two events $A$ and $B$ are independent, then their complementary events $\overline{A}$ and $\overline{B}$ are also independent. To do so, use…
Prove analytically that if two events $A$ and $B$ are independent, then their complementary events $\overline{A}$ and $\overline{B}$ are also independent. To do so, use the algebraic properties of probability and the fundamental definition of independence.
The IT department of the Department of Education has 4 identical and independent backup servers to manage online enrollment applications. During opening day, the…
The IT department of the Department of Education has 4 identical and independent backup servers to manage online enrollment applications. During opening day, the probability of a specific server crashing due to overload is $p = 0.15$. The overall system remains accessible as long as "at least one of the four servers remains operational".
To calculate the probability that the system remains accessible, two technicians propose different methods:
-
Aoife suggests calculating separately and adding the probabilities that exactly 1, exactly 2, exactly 3, and all 4 servers work.
-
Seán proposes calculating the probability that all 4 servers fail simultaneously and subtracting that value from $1$.
- a) Compare both methods with reasoning, explaining which one is more advantageous and why in this case.
- b) Apply the most efficient strategy to calculate the exact probability (to four decimal places) that the IT system does not crash.
Summary
In an archery competition, female archer Alpha has a probability of $0.8$ of hitting the bullseye, while male archer Beta has a probability of $0.7$. If both shoot an…
In an archery competition, female archer Alpha has a probability of $0.8$ of hitting the bullseye, while male archer Beta has a probability of $0.7$. If both shoot an arrow completely independently, calculate the probability that both hit the bullseye.
Two machines, $M_1$ and $M_2$, pack dairy products in a factory and operate independently. The probability of machine $M_1$ breaking down on a production day is $0.05$,…
Two machines, $M_1$ and $M_2$, pack dairy products in a factory and operate independently. The probability of machine $M_1$ breaking down on a production day is $0.05$, and that of machine $M_2$ is $0.08$. Calculate the probability that, on a given day, at least one of the two machines breaks down.