This is taken from Ross book: when coin $1$ is flipped, it lands on heads with probability .4; when coin $2$ is flipped, it lands on heads with probability $.7$. One of these coins is randomly chosen and flipped $10$ times. Compute the probability that the coin lands on heads on exactly $7$ of the $10$ flips.
What is incorrect behind this reasoning? let $C$ be the event that the coin lands on heads. By total probability we have $P(C)=\frac{1}{2}.7+\frac{1}{2}.4=.55$. Then we apply a binomial distribution with $n=10$, $k=7$ and $p=.55$. However, this is incorrect. Why?
You don't have the event $C$, you have ten events $C_1,\ldots,C_{10}$ where $C_j$ is the event of the $j$-th toss being heads. You are assuming these events are independent, but they are not. Essentially this is because it's the same coin involved in any pair of tosses. In detail the probability of $C_1\cap C_2$ is $\frac12(0.4^2+0.7^2)$ which isn't the square of $P(C_i)=\frac12(0.4+0.7)$.