Question
Question: If \(X\) follows binomial distribution with parameters \(n = 100\) and \(p = \dfrac{1}{3}\), then \(...
If X follows binomial distribution with parameters n=100 and p=31, then P(X=r) is maximum when r = \\_\\_\\_\\_\\_\\_.
Solution
Here we can use the formula of binomial distribution. Then compare the expression with terms in the binomial expansion of (a+b)n. Then we can check for which value of r is that P(X=r) will be maximum.
Formula used:
Binomial distribution is given by P(X=r)=nCrprqn−r.
Here p denotes the probability of success, q denotes the probability of failure and q=1−p.
And C represents the combination and nCr=(n−r)!r!n!.
The binomial theorem states that, where n is a positive integer;
(a+b)n=an+nC1an−1b+nC2an−2b2+...+nCn−1abn−1+bn
Complete step-by-step answer:
Given that X follows binomial distribution with parameters n=100 and p=31.
Binomial distribution is given by P(X=r)=nCrprqn−r.
Here p denotes the probability of success, q denotes the probability of failure and q=1−p.
So we get q=1−p=1−31=32.
⇒P(X=r)=nCrprqn−r=100Cr(31)r(32)100−r−−−−(i)
We need to find for which value of r this expression will be maximum.
The binomial theorem states that, where n is a positive integer;
(a+b)n=an+nC1an−1b+nC2an−2b2+...+nCn−1abn−1+bn
By observation we can see P(X=r) as the (r+1)th term in the expansion of (32+31)100.
So, we have to find r such that (r+1)th term will be maximum in the binomial expansion.
If the (r+1)th term is maximum, we have TrTr+1⩾1, where Tr+1,Tr represent (r+1)th,rth terms respectively.
Consider the expansion of (1+x)n.
(1+x)n=1n+nC11n−1x+nC21n−2x2+...+nCn−11×xn−1+xn
⇒(1+x)n=1+nC1x+nC2x2+...+nCn−1xn−1+xn
Here Tr=nCr−1xr−1,Tr+1=nCrxr
So, TrTr+1=nCr−1xr−1nCrxr=nCr−1nCrx
We have nCr=(n−r)!r!n!
Using this, TrTr+1=nCr−1nCrx=(n−r+1)!(r−1)!n!(n−r)!r!n!x
Simplifying we get, TrTr+1=(n−r+1)!(r−1)!n!(n−r)!r!n!x=(n−r)!r(r−1)!(n−r+1)(n−r)!(r−1)!x
Cancelling the common terms from numerator and denominator we get,
⇒TrTr+1=rn−r+1x
Now consider (32+31)100. This can be rearranged as (32)100(1+21)100 by taking 32 common.
Here TrTr+1=rn−r+1x=r100−r+1x
Also here x=21.
So, we have TrTr+1=r100−r+1×21
We have seen TrTr+1⩾1.
⇒TrTr+1=2r100−r+1⩾1
Cross multiplying we get, 100−r+1⩾2r
Adding r on both sides,
⇒100+1⩾2r+r
Simplifying we get,
⇒101⩾3r
Dividing both sides by 3 we have,
r⩽3101=3332
Since r is a whole number we have r⩽33.
So the expression 100Cr(32)100−r(31)r is maximum when r=33.
Therefore from (i) we have P(X=r) is maximum when r=33.
∴ The answer is 33.
Note: Since the distribution here is binomial we could connect it with binomial expansion. Or in another way consider, (n+1)p=101×31 is not an integer. So P(X=r) is maximum for the greatest integer less than or equal to 3101, which is equal to 33.