Many experiments have outcomes that can be classified into two categories: Success or Failure. For example, tossing a coin (Head or Tail), a manufactured item being Defective or Non-defective, or an examinee passing or failing.
Trials of a random experiment are called Bernoulli trials if they satisfy the following four conditions:
The number of trials is finite.
The trials are independent of each other.
Each trial has exactly two outcomes: success (S) or failure (F).
The probability of success (p) remains the same in each trial.
If p is the probability of success, then the probability of failure is
q=1−p
Binomial Distribution
Consider a series of n Bernoulli trials. Let X be a random variable representing the number of successes in these n trials. Then X is said to follow a Binomial Distribution with parameters n and p.
The Probability Mass Function (PMF):
The probability of getting exactly r successes in n trials is
P(X=r)=(rn)prqn−r
where
r=0,1,2,…,n
Notation:X∼B(n,p)
Key Parameters:
Mean (Expected Value):E(X)=np
Variance:Var(X)=npq
Standard Deviation:σ=npq
Example 1: Basic Coin Toss
If a fair coin is tossed 10 times, find the probability of getting exactly 6 heads.
Solution:
Let X be the number of heads obtained.
For a fair coin,
n=10,p=21,q=21
We need
P(X=6)
Using the binomial formula,
P(X=6)=(610)(21)6(21)4=(610)(21)10
Now,
(610)=(410)=4⋅3⋅2⋅110⋅9⋅8⋅7=210
Therefore,
P(X=6)=210⋅10241=1024210=512105
Answer:512105
Example 2: Dice Rolling - Multiple Successes
A die is thrown 6 times. If 'getting an odd number' is a success, find the probability of at least 5 successes.
Solution:
A success means getting one of
{1,3,5}
Hence,
p=63=21,q=21,n=6
We need
P(X≥5)=P(X=5)+P(X=6)
Now,
P(X=5)=(56)(21)5(21)1=6(21)6=646
Also,
P(X=6)=(66)(21)6=641
Therefore,
P(X≥5)=646+641=647
Answer:647
Example 3: Finding Mean and Variance
A binomial distribution has n=100 and p=0.2. Find its mean and standard deviation.
Solution:
Given,
n=100,p=0.2
Then,
q=1−p=0.8
Mean is
E(X)=np=100×0.2=20
Variance is
Var(X)=npq=100×0.2×0.8=16
Standard deviation is
σ=16=4
Answer:Mean=20,S.D.=4
Example 4: Target Hitting
The probability of a man hitting a target is 41. If he fires 7 times, what is the probability of hitting the target at least once?
Solution:
Let success be “hitting the target”. Then,
n=7,p=41,q=43
We need
P(X≥1)
Using the complement rule,
P(X≥1)=1−P(X=0)
Now,
P(X=0)=(07)(41)0(43)7=(43)7=163842187
Hence,
P(X≥1)=1−163842187=1638416384−2187=1638414197
Answer:1638414197
Example 5: Finding n from Mean and Variance
For a binomial distribution, the mean is 6 and the variance is 2. Find the parameters n and p.
Solution:
For a binomial distribution,
np=6andnpq=2
Divide the second equation by the first:
npnpq=62q=31
Therefore,
p=1−q=1−31=32
Now substitute into
np=6
So,
n⋅32=62n=18n=9
Answer:n=9,p=32
Example 6: Defective Items - At Most
In a large consignment of electric bulbs, 10% are defective. A random sample of 20 bulbs is drawn. Find the probability that at most 2 bulbs are defective.
Solution:
Let X denote the number of defective bulbs in the sample.
Then,
n=20,p=0.1,q=0.9
We need
P(X≤2)=P(X=0)+P(X=1)+P(X=2)
Now,
P(X=0)=(020)(0.1)0(0.9)20=(0.9)20P(X=1)=(120)(0.1)1(0.9)19=20(0.1)(0.9)19=2(0.9)19P(X=2)=(220)(0.1)2(0.9)18=190(0.01)(0.9)18=1.9(0.9)18
Hence,
P(X≤2)=(0.9)20+2(0.9)19+1.9(0.9)18
Taking (0.9)18 common,
P(X≤2)=(0.9)18[(0.9)2+2(0.9)+1.9]=(0.9)18(0.81+1.8+1.9)=(0.9)18(4.51)
Answer:P(X≤2)=4.51(0.9)18
Example 7: Ratio of Probabilities
In a binomial distribution B(n,p), if P(X=1)=P(X=2), find the relationship between n and p.
Solution:
Using the binomial formula,
P(X=1)=(1n)pqn−1P(X=2)=(2n)p2qn−2
Given,
(1n)pqn−1=(2n)p2qn−2
Substituting the combinations,
npqn−1=2n(n−1)p2qn−2
Cancelling common factors n, p, and qn−2,
q=2n−1p
Since
q=1−p
we get
1−p=2n−1p
Multiply by 2:
2−2p=(n−1)p2=(n+1)p
Hence,
p=n+12
Answer:p=n+12
Example 8: Multiple Choice Guessing
A student answers 5 multiple choice questions by guessing. Each question has 4 options (one correct). Find the probability that he gets at least 4 correct.
Solution:
For each question,
p=41,q=43,n=5
We need
P(X≥4)=P(X=4)+P(X=5)
Now,
P(X=4)=(45)(41)4(43)=5⋅2561⋅43=102415
Also,
P(X=5)=(55)(41)5=10241
Therefore,
P(X≥4)=102415+10241=102416=641
Answer:641
Example 9: Sum of Mean and Variance
For a binomial distribution B(n,p), the sum of mean and variance is 15 and the product is 54. Find n.
Solution:
For a binomial distribution,
Mean=np,Variance=npq
Given,
np+npq=15np(1+q)=15...(1)
Also,
(np)(npq)=54(np)2q=54...(2)
Let
np=k
Then from (1),
k(1+q)=15k=1+q15
Substitute into (2):
(1+q15)2q=54(1+q)2225q=54225q=54(1+2q+q2)225q=54+108q+54q254q2−117q+54=0
Divide by 9:
6q2−13q+6=0
Factorize:
(3q−2)(2q−3)=0
So,
q=32orq=23
But probability cannot exceed 1, hence
q=32
Therefore,
p=1−q=31
Now from (1),
np(1+q)=15np(1+32)=15np⋅35=15np=9
Since
p=31
we get
n⋅31=9n=27
Answer:n=27
Example 10: Pair of Dice - Success on Sum
A pair of dice is thrown 4 times. If getting a sum of 9 is considered a success, find the probability of exactly 2 successes.
Solution:
A success means obtaining sum 9.
The favorable outcomes are
(3,6),(4,5),(5,4),(6,3)
So for one trial,
p=364=91,q=98,n=4
We need
P(X=2)
Using the binomial formula,
P(X=2)=(24)(91)2(98)2=6⋅811⋅8164=6561384
Now simplify:
6561384=2187128
Answer:2187128
Ready to test your knowledge?
Take a quick interactive quiz on this topic —
free, works without login.