Topic 1 Fundamentals of Probability (Wooldridge, Appendix B) Tutorial Exercise 1: In mathematics, the symbol ∑ (the Greek letter “Sigma”) denotes the summation operator, which is defined as the sum of a sequence of numbers, as follows: π₯ = π₯ +π₯ +β―+ π₯ . Show the following results are true: (i) ∑ ππ₯ = π ∑ (ii) ∑ π = ππ (iii) ∑ (π₯ + π¦ ) = ∑ π₯ π₯ +∑ π¦ Learning outcome: The purpose of this exercise is to practise our skills on working with the summation operator. Solution: We merely apply the definition of the summation operator throughout. (i) ∑ ππ₯ = ππ₯ + ππ₯ + β― + ππ₯ = π(π₯ + π₯ + β― + π₯ ) = π ∑ (ii) ∑ π = π + π + β― + π = π(1 + 1 + β― + 1) = ππ = ππ. (iii) ∑ (π₯ + π¦ ) = (π₯ + π¦ ) + (π₯ + π¦ ) + β― + (π₯ + π¦ ) = π₯ + π¦ +π₯ +π¦ +β―+ π₯ +π¦ = π₯ + π₯ + β―+ π₯ + π¦ + π¦ +β―+ π¦ = π₯ + π¦. π₯. Tutorial Exercise 2: Let π and π be two discrete random variables. Prove the following results: (i) (ii) (iii) (iv) (v) (vi) (vii) For any constant π, πΈ(π) = π. For any constants π and π, πΈ(ππ + π) = ππΈ(π) + π. πΈ(π|π) = πΈ(π) if π and π are independent. For any constant π, πππ(π) = 0 For any constants π and π, πΈ(ππ + ππ) = ππΈ(π) + ππΈ(π). πππ(ππ + ππ) = π πππ(π) + π πππ(π) + 2πππΆππ£(π, π). πΆππ£(ππ, ππ) = πππΆππ£(π, π). Learning outcome: The purpose of this exercise is to deepen our understanding on the properties of the expectation operator (expected value), the variance and the covariance. Hint: Given a random discrete random variable π, let π(π) be a new discrete random variable, for some real-valued function π(. ). Make use of the definition of the expected value of π(π), which is given by πΈ[π(π)] = π(π₯ )π(π₯ ) + π(π₯ )π(π₯ ) + β― + π(π₯ )π(π₯ ) = π π₯ π π₯ . Since (i) is a special case of (ii), you may complete (ii) first. Solution: We apply the above formula repeatedly. In particular, (i) let π(π) = π + πΌπ = π + 0π = π, where πΌ = 0. We have πΈ[π(π)] = π(π₯ )π(π₯ ) + π(π₯ )π(π₯ ) + β― + π(π₯ )π(π₯ ) = (π + πΌπ₯ )π(π₯ ) + (π + πΌπ₯ )π(π₯ ) + β― + (π + πΌπ₯ )π(π₯ ) = (π + 0π₯ )π(π₯ ) + (π + 0π₯ )π(π₯ ) + β― + (π + 0π₯ )π(π₯ ) = ππ(π₯ ) + ππ(π₯ ) + β― + ππ(π₯ ) = π[π(π₯ ) + π(π₯ ) + β― + π(π₯ )] =π π π₯ = π, where the last equality holds because ∑ π π₯ π(π = π₯ ) + π(π = π₯ )+. . . +π(π = π₯ ) = 1. (ii) = π(π₯ ) + π(π₯ ) + β― + π(π₯ ) = Let π(π) = ππ + π. We have πΈ[π(π)] = π(π₯ )π(π₯ ) + π(π₯ )π(π₯ ) + β― + π(π₯ )π(π₯ ) = (ππ₯ + π)π(π₯ ) + (ππ₯ + π)π(π₯ ) + β― + (ππ₯ + π)π(π₯ ) = ππ₯ π(π₯ ) + ππ(π₯ ) + ππ₯ π(π₯ ) + ππ(π₯ ) + β― + ππ₯ π(π₯ ) + ππ(π₯ ) = ππ₯ π(π₯ ) + β― + ππ₯ π(π₯ ) + ππ(π₯ ) + β― + ππ(π₯ ) =π π₯ π π₯ +π π π₯ = ππΈ(π) + π. (iii) We have π | (π¦|π₯) = π , (π₯, π¦) π (π₯)π (π¦), = = π (π¦). π (π₯) π (π₯) Where the second equality is due to the fact that π and π are independent. Therefore, πΈ(π|π = π₯) = π¦ π | (π¦ |π₯) + π¦ π | (π¦ |π₯) + β― + π¦ π | (π¦ |π₯) = π¦ π (π¦ ) + π¦ π (π¦ ) + β― + π¦ π (π¦ ) = (iv) π¦π π¦ = πΈ(π). Let π(π) = π + 0π = π ⇒ [π(π)] = π . The variance of π(π) is given by πππ[π(π)] = πΈ[π(π) ] − πΈ π(π) We have already shown that πΈ π(π) = π ⇒ πΈ π(π) . = π . On the other hand, πΈ[π(π) ] = [π(π₯ )] π(π₯ ) + [π(π₯ )] π(π₯ ) + β― + [π(π₯ )] π(π₯ ) = π π(π₯ ) + π π(π₯ ) + β― + π π(π₯ ) =π ∴ πππ(π) = π − π = 0. π π₯ =π . (v) Let π(π, π) = ππ + ππ. We have πΈ[π(π, π)] = ππ₯ + ππ¦ π , π₯ ,π¦ , = =π ππ₯ + ππ¦ π π₯ π =π , π₯ ,π¦ + π π₯ π (π₯ ) + π π₯ ,π¦ , π¦ π , π₯ ,π¦ π¦π π¦ = ππΈ(π) + ππΈ(π), where the second-to-last equality is due to the Law of Total Probability, which states that ∑ π , π₯ , π¦ = π (π₯ ) and ∑ π , π₯ , π¦ = π (π¦ ). (vi) We have πππ(ππ + ππ) = πΈ (ππ + ππ) − πΈ (ππ + ππ) = πΈ[ππ + ππ − ππΈ(π) − ππΈ(π)] = πΈ π π − πΈ(π) + π π − πΈ(π) = πΈ π π − πΈ(π) =π πΈ π − πΈ(π) + π π − πΈ(π) +π πΈ π − πΈ(π) + 2ππ π − πΈ(π) π − πΈ(π) + 2πππΈ π − πΈ(π) π − πΈ(π) = π πππ(π) + π πππ(π) + 2πππΆππ£(π, π), where the second equality is due to part (v) of this exercise, whereas the fourth equality is due to the binomial theorem, or otherwise (π + π) = (π + π)(π + π) = π + ππ + ππ + π = π + ππ + ππ + π = π + 2ππ + π . (vii) We have πΆππ£(ππ, ππ) = πΈ ππ − πΈ(ππ) ππ − πΈ(ππ) = πΈ ππ − ππΈ(π) ππ − ππΈ(π) = πΈ π π − πΈ(π) π π − πΈ(π) = πππΈ π − πΈ(π) π − πΈ(π) = πππΆππ£(π, π). where the second and fourth equalities are due to part (ii) of this exercise.