Independent events
“Independently of each other” and a question about “and”, “at least one” or an unknown share. Every cell of the table is the product of its margins.Trap: treating the events as disjoint and losing the intersection.
In the textbook: Ch. 5.2 Bedingte Wahrscheinlichkeiten
A copy shop has two printers. The first breaks down on a given day with probability , the second with probability . The printers are different and stand in different rooms; a breakdown of one has no effect on the other. Printing is impossible only if both are broken.
With what probability can the copy shop not print on a random day?
Adding, , does not help here: it counts the days when at least one is broken, and it counts the days when both are broken twice. Multiplying gives the answer, and only because the printers do not affect each other. Systems of several parts and the tasks on the number of attempts until the first success rest on this multiplying too.
Both printers are broken on the same day with probability . On average the copy shop cannot print on two days out of a hundred.
Check yourself. A task at exam level: a warehouse has two smoke detectors; they go off independently of each other, the first with probability , the second with probability . With what probability does at least one go off in a fire?
Picture 1000 working days of the copy shop. The events:
Printer 1 breaks down on about 100 of 1000 days, a share of . What happens to printer 2 on these 100 days? It does not care whether the first one is broken: it breaks down on the same share of days as always, . So on 20 of these 100 days both are broken. On the other 900 days printer 2 also breaks down at a share of , that is 180 days. On the remaining days printer 2 works: and . This gives a two-way table from the article “Conditional probability: the share within a group”:
Both are broken on 20 of 1000 days, the probability (what the intersection “and” of events means). This answers the copy shop's question. See where the 20 comes from: it is of , that is . As shares of all days:
The key is the phrase “printer 2 does not care”. Look at the share of days on which printer 2 is broken:
The condition “printer 1 is broken” does not change the share of :
Such events are called independent (German “stochastisch unabhängig”). The article on conditional probability had the multiplication rule . Put into it and you get the rule for independent events:
How to check whether events are independent. Compare the intersection with the product:
In the online shop from the article on conditional probability, of all orders are returned, are paid by invoice, and are both returned and paid by invoice. The product is not , so returning and paying by invoice are dependent: among invoice orders returns are more frequent, against among all.
Not only the cell “both broken” is a product of shares. In the printer table for 1000 days from the previous section, every cell is the product of its margins. Both work on 720 days: . This is no coincidence. If printer 2 does not care whether the first one is broken, it also does not care whether the first one works. So all four pairs of events are independent:
For example, for “both work”:
This gives a short way to “at least one”. “At least one printer is broken” is all days except those on which both work. The complement (the formula sheet line ) gives
The addition rule from the last article gives the same: . The way through “none” is handier when there are more than two parts. For three, five or independent parts, “none broke down” is the product of the probabilities that they work, one factor per part. The three methods below rest on this: systems, at least once and the first success.
Only independent events may be multiplied. They are often confused with disjoint ones, which is quite a different property. Disjoint events cannot happen together: “printer 1 is broken” and “printer 1 works” on the same day. For them , more in the section “Overlapping or not: disjoint events”. Independent events, on the contrary, do happen together, and exactly with probability : both printers are broken on 20 days, not on 0.
The answer from the start treats the printers exactly as disjoint, as if they never broke down on the same day.
With the printers both shares were known, and all that was left was to multiply. In the first exam task one share is unknown, but “at least one” is given, and the multiplication turns into an equation:
Eine Prüfung besteht aus einem Test und einer Hausarbeit, die unabhängig voneinander bestanden werden. Den Test bestehen der Teilnehmer. Mindestens eines von beiden bestehen Teilnehmer mit der Wahrscheinlichkeit . Mit welcher Wahrscheinlichkeit besteht ein Teilnehmer die Hausarbeit?
The words “independently of each other” and the given “at least one of the two” show the way. This is a four-field table like the printer one in the first section, only with one margin unknown: the share of those who pass the term paper. Call the unknown share . The cell “passed nothing” lies outside “at least one”, and for independent events it too is the product of its margins. That cell gives .
margins: pass 0.62, fail 0.38, term paper x
pass the test, fail it. Call the share of those who pass the term paper , the rest .
Why does the cell “test failed, paper passed” hold and not simply ? Hint: how many people are in the row “test failed”.
An online shop watches two events: “the customer uses a coupon”, “the order is large”. Among large orders use a coupon; among orders with a coupon are large. The events are independent.
What share of all orders is large and with a coupon?
The condition does not change the share: and .
, .
. Check: among orders with a coupon, are large, as stated.
Independent or not: cake and card. A café has 200 guests in a day. 80 take cake, 125 pay by card, 50 do both. Are “cake” and “card” independent? Shares: , , . Compare the intersection with the product.
Your turn1 of 5
The events and are independent, and . What is ?
Traps. The wrong options of the exam task come about like this:
On the formula sheet: , and . The rule for independent events is not on the sheet; you remember it.
The test and the term paper were two separate events. In the next exam task independent parts work as one system: two scanners check the same attachment:
Eine Firma prüft E-Mail-Anhänge mit zwei unabhängig arbeitenden Virenscannern. Scanner 1 erkennt Schadsoftware mit Sicherheit, Scanner 2 mit Sicherheit; von 1000 Anhängen enthalten Schadsoftware. Bei einem schädlichen Anhang schlug mindestens einer der beiden Scanner an. Wie wahrscheinlich ist es, dass Scanner 2 angeschlagen hat?
Two parts work “independently”, and it is known that “at least one of the two” raised an alarm. That is the situation of a system where one of two parts is enough. The question, though, is not how likely the system raises an alarm but a share under this condition: of all cases where at least one scanner fires, how many belong to scanner 2? The figure “2 in 1000 attachments” is not needed for this, because the question already speaks of a harmful attachment. The task is solved in example 3 of this section; first come the cases of a system made of several parts.
At most one part fails. A waterworks runs three identical pumps, each of which fails within a year with probability , independently of the others. Operation continues if at most one pump fails. With what probability is that the case in a year? As with the printers, you go through the cells, only here there are three parts, and the table becomes a list of cases, one row per case. The probability of a row is a product, one factor per pump.
At most one: none or exactly one
“At most one pump fails” is two kinds of cases: no failure or exactly one failure. A pump works with probability .
Why does “exactly one failure” have three terms and not one? Hint: the task does not say which pump fails.
If all parts have the same failure probability , the steps fold into one line:
For the pumps: . If the parts have different probabilities, you do not use the formula but write one row per case.
The parts of a system do not always fail equally often: in a sorting centre three conveyors fail independently, with probabilities , and . Sorting runs if at most one has failed.
With what probability does it run?
No failure or exactly one. The conveyors work with probabilities , and .
.
One row per conveyor: .
.
In series and in parallel. Sometimes a system needs all of its parts, sometimes one of several is enough:
0.9 · 0.96 · 0.95 =0.8208
Here the group of B and C works with probability , and the whole chain with .
This is the task from the sheet above. For a harmful attachment scanner 1 fires with probability and scanner 2 with , independently of each other. At least one fired. How likely is it that scanner 2 was among them?
“At least one fires” is the parallel pair: it fails only if both stay silent. Scanner 1 stays silent with , scanner 2 with , both together with . So at least one fires with .
What you need is “scanner 2 fires” under the condition “at least one fires”. If scanner 2 fires, then at least one has fired anyway. The intersection of the two events is therefore simply “scanner 2 fires”, with probability .
A share under a condition is the intersection divided by the condition, as in on the formula sheet: , option (d). The number is larger than , because the news “at least one fired” rules out the case in which both stay silent. Putting scanner 1's rate in the numerator, , answers the question about the other scanner, option (b).
A server room has four identical servers; each fails in a month independently with probability . The service runs if at most one has failed. No failure: . Exactly one failure: . Together . comes out when one term is taken for “exactly one” without the factor 4.
Your turn2 of 5
A cold store has five cooling units; each fails independently with probability . The cooling is enough if at most one has failed. With what probability is that so? Round to four decimal places.
Traps. The wrong options of the exam task and of tasks of this kind:
This method is not on the formula sheet: only , to go from failing to working.
In the system the parts worked at the same time. In the next task the same trial repeats over time, and the question is when the first success comes:
Bei einer Tombola gewinnt jedes Los unabhängig mit der Wahrscheinlichkeit . Eine Besucherin zieht so lange Lose, bis sie zum ersten Mal gewinnt; ist die Nummer des Gewinnloses. Bestimmen Sie die Wahrscheinlichkeit, dass sie weniger als Lose braucht, also . Runden Sie auf vier Nachkommastellen.
One and the same attempt is repeated “independently”, and the text says “until she wins for the first time”. is the number of the first successful attempt. These are the same parts of a system, only one after another in time: attempts instead of pumps.
The key is one thought. The first win comes after the third ticket, , so the first three tickets all lost. If a ticket wins with probability , then losing, the complement, has probability . The attempts are independent, so for any number of tickets
Success is a win: , loss . The bar above number is the probability that the first win falls exactly on ticket .
Each next bar is the previous one times : to win exactly with the -th ticket you first need losses, . Such a has a geometric distribution (German “geometrische Verteilung”).
Before calculating, translate the wording into a bound for :
| Wording | event | calculation |
|---|---|---|
| at most attempts, up to the -th inclusive | ||
| fewer than attempts | ||
| more than attempts | ||
| at least attempts | ||
| exactly on the -th |
At a hotline each call gets through with probability . With what probability do you get through for the first time no earlier than the 2nd and no later than the 4th call? That is , so “no later than the 4th” minus “right on the 1st”. No later than the 4th: . On the 1st: . The difference is . Check with the bars: .
Your turn3 of 5
A basketball player scores with each shot from half court independently with probability . With what probability does she need fewer than 5 shots until the first hit?
Traps. The wrong options of the exam task:
means “won at least once in the first attempts”. So the same formula answers the question “at least once in attempts”: .
In a sales team a call ends in a sale with probability , independently of the others.
With what probability does at least one of 6 calls end in a sale?
, , failure .
“At least one sale” is the opposite of “none”: all 6 calls without a sale.
.
. The number is the mean number of sales in 6 calls, not a probability.
At least one winner in a prize draw. The prize draws of the article “Probability as a share: how many cases fit” are also asked this way: with what probability does at least one of participants win? This is the same method. One participant wins with probability : one divided by the number of selections. If 3 balls are drawn from 10, there are selections and . A participant loses with probability . The participants choose independently of each other, so all lose with probability :
360 people guess independently of each other. Nobody wins with probability . So at least one wins with probability . The expected number of winners here is , and still nobody wins with probability 0.0492.
Sometimes the question is how many calls are needed for at least one sale with probability at least . The unknown sits in the exponent: . The logarithm brings the exponent down (the ln key on the calculator). You need one property: , the exponent becomes a factor.
Your turn4 of 5
Each part is defective with probability , independently of the others. An inspector takes 10 parts. With what probability is at least one of them defective? Round to four decimal places.
Your turn5 of 5
In a number game 3 of 15 numbers are drawn, and only a guess with exactly these numbers wins. 455 people guess purely at random, independently of each other. What is the probability that at least one guess wins?
The formula sheet only has . The lines and are not on the sheet; you derive them from “all lost”.
The topic in a minute
Trap: treating the events as disjoint and losing the intersection.
Trap: computing only “no failure”.
Trap: reading “fewer than k” as .
Daily revenue depends on chance too, but it is a number, not an event, and it has an average and a spread: “Expected value and variance: mean and spread”.
Was this article helpful?