David G. answered 04/10/20
Patient, Effective math/statistics tutor
We have this probability distribution function, where x represents the amount of money won or lost
x: +10 -1
p(x) 4/52 48/52 because there are 4 aces and 48 other cards.
E(X) = +10 * (4/52) + (-1) * (48/52) = -8/52 This is the expectation (which is the same as the mean µ)
To find the variance, use either of these formulas:
Var (X) = E(X2) - (E(X))2 or
Var (X) = E( (X - E(X))2 )
Using the first formula, we calculate the expectation of X2
x: +10 -1
p(x) 4/52 48/52
x2 100 1
So E(X2) = 100 * 4/52 + 1 * (48/52) = 448/52
and thus Var (X) = E(X2) - (E(X))2
Var (X) = 448/52 - (-8/52)2 = 448/52 - 64/2704 = 23232/2704 = 8.592
So, in summary, Var (X) = 8.592 to 3 decimal places