Let X be a random variable with PMF
px(x) = { x^2/a, if x = -3, -2, -1, 0, 1, 2, 3,
0, otherwise.
(a) Find a and E[X].
(b) What is the PMF of the random variable Z = (X - E[X])^2 ?
(c) Using the result from part (b), find the variance of X.
(d) Find the variance of X using the formula var(X) = sum_x (x - E[X])^2 px(x).