Let A=[aij] be a 2×2 matrix such that aij∈{0,1} for all i,j. Let the random variable X denote the possible values of the determinant of A. Then the variance of X is:
Solutions · 1
Official solution
det(A)=a11a22−a21a12∈{−1,0,1} (each entry independently 0 or 1 with probability 21, over 24=16 equally likely matrices).
Counting: det=1 for 3 matrices (P=3/16), det=−1 for 3 matrices (P=3/16), det=0 for the remaining 10 matrices (P=10/16).
E[X]=163(1)+163(−1)+1610(0)=0.
E[X2]=163(1)+163(1)+0=166=83.
Var(X)=E[X2]−(E[X])2=83−0=83.