ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude
Binomial distribution: the chance of k successes in n trials
Recognise binomial trials, find the chance of exactly k successes with nCk x p^k x q^(n - k), add terms for at least and at most questions, use the mean np and variance npq to work back to n and p, and find the most likely number of successes.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Check the four conditions for binomial trials before using the binomial distribution.
- Calculate the binomial probability of exactly k successes in n trials as nCk x p^k x q^(n - k).
- Add binomial terms for at least and at most questions, using 1 - q^n for at least one success.
- Find the mean np, variance npq and standard deviation of a binomial distribution, and work back from a given mean and variance to n and p.
- Identify the most likely number of successes in a binomial distribution.
Before you start
Many questions repeat the same chance experiment a fixed number of times and ask how often one outcome turns up: heads in 10 tosses of a coin, correct guesses in a 20-question multiple-choice test, or defective bulbs in a box of 12. The outcome being counted is called a success, even when it is a defect. You need two tools. First, for independent trials the chances multiply. Second, nCk = n! / (k! x (n - k)!), where n! = n x (n - 1) x ... x 2 x 1, counts the ways to choose k positions out of n; for example, 5C2 = (5 x 4) / (2 x 1) = 10. In this lesson n is the number of trials, k is a count of successes, p is the chance of success on one trial and q = 1 - p. The random variable K stands for the number of successes, and x always means multiply.
When is a count binomial?
A count K is binomial only when four conditions all hold. 1. The number of trials, n, is fixed in advance. 2. Each trial has just two outcomes, called success and failure. 3. The chance of success, p, is the same on every trial. 4. The trials are independent, so no result affects another. Tossing a coin 10 times and counting heads fits, with n = 10 and p = 1/2. So does guessing all 20 answers of a test in which each question has 4 options and one is right: n = 20 and p = 1/4. Drawing 3 balls from a bag of 5 red and 5 blue without replacement does not fit, because the chance of red changes after each draw. Tossing a coin until the first head appears also fails, because the number of tosses is not fixed. When a small sample is taken from a very large batch, such as 10 bulbs from a day's output of 10,000, the chance hardly changes from one bulb to the next, so the count is usually treated as binomial.
The binomial formula
Take one particular order with k successes and n - k failures, such as success, success, failure when n = 3 and k = 2. Because the trials are independent, that order has chance p^k x q^(n - k). Every other order with the same number of successes has the same chance, and there are nCk such orders, one for each choice of the k trials that succeed. Adding them gives P(K = k) = nCk x p^k x q^(n - k), for k = 0, 1, 2 and so on up to n. For example, with 4 tosses of a fair coin, P(2 heads) = 4C2 x (1/2)^2 x (1/2)^2 = 6 x 1/16 = 6/16, that is 0.375. The n + 1 terms of the distribution add up to 1, since they are the terms of the expansion of (q + p)^n and q + p = 1. Two quick cases are worth remembering: P(K = 0) = q^n and P(K = n) = p^n.
At least, at most and at least one
Different counts are separate outcomes, so their probabilities add. Below, P(0) is short for P(K = 0), P(1) for P(K = 1), and so on. 'At most 2 successes' means 0, 1 or 2, so P(K is at most 2) = P(0) + P(1) + P(2). 'At least 4 out of 5' means 4 or 5, so add P(4) and P(5). When the list is long, add the short list on the other side and subtract it from 1: with n = 10, P(at least 2) = 1 - P(0) - P(1). The most common case is at least one success. The only way to get none is for every trial to fail, which has chance q^n, so P(at least one success) = 1 - q^n. For example, if each of 3 smoke alarms in a godown in Jamshedpur fails to sound with chance 0.1, independently, then the chance that at least one sounds in a fire is 1 - 0.1^3 = 0.999. Read the words with care: 'more than 2' starts at 3, while 'at least 2' starts at 2.
Mean, variance and the most likely count
For a binomial distribution the mean is np, the variance is npq and the standard deviation is sqrt(npq). For 100 tosses of a fair coin, the mean is 50 heads, the variance is 25 and the standard deviation is 5. Because q = 1 - p is less than 1 whenever p is above 0, the variance npq is always less than the mean np; so a binomial distribution with mean 4 cannot have variance 5. To work back from a given mean and variance, divide: q = variance / mean, then p = 1 - q and n = mean / p. When 0 < p < 1, the usual case, the most likely number of successes, called the mode, lies between (n + 1)p - 1 and (n + 1)p. If (n + 1)p is not a whole number, the mode is its whole-number part: for n = 10 and p = 0.5, (n + 1)p = 5.5, so the mode is 5. If (n + 1)p is a whole number, there are two modes, (n + 1)p - 1 and (n + 1)p: for n = 9 and p = 0.5, 4 heads and 5 heads are equally likely. If p = 0 or p = 1, the count is certain: always 0 when p = 0 and always n when p = 1.
Common mistakes
Leaving out nCk, which gives the chance of just one particular order. Using p for failures or q for successes; decide first what counts as a success. Mixing up exactly, at least, at most and more than. Working out 'at least one' as n x p, which can even exceed 1; use 1 - q^n instead. Calling a count binomial when the draws are made without replacement from a small group, or when the number of trials is not fixed. Giving the variance npq when the standard deviation sqrt(npq) is asked for. When working back from a mean and a variance, writing p = variance / mean; that ratio is q. Treating a given standard deviation as if it were the variance.
A routine for binomial questions
1. Check the four conditions and name the success. 2. Write down n, p and q = 1 - p. 3. Turn the words into a list of counts k. 4. For each k, find nCk x p^k x q^(n - k) and add the terms; use 1 - q^n for at least one. 5. For the average and the spread, use mean = np, variance = npq and standard deviation = sqrt(npq). 6. Given the mean and the variance, get q = variance / mean, then p and n, and confirm that n comes out as a whole number. 7. Sense-check: every probability lies from 0 to 1, the variance is below the mean, and the mode sits close to np.
Worked examples
A general knowledge quiz at a college in Prayagraj has 8 multiple-choice questions, each with 4 options of which exactly one is correct. Rohan guesses every answer at random. Find the probability that exactly 3 of his answers are correct.
- Each guess is a trial with two outcomes, right or wrong; the 8 guesses are independent; and p = 1/4 on every question. So K, the number right, is binomial with n = 8, p = 1/4 and q = 3/4.
- 8C3 = (8 x 7 x 6) / (3 x 2 x 1) = 56.
- p^3 = (1/4)^3 = 1/64 and q^5 = (3/4)^5 = 243/1024.
- P(K = 3) = 56 x 1/64 x 243/1024 = 13608/65536 = 1701/8192.
Answer: The probability is 1701/8192, about 0.2076.
At a factory in Pune that makes LED bulbs, each bulb is defective with probability 0.1, independently of the others. A shop receives a box of 6 bulbs. Find the probability that the box has at least one defective bulb, and the probability that it has at most one.
- A defective bulb counts as a success, so n = 6, p = 0.1 and q = 0.9.
- P(no defective bulb) = 0.9^6 = 0.531441.
- P(at least one defective) = 1 - 0.531441 = 0.468559, about 0.4686.
- P(exactly one defective) = 6C1 x 0.1 x 0.9^5 = 6 x 0.1 x 0.59049 = 0.354294.
- P(at most one defective) = P(0) + P(1) = 0.531441 + 0.354294 = 0.885735, about 0.8857.
Answer: P(at least one defective) is about 0.4686, and P(at most one defective) is about 0.8857.
An archer at a sports hostel in Ranchi shoots n arrows, and each arrow hits the gold ring with the same chance p, independently of the others. Her number of hits K has mean 6 and variance 4.2. Find n and p, and the most likely number of hits.
- np = 6 and npq = 4.2, so q = 4.2 / 6 = 0.7.
- p = 1 - 0.7 = 0.3, and n = 6 / 0.3 = 20.
- (n + 1)p = 21 x 0.3 = 6.3, which is not a whole number, so the most likely number of hits is its whole-number part, 6.
- Check: np = 20 x 0.3 = 6 and npq = 20 x 0.3 x 0.7 = 4.2, as given; the standard deviation is sqrt(4.2), about 2.05 hits.
Answer: n = 20 and p = 0.3, and the most likely number of hits is 6.
Practice checks
- Which of these counts does NOT follow a binomial distribution?
- Each seed of a tomato variety sown by a farmer in Nashik germinates with probability 0.8, independently of the others. She sows 5 seeds. What is the probability that at least 4 of them germinate?
- A machine at a workshop in Rajkot makes nuts, and each nut is faulty with probability 0.05, independently of the others. An inspector checks 4 nuts. What is the probability that at least one of them is faulty?
- A binomial distribution has mean 12 and standard deviation 3. What are n and p?
- A courier hub in Guwahati handles 400 parcels a day, and each parcel is delayed with probability 0.02, independently of the others. What are the mean and the standard deviation of the number of delayed parcels in a day?
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-II Paper-II Statistics (random variable and probability distributions: binomial distribution); not verified as the full 2026-cycle syllabus
- NIST/SEMATECH e-Handbook of Statistical Methods — Section 1.3.6.6.18, Binomial Distribution: the probability of k successes in n independent trials with success probability p, with mean np and standard deviation sqrt(np(1 - p)); mathematical relationships only