A bag contains 5 coins. Four of them are fair and one has heads on both sides. You randomly pulled one coin from the bag and tossed it 5 times, heads turned up all five times. What is the probability that you toss next time, heads turns up. (All this time you don't know you were tossing a fair coin or not).
This question has been asked on this website before - and I understand the initial solution.
What is the probability that you toss next time, heads turns up
As a step in the given solution, we calculate P(A|B) where A is the event that the coin is fair, and B is the event that you flip 5 heads.
I am trying to solve it a different way, by setting A as the event that the next flip is heads, and B is the event that you flip 5 heads. Then, Bayes theorem states that P(A|B) = P(B|A) * P(A) / P(B). My question is specifically about P(B|A). To my understanding, this would be stated in English as the probability that you flip 5 heads given that the next flip is heads. I'm having trouble interpreting this. How can we condition on an event (next flip is heads) that happens after the 5 flips have already turned up heads?
Firstly, is my way of approaching the problem valid? Am I incorrectly applying Bayes theorem? If not, any clarification as to how I should interpret this result would be greatly appreciated.