Exercise R.1.4
Independence: the two definitions are equivalent
Show that the two definitions for independence are equivalent: \[\begin{align*} \mathbb{P}(X,Y) = \mathbb{P}(X) \times \mathbb{P}(Y) \iff \mathbb{P}(X \mid Y)=\mathbb{P}(X) \end{align*}\]
Hint: For both the if and only if part, use the definition \(\mathbb{P}(X \mid Y)=\frac{\mathbb{P}(X, Y)}{\mathbb{P}(Y)}\).