Why this chapter matters. This chapter drew 17 questions in the seven papers from NDA II 2023 to NDA II 2026, at least one in every paper. The favourite question gives the mean and the variance (or standard deviation) of a binomial distribution and asks for โnโ, โpโ or โP(X = 0)โ: it came in five of the seven papers and takes three lines. The others ask for โP(X = r)โ from the formula, for โpโ when two probabilities are compared, or for the conditions under which the distribution may be used.
What you will be able to do
- Write the probability distribution of a random variable and find its mean and variance.
- Say when the binomial distribution applies, and use โP(X = r) = {}^nC_r\,p^r q^{n-r}โ.
- Find โnโ and โpโ from the mean โnpโ and the variance โnpqโ.
- Find "at least one" and "at least two" probabilities through the complement.
Before you start you should know: independent events (Chapter M8-6), โ{}^nC_rโ (Chapter M1-9), the binomial theorem (Chapter M1-10), and mean and variance (Chapters M8-2 and M8-3).
1. Random variable and its distribution
A random variable is a number decided by the outcome of a random experiment. It is written with a capital letter such as โXโ.
Toss two coins and let โXโ be the number of heads. The outcomes โTTโ, โHTโ, โTHโ, โHHโ give โX = 0, 1, 1, 2โ. The table of the values of โXโ with their probabilities is the probability distribution of โXโ:
| โXโ | 0 | 1 | 2 |
|---|---|---|---|
| โP(X)โ | โ\dfrac{1}{4}โ | โ\dfrac{1}{2}โ | โ\dfrac{1}{4}โ |
In every probability distribution, each probability lies from 0 to 1 and the probabilities add up to 1.

2. Mean and variance of a random variable
If โXโ takes the values โx_1, x_2, \ldotsโ with probabilities โp_1, p_2, \ldotsโ, then
\text{Mean } E(X) = \sum x_i p_i \qquad \text{Variance } \text{Var}(X) = \sum x_i^2 p_i - \left[E(X)\right]^2
The standard deviation is the square root of the variance. These are the formulas of Chapter M8-3 with probabilities in place of โ\dfrac{f_i}{N}โ.
For the two coins: โE(X) = 0 \times \dfrac{1}{4} + 1 \times \dfrac{1}{2} + 2 \times \dfrac{1}{4} = 1โ. โ\sum x_i^2 p_i = 0 + \dfrac{1}{2} + 1 = \dfrac{3}{2}โ. Variance โ= \dfrac{3}{2} - 1^2 = \dfrac{1}{2}โ.
A new variable โY = aX + bโ. The rules of Chapter M8-3 hold again:
E(aX + b) = a\,E(X) + b \qquad \text{Var}(aX + b) = a^2\,\text{Var}(X)
3. The binomial distribution
Many experiments are the same simple trial repeated: toss a coin 6 times, fire 7 shots, test 5 patients. The binomial distribution gives the probability of each number of successes. It may be used when all four conditions hold:
- The number of trials โnโ is fixed and finite.
- The trials are independent.
- Each trial has only two outcomes, called success and failure.
- The probability of success, โpโ, is the same in every trial.
Such trials are called Bernoulli trials. Write โq = 1 - pโ for the probability of failure, and let โXโ be the number of successes in the โnโ trials. Then
P(X = r) = {}^nC_r\,p^r\,q^{n-r}, \qquad r = 0, 1, 2, \ldots, n
Why. One particular order with โrโ successes and โn - rโ failures has probability โp^r q^{n-r}โ, because the trials are independent. The โrโ successes can be placed among the โnโ trials in โ{}^nC_rโ ways. For 3 trials and 2 successes the orders are โSSFโ, โSFSโ, โFSSโ: three orders, each with probability โp^2 qโ.

The probabilities are the terms of the expansion of โ(q + p)^nโ, which is why the distribution is called binomial, and why they add up to 1. We write โX \sim B(n, p)โ; โnโ and โpโ are the parameters.
Two special cases are used all the time: โP(X = 0) = q^nโ (no success) and โP(X = n) = p^nโ (all successes).
4. Mean and variance of the binomial distribution
| Quantity | Formula |
|---|---|
| Mean | โnpโ |
| Variance | โnpqโ |
| Standard deviation | โ\sqrt{npq}โ |
Since โqโ is less than 1, the variance of a binomial distribution is always less than its mean.
The picture shows two binomial distributions with โn = 4โ. With โp = \dfrac{1}{2}โ the shape is symmetric. With โp = \dfrac{1}{4}โ the peak moves to the left. In both, the peak is at the mean โnpโ.

To find โnโ and โpโ from the mean and the variance:
q = \frac{\text{variance}}{\text{mean}}, \qquad p = 1 - q, \qquad n = \frac{\text{mean}}{p}
If the standard deviation is given, square it first to get the variance.
5. Worked examples
Example 1. A random variable โXโ has this distribution. Find โkโ, the mean and the variance.
| โXโ | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| โP(X)โ | โkโ | โ2kโ | โ3kโ | โ4kโ |
The probabilities add up to 1: โ10k = 1โ, so โk = \dfrac{1}{10}โ. Mean โ= \dfrac{1 \times 1 + 2 \times 2 + 3 \times 3 + 4 \times 4}{10} = \dfrac{30}{10} = 3โ. โ\sum x_i^2 p_i = \dfrac{1 + 8 + 27 + 64}{10} = 10โ. Variance โ= 10 - 3^2 = 1โ.
Example 2. A die is thrown 4 times. Find the probability of getting exactly two sixes.
Here โn = 4โ, โp = \dfrac{1}{6}โ, โq = \dfrac{5}{6}โ. โP(X = 2) = {}^4C_2 \left(\dfrac{1}{6}\right)^2 \left(\dfrac{5}{6}\right)^2 = 6 \times \dfrac{25}{1296} = \dfrac{150}{1296} = \dfrac{25}{216}โ.
Example 3. A fair coin is tossed 6 times. Find the probability of at least 2 heads.
โn = 6โ, โp = q = \dfrac{1}{2}โ. Use the complement: โP(X = 0) = \dfrac{1}{64}โ and โP(X = 1) = \dfrac{6}{64}โ. So โP(X \ge 2) = 1 - \dfrac{7}{64} = \dfrac{57}{64}โ.
Example 4. A binomial distribution has mean 3 and variance 2. Find โnโ, โpโ and โP(X = 0)โ.
โq = \dfrac{2}{3}โ, so โp = \dfrac{1}{3}โ and โn = \dfrac{3}{1/3} = 9โ. โP(X = 0) = q^9 = \left(\dfrac{2}{3}\right)^9โ.
Example 5. A random variable โXโ has standard deviation 2. Find the variance of โY = 3X - 2โ.
โ\text{Var}(X) = 2^2 = 4โ. โ\text{Var}(Y) = 3^2 \times 4 = 36โ. Subtracting 2 has no effect on the variance.
6. From the real papers
Try each for 75 seconds before reading the solution.
NDA II 2023, Q109. The probability that a person recovers from a disease is 0.8. What is the probability that exactly 2 persons out of 5 will recover from the disease?
(a) 0.00512โโ(b) 0.02048โโ(c) 0.2048โโ(d) 0.0512
Solution. โn = 5โ, โp = 0.8โ, โq = 0.2โ. โP(X = 2) = {}^5C_2\,(0.8)^2 (0.2)^3 = 10 \times 0.64 \times 0.008 = 0.0512โ. Answer (d).
NDA I 2024, Q115. An unbiased coin is tossed โnโ times. The probability of getting at least one tail is โpโ and the probability of at least two tails is โqโ and โp - q = \frac{5}{32}โ. What is the value of โnโ?
(a) โ4โโโ(b) โ5โโโ(c) โ6โโโ(d) โ7โ
Solution. "At least one" minus "at least two" leaves "exactly one". โP(\text{exactly one tail}) = {}^nC_1 \left(\dfrac{1}{2}\right)^n = \dfrac{n}{2^n}โ. So โ\dfrac{n}{2^n} = \dfrac{5}{32} = \dfrac{5}{2^5}โ, which gives โn = 5โ. (In this question โpโ and โqโ are not the usual success and failure probabilities.) Answer (b).
NDA I 2025, Q107. Let โXโ be a random variable following binomial distribution with parameters โn = 6โ and โp = kโ. Further, โ9P(X = 4) = P(X = 2)โ. What is the value of โkโ?
(a) 1/2โโ(b) 1/3โโ(c) 1/4โโ(d) 1/5
Solution. โ9 \times {}^6C_4\,k^4 (1 - k)^2 = {}^6C_2\,k^2 (1 - k)^4โ. Since โ{}^6C_4 = {}^6C_2 = 15โ, cancel 15 and โk^2 (1 - k)^2โ: โ9k^2 = (1 - k)^2โ. Both โkโ and โ1 - kโ are positive, so โ3k = 1 - kโ and โk = \dfrac{1}{4}โ. Answer (c).
NDA I 2025, Q118. The probability of a man hitting a target is 1/5. If the man fires 7 times, then what is the probability that he hits the target at least twice?
(a) โ1 - \left(\frac{3}{5}\right)\left(\frac{4}{5}\right)^6โโโ(b) โ1 - \left(\frac{3}{5}\right)\left(\frac{4}{5}\right)^7โโโ(c) โ1 - \left(\frac{11}{5}\right)\left(\frac{4}{5}\right)^6โโโ(d) โ1 - \left(\frac{11}{5}\right)\left(\frac{4}{5}\right)^7โ
Solution. โn = 7โ, โp = \dfrac{1}{5}โ, โq = \dfrac{4}{5}โ. โP(X = 0) = \left(\dfrac{4}{5}\right)^7โ and โP(X = 1) = 7 \times \dfrac{1}{5} \times \left(\dfrac{4}{5}\right)^6โ. Their sum is โ\left(\dfrac{4}{5}\right)^6 \left[\dfrac{4}{5} + \dfrac{7}{5}\right] = \dfrac{11}{5}\left(\dfrac{4}{5}\right)^6โ. So โP(X \ge 2) = 1 - \dfrac{11}{5}\left(\dfrac{4}{5}\right)^6โ. Answer (c).
NDA II 2025, Q106. Under which of the following conditions may binomial distribution be used? I. The number of trials is infinite and not fixed. II. The trials are independent. III. Each trial has two possible outcomes. Select the correct answer using the code given below.
(a) II onlyโโ(b) III onlyโโ(c) I and IIโโ(d) II and III
Solution. The number of trials must be fixed and finite, so I is wrong. II and III are two of the four conditions of section 3. Answer (d).
NDA I 2026, Q116. For a Binomial distribution with mean โ6โ and standard deviation โ\sqrt{2}โ, what is the value of โP(X = 0)โ?
(a) โ\left(\frac{1}{3}\right)^9โโโ(b) โ\left(\frac{2}{3}\right)^9โโโ(c) โ\frac{1}{3}\left(\frac{2}{3}\right)^8โโโ(d) โ\frac{2}{3}\left(\frac{1}{3}\right)^8โ
Solution. Variance โ= (\sqrt{2})^2 = 2โ. โq = \dfrac{2}{6} = \dfrac{1}{3}โ, โp = \dfrac{2}{3}โ, โn = \dfrac{6}{2/3} = 9โ. โP(X = 0) = q^9 = \left(\dfrac{1}{3}\right)^9โ. Answer (a).
NDA I 2025, Q119. Let โXโ be a random variable following binomial distribution whose mean and variance are 200 and 160 respectively. What is the value of the number of trials (โnโ)?
(a) 500โโ(b) 1000โโ(c) 1500โโ(d) 2000
Solution. Mean โ= np = 200โ and variance โ= npq = 160โ. Dividing, โq = \dfrac{160}{200} = 0.8โ, so โp = 0.2โ. Then โn = \dfrac{200}{0.2} = 1000โ. Answer (b).
7. Mistakes that cost marks
- Leaving out โ{}^nC_rโ. โp^r q^{n-r}โ is the probability of one order only. There are โ{}^nC_rโ orders.
- Taking โ\dfrac{\text{variance}}{\text{mean}}โ as โpโ. It is โqโ. Then โp = 1 - qโ. In โP(X = 0) = q^nโ the base is โqโ, not โpโ.
- Using the standard deviation as the variance. If the question gives a standard deviation of โ\sqrt{2}โ, the variance is 2.
- Adding many terms for "at least". "At least two" is โ1 - P(X = 0) - P(X = 1)โ: two terms, not โn - 1โ terms.
8. Quick check
Do these without help. Answers are at the end.
- โXโ takes the values 0, 1, 2 with probabilities 0.3, 0.5, 0.2. Find the mean and the variance of โXโ.
- โX \sim B(10, 0.4)โ. Find the mean and the variance.
- A binomial distribution has mean 10 and variance 6. Find โpโ and โnโ.
- A fair coin is tossed 5 times. Find the probability of exactly 3 heads.
- In each of 4 independent trials the probability of success is โ\dfrac{1}{3}โ. Find the probability of at least one success.
9. Read and watch more, free
| What | Where | Language |
|---|---|---|
| Self-study notes, with random variables and the binomial distribution | NIOS Mathematics, Lesson 19 Probability ยท Hindi edition | English, Hindi |
| Textbook, the probability behind this chapter (the binomial distribution itself is only mentioned) | NCERT Class 12 Mathematics, Chapter 13 Probability ยท Hindi edition | English, Hindi |
| Video, topic by topic | Mohit Tyagi: Probability (16 lessons, up to distributions) | Hinglish |
| Video, the whole of Probability for NDA | Chandigarh Career Group: NDA Maths one shots (the Probability class, about 8 hours 30 minutes) | Hinglish |
| Video and practice, random variables | Khan Academy: Statistics and Probability course (Unit 9) | English |
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- Mean โ= 0 + 0.5 + 0.4 = 0.9โ. โ\sum x_i^2 p_i = 0.5 + 0.8 = 1.3โ. Variance โ= 1.3 - 0.81 = 0.49โ.
- Mean โ= 10 \times 0.4 = 4โ. Variance โ= 10 \times 0.4 \times 0.6 = 2.4โ.
- โq = \dfrac{6}{10} = 0.6โ, so โp = 0.4โ and โn = \dfrac{10}{0.4} = 25โ.
- โ{}^5C_3 \left(\dfrac{1}{2}\right)^5 = \dfrac{10}{32} = \dfrac{5}{16}โ.
- โ1 - \left(\dfrac{2}{3}\right)^4 = 1 - \dfrac{16}{81} = \dfrac{65}{81}โ.
Next chapter: none. This is the last chapter of the Mathematics course.