Question 32(2 marks)Given that E(aX+b)=aE(X)+b, where E(X) is the expected value of a discrete random variable X and a and b are constants.Prove that Var(aX+b)=a2Var(X)
Q. Question 32(2 marks)Given that E(aX+b)=aE(X)+b, where E(X) is the expected value of a discrete random variable X and a and b are constants.Prove that Var(aX+b)=a2Var(X)
Define Variance: Question Prompt: Prove that Var(aX+b)=a2Var(X) for a discrete random variable X and constants a and b.
Calculate E(aX+b): Step 1: Recall the definition of variance, Var(Y)=E(Y2)−[E(Y)]2. Apply this to Y=aX+b.
Expand (aX+b)2: Step 2: Calculate E(aX+b). Using the linearity of expectation, E(aX+b)=aE(X)+b.
Apply Linearity of Expectation: Step 3: Calculate E((aX+b)2). Expand the square, E((aX+b)2)=E(a2X2+2abX+b2).
Substitute into Variance Formula: Step 4: Apply the linearity of expectation to each term, E(a2X2+2abX+b2)=a2E(X2)+2abE(X)+b2.
Expand Square: Step 5: Substitute E(aX+b) and E((aX+b)2) into the variance formula. Var(aX+b)=[a2E(X2)+2abE(X)+b2]−[aE(X)+b]2.
Simplify Variance Expression: Step 6: Expand the square in the variance formula. [aE(X)+b]2=a2[E(X)]2+2abE(X)+b2.
Cancel Out Terms: Step 7: Simplify the variance expression. Var(aX+b)=a2E(X2)+2abE(X)+b2−(a2[E(X)]2+2abE(X)+b2).
Recognize Pattern: Step 8: Cancel out terms. Var(aX+b)=a2E(X2)−a2[E(X)]2.
Recall Variance Definition: Step 9: Recognize that a2E(X2)−a2[E(X)]2=a2(E(X2)−[E(X)]2).
Recall Variance Definition: Step 9: Recognize that a2E(X2)−a2[E(X)]2=a2(E(X2)−[E(X)]2). Step 10: Recall the definition of variance for X, Var(X)=E(X2)−[E(X)]2. Substitute to find Var(aX+b)=a2Var(X).