Introduction

Continuous random variables describe measurements: a random point on an interval, the lifetime of a component, the time between requests, or exam marks spread around an average. Three continuous distributions cover the GATE syllabus. The uniform spreads probability evenly over an interval, the exponential models waiting times with no memory, and the normal describes sums of many small independent effects. For each, know the pdf, cdf, mean and variance, and the standard tricks: memorylessness for the exponential and standardisation for the normal.

Prerequisites

Core concepts

Continuous uniform

X∼U(a,b)X \sim U(a, b), a<ba < b, has constant density on [a,b][a, b]:

f(x)=1b−a (a≤x≤b),F(x)=x−ab−a (a≤x≤b),E[X]=a+b2,Var⁡(X)=(b−a)212.f(x) = \frac{1}{b - a} \ (a \le x \le b), \qquad F(x) = \frac{x - a}{b - a} \ (a \le x \le b), \qquad E[X] = \frac{a + b}{2}, \qquad \operatorname{Var}(X) = \frac{(b - a)^2}{12}.

(F=0F = 0 left of aa and F=1F = 1 right of bb.) Probabilities are proportional to length: P(c≤X≤d)=(d−c)/(b−a)P(c \le X \le d) = (d - c)/(b - a) for a≤c≤d≤ba \le c \le d \le b. Compare the discrete uniform variance (n2−1)/12(n^2 - 1)/12.

Exponential

X∼Exp(λ)X \sim \text{Exp}(\lambda) with rate λ>0\lambda > 0:

f(x)=λe−λx,F(x)=1−e−λx,P(X>x)=e−λx(x≥0),f(x) = \lambda e^{-\lambda x}, \quad F(x) = 1 - e^{-\lambda x}, \quad P(X > x) = e^{-\lambda x} \qquad (x \ge 0),
E[X]=1λ,Var⁡(X)=1λ2,median=ln⁡2λ.E[X] = \frac{1}{\lambda}, \qquad \operatorname{Var}(X) = \frac{1}{\lambda^2}, \qquad \text{median} = \frac{\ln 2}{\lambda}.

Rate versus mean. Some books parametrise by the mean θ=1/λ\theta = 1/\lambda and write f(x)=1θe−x/θf(x) = \frac{1}{\theta}e^{-x/\theta}. Always check whether a given number is a rate or a mean.

Memoryless property. For s,t≥0s, t \ge 0,

P(X>s+t∣X>s)=e−λ(s+t)e−λs=e−λt=P(X>t).P(X > s + t \mid X > s) = \frac{e^{-\lambda(s + t)}}{e^{-\lambda s}} = e^{-\lambda t} = P(X > t).

A component that has survived ss hours is "as good as new". The exponential is the only continuous distribution on [0,∞)[0, \infty) with this property; it is the continuous analogue of the geometric.

Link with Poisson. If events occur as a Poisson process at rate λ\lambda (the count in any interval of length tt is Poisson(λt)(\lambda t), with independent counts in disjoint intervals), then the waiting time to the first event, and between events, is Exp(λ)\text{Exp}(\lambda). Indeed P(T>t)=P(no events in [0,t])=e−λtP(T > t) = P(\text{no events in } [0, t]) = e^{-\lambda t}.

Minimum of exponentials. If X1∼Exp(λ1)X_1 \sim \text{Exp}(\lambda_1) and X2∼Exp(λ2)X_2 \sim \text{Exp}(\lambda_2) are independent, then min⁡(X1,X2)∼Exp(λ1+λ2)\min(X_1, X_2) \sim \text{Exp}(\lambda_1 + \lambda_2) and P(X1<X2)=λ1/(λ1+λ2)P(X_1 < X_2) = \lambda_1/(\lambda_1 + \lambda_2).

Exponential density and memoryless property
Figure 1. The exponential density with λ=1\lambda = 1. The tail beyond s+ts + t, rescaled by the tail beyond ss, has the same shape as the whole density: the conditional distribution of the remaining wait does not depend on ss.

Normal (Gaussian)

X∼N(μ,σ2)X \sim N(\mu, \sigma^2) (second parameter is the variance) with σ>0\sigma>0 has density

f(x)=1σ2πexp⁡ ⁣(−(x−μ)22σ2),−∞<x<∞,f(x) = \frac{1}{\sigma\sqrt{2\pi}} \exp\!\left(-\frac{(x - \mu)^2}{2\sigma^2}\right), \qquad -\infty < x < \infty,

with E[X]=μE[X] = \mu and Var⁡(X)=σ2\operatorname{Var}(X) = \sigma^2. The curve is bell-shaped and symmetric about μ\mu, so mean, median and mode are all μ\mu; its inflection points are at μ±σ\mu \pm \sigma; the maximum height is 1/(σ2π)1/(\sigma\sqrt{2\pi}).

Standardisation. Z=(X−μ)/σ∼N(0,1)Z = (X - \mu)/\sigma \sim N(0, 1), the standard normal, with cdf Φ\Phi. Hence

P(a≤X≤b)=Φ ⁣(b−μσ)−Φ ⁣(a−μσ),Φ(−z)=1−Φ(z).P(a \le X \le b) = \Phi\!\left(\frac{b - \mu}{\sigma}\right) - \Phi\!\left(\frac{a - \mu}{\sigma}\right), \qquad \Phi(-z) = 1 - \Phi(z).

Φ\Phi has no closed form; a table, or the question, supplies values, or these standard ones are used: Φ(1)≈0.8413\Phi(1) \approx 0.8413, Φ(1.645)≈0.95\Phi(1.645) \approx 0.95, Φ(1.96)≈0.975\Phi(1.96) \approx 0.975, Φ(2)≈0.9772\Phi(2) \approx 0.9772, Φ(3)≈0.99865\Phi(3) \approx 0.99865.

Empirical rule. P(∣X−μ∣≤kσ)≈0.6827,0.9545,0.9973P(|X - \mu| \le k\sigma) \approx 0.6827, 0.9545, 0.9973 for k=1,2,3k = 1, 2, 3. Compare Chebyshev's distribution-free bounds of at least 0,0.75,0.8890, 0.75, 0.889.

Normal curve with sigma regions
Figure 2. The standard normal density with the regions within 1, 2 and 3 standard deviations of the mean shaded, containing about 68.27%, 95.45% and 99.73% of the probability.

Linear combinations. If X∼N(μ,σ2)X \sim N(\mu, \sigma^2), then aX+b∼N(aμ+b,a2σ2)aX + b \sim N(a\mu + b, a^2\sigma^2) for a≠0a \ne 0. If X1,…,XnX_1, \ldots, X_n are independent normals, any linear combination ∑ciXi\sum c_i X_i is normal with mean ∑ciμi\sum c_i\mu_i and variance ∑ci2σi2>0\sum c_i^2\sigma_i^2>0; if this sum is zero, the combination is constant rather than a nondegenerate normal.

Central limit theorem (informal). The sum of many independent, identically distributed RVs with finite variance is approximately normal. Consequently Bin(n,p)≈N(np,npq)\text{Bin}(n, p) \approx N(np, npq) when npnp and nqnq are both reasonably large (a common guide is at least 5 or 10). Use a continuity correction: P(X≥k)≈P(Y≥k−0.5)P(X \ge k) \approx P(Y \ge k - 0.5) for the normal approximation YY.

Mean, median and mode compared

DistributionMeanMedianMode
U(a,b)U(a, b)(a+b)/2(a + b)/2(a+b)/2(a + b)/2every point of [a,b][a, b] (no unique mode)
Exp(λ)\text{Exp}(\lambda)1/λ1/\lambdaln⁡2/λ\ln 2/\lambda0
N(μ,σ2)N(\mu, \sigma^2)μ\muμ\muμ\mu

The exponential is right-skewed, so mode << median << mean, the order described in Descriptive Statistics. The median always solves F(m)=1/2F(m) = 1/2.

Summary table

Distributionpdf on supportMeanVarianceKey property
U(a,b)U(a, b)1/(b−a)1/(b - a) on [a,b][a, b](a+b)/2(a + b)/2(b−a)2/12(b - a)^2/12probability proportional to length
Exp(λ)\text{Exp}(\lambda)λe−λx\lambda e^{-\lambda x}, x≥0x \ge 01/λ1/\lambda1/λ21/\lambda^2memoryless
N(μ,σ2)N(\mu, \sigma^2)bell curveμ\muσ2\sigma^2standardise to ZZ

Worked examples

Example 1: uniform

X∼U(0,10)X \sim U(0, 10). P(3<X<7)=4/10=0.4P(3 < X < 7) = 4/10 = 0.4; E[X]=5E[X] = 5; Var⁡(X)=100/12=25/3\operatorname{Var}(X) = 100/12 = 25/3.

Example 2: bulb lifetimes

Lifetimes are exponential with mean 1000 hours, so λ=1/1000\lambda = 1/1000. P(lasts more than 1000 h)=e−1≈0.3679P(\text{lasts more than } 1000 \text{ h}) = e^{-1} \approx 0.3679. Given it has lasted 500 hours, the probability it lasts beyond 1500 hours is again e−1e^{-1}. The median lifetime is 1000ln⁡2≈6931000 \ln 2 \approx 693 hours, less than the mean because the distribution is right-skewed.

Example 3: exam marks

Marks are N(60,102)N(60, 10^2). P(X>80)=1−Φ(2)≈0.0228P(X > 80) = 1 - \Phi(2) \approx 0.0228. P(50<X<70)=Φ(1)−Φ(−1)≈0.6827P(50 < X < 70) = \Phi(1) - \Phi(-1) \approx 0.6827.

Example 4: comparing two normals

X∼N(10,9)X \sim N(10, 9) and Y∼N(5,16)Y \sim N(5, 16) are independent. Then X−Y∼N(5,25)X - Y \sim N(5, 25) (variances add), so P(X>Y)=P(Z>−1)=Φ(1)≈0.8413P(X > Y) = P(Z > -1) = \Phi(1) \approx 0.8413.

Example 5: normal approximation to binomial

100 fair coin tosses; P(at least 60 heads)P(\text{at least } 60 \text{ heads}). Mean 50, standard deviation 5. With continuity correction: P(Z≥(59.5−50)/5)=1−Φ(1.9)≈0.0287P(Z \ge (59.5 - 50)/5) = 1 - \Phi(1.9) \approx 0.0287. The exact binomial value is about 0.02840.0284.

Example 6: racing servers

Two independent servers finish jobs after Exp(2)\text{Exp}(2) and Exp(3)\text{Exp}(3) hours. The first completion time is Exp(5)\text{Exp}(5), with mean 1/51/5 hour = 12 minutes, and server 1 finishes first with probability 2/52/5.

Example 7: a cut-off from a percentile

With marks N(60,102)N(60, 10^2) as in Example 3, the cut-off cc for the top 10% satisfies Φ((c−60)/10)=0.90\Phi((c - 60)/10) = 0.90. From tables Φ(1.2816)≈0.90\Phi(1.2816) \approx 0.90, so c≈60+12.8=72.8c \approx 60 + 12.8 = 72.8. Percentile questions run the standardisation backwards: x=μ+zσx = \mu + z\sigma.

Example 8: memory in the uniform

Contrast with the exponential. If X∼U(0,4)X \sim U(0, 4), then P(X>1)=3/4P(X > 1) = 3/4 but

P(X>2∣X>1)=P(X>2)P(X>1)=2/43/4=23≠P(X>1).P(X > 2 \mid X > 1) = \frac{P(X > 2)}{P(X > 1)} = \frac{2/4}{3/4} = \frac{2}{3} \ne P(X > 1).

Having already waited 1 unit makes a further wait of 1 unit less likely, because the support ends at 4. Only the exponential (continuous) and the geometric (discrete) forget the past.

Example 9: exponential moments by integration by parts

E[X]=∫0∞xλe−λx dx=∫0∞e−λx dx=1/λE[X] = \int_0^\infty x\lambda e^{-\lambda x}\,dx = \int_0^\infty e^{-\lambda x}\,dx = 1/\lambda (parts, or the tail formula E[X]=∫0∞P(X>x) dxE[X] = \int_0^\infty P(X > x)\,dx). Similarly E[X2]=2/λ2E[X^2] = 2/\lambda^2, so Var⁡(X)=2/λ2−1/λ2=1/λ2\operatorname{Var}(X) = 2/\lambda^2 - 1/\lambda^2 = 1/\lambda^2.

Example 10: minimum, maximum and gap of two uniforms

X,YX, Y independent and uniform on [0,1][0, 1]. P(max⁡(X,Y)≤t)=t2P(\max(X, Y) \le t) = t^2 and P(min⁡(X,Y)>t)=(1−t)2P(\min(X, Y) > t) = (1 - t)^2 for 0≤t≤10 \le t \le 1, so by the tail formula E[max⁡]=∫01(1−t2) dt=2/3E[\max] = \int_0^1 (1 - t^2)\,dt = 2/3 and E[min⁡]=∫01(1−t)2 dt=1/3E[\min] = \int_0^1 (1 - t)^2\,dt = 1/3. Since ∣X−Y∣=max⁡−min⁡|X - Y| = \max - \min, E∣X−Y∣=1/3E|X - Y| = 1/3. For nn independent uniforms, E[max⁡]=n/(n+1)E[\max] = n/(n + 1) and E[min⁡]=1/(n+1)E[\min] = 1/(n + 1).

Example 11: parallel servers

Two servers work in parallel, each failing after an independent Exp(λ)(\lambda) time, and the system fails when both have failed. P(system alive at t)=1−(1−e−λt)2P(\text{system alive at } t) = 1 - (1 - e^{-\lambda t})^2. By memorylessness, the first failure comes after a mean 1/(2λ)1/(2\lambda) (minimum of two exponentials, rate 2λ2\lambda), and the survivor then lasts a fresh mean 1/λ1/\lambda, so the expected system lifetime is 12λ+1λ=32λ\frac{1}{2\lambda} + \frac{1}{\lambda} = \frac{3}{2\lambda}. With λ=0.1\lambda = 0.1 per hour this is 15 hours, and the system is still alive at t=10t = 10 with probability 1−(1−e−1)2≈0.60041 - (1 - e^{-1})^2 \approx 0.6004.

Important properties and observations

  • For every continuous RV, P(X=x)=0P(X = x) = 0, so endpoints never matter.
  • The exponential mean equals its standard deviation; the normal has mean and variance as free parameters.
  • N(μ,σ2)N(\mu, \sigma^2) is written with the variance. If a question writes N(60,10)N(60, 10), check whether 10 is the variance or the standard deviation.
  • Sums of independent uniforms are not uniform (two U(0,1)U(0, 1) add to a triangular density).

GATE examination perspective

  • Memorylessness. Conditional survival probabilities for exponential lifetimes reduce to unconditional ones.
  • Mean, variance, cdf. Direct integration for uniform and exponential; E[X2]E[X^2] for the exponential is 2/λ22/\lambda^2.
  • Standardisation. Convert to ZZ and use symmetry Φ(−z)=1−Φ(z)\Phi(-z) = 1 - \Phi(z).
  • Trap: confusing rate with mean in the exponential.
  • Trap: subtracting variances for X−YX - Y.
  • Order statistics of uniforms. P(max⁡≤t)=tnP(\max \le t) = t^n; E[max⁡]=n/(n+1)E[\max] = n/(n + 1), E[min⁡]=1/(n+1)E[\min] = 1/(n + 1) on [0,1][0, 1] (Example 10).
  • Series and parallel lifetimes. Series systems fail at the minimum (rates add); parallel systems at the maximum (Example 11).

Summary

Sources

  1. S. Ross, A First Course in Probability, 8th ed., Pearson Prentice Hall, 2010, Chapter 5 (Continuous Random Variables), Sections 5.3 (The Uniform Random Variable), 5.4 (Normal Random Variables, including 5.4.1 The Normal Approximation to the Binomial Distribution) and 5.5 (Exponential Random Variables), and Section 8.3 (The Central Limit Theorem).

Next steps