JEE Corner — Random Variables and Probability Distributions
Random Variables and Probability Distributions
Why this section exists. The rationalized NCERT trimmed random variables, probability distributions, Bernoulli trials and the binomial distribution from this chapter — but JEE Main kept all of them in its syllabus, and they appear nearly every session. If you are preparing only for boards you may treat this section as enrichment; JEE aspirants should treat it as core.
Random variables
A random variableX is a real-valued function whose domain is the sample space of a random experiment — a rule that attaches a number to every outcome.
Toss a coin twice: S={HH,HT,TH,TT}. If X = number of heads, then
X(HH)=2,X(HT)=1,X(TH)=1,X(TT)=0
More than one random variable can live on the same sample space: Y = (heads minus tails) gives Y(HH)=2, Y(HT)=Y(TH)=0, Y(TT)=−2. The experiment is random; the function is deterministic — the randomness of X comes entirely from which outcome occurs.
Probability distribution of a random variable
The probability distribution of X lists its possible values with their probabilities:
X
x1
x2
⋯
xn
P(X)
p1
p2
⋯
pn
where pi=P(X=xi) must satisfy the two conditions:
(1)pi≥0for all i(2)i=1∑npi=1
Any table meeting both conditions is a valid distribution; violating either (a negative entry, or a total other than 1) disqualifies it. "Find k" problems use condition (2) to pin down an unknown constant.
Mean (expectation) and variance
The mean or expected value of X is the probability-weighted average of its values:
E(X)=μ=i=1∑nxipi
The variance measures spread around the mean:
Var(X)=σ2=E(X2)−(E(X))2=∑xi2pi−(∑xipi)2
and the standard deviation is σ=Var(X). The E(X2)−μ2 form is almost always the faster route in exams.
Common mistakes to avoid. (1) E(X2)=(E(X))2 — square the values before weighting. (2) The mean need not be one of the values of X (a mean of 31 sixes is fine). (3) Always check ∑pi=1 before computing anything — a mis-copied table poisons every later step.
Bernoulli Trials and the Binomial Distribution
Bernoulli trials
Trials of an experiment are Bernoulli trials if all four conditions hold:
(1) the number of trials n is finite; (2) the trials are independent; (3) each trial has exactly two outcomes — success or failure; (4) the probability of success p is the same in every trial.
Tossing a coin 10 times, or drawing balls with replacement, are Bernoulli trials. Drawing without replacement is not — the success probability changes from draw to draw, violating condition (4). This distinction is a favourite JEE trap.
The binomial distribution
Run n Bernoulli trials with success probability p (and q=1−p). If X counts the successes, then
P(X=r)=(rn)prqn−r,r=0,1,2,…,n
We write X∼B(n,p). The three factors tell the story: pr for the r successes, qn−r for the failures, and (rn) for the number of orders in which they can occur. The probabilities are the successive terms of the expansion (q+p)n, which is why they add to 1.
Mean and variance of the binomial (memorise)
E(X)=np,Var(X)=npq,σ=npq
Two instant consequences that JEE loves:
E(X)Var(X)=q, so mean and variance of a binomial determine q, then p=1−q, then n. Given "mean 4, variance 2": q=42=21, p=21, n=8.
Since 0<q<1, variance < mean always. A claimed binomial with variance exceeding its mean is impossible — an instant elimination in MCQs.
The standard question types
Type 1 — exactly r: direct formula. Type 2 — at least / at most r: sum the tail, or use the complement (for "at least 1", P=1−qn). Type 3 — parameter hunting: given mean and variance (or a ratio of probabilities), find n and p, then answer a probability question. Type 4 — validity checks: test the four Bernoulli conditions or the two distribution conditions.
JEE-Pattern Worked Examples
Example 1 — Building a distribution from scratch
A fair coin is tossed twice and X is the number of heads. Write the probability distribution of X and find E(X).
Step 1 — probabilities from the sample space{HH,HT,TH,TT}:
P(X=0)=41,P(X=1)=42=21,P(X=2)=41
Step 2 — check:41+21+41=1 ✓
Step 3 — expectation:E(X)=0⋅41+1⋅21+2⋅41=1
Answer:E(X)=1 — one head expected in two fair tosses, as intuition demands.
Example 2 — Number of sixes in two throws
Two dice are thrown and X is the number of sixes. Find the distribution of X and its mean.
Answer:E(X)=31 — matching the binomial shortcut np=2×61.
Example 3 — Finding the unknown constant
A random variable X takes values 0,1,2 with probabilities k, 2k, 3k. Find k, P(X≥1) and E(X).
Step 1 — condition (2):k+2k+3k=6k=1, so k=61.
Step 2 — tail probability:P(X≥1)=2k+3k=5k=65.
Step 3 — mean:E(X)=0⋅k+1⋅2k+2⋅3k=8k=68=34.
Answer:k=61, P(X≥1)=65, E(X)=34.
Example 4 — Aces without replacement (not binomial!)
Two cards are drawn without replacement from a deck of 52. X is the number of aces. Find the distribution of X and E(X).
Step 1 — the trials are dependent (no replacement), so use the multiplication theorem, not the binomial formula:
P(X=0)=5248⋅5147=221188,P(X=1)=2⋅524⋅5148=22132,P(X=2)=524⋅513=2211
Step 2 — check:221188+32+1=1 ✓
Step 3 — mean:E(X)=1⋅22132+2⋅2211=22134=132
Answer:E(X)=132. (Elegant check: each card is an ace with probability 131, and expectations add even without independence: E(X)=2×131.)
Example 5 — Mean and variance from a table
X takes values 1,2,3,4 with probabilities 0.1,0.2,0.3,0.4. Find the mean, variance and standard deviation.