Professional Documents
Culture Documents
1 4 6 4 1
= 0. 1. 2. 3. 4.
16 16 16 16 16
=2
4
E(X ) x i2 P(X x i )
2
i 0
= 1 4 6 4 1
0. 1. 4. 9. 16.
16 16 16 16 16
=5
=5-4
=1
Exercise 1: A PDF of a random variable X is given by
3e 3x for x 0
f X (x)
0 o/w
Find (i) 𝐸 (𝑋) and (ii) 𝑉𝑎𝑟 (𝑋)
Solution:-
E(X) x.f
X (x).dx
0
3x
=0+ x.3e dx
0
= 1
3
E(X 2 ) .f X (x).dx
2
x
0
X .f X (x)dx
2 2
= x .f (x)dx x
0
=0+
2 3x
x .3e dx
0
= 2
9
Var(X) E(X 2 ) E(X)
2
2 1
= -
9 9
= 1
9
Exercise 2:
If the PDF of X is given by
2(1 x) for 0 x 1
f X (x)
0 o/w
2
Show that E(X r ) and use this result to evaluate E[(2X 1) 2 ]
(r 1)(r 2)