The discrete uniform, Bernoulli and binomial distributions: when each applies, their PMFs, means, variances and modes, and the standard binomial questions on exactly, at least and at most k successes.
is discrete uniform on the integers if each of the values has probability . It models a fair die, a random digit, or a randomly chosen index.
The variance depends only on the number of values, not where they sit, since shifting does not change spread.
Example
Mean
Variance
Fair die
6
3.5
Random digit
10
4.5
10
5.5
For a uniform choice on a non-consecutive set (say ), use the general formulas, or write it as a linear function of a consecutive uniform ( with uniform on ).
2. Bernoulli distribution
A Bernoulli trial has two outcomes: success () with probability and failure () with probability .
Since for a 0/1 variable, and .
The variance is largest, , at and is 0 at or (no randomness).
Every indicator is Bernoulli with . A binary label in classification, a click or no click, a defective item: each is a Bernoulli trial. The log-likelihood of Bernoulli data is the cross-entropy loss used in logistic regression.
3. Binomial distribution
counts the successes in independent Bernoulli trials, each with the same success probability :
counts which trials succeed; is the probability of each such pattern.
Writing (independent Bernoulli) gives
So whenever . If the mean and variance are given, , then and .
Checklist (all four must hold): fixed ; two outcomes per trial; independent trials; constant . Drawing without replacement from a small population breaks independence (that count is hypergeometric).
Sums: if and are independent, then . The must be the same.
PMF of Bin(10, 0.3): mean 3, mode 3, right-skewed because p < 0.5
4. Working with the binomial: at least, at most, mode
At least one: . To find the smallest with , solve , so , then round up.
At most / at least : add the few terms on the short side, using the complement if needed: .
Ratio of successive terms:
This exceeds 1 while . So the mode is ; if is an integer, both and are modes.
Shape: symmetric when , right-skewed when , left-skewed when . For large it is close to a normal with mean and variance ; for large and small it is close to Poisson with mean .
Formulas to remember
Discrete uniform on a..b
Bernoulli
Binomial PMF
Binomial mean and variance
At least one success
Binomial modeTwo modes if is an integer
Successive-term ratio
Common mistakes
Using the binomial for draws without replacement from a small population; the trials are not independent.
Forgetting the factor and computing only , the probability of one pattern.
Rounding down when solving for the smallest in an "at least one" question; always round up and check.
Giving as the mode; the mode is an integer, .
Adding binomials with different and calling the sum binomial.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Guessing in a 10-question test
numerical
A student guesses every one of 10 four-option MCQs. Find the probability of exactly 3 correct and of at least 1 correct.
Step 1: Identify the distribution.
Try it on paper first.
Example 2: Recover n and p from the mean and variance
numerical
A binomial random variable has mean 4 and variance 2.4. Find and .
Step 1: Divide the variance by the mean.
Try it on paper first.
Example 3: Mean and variance of a random digit
numerical
A digit is chosen uniformly from . Find and , and check the variance directly.
Step 1: Use the uniform formulas.
Try it on paper first.
Example 4: Binomial or not?
conceptual
Which of these counts are binomial? (i) Heads in 20 tosses of a fair coin. (ii) Red cards when 5 cards are dealt from a deck. (iii) Rolls until the first six. (iv) Defective items in a sample of 50 from a huge lot with 2% defective.
Step 1: Check the four conditions for each.
Try it on paper first.
Previous year questions
5 official GATE DA questions on this topic, newest first.
10 questions: up to 4 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 DA syllabus; being checked by a reviewer. Updated 2026-11-21. Spotted a mistake? Use Report an issue on any question, or contact us.