K2KARAKORAM
English
Open the app

State Board · Class 12 · Mathematics Part 2

Lesson 7: Probability Distributions

3 concepts · 24 practice questions with answers · Free to read

Random variable and probability mass function

From daily life

When two coins are tossed, the number of heads is 0, 1 or 2 with different chances. Listing each value with its chance is a probability distribution.

Simple definition

A random variable X assigns a number to each outcome. For a discrete X the probability mass function p(x) = P(X = x) satisfies p(x) ≥ 0 and Σp(x) = 1. The cumulative distribution function F(x) = P(X ≤ x).

Rule 1: Check — All p(x) ≥ 0 and their sum is 1.

Rule 2: Find an unknown — Use Σp(x) = 1 to find the constant.

How is the formula obtained? : Two coins, X = number of heads: P(0) = ¼, P(1) = ½, P(2) = ¼, total 1. F(0) = ¼, F(1) = ¾, F(2) = 1.

  • Easy : p(x) = 1/6 for x = 1, …, 6 is a valid distribution (a fair die).
  • Medium : P(X = x) = kx for x = 1, 2, 3, 4: k(1 + 2 + 3 + 4) = 1 ⇒ k = 1/10.
  • Exam-type : For P(X = 0, 1, 2, 3) = k, 2k, 3k, 4k: 10k = 1 so k = 1/10 and P(X ≤ 1) = 3/10.
Remember

Probabilities of all values add to 1.

Common mistake

Using F(x) as p(x).

Shortcut

Make a two-row table: x and p(x). Memory clue : "Table, total one."

CET trap

P(X < 2) and P(X ≤ 2) differ for discrete X.

CET-style example : If P(X = x) = kx, x = 1, 2, 3, 4, then k = (A) 1/10 (B) 1/4 (C) 1/5 (D) 1/6

Answer : (A). Time-saving method : Sum 1 + 2 + 3 + 4 = 10.

Spot the difference

FunctionMeaning
p(x)P(X = x)
F(x)P(X ≤ x)

Practice questions

Easy
  1. 1Sum of all p(x) in a distribution?
  2. 2X = number of heads in two tosses: p(1)?
  3. 3Same X: F(1)?
Medium
  1. 4Find k if P(X = x) = kx for x = 1, 2, 3, 4.
  2. 5With that k, P(X ≤ 2)?
  3. 6P(X = x) = k, 2k, 3k, 4k for x = 0..3: find k.
Challenging
  1. 7Is P(X = x) = x/3, x = 1, 2, 3 valid?
  2. 8Find F(2) for the distribution with k = 1/10 above.
Show answers (try them yourself first)
  1. 11.
  2. 21/2.
  3. 33/4.
  4. 41/10.
  5. 53/10.
  6. 61/10.
  7. 7Sum = 2 ≠ 1, not valid.
  8. 80.1 + 0.2 + 0.3 = 3/5.

Expected value, variance and standard deviation

From daily life

If you play a game many times, the average gain per game is the expected value; the variance tells how much results swing around that average.

Simple definition

Expected value E(X) = Σ x p(x). Variance Var(X) = E(X²) − [E(X)]² where E(X²) = Σ x² p(x). Standard deviation σ = √Var(X).

Rule 1: Mean — E(X) = Σ x·p(x).

Rule 2: Variance — Var(X) = Σ x²p(x) − (Σ x p(x))².

How is the formula obtained? : Distribution 0, 1, 2, 3 with probabilities 0.1, 0.2, 0.3, 0.4: E(X) = 0 + 0.2 + 0.6 + 1.2 = 2; E(X²) = 0 + 0.2 + 1.2 + 3.6 = 5; Var = 5 − 4 = 1; σ = 1.

  • Easy : Two coins, X = heads: E(X) = 0·¼ + 1·½ + 2·¼ = 1.
  • Medium : Same X: E(X²) = 0 + ½ + 1 = 3/2; Var = 3/2 − 1 = 1/2.
  • Exam-type : A fair die: E(X) = 7/2 = 3.5; Var = 35/12 ≈ 2.92.
Remember

Variance is never negative.

Common mistake

Subtracting E(X²) − E(X) instead of [E(X)]².

Shortcut

Add columns x·p and x²·p to the table. Memory clue : "Mean of squares minus square of mean."

CET trap

Do not square the probabilities.

CET-style example : For a fair die E(X) = (A) 3.5 (B) 3 (C) 4 (D) 21

Answer : (A). Time-saving method : Sum of 1..6 is 21; divide by 6.

Spot the difference

MeasureFormula
E(X)Σ x p(x)
Var(X)Σ x²p(x) − [E(X)]²
σ√Var(X)

Practice questions

Easy
  1. 1E(X) for two coins, X = heads?
  2. 2Var(X) for the same X?
  3. 3E(X) for a fair die?
Medium
  1. 4Var(X) for a fair die?
  2. 5E(X) when X = 0, 1, 2, 3 with p = 0.1, 0.2, 0.3, 0.4?
  3. 6Var(X) for the same distribution?
Challenging
  1. 7A game pays ₹10 with probability 0.2 and ₹0 otherwise; E(X)?
  2. 8E(2X + 3) if E(X) = 2?
Show answers (try them yourself first)
  1. 11.
  2. 21/2.
  3. 37/2.
  4. 435/12 ≈ 2.92.
  5. 52.
  6. 61.
  7. 7₹2.
  8. 87.

Continuous random variables: probability density function

From daily life

The waiting time for a bus can take any value in an interval, so we describe its chances with a curve and read probability as area under it.

Simple definition

For a continuous X the probability density function f(x) ≥ 0 has total area ∫f(x) dx = 1; P(a ≤ X ≤ b) = ∫ₐᵇ f(x) dx. E(X) = ∫x f(x) dx and Var(X) = ∫x² f(x) dx − [E(X)]².

Rule 1: Normalise — Total area under f is 1.

Rule 2: Interval probability — P(a ≤ X ≤ b) = ∫ₐᵇ f dx.

How is the formula obtained? : f(x) = 2x on [0, 1]: ∫₀¹ 2x dx = 1 ✓. P(X < ½) = ∫₀^{½} 2x dx = ¼. E(X) = ∫₀¹ 2x² dx = 2/3. E(X²) = ∫₀¹ 2x³ dx = ½, so Var = ½ − 4/9 = 1/18.

  • Easy : f(x) = 2x on [0, 1] has total area 1.
  • Medium : P(X < ½) = 1/4.
  • Exam-type : E(X) = 2/3 and Var(X) = 1/18.
Remember

For a continuous variable P(X = a) = 0.

Common mistake

Treating f(x) itself as a probability.

Shortcut

Integrate over the required interval only. Memory clue : "Probability = area."

CET trap

f(x) can exceed 1; only the area must be 1.

CET-style example : For f(x) = 2x on [0, 1], P(X < ½) = (A) 1/4 (B) 1/2 (C) 1 (D) 1/8

Answer : (A). Time-saving method : ∫₀^{½} 2x dx = x² at ½.

Spot the difference

DiscreteContinuous
p(x) = P(X = x)f(x) is a density
sumintegral

Practice questions

Easy
  1. 1Is f(x) = 2x on [0, 1] a density?
  2. 2P(X < ½) for it?
  3. 3P(X > ½)?
Medium
  1. 4E(X)?
  2. 5E(X²)?
  3. 6Var(X)?
Challenging
  1. 7Find k if f(x) = kx² on [0, 3] is a density.
  2. 8For f(x) = 1/2 on [0, 2], find P(X < 1.5).
Show answers (try them yourself first)
  1. 1Yes, ∫ = 1.
  2. 21/4.
  3. 33/4.
  4. 42/3.
  5. 51/2.
  6. 61/18.
  7. 7k·9 = 1 ⇒ k = 1/9.
  8. 83/4.