I'm on a farm with six cows; three are white, two are black and one is completely black on one side and completely white on the other. I see one cow from the side, who appears to be black (that is, the side that I see is black). What's the probability that the cow is black?
I tried to figure out a solution, but it's wrong as it conflicts with the solution I'm given. I don't understand completely what I'm missing and where I'm going wrong, so I would appreciate some advice which would lead me in the right direction.
Let $P$ be the event that the cow I observe is completely black, and $S$ be the event that at least one side is black. $S$ is given, so I need to find $P(B|S)$.
$P(B|S) = \frac{P(S|B)P(B)}{P(S)}$
$P(S|B) = 1$, since if the entire cow is black then at least one side is black. $P(B) = \frac{1}{3}$ since there are two black cows among a group of six. And $P(S) = \frac{1}{2}$ since there are three out of six cows with at least one black side.
so $P(B|S) = \frac{P(B)}{P(S)} = \frac{2}{3}$
However the answer I'm given is $\frac{4}{5}$
Do you mean your first sentence to read "three are white and two are black"? There's a contradiction between that sentence and your computation of $P(B)$.
Also, to compute $P(S)$, I think you want to count how many black sides there are among all cows, not the number of cows with at least one black side. You're equally likely to see any side of any cow.