Moments of a random variable 533
DEFINITION 20.29 The median of a random variable X with distribution
function F is the number
x
1/2
= inf
§
x ∈ R ; F (x) ¾
1
2
ª
.
If F is continuous, then x
1/2
is a solution of the equation F (x) =
1
2
. If,
moreover, F is strictly increasing, th is is the unique solution.
Example 20.30 The median occurs frequently in economics and statistics. The median salary
of a population, for instance, is the salary such that half of the population earn less, and half
earns more. It is therefore different from the average salary.
Take for instance the case of six individuals, named Angelo, Bianca, Corin, Dolabella,
Emilia, and Fang, with salaries as follows:
Angelo 5000 Bianca 9000 Corin 9000
Dolabella 9000 Emilia 5000 Fang 11000
The average salary is $8000. However, $8000 is not the median salary, since only two
persons earn less, and four earn more. In this example, the median salary is $9000.
If three other persons are added to the sample, Grumio, Hamlet and Imogen, earning
$6000, $7 0 0 0 and $8500, respectively, then the median salary becomes $8500.
Example 20.31 (Half-life and lifetime) Consider a radioactive particle that may disintegrate at
any moment. Start the experiment at time t = 0 (the particle has not yet disinteg rated) and
assume that the probability that it does disintegrate during an infinitesimal time interval dt i s
equal to α dt (independently of t). As in Sectio n 20.4.b, one can show that t h e probability that
the parti cle be intact at time t is given by
F (t) = e
−αt
.
The median of the random variable “time before disintegration” is calle d the half-life (the
probability of disintegration during this length of time is
1
2
). To compute it , we must solve the
equation
F (t
1/2
) = exp{−α t
1/2
} =
1
2
,
and therefore we have t
1/2
= (log 2)/α. Note that the expectation of thi s r.v., which is called
the (average) lifetime of the particle, is equal to 1/α. Indeed, the probability density for
disintegration at time t is given by
f (t) = −F
′
(t) = α e
−αt
,
and the expectation is therefore
τ =
Z
t f (t) dt =
Z
tα e
−αt
dt =
1
α
=
t
1/2
log 2
> t
1/2
.
It is such that F (τ) = 1/e.