Consider the following.
(a) Suppose a coin that has probability $p$ of turning up heads is tossed once. If $X$ is the number of heads, and $Y$ the number of tails show that $X$ and $Y$ are not independent.
(b) Let the coin of part (a) be tossed a random number of times $N$, where $N$ is a Poisson random variable with parameter $\alpha$, (see Example 2.7.6 for the definition). Let $X$ and $Y$ be the resulting numbers of heads and tails, respectively. Show that $X$ and $Y$ are independent.