Law of Total Probability
Let , where if , then for any event , .
Example
You have one fair coin and a biased coin that lands on heads with a probability of . If you pick a random coin and toss it three times, find the probability that all three tosses are heads.
Draw the probability tree.
LOTP with Conditioning
This is an extension to LOTP introduced in CS287.