Skip to content

Probability Distributions

A discrete random variable XX is a function that assigns a numerical value to each outcome in a countable sample space. The set of possible values is finite or countably infinite: for example, {0,1,2,…,n}\{0, 1, 2, \ldots, n\} or {0,1,2,…}\{0, 1, 2, \ldots\}.

The probability mass function of XX is p(x)=P(X=x)p(x) = P(X = x) Assigning a probability to each possible value. It must satisfy:

  1. p(x)≥0p(x) \ge 0 for all xx
  2. ∑allxp(x)=1\displaystyle\sum_{\mathrm{all } x} p(x) = 1
F(x)=P(X≤x)=∑t≤xp(t)F(x) = P(X \le x) = \sum_{t \le x} p(t)

The CDF is non-decreasing and right-continuous, with F(−∞)=0F(-\infty) = 0 and F(∞)=1F(\infty) = 1. For a discrete variable it is a step function with jumps at each value in the range of XX. The size of each jump at x=ax = a equals P(X=a)P(X = a).

The expected value (mean) of XX is the probability-weighted average of all possible values:

E(X)=μ=∑allxx⋅p(x)E(X) = \mu = \sum_{\mathrm{all } x} x \cdot p(x)

This represents the long-run average if the experiment is repeated many times. For a function g(X)g(X):

E(g(X))=∑allxg(x)⋅p(x)E(g(X)) = \sum_{\mathrm{all } x} g(x) \cdot p(x)

A critical special case is E(X2)=∑x2p(x)E(X^2) = \sum x^2 p(x).

Var(X)=σ2=E ⁣[(X−μ)2]=∑allx(x−μ)2⋅p(x)\mathrm{Var}(X) = \sigma^2 = E\!\left[(X - \mu)^2\right] = \sum_{\mathrm{all } x} (x - \mu)^2 \cdot p(x)

The computational formula is almost always more convenient:

Var(X)=E(X2)−[E(X)]2\mathrm{Var}(X) = E(X^2) - [E(X)]^2

The standard deviation is σ=Var(X)\sigma = \sqrt{\mathrm{Var}(X)}. It has the same units as XX and measures the typical distance of values from the mean.

For any constant aa and random variable XX:

E(a)=a,E(aX)=aE(X),E(X+a)=E(X)+aE(a) = a, \quad E(aX) = aE(X), \quad E(X + a) = E(X) + a Var(a)=0,Var(aX)=a2Var(X),Var(X+a)=Var(X)\mathrm{Var}(a) = 0, \quad \mathrm{Var}(aX) = a^2 \mathrm{Var}(X), \quad \mathrm{Var}(X + a) = \mathrm{Var}(X)

Adding a constant shifts the distribution but does not change its spread. Multiplying by aa scales the spread by ∣a∣|a|.


A discrete random variable XX has PMF P(X=x)=x+115P(X = x) = \frac{x + 1}{15} for x=0,1,2,3,4x = 0, 1, 2, 3, 4. Find E(X)$$\mathrm{Var}(X) And P(X≥2)P(X \ge 2).

Solution

Verify: ∑x=04x+115=1+2+3+4+515=1515=1\sum_{x=0}^{4}\frac{x+1}{15} = \frac{1+2+3+4+5}{15} = \frac{15}{15} = 1.

E(X)=0 ⁣(115)+1 ⁣(215)+2 ⁣(315)+3 ⁣(415)+4 ⁣(515)E(X) = 0\!\left(\frac{1}{15}\right) + 1\!\left(\frac{2}{15}\right) + 2\!\left(\frac{3}{15}\right) + 3\!\left(\frac{4}{15}\right) + 4\!\left(\frac{5}{15}\right) =0+2+6+12+2015=4015=83≈2.667= \frac{0 + 2 + 6 + 12 + 20}{15} = \frac{40}{15} = \frac{8}{3} \approx 2.667 E(X2)=0+1 ⁣(215)+4 ⁣(315)+9 ⁣(415)+16 ⁣(515)=0+2+12+36+8015=13015=263E(X^2) = 0 + 1\!\left(\frac{2}{15}\right) + 4\!\left(\frac{3}{15}\right) + 9\!\left(\frac{4}{15}\right) + 16\!\left(\frac{5}{15}\right) = \frac{0 + 2 + 12 + 36 + 80}{15} = \frac{130}{15} = \frac{26}{3} Var(X)=263−(83)2=263−649=78−649=149≈1.556\mathrm{Var}(X) = \frac{26}{3} - \left(\frac{8}{3}\right)^2 = \frac{26}{3} - \frac{64}{9} = \frac{78 - 64}{9} = \frac{14}{9} \approx 1.556 P(X≥2)=315+415+515=1215=45=0.8P(X \ge 2) = \frac{3}{15} + \frac{4}{15} + \frac{5}{15} = \frac{12}{15} = \frac{4}{5} = 0.8

If you get this wrong, revise: Discrete Random Variables section.

X∼B(25,0.35)X \sim B(25, 0.35). Find P(X = 10)$$P(X \le 5) And P(X≥15)P(X \ge 15).

SolutionP(X=10)=(2510)(0.35)10(0.65)15≈0.1268P(X = 10) = \binom{25}{10}(0.35)^{10}(0.65)^{15} \approx 0.1268 P(X≤5)=∑x=05(25x)(0.35)x(0.65)25−x≈0.0334P(X \le 5) = \sum_{x=0}^{5}\binom{25}{x}(0.35)^x(0.65)^{25-x} \approx 0.0334 P(X≥15)=1−P(X≤14)≈1−0.9752=0.0248P(X \ge 15) = 1 - P(X \le 14) \approx 1 - 0.9752 = 0.0248

If you get this wrong, revise: Binomial Distribution section.

A bookshop sells an average of 3.2 rare books per week. X∼Po(3.2)X \sim \mathrm{Po}(3.2) is the number sold in a week. Find P(X=4)P(X = 4), P(X=0)P(X = 0) And P(X>5)P(X \gt 5).

SolutionP(X=4)=e−3.2⋅3.244!=104.858×e−3.224≈0.1781P(X = 4) = \frac{e^{-3.2} \cdot 3.2^4}{4!} = \frac{104.858 \times e^{-3.2}}{24} \approx 0.1781 P(X=0)=e−3.2≈0.0408P(X = 0) = e^{-3.2} \approx 0.0408 P(X>5)=1−P(X≤5)=1−e−3.2 ⁣(1+3.2+10.242+32.7686+104.85824+335.544120)P(X \gt 5) = 1 - P(X \le 5) = 1 - e^{-3.2}\!\left(1 + 3.2 + \frac{10.24}{2} + \frac{32.768}{6} + \frac{104.858}{24} + \frac{335.544}{120}\right) =1−e−3.2(1+3.2+5.12+5.461+4.369+2.796)=1−e−3.2(21.946)≈1−0.8955=0.1045= 1 - e^{-3.2}(1 + 3.2 + 5.12 + 5.461 + 4.369 + 2.796) = 1 - e^{-3.2}(21.946) \approx 1 - 0.8955 = 0.1045

If you get this wrong, revise: Poisson Distribution section.

Exam scores follow N(65,64)N(65, 64) (mean 65, variance 64). Find the probability that a randomly chosen Student scores above 75, and the score that is exceeded by only 10% of students.

Solution

μ=65\mu = 65, σ=64=8\sigma = \sqrt{64} = 8.

P(X>75)=P ⁣(Z>75−658)=P(Z>1.25)=1−Φ(1.25)≈1−0.8944=0.1056P(X \gt 75) = P\!\left(Z \gt \frac{75 - 65}{8}\right) = P(Z \gt 1.25) = 1 - \Phi(1.25) \approx 1 - 0.8944 = 0.1056

For the 90th percentile (exceeded by only 10%):

P(X≤x)=0.90  ⟹  x−658=1.282  ⟹  x=65+1.282(8)=75.26P(X \le x) = 0.90 \implies \frac{x - 65}{8} = 1.282 \implies x = 65 + 1.282(8) = 75.26

A score of approximately 75.3 is exceeded by only 10% of students.

If you get this wrong, revise: Normal Distribution section.

The waiting time for a train is uniformly distributed between 0 and 12 minutes. Find the probability that the waiting time is (a) less than 5 minutes, (b) between 7 and 10 minutes, (c) more than 8 minutes given that it has already been 3 minutes.

Solution

X∼U(0,12)X \sim U(0, 12).

(a) P(X<5)=5/12≈0.4167P(X \lt 5) = 5/12 \approx 0.4167

(b) P(7<X<10)=(10−7)/12=3/12=0.25P(7 \lt X \lt 10) = (10 - 7)/12 = 3/12 = 0.25

(c) Given 3 minutes already waited, the remaining time is U(0,9)U(0, 9) (memoryless property of the Uniform distribution):

P(remaining>5)=4/9≈0.4444P(\mathrm{remaining} \gt 5) = 4/9 \approx 0.4444

Alternatively: P(X>8∣X>3)=P(X>8)/P(X>3)=(4/12)/(9/12)=4/9P(X \gt 8 \mid X \gt 3) = P(X \gt 8)/P(X \gt 3) = (4/12)/(9/12) = 4/9.

If you get this wrong, revise: Continuous Uniform Distribution section.

X∼Geo(0.25)X \sim \mathrm{Geo}(0.25). Find the smallest nn such that P(X≤n)≥0.95P(X \le n) \ge 0.95.

SolutionP(X≤n)=1−(1−p)n=1−0.75n≥0.95P(X \le n) = 1 - (1 - p)^n = 1 - 0.75^n \ge 0.95 0.75n≤0.050.75^n \le 0.05 nln⁡(0.75)≤ln⁡(0.05)n \ln(0.75) \le \ln(0.05) n≥ln⁡(0.05)ln⁡(0.75)=−2.996−0.288=10.40n \ge \frac{\ln(0.05)}{\ln(0.75)} = \frac{-2.996}{-0.288} = 10.40

So n=11n = 11 trials are needed.

If you get this wrong, revise: Geometric Distribution section.

X∼NB(3,0.2)X \sim \mathrm{NB}(3, 0.2). Find P(X=8)P(X = 8) and Var(X)\mathrm{Var}(X).

SolutionP(X=8)=(72)(0.2)3(0.8)5=21×0.008×0.32768=0.05505P(X = 8) = \binom{7}{2}(0.2)^3(0.8)^5 = 21 \times 0.008 \times 0.32768 = 0.05505 E(X)=30.2=15E(X) = \frac{3}{0.2} = 15 Var(X)=3(0.8)0.04=2.40.04=60\mathrm{Var}(X) = \frac{3(0.8)}{0.04} = \frac{2.4}{0.04} = 60 σ=60≈7.75\sigma = \sqrt{60} \approx 7.75

If you get this wrong, revise: Negative Binomial Distribution section.

The masses of packets of sugar are normally distributed with mean 500 g500\,\mathrm{g} and standard Deviation 5 g5\,\mathrm{g}. A sample of 36 packets is selected. Find the probability that the sample Mean is between 498 g498\,\mathrm{g} and 503 g503\,\mathrm{g}.

Solution

By the CLT:

Xˉ∼N ⁣(500,2536)\bar{X} \sim N\!\left(500, \frac{25}{36}\right) σXˉ=56≈0.833\sigma_{\bar{X}} = \frac{5}{6} \approx 0.833 P(498<Xˉ<503)=P ⁣(498−5005/6<Z<503−5005/6)=P(−2.4<Z<3.6)P(498 \lt \bar{X} \lt 503) = P\!\left(\frac{498 - 500}{5/6} \lt Z \lt \frac{503 - 500}{5/6}\right) = P(-2.4 \lt Z \lt 3.6) =Φ(3.6)−Φ(−2.4)=0.9998−0.0082=0.9916= \Phi(3.6) - \Phi(-2.4) = 0.9998 - 0.0082 = 0.9916

If you get this wrong, revise: Central Limit Theorem section.

A 95% confidence interval for the mean diameter of bolts is (10.02 mm,10.18 mm)(10.02\,\mathrm{mm}, 10.18\,\mathrm{mm}) Based on a sample of size 50. The population standard deviation is known to be σ=0.4 mm\sigma = 0.4\,\mathrm{mm}. Find the sample mean and verify the confidence interval.

Solution

The sample mean is the midpoint of the interval:

xˉ=10.02+10.182=10.10 mm\bar{x} = \frac{10.02 + 10.18}{2} = 10.10\,\mathrm{mm}

The margin of error is half the width:

E=10.18−10.022=0.08 mmE = \frac{10.18 - 10.02}{2} = 0.08\,\mathrm{mm}

Verify: E=zα/2⋅σn=1.960×0.450=1.960×0.0566=0.1109E = z_{\alpha/2} \cdot \frac{\sigma}{\sqrt{n}} = 1.960 \times \frac{0.4}{\sqrt{50}} = 1.960 \times 0.0566 = 0.1109

The calculated margin of error (0.11090.1109) exceeds the stated margin (0.080.08). This suggests the confidence interval was constructed with a different confidence level or the stated σ\sigma does not match the data. If we solve for the confidence level that gives E=0.08E = 0.08:

zα/2=0.080.4/50=0.080.0566=1.413z_{\alpha/2} = \frac{0.08}{0.4/\sqrt{50}} = \frac{0.08}{0.0566} = 1.413

This corresponds to approximately 84% confidence, not 95%.

If you get this wrong, revise: Confidence Intervals section.

X∼B(15,0.4)X \sim B(15, 0.4) and Y∼B(20,0.3)Y \sim B(20, 0.3) are independent. Find E(X+Y)E(X + Y) Var(X−Y)\mathrm{Var}(X - Y) And P(X+Y=10)P(X + Y = 10).

SolutionE(X)=15(0.4)=6,E(Y)=20(0.3)=6E(X) = 15(0.4) = 6, \quad E(Y) = 20(0.3) = 6 E(X+Y)=6+6=12E(X + Y) = 6 + 6 = 12 Var(X)=15(0.4)(0.6)=3.6,Var(Y)=20(0.3)(0.7)=4.2\mathrm{Var}(X) = 15(0.4)(0.6) = 3.6, \quad \mathrm{Var}(Y) = 20(0.3)(0.7) = 4.2 Var(X−Y)=3.6+4.2=7.8\mathrm{Var}(X - Y) = 3.6 + 4.2 = 7.8

For P(X+Y=10)P(X + Y = 10) Enumerate pairs (x,y)(x, y) where x + y = 10$$0 \le x \le 15$$0 \le y \le 20:

This requires summing over x=0x = 0 to x=10x = 10:

P(X+Y=10)=∑x=010P(X=x)P(Y=10−x)P(X + Y = 10) = \sum_{x=0}^{10} P(X = x)P(Y = 10 - x)

This is computationally intensive without a GDC, but the key principle is clear: since XX and YY are Independent binomial variables with the same success probability (p=0.3p = 0.3 and p=0.4p = 0.4 differ, So the sum is not binomial), the distribution of X+YX + Y must be found by convolution.

If you get this wrong, revise: Combining Random Variables section.

The lifetimes of batteries are normally distributed with mean 500 hours500\,\mathrm{hours} and standard Deviation 50 hours50\,\mathrm{hours}. Find the probability that a randomly selected battery lasts more than 550 hours550\,\mathrm{hours}. If four batteries are selected independently, find the probability that at Least three last more than 550 hours550\,\mathrm{hours}.

SolutionP(X>550)=P ⁣(Z>550−50050)=P(Z>1)=1−0.8413=0.1587P(X \gt 550) = P\!\left(Z \gt \frac{550 - 500}{50}\right) = P(Z \gt 1) = 1 - 0.8413 = 0.1587

Let YY be the number (out of 4) lasting more than 550 hours. Y∼B(4,0.1587)Y \sim B(4, 0.1587).

P(Y≥3)=P(Y=3)+P(Y=4)P(Y \ge 3) = P(Y = 3) + P(Y = 4) =(43)(0.1587)3(0.8413)+(0.1587)4= \binom{4}{3}(0.1587)^3(0.8413) + (0.1587)^4 =4(0.003997)(0.8413)+0.000635=0.01345+0.000635=0.01409= 4(0.003997)(0.8413) + 0.000635 = 0.01345 + 0.000635 = 0.01409

Approximately 1.4% chance that at least three out of four batteries last more than 550 hours.

If you get this wrong, revise: Normal Distribution and Binomial Distribution sections.

Use the Poisson approximation to the binomial to estimate the probability of getting 3 or more Sixes when rolling a fair die 60 times.

Solution

X∼B(60,1/6)X \sim B(60, 1/6). λ=np=60/6=10\lambda = np = 60/6 = 10.

Approximate: X≈Po(10)X \approx \mathrm{Po}(10).

Check conditions: n=60≥50n = 60 \ge 50, p=1/6≤0.1p = 1/6 \le 0.1? No, p=0.167>0.1p = 0.167 \gt 0.1. The Poisson Approximation is less accurate here but still usable as an estimate.

P(X≥3)=1−P(X≤2)=1−e−10 ⁣(1+10+1002)P(X \ge 3) = 1 - P(X \le 2) = 1 - e^{-10}\!\left(1 + 10 + \frac{100}{2}\right) =1−61e−10=1−61(0.0000454)=1−0.00277=0.9972= 1 - 61e^{-10} = 1 - 61(0.0000454) = 1 - 0.00277 = 0.9972

Exact binomial: P(X≤2)=(600)(5/6)60+(601)(1/6)(5/6)59+(602)(1/6)2(5/6)58P(X \le 2) = \binom{60}{0}(5/6)^{60} + \binom{60}{1}(1/6)(5/6)^{59} + \binom{60}{2}(1/6)^2(5/6)^{58}

This gives approximately P(X≤2)≈0.00268P(X \le 2) \approx 0.00268 So P(X≥3)≈0.9973P(X \ge 3) \approx 0.9973. The approximation is quite close despite p>0.1p \gt 0.1 because λ=10\lambda = 10 is moderate.

If you get this wrong, revise: Poisson as a Limit of the Binomial section.



Example 1: Binomial expansion

Find the first three terms in the expansion of (1+2x)10(1 + 2x)^{10} in ascending powers of xx.

Solution:

(1+2x)10=(100)(1)10(2x)0+(101)(1)9(2x)1+(102)(1)8(2x)2(1 + 2x)^{10} = \binom{10}{0}(1)^{10}(2x)^0 + \binom{10}{1}(1)^9(2x)^1 + \binom{10}{2}(1)^8(2x)^2 =1+10(2x)+45(4x2)=1+20x+180x2= 1 + 10(2x) + 45(4x^2) = 1 + 20x + 180x^2
  • P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B); P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}
  • Mutually exclusive: P(A∩B)=0P(A \cap B) = 0; independent: P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)
  • Binomial distribution: X∼B(n,p)X \sim B(n, p); P(X=k)=(nk)pk(1−p)n−kP(X = k) = \binom{n}{k}p^k(1-p)^{n-k}
  • Normal distribution: standardise with Z=X−μσZ = \frac{X - \mu}{\sigma}
TopicSiteLink
[Statistical Distributions]A-LevelView
[Statistical Distributions]IBView