The binomial distribution for the number of successes in n independent Bernoulli trials: PMF, mean, variance and mode, at-least-one and cumulative probabilities, Poisson and normal approximations, and bit errors in coded blocks.
A Bernoulli trial has two outcomes: success with probability , failure with probability .
Repeat it times under these conditions:
the number of trials is fixed in advance;
the trials are independent;
is the same in every trial.
Then , the number of successes, is binomial, , with
counts the ways to place successes among trials; is the probability of any one such arrangement. The probabilities add to by the binomial theorem, hence the name.
gives the Bernoulli distribution. A binomial variable is a sum of independent Bernoulli variables: .
Recognise it in a question by the words "out of ", "exactly ", "at least one", with independent identical trials: coin tosses, dice, bits through a channel with error probability , components that fail independently.
Not binomial: drawing without replacement from a small lot (trials are dependent, that is hypergeometric), or "number of trials until the first success" (that is geometric, ).
PMF of Bin(5, 0.3); the bars add to 1 and the mean np = 1.5 lies between the two tallest bars
2. Mean, variance, mode and shape
Because is a sum of independent Bernoulli variables, each with mean and variance :
Useful consequences:
for : the variance is always less than the mean. A question saying mean 3, variance 4 describes no binomial.
Given mean and variance: , then and .
For fixed , the variance is largest at , where it equals .
Mode (most likely value): let .
If is not an integer, the mode is .
If is an integer, there are two modes, and .
Shape. gives a symmetric PMF: . For the PMF leans left with a longer right tail; for the reverse.
Ratio of successive terms (handy for finding the mode or computing a run of terms):
Sum rule. If and are independent with the same , then .
The moment generating function is .
3. At least, at most, and how many trials
Most GATE questions need a sum of a few PMF terms. Use the complement whenever it is shorter.
Event
Formula
no success
at least one success
exactly one
at most one
at least two
at least
How many trials are needed? For :
and round up to the next integer (both logarithms are negative, so the inequality direction stays).
Conditional questions. "Given that at least one success occurred, find the probability of exactly one" is . Divide by the probability of the condition.
Write correctly: if is the probability of a defect, then "good items" is binomial with parameter . Decide which outcome you are counting before writing the formula.
4. Bit errors, coding and approximations
Bit errors. A block of bits passes through a binary symmetric channel with bit error probability , errors independent. The number of bit errors is .
Block received with no error: for small .
A code that corrects up to errors fails when more than errors occur: .
Repetition code (send each bit 3 times, decide by majority): the decision is wrong when 2 or 3 copies flip, . For this is , much less than .
Poisson approximation. When is large and small with moderate,
Normal approximation. When is large (a common rule is and ), is close to . Use a continuity correction: .
Situation
Use
small , any
exact binomial
large , small , moderate
Poisson with
large , not extreme
normal with continuity correction
Formulas to remember
Binomial PMF
Mean and variance
ModeTwo modes, and , when is an integer
At least one success
Trials neededRound up
Successive-term ratio
Poisson approximation
Majority vote of 3 repetitions
Common mistakes
Forgetting the factor nCk and giving only p^k q^(n−k), the probability of one particular arrangement.
Summing many terms for at least one instead of using 1 − q^n.
Rounding down the number of trials needed; the answer from the logarithm must be rounded up.
Using the binomial for draws without replacement from a small lot, where the trials are not independent.
Mixing up p and q when the question counts failures (defects, errors) rather than successes.
Accepting a mean smaller than the variance; no binomial has that.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Errors in an 8-bit packet
numerical
Bits of an 8-bit packet are flipped independently with probability . Find the probability of (a) no error, (b) exactly one error. (c) If a code corrects any single error, what is the probability that the packet is decoded wrongly?
Step 1: Identify $n$, $p$ and the count.
Try it on paper first.
Example 2: Finding n and p from mean and variance
numerical
A binomial variable has mean 4 and variance 3. Find , and .
Step 1: Divide variance by mean.
Try it on paper first.
Example 3: How many attempts are enough
numerical
Each independent attempt to acquire a weak signal succeeds with probability . Find the least number of attempts that gives at least a 95% chance of at least one success.
Step 1: Write the condition with the complement.
Try it on paper first.
Example 4: Gain from a repetition code
numerical
Each bit is sent three times over a channel with bit error probability , and the receiver decides by majority. Find the probability that a decoded bit is wrong.
Step 1: When is the majority decision wrong?
Try it on paper first.
Previous year questions
1 official GATE EC question on this topic, newest first.
9 questions: up to 1 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.