Skip to content

Problems with Bernoulli's formula

Problems with Bernoulli's formula

At least, at most

“At least k\displaystyle k successes” and “at most k\displaystyle k successes” are events of several numbers of successes. The events “exactly 0”, “exactly 1”, … are disjoint, so the probability is a sum of several terms of Bernoulli’s formula:

  • at least k\displaystyle k – from k\displaystyle k successes to n\displaystyle n;
  • at most k\displaystyle k – from 0 successes to k\displaystyle k.

A medicine helps 80% of the patients who take it.
5 patients take the medicine, independently of each other.

  • The medicine helps at least 4 of them – 4 or 5: P5(4)+P5(5)=(54)⋅0.84⋅0.2+0.85=0.4096+0.32768=0.73728P_5(4)+P_5(5)=\binom{5}{4}\cdot0.8^4\cdot0.2+0.8^5=0.4096+0.32768=0.73728
  • The medicine helps at most one of them – 0 or 1: P5(0)+P5(1)=0.25+(51)⋅0.8⋅0.24=0.00032+0.0064=0.00672P_5(0)+P_5(1)=0.2^5+\binom{5}{1}\cdot0.8\cdot0.2^4=0.00032+0.0064=0.00672
At least one success

“At least one success” is the complement of “no success”: instead of adding n\displaystyle n terms, one term is taken away from 1.

1−Pn(0)=1−(1−p)n\displaystyle 1-P_n(0)=1-(1-p)^n

A raffle ticket wins with probability 0.2\displaystyle 0.2.
Danny buys 5 tickets in different raffles.
The probability that at least one ticket wins:

1−0.85=1−0.32768=0.672321-0.8^5=1-0.32768=0.67232
The smallest number of trials

The more trials there are, the smaller (1−p)n\displaystyle (1-p)^n is, and the larger the probability of at least one success. So the smallest number of trials at which that probability passes a given bound can be found – by trial and error.

The example below finds how many tickets Danny must buy for the probability that at least one of them wins to be greater than 0.9\displaystyle 0.9.

1−0.8n>0.9\displaystyle 1-0.8^n>0.9 is needed, that is 0.8n<0.1\displaystyle 0.8^n<0.1. Try numbers:

n\displaystyle n0.8n\displaystyle 0.8^n1−0.8n\displaystyle 1-0.8^n
10≈0.107\displaystyle \approx0.107≈0.893\displaystyle \approx0.893
11≈0.086\displaystyle \approx0.086≈0.914\displaystyle \approx0.914

With 10 tickets the probability is still less than 0.9\displaystyle 0.9, and with 11 it is already greater. Danny must buy at least 11 tickets.

The most likely number of successes

To find the number of successes with the greatest probability, work out Pn(k)\displaystyle P_n(k) for every k\displaystyle k and compare. The probabilities rise up to a certain number, and fall after it.

The medicine of the example, 5 patients:

k\displaystyle k012345
P5(k)\displaystyle P_5(k)0.00032\displaystyle 0.000320.0064\displaystyle 0.00640.0512\displaystyle 0.05120.2048\displaystyle 0.20480.4096\displaystyle 0.40960.32768\displaystyle 0.32768

It is most likely that the medicine helps 4 of the 5 patients – which is also 5⋅0.8=4\displaystyle {5\cdot0.8}={4}, 80% of the patients.

Bernoulli’s formula as a stage of a tree

A repeated trial can be one stage of a tree: in the tree below the second stage is all three tosses together, and the probabilities on its branches were worked out by Bernoulli’s formula.

A box holds two coins: a fair coin, and a biased coin that comes up heads with probability 0.8\displaystyle 0.8.
A coin is chosen at random and tossed 3 times.
T\displaystyle T – heads come up exactly twice.

  • With the fair coin: P3(2)=(32)⋅0.52⋅0.5=0.375\displaystyle {P_3(2)}={\binom{3}{2}\cdot0.5^2\cdot0.5}={0.375}.
  • With the biased coin: P3(2)=(32)⋅0.82⋅0.2=0.384\displaystyle {P_3(2)}={\binom{3}{2}\cdot0.8^2\cdot0.2}={0.384}.

By the law of total probability:

P(T)=0.5⋅0.375+0.5⋅0.384=0.1875+0.192=0.3795P(T)=0.5\cdot0.375+0.5\cdot0.384=0.1875+0.192=0.3795

And the reverse question – heads are known to have come up exactly twice; what is the probability that the coin is the biased one?

0.1920.3795≈0.506\frac{0.192}{0.3795}\approx0.506
Exercise 1

An archer hits the target with probability 0.6\displaystyle 0.6 with each arrow, whatever happens with the other arrows.
She shoots 4 arrows.

a

What is the probability that she hits at least 3 times?

    / – 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

    b

    What is the probability that she hits at most once?

      / – 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

      c

      What is the probability that she hits at least once?

        / – 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

        Exercise 2

        A scratch card wins a prize with probability 0.3\displaystyle 0.3, whatever happens with the other cards.
        Maya buys several cards.

        a

        Maya buys 8 cards. What is the probability that at least one of them wins? 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

          b

          Maya buys 9 cards. What is the probability that at least one of them wins? 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

            c

            What is the smallest number of cards Maya must buy for the probability that at least one of them wins to be greater than 0.95\displaystyle 0.95? Explain.

              / – 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

              Exercise 3

              A fair die is thrown 6 times, and the sixes are counted.
              In each part, round to three decimal places.

              a

              What is the probability that no 6 comes up?

                / – 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

                b

                What is the probability that a 6 comes up exactly once?

                  / – 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

                  c

                  What is the probability that a 6 comes up exactly twice?

                    / – 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

                    d

                    Which number of sixes is the most likely? Explain with the results.

                      / – 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

                      Exercise 4

                      In box A half the balls are red.
                      In box B a quarter of the balls are red.
                      A fair coin is tossed to choose a box, and 3 balls are taken from it, each time with putting back.
                      T\displaystyle T – exactly one red ball comes out.

                      Work out the probabilities of the second stage by Bernoulli’s formula, and complete the tree.

                      a

                      What is the probability that exactly one red ball comes out?

                        / – 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

                        b

                        Exactly one red ball is known to have come out. What is the probability that the balls were taken from box B?

                          / – 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

                          Exercise 5

                          Noa scores at the basket with probability 0.7\displaystyle 0.7 with each throw, whatever happens on her other throws.
                          She takes 3 throws.
                          She is known to have scored at least once.

                          What is the probability that she scored exactly twice? 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