Lecture2 Probablity
Lecture2 Probablity
f ( x)dx 1
f ( x) P( X B)
f ( x)dx P (a X b)
f ( x)dx 1/ 2dx
0
1
x 1 0 1
2 0
That is, as with all continuous pdfs, the total area under
the curve is 1. We might use this random variable to
model the position at which a two-meter with length of
rope breaks when put under tension, assuming every
point is equally likely. Then the probability the break
occurs in the last 2half-meter2 of the rope2 is
P (3 / 2 X 2)
3/ 2
f ( x) dx 1/ 2dx
3/ 2
1
x 1/ 4
2 3/ 2
f ( x)dx
lim e
t
x / 750 t
0
t
1 x / 750
e
dx lim e x / 750 dx
t 0
750
lim e 0 e 750 / t 1 0 1
t
500
1 x / 750
x / 750 500
e
dx e
e 2 / 3 1 0.487
0
750
Cumulative Distribution
Functions
The cdf of a continuous random variable has
the same definition as that for a discrete
random variable. That is,
F ( x) P ( X x)
f (t )dt
Cumulative Distribution
Functions
Knowing the cdf of a random variable greatly
facilitates computation of probabilities
involving that random variable since, by the
Fundamental Theorem of Calculus,
P(a X b) F (b) F (a )
Cumulative Distribution
Functions
In the second example above, F(x)=0 if x is
negative and for nonnegative x we have
F ( x)
1 t / 750
t / 750 x
e
dt e
e x / 750 1 1 e x / 750
0
750
Cumulative Distribution
Functions
In the first example above F(x)=0 for negative x,
F(x)=1 for x greater than 2 and F(x)=x/2 for x
between 0 and 2 since for such x we have
x
1
1
F ( x) 1/ 2dt t x
0
2 0 2
x
Cumulative Distribution
Functions
If X is a continuous random variable, then its
cdf is a continuous function. Moreover,
lim F ( x) 0
and
lim F ( x) 1
x
E ( X ) xf ( x)dx
Var ( X ) E (( X ) )
2
E (h( X )) h( x) f ( x)dx
E (aX b) aE ( X ) b
The proof depends on the linearity of the definite
integral (even an improper Riemann integral).
SD(aX b) a SD( X )
E( X )
21
1 2
1
x dx x dx x 1 0 1
0 4
4 0
2
1 3
1
1
x dx 1 x 1
6 0
3
2
2
and consequently
1
1
3
SD( X )
0.577
3
3
3
This result seems plausible.