We have two boxes of the same size and type. The first one has $4$ Apples and $2$ oranges inside, whereas the second one has only $5$ Apples. We cover our eyes so that not to be able to see and We put our hand in one of these boxes. We remove a fruit and when We uncover our eyes We see that We chose an apple. We are asked to calculate the Probability that the box (from which we removed the fruit) includes oranges as well.
I tried to use Bayes Theorem P(A|B) but I find it difficult to find the denominator of the fraction.
I would appreciate for your quidance.
Thank you very much in advance.
Let $A$ be the event we picked an apple. Let $B$ be the event that we picked the first box.
We are able to reason that $\Pr(A\mid B) = \frac{4}{6}$, that $\Pr(A\mid B^c)=1$ and that $\Pr(B)=0.5$
We are asked to calculate $\Pr(B\mid A)$ which by Bayes' theorem we know is equal to $$\Pr(B\mid A) = \dfrac{\Pr(A\mid B)\Pr(B)}{\Pr(A)}$$
You say you have difficulty specifically with the denominator.
Recall that by total probability we have that $\Pr(A) = \Pr(A\mid B)\Pr(B)+\Pr(A\mid B^c)\Pr(B^c)$
Now, finish the necessary arithmetic and calculations.