Two PDFs come up so often they have ready-made formulas — learn these and you skip the integration. The uniform (rectangular) is a flat box: every value equally likely. The exponential is a decay curve: the waiting time between rare (Poisson) events.
Uniform & exponential: know the results
Left: a uniform (rectangular) density is a flat box. Right: an exponential density decays from a peak at t = 0.
Uniform (rectangular)
f(x)=b−a1 on [a,b] (flat, so total area =b−a1⋅(b−a)=1). By symmetry the centre is the mean and the median; the box has no mode (no single peak).
mean=median=2a+b,Var(X)=12(b−a)2
Uniform on [a, b]: mean = median = (a+b)/2, variance = (b−a)²/12, no mode. No integration needed.
Worked example
Easiest first: a uniform distribution
Arrival time is uniform on [0,8], so f(x)=81. Read the summaries straight off.
mean=median=20+8=4,Var(X)=1282=316≈5.33
Answer
mean=median=4,Var(X)=316≈5.33
Exponential
f(t)=λe−λt for t≥0. The tail has a shortcut: P(T>a)=e−λa (so P(T<a)=1−e−λa). The mean and variance are also fixed: E(T)=λ1, Var(T)=λ21.
Exponential f = λe^(−λt): P(T > a) = e^(−λa), E(T) = 1/λ, Var(T) = 1/λ². It models the wait between Poisson events.
Worked example
An exponential distribution
A battery's lifetime is exponential with f(t)=0.2e−0.2t, t≥0 (so λ=0.2).
Tail: P(T>1.5)=e−0.2×1.5=e−0.3=0.741 (no integration needed).
Mean: E(T)=0.21=5 years.
Variance: Var(T)=0.221=25.
Answer
P(T>1.5)≈0.741,E(T)=5,Var(T)=25
Uniform on [a,b]
Exponential λe^(−λt)
f
1/(b−a)
λe^(−λt), t ≥ 0
P(X>c)
(b−c)/(b−a)
e^(−λc)
mean
(a+b)/2
1/λ
median
(a+b)/2
(ln 2)/λ
variance
(b−a)²/12
1/λ²
Why exponential = Poisson wait-time
If events arrive as Po(λ) per unit time, then the wait T until the next one is exponential with that same λ. “No event before time a” is P(Po=0)=e−λa — exactly the exponential tail P(T>a). The two distributions are the same fact seen from two angles.
Examiner note
Quote the formula and state which model you are using; for an exponential tail use e−λa directly rather than re-integrating. (9709/62/O/N/24 Q2)
Common mistake
Mixing up E(T)=λ1 with λ itself; forgetting the box has no mode; and a sign slip on the ∞ limit (e−λt→0, so P(T>a)=e−λa, not 1−e−λa).