In: Statistics and Probability
2 fair four-sided dice with faces numbered 1, 2, 3, 4 are rolled. Random variable D is the nonnegative difference |X2 −X1| of the numbers rolled on the 2 dice and Y is a Bernoulli random variable such that Y = 0 if the sum X1 +X2 is even and and Y = 1 if the sum is odd.
a. Find joint probability mass function of D and Y.
b. Are D and Y dependent or independent? How do you know?