Random Variables: F X Defined For All Real X
Random Variables: F X Defined For All Real X
Random Variables: F X Defined For All Real X
Random Variables
Study Material for Week 6
Lecture Four
probability p( X B) f ( x)dx .
B
b
Thus, p a X b f ( x)dx . Also, the point probability is zero, i.e., p X a 0 .
a
Axioms
b
1) 0 p a X b 1, or , 0 f ( x)dx 1
a
2) p( X B) f ( x)dx .
B
3)
f ( x)dx 1 .
Properties of c.d.f.
1) F (a ) is monotonically increasing. i.e. a b F (a) F (b)
2) lim F ( a ) 1
a
3) lim F (a ) 0
a
4) p a X b F (b) F (a)
5) p X a 1 p X a 1 F a
Examples
0 if x0
x
1. X cont. random variable with p.d.f F ( x) if 0 x2
2
1 if 2 x
1 3
Find i) p X (ii) p 1 X 2
2 2
1 3 3 1 3 1 1
i) p a X b F b F a p X F .
2 2 2 2 4 4 2
1 1
ii) p 1 X 2 F 2 F 1 1 .
2 2
2. The time in years X required to complete a software project has a p.d.f.
kx(1 x), 0 x 1
f ( x)
0 otherwise
Compute the probability that the project will be completed in less than four months.
f ( x)dx 1 k 6
Random Variables
1
The probability that the project will be completed in 4 months, i.e. less than years.
3
1/3
p X 4 f ( x) dx 0.259 .
0
(ii) x2
E ( X ) dx
4
2 3
0
2
(iii) (iii) E ( X 2 ) 2 Var( X )
9
a
(iv) F (a)
f ( x)dx
0
x 0 0dx 0
0, a 0
a
x dx a Thus F (a ) a , 0 a 2
2 2
0 x2
2
X
0
4 4
1, 2 a
2 x F (a) 1
4. X continuous random variable with probability density function
kx, 0 x2
f ( x ) 2k , 2 x4. Find k and mean.
kx 6k , 4 x6
6 2 4 6
0
f ( x) dx 1 kx dx 2k dx (kx 6k ) dx 1
0 2 4
1
Evaluating the integral and simplifying, we have 8k 1 k .
8
Random Variables
6 2 4 6
E ( X ) xf ( x) dx kx dx 2kx dx (kx 2 6kx) dx
2
0 0 2 4
2 4 6 6
x3 x2 x3 x2
k 2 k k 6k
3 0 2 2 3 4 2 4
8 152 24
k 12 60 24k 3 E X 3.
3 3 8
1 1
1
Further f ( x)dx 6 x(1 x)dx 6 1 . This proves f ( x) is pdf
0 2 3
for 0 x 1 .
ii) p X b p X b p X b 1 p X b .
4b3 6b2 1 0.
Problem Session
Q.1 Attempt the following
1) A continuous random variable X has pdf f ( x) 3x 2 , 0 x 1 .