18.5. Linearity of Expectation 771
18.5.8 Expectations of Products
While the expectation of a sum is the sum of the expectations, the same is usually
not true for products. For example, suppose that we roll a fair 6-sided die and
denote the outcome with the random variableR. Does ExŒRRçDExŒRçExŒRç?
We know that ExŒRçD 312 and thus ExŒRç^2 D 1214. Let’s compute ExŒR^2 çto
see if we get the same result.
Ex
R^2
D
X
! 2 S
R^2 .!/PrŒwçD
X^6
iD 1
i^2 PrŒRiDiç
D
12
6
C
22
6
C
32
6
C
42
6
C
52
6
C
62
6
D15 1=6¤12 1=4:
That is,
ExŒRRç¤ExŒRçExŒRç:
So the expectation of a product is not always equal to the product of the expecta-
tions.
There is a special case when such a relationshipdoeshold however; namely,
when the random variables in the product areindependent.
Theorem 18.5.6.For any twoindependentrandom variablesR 1 ,R 2 ,
ExŒR 1 R 2 çDExŒR 1 çExŒR 2 ç:
The proof follows by rearrangement of terms in the sum that defines ExŒR 1 R 2 ç.
Details appear in Problem 18.25.
Theorem 18.5.6 extends routinely to a collection of mutually independent vari-
ables.
Corollary 18.5.7.[Expectation of Independent Product]
If random variablesR 1 ;R 2 ;:::;Rkare mutually independent, then
Ex
2
4
Yk
iD 1
Ri
3
(^5) D
Yk
iD 1
ExŒRiç:
Problems for Section 18.2
Practice Problems
Problem 18.1.
LetIAandIBbe the indicator variables for eventsAandB. Prove thatIAandIB
are independent iffAandBare independent.