You are on page 1of 2

for x outside [2, 5], hence:

∫ ∞ ∫ 5
1= f (x) dx c dx = c(5 − 2) = 3c ,
= 2
−∞
so c = 1/3. Hence
1.7. PARTIAL
. FRACTIONS 2
1/3 if 2 ≤ x ≤ 5,
f (x) =
0 otherwise.

2.6.1. Means. The mean or average of a discrete random variable that


takes values x1, x2, . . . , xn with probabilities p1, p2, . . . , pn respec- tively is
n
Σ
x = x1p1 + x2p2 + · · · + xnpn = x ipi .
i=1

For instance the mean value of the points obtained by rolling a dice is
1 1 1 1 11 7
1· +2· +3· +4· +5·
+ 6 · = = 3.5 .
6 6 6 6 6 6 2
This means that if we roll the dice many times in average we may expect to
get about 3.5 points per roll.
For continuous random variables the probability is replaced with the
probability density function, and the sum becomes an integral:

µ = x = ∞ xf (x) dx .
−∞

2.6.2. Waiting Times. The time that we must wait for some event to
occur (such as receiving a telephone call) can be modeled with a random
variable of density
.
0 if t < 0,
f (t) = ce−ct
if t ≥ 0,

were c is a positive constant. Note that, as expected:


Σ Σ∞
∫ ∞ f (t) dt = ∫ ∞ ce−ct dx = −e−ct = lim {−e−cu − (−e0)} = 1 .
0 u→
− 0
∞ ∞

You might also like