Chapter 4 2022
Chapter 4 2022
Chapter 4
Mathematical Expectation
V(X) (x
E 2
) [ E ( x)]2 2
2
Dr. Yehya Mesalam
Expected Value
Continuous RV
E(X) x f(x
range x
)μ
E(X ) x f(x )
2 2
range x
E(X ) x f(x )
K K
range x
E(any
thing) (any thing) f(x)
V(X)
(x - ) f(x
2 2
)
range x
V(X) (x
E 2
) [ E ( x)]2 2
3
Dr. Yehya Mesalam
Expected Value
If a and b are constants, then
E (ax b) a.E ( x) b
V (ax b) σ axb a . a
2 2 2
x
2 2
V (ax) σ a . x a
2
ax
2 2 2 2
5
Dr. Yehya Mesalam
Solution
• Let X represent the number of good components in
the sample
• The probability distribution of X is 3
4
4 3 G D
x
3 x
f ( x )
G
7 D
3
{3
0} .
2 1
1 2
X =0, 1, 2, 3 0 3
6
Dr. Yehya Mesalam
Solution
X 0 1 2 3 Sum
V(X) 2 E(x 2
) [ E( x)]2 120 (60 )2 0.3647
35 35
7
Dr. Yehya Mesalam
Example
• Let X be the random variable that denotes the
life in hours of a certain electronic device. The
probability density function is
9
Dr. Yehya Mesalam
Example
• Suppose that the number of cars X that pass through a
car wash between 4:00 P.M. and 5:00 P.M. on any
sunny Friday has the following probability
distribution:
11
Dr. Yehya Mesalam
Summary Measures
1. Expected Value (Mean of probability distribution)
• Weighted average of all possible values
• = E(x) = x p(x)
2. Variance
• Weighted average of squared deviation about
mean
• 2 = E[(x 2(x 2p(x)
3. Standard Deviation
● 2
12
Dr. Yehya Mesalam
Summary Calculation Table
13
Dr. Yehya Mesalam
Expected Value & Variance
Solution
2 E[(x 2
21.51.00.5 .71
15
Dr. Yehya Mesalam
Joint Probability function
Let X and Y be random variables with joint probability
distribution f(x, y). The mean, or expected value, of the
random variable g(X, Y ) is
16
Dr. Yehya Mesalam
Example
Let X and Y be the random variables with joint probability
distribution indicated in Table on slid 25from chapter 3.
Find the expected value of g(X, Y ) = XY . The table is
reprinted here for convenience.
17
Dr. Yehya Mesalam
Solution
18
Dr. Yehya Mesalam
Solution
19
Dr. Yehya Mesalam
Example
Resolve the pervious example using g(X, Y ) = X+Y
Solution
20
Dr. Yehya Mesalam
Solution
g(X, Y ) = X+Y
V (ax) σ a . x a
2
ax
2 2 2 2