94 Chapter 4:Random Variables and Expectation
In words, Equation 4.2.1 states that the probability thatXwill be inBmay be obtained
by integrating the probability density function over the setB. SinceXmust assume some
value,f(x) must satisfy
1 =P{X∈(−∞,∞)}=∫∞−∞f(x)dxAll probability statements aboutXcan be answered in terms off(x). For instance, letting
B=[a,b], we obtain from Equation 4.2.1 that
P{a≤X≤b}=∫baf(x)dx (4.2.2)If we leta=bin the above, then
P{X=a}=∫aaf(x)dx= 0In words, this equation states that the probability that a continuous random variable will
assume anyparticularvalue is zero. (See Figure 4.3.)
The relationship between the cumulative distributionF(·) and the probability density
f(·) is expressed by
F(a)=P{X∈(−∞,a]} =∫a−∞f(x)dxDifferentiating both sides yields
d
daF(a)=f(a)a1Area of shaded region = P { a < X < b }xf(x) = e−xbFIGURE 4.3 The probability density function f(x)=
{
e−x x≥ 0
0 x< 0.