Professional Documents
Culture Documents
Thinking Challenge
∞
• 𝐸 [𝑋] = −∞
𝑥. 𝑓𝑋 𝑥 𝑑𝑥 when 𝑋 is continuous
Example 1:
• The pdf of weekly gravel sales 𝑋 was
3 1 − 𝑥2
𝑓𝑋 𝑥 = 𝑖𝑓 0 ≤ 𝑥 ≤ 1
2
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
∞
So 𝐸(𝑋) = −∞ 𝑥. 𝑓𝑋 𝑥 𝑑𝑥
1 3 1−𝑥 2 3
= 0
𝑥. 𝑑𝑥 =
2 8
Variance (𝝈𝟐𝑿 )
• 𝑆𝐷(𝑋) = 𝑉𝑎𝑟(𝑋)
i.e., The standard deviation is the positive square root of the
Variance.
Example 1 (Continued)
𝜎𝑋 = 𝑉𝑎𝑟(𝑋) = 0.059 = 0.244
Laws of the Expected Value
• 𝐸[𝑎] = 𝑎 𝑎-constant
• 𝐸 [𝑎𝑋] = 𝑎 𝐸[𝑋]
• 𝐸 [ 𝑎𝑋 + 𝑏] = 𝑎 𝐸[𝑋] + 𝑏
• Let 𝑋1, 𝑋2, … … . 𝑋𝑛 be random variables on the same sample space
then
𝐸[𝑋1 + 𝑋2 … … . +𝑋𝑛] = 𝐸[𝑋1] + 𝐸[𝑋2] + ⋯ … … + 𝐸[𝑋𝑛]
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
Example 6: 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 1:
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)
Exercise 2:
Suppose that the probability function shown below reflects the
possible lifetimes (in months after emergence) for fruit flies.