3.3.3 problem 40

(a)
Suppose, toward a contradiction, that X and Y do not have the same PMF. Then there is at least one k in the support of X such that and are not equal.
Note that if , then , as an event with probability 1 will still have probability 1 conditioned on any non-zero event.
Using the above and examining Bayes’ theorem, we have , which simplifies to as the conditional probabilities equal 1 as previously shown. However, this equality is impossible if . This contradicts the assumption that - therefore, X and Y must have the same PMF if they are always equal.
(b)
Let X, Y be r.v.s with probability 1 of equalling 1, and probability 0 of equalling any other value.
Then for , and for all other possible pairs of values , . Therefore, X, Y can be independent in this extreme case.