Bernoulli's formula
Bernoulli's formula
Many experiments repeat the same trial several times, and each time only two outcomes count: a success or a failure. The probability of a success in each trial is , and the probability of a failure is .
- A shot at the basket: a success – the player scored.
- A throw of a die: a success – a 6 came up, .
- A check of a product: a success – the product is faulty. “Success” is only the name of the outcome being counted.
Noa scores a free throw with probability , whatever happens on her other throws.
Noa takes 3 throws.
What is the probability that she scores exactly 2 of them?
In the tree below each stage is a throw. The throws are independent, so every “scored” branch carries and every “missed” branch , at every stage. The paths of “exactly 2 scores” are marked:
- Each of the three marked paths has two scores and one miss, so they all have the same probability, in any order: .
- The number of these paths is the number of ways to choose the two throws she scored out of 3: .
The probability of exactly 2 scores is the sum of the three paths:
The same works for any number of trials, without drawing the tree. In independent trials, with the probability of a success in each:
- each path with exactly successes passes through success branches and failure branches, so its probability is ;
- there are such paths – the number of ways to choose the successful trials.
The probability of exactly successes is the sum of all these paths – Bernoulli’s formula:
For Noa: , , , and .
Bernoulli’s formula fits when four conditions hold:
- the number of trials is known in advance;
- each trial has two outcomes: a success or a failure;
- the probability of a success is the same in all the trials;
- the trials are independent: the outcome of a trial does not change the probabilities in the others.
A bag holds 3 red balls and 2 blue ones, and a ball is taken out 3 times. A success – a red ball.
- With putting back: at each draw , and the draws are independent – the formula can be used.
- Without putting back: if the first ball is red, 2 red balls out of 4 are left in the bag, and the probability of red on the second draw is , not . The probability changes, and the formula does not fit – work it out with a tree.
The example below finds , and , and puts them into Bernoulli’s formula.
A test has 10 questions, and each question has 4 answers, only one of them right.
Yoav did not revise, and chooses an answer at random in each question.
What is the probability that he answers exactly 3 questions right?
- A trial – a question; a success – a right answer, .
- The questions are independent, , .
About a quarter of the times such a test is guessed, exactly 3 answers come out right.
A fair die is thrown 3 times.
A success – a 6 comes up.
Complete the probabilities in the tree, mark the paths in which a 6 comes up exactly once, and work out the probability of that.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
30% of a town’s residents cycle to work.
5 residents are chosen at random, independently of each other.
What is the probability that exactly 2 of them cycle to work?
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
A fair coin is tossed 8 times.
What is the probability of getting heads exactly 5 times? Write a fraction in its lowest terms.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
15% of the lamps a factory makes are faulty.
12 lamps are chosen at random.
What is the probability that exactly 2 of them are faulty? Round to three decimal places.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power
In which of these situations can Bernoulli’s formula be used? Explain for each.
- A class has 10 girls and 10 boys. 4 different students are chosen, and the girls among them are counted.
- A die is thrown 10 times, and the even numbers that come up are counted.
- A player shoots at the basket until she first scores, and the shots are counted.
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power
/ – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power