1. Random Variable — Definition and Types

A Random Variable (RV) X is a real-valued function defined on the sample space S: X : S → ℝ. It assigns a numerical value to each outcome.

TypeDescriptionExample
Discrete RVTakes countable (finite or countably infinite) valuesX = number of heads in 3 coin tosses (0,1,2,3)
Continuous RVTakes any value in an intervalX = height of a randomly chosen person

CBSE and JEE syllabus covers discrete RVs only.

2. Probability Distribution (PMF)

The Probability Mass Function (PMF) of a discrete RV X is the table P(X = xᵢ) = pᵢ for each value xᵢ.

Conditions for a Valid Probability Distribution

ipi=1andpi0 for all i

Example — Tossing 2 Coins, X = Number of Heads

X012Sum
P(X)1/42/4 = 1/21/41

Cumulative Distribution Function (CDF)

F(x) = P(X ≤ x) = sum of all P(X = xᵢ) for xᵢ ≤ x. CDF is non-decreasing; F(−∞) = 0; F(+∞) = 1.

3. Mean (Expected Value) of a Random Variable

The mean (expectation) of X is the long-run average value:

μ=E(X)=ixipi

Properties of Expectation

PropertyFormula
ConstantE(c) = c
LinearE(aX + b) = aE(X) + b
SumE(X + Y) = E(X) + E(Y) (always, even if dependent)
Product (independent)E(XY) = E(X)·E(Y)

For 2 coins: E(X) = 0×(1/4) + 1×(1/2) + 2×(1/4) = 0 + 1/2 + 1/2 = 1

4. Variance and Standard Deviation

Var(X)=E(X2)[E(X)]2=xi2piμ2

Standard Deviation: σ = √Var(X)

Properties of Variance

  • Var(c) = 0 (constant has zero variance)
  • Var(aX + b) = a²·Var(X) (adding a constant doesn't change spread)
  • Var(X + Y) = Var(X) + Var(Y) if X, Y are independent
  • Var(X) ≥ 0 always

For 2 coins: E(X²) = 0²×(1/4) + 1²×(1/2) + 2²×(1/4) = 0 + 1/2 + 1 = 3/2

Var(X) = 3/2 − 1² = 1/2;   σ = 1/√2 ≈ 0.707

Die Example (Verified)

X = face value of a fair die. E(X) = (1+2+3+4+5+6)/6 = 21/6 = 7/2

E(X²) = (1+4+9+16+25+36)/6 = 91/6

Var(X) = 91/6 − (7/2)² = 91/6 − 49/4 = 182/12 − 147/12 = 35/12

5. Finding k in a Probability Distribution

A common problem type: given P(X=xᵢ) = cᵢk, find k using Σpᵢ = 1.

Example: P(X=1) = k, P(X=2) = 2k, P(X=3) = 3k

k + 2k + 3k = 1 → 6k = 1 → k = 1/6

E(X) = 1·(1/6) + 2·(2/6) + 3·(3/6) = 1/6 + 4/6 + 9/6 = 14/6 = 7/3

E(X²) = 1·(1/6) + 4·(2/6) + 9·(3/6) = 1/6 + 8/6 + 27/6 = 36/6 = 6

Var(X) = 6 − (7/3)² = 6 − 49/9 = 54/9 − 49/9 = 5/9