Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2022/discrete-mathematics-continuous-mathematics-and-probability-resit/7/b/i/solution

Summing the two nonzero entries with gives
The remaining probability is , so has the Bernoulli distribution with parameter .
For the other marginal, the two entries at add to , the entry at is , and for the only nonzero entry is already . Thus
and has the Poisson distribution with parameter . This also checks normalization of the joint probability mass function by summing the marginal.

New to topics? Read the docs here!