Solveeit Logo

Question

Question: How do you find the probability of at least two successes when \(n\) independent Bernoulli trials ar...

How do you find the probability of at least two successes when nn independent Bernoulli trials are carried out with probability of success pp?

Explanation

Solution

In the problem they have mentioned that the probability distribution is the Bernoulli distribution. We know that the probability of an event in Bernoulli distribution is given by P(X=x)=nCx px qnxP\left( X=x \right){{=}^{n}}{{C}_{x}}~{{p}^{x}}~{{q}^{n-x}}. Where nn is the repeated times and pp is the probability of success and qq is the probability of the failure and it will be equal to one less than the probability of success mathematically q=1pq=1-p. In the problem they have asked to calculate the probability of at least two successes so we will calculate the probabilities of the required events using the above equation. Now we will calculate the required probability from the calculated probabilities of the events.

Complete step by step answer:
Given distribution is Bernoulli Distribution.
Number of independent trains is nn.
Probability of success is pp.
Now the probability of failure is equal to the one less than the probability of success. I.e.,
q=1pq=1-p.
Now the probability of an event xx in Bernoulli distribution can be calculated by
P(X=x)=nCxpxqnx P(X=x)=nCxpx(1p)nx \begin{aligned} & P\left( X=x \right)={}^{n}{{C}_{x}}{{p}^{x}}{{q}^{n-x}} \\\ & \Rightarrow P\left( X=x \right)={}^{n}{{C}_{x}}{{p}^{x}}{{\left( 1-p \right)}^{n-x}} \\\ \end{aligned}
Now we need to calculate the probability of at least two successes mathematically we can write it as P(X2)P\left( X\ge 2 \right). In the problem we don’t have the number of trials done, so we don’t have how many events are in the sample space. So, it is not possible to calculate the value of P(X2)P\left( X\ge 2 \right) directly for this we will calculate the value of P(X2)P\left( X\ge 2 \right) indirectly from the below equation
P(X2)=1P(X=0)P(X=1)P\left( X\ge 2 \right)=1-P\left( X=0 \right)-P\left( X=1 \right)
Using the formula P(X=x)=nCxpx(1p)nxP\left( X=x \right)={}^{n}{{C}_{x}}{{p}^{x}}{{\left( 1-p \right)}^{n-x}} in the above equation, then we will get
P(X2)=1nC0p0(1p)n0nC1p1(1p)n1\Rightarrow P\left( X\ge 2 \right)=1-{}^{n}{{C}_{0}}{{p}^{0}}{{\left( 1-p \right)}^{n-0}}-{}^{n}{{C}_{1}}{{p}^{1}}{{\left( 1-p \right)}^{n-1}}
We know that nC0=1{}^{n}{{C}_{0}}=1, nC1=n{}^{n}{{C}_{1}}=n, p0=1{{p}^{0}}=1, then we will get
P(X2)=1(1p)nnp(1p)n1\Rightarrow P\left( X\ge 2 \right)=1-{{\left( 1-p \right)}^{n}}-np{{\left( 1-p \right)}^{n-1}}
Taking common (1p)n1{{\left( 1-p \right)}^{n-1}} in the above equation, then we will get
P(X2)=1(1p)n1[(1p)np] P(X2)=1(1p)n1[1pnp] P(X2)=1(1p)n1[1p(n+1)] \begin{aligned} & \Rightarrow P\left( X\ge 2 \right)=1-{{\left( 1-p \right)}^{n-1}}\left[ \left( 1-p \right)-np \right] \\\ & \Rightarrow P\left( X\ge 2 \right)=1-{{\left( 1-p \right)}^{n-1}}\left[ 1-p-np \right] \\\ & \Rightarrow P\left( X\ge 2 \right)=1-{{\left( 1-p \right)}^{n-1}}\left[ 1-p\left( n+1 \right) \right] \\\ \end{aligned}

Hence the required probability is P(X2)=1(1p)n1[1p(n+1)]P\left( X\ge 2 \right)=1-{{\left( 1-p \right)}^{n-1}}\left[ 1-p\left( n+1 \right) \right].

Note: We have different distributions for the probabilities. For the Bernoulli distribution we have used this formula but when they have mentioned different distributions, then we need to use the different formula.