1. Home
  2. Explore
  3. Mathematics
  4. Probability Examples

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Probability Examples

Speaker 1Speaker 2

Probability Examples

6:04
0:00-6:04
  1. Anna

    Hey Michael, I was just reviewing some probability concepts and I found this problem that nicely illustrates both the Law of Total Probability and Bayes' Theorem. It uses a fun setup with two urns and colored balls.

  2. Michael

    Oh, that sounds interesting! I always find those urn problems helpful for visualizing probability. What's the initial setup for these two urns? I imagine they have different compositions of balls, right?

  3. Anna

    Exactly! Urn one has 15 red balls and 10 green balls, making 25 total. Urn two starts with 4 red balls and 15 green balls, totaling 19. The core of the problem involves transferring a ball from urn one to urn two, and then selecting a ball from urn two.

  4. Michael

    Okay, I'm following. So, the first step is the transfer. What's the main question we're trying to answer with the Law of Total Probability here? Is it about the color of the ball selected from urn two after the transfer?

  5. Anna

    Precisely. The first question is: what's the probability that the ball selected from urn two is red? Before diving into formulas, let's think about the logical steps. The transferred ball from urn one could be either red or green, and that changes urn two's composition.

  6. Michael

    Right, that makes sense. The probability of transferring a red ball from urn one would be 15 out of 25, which is 0.6. If a red ball is transferred, urn two would then have 5 red balls and 15 green balls, for a total of 20.

  7. Anna

    And in that scenario, the probability of drawing a red ball from urn two would be 5 out of 20, or 0.25. Similarly, the probability of transferring a green ball is 10 out of 25, or 0.4. What happens to urn two then?

  8. Michael

    If a green ball is transferred, urn two would have 4 red balls and 16 green balls, still totaling 20. So, the probability of drawing a red ball from urn two in that case would be 4 out of 20, or 0.2.

  9. Anna

    Excellent! Now, the Law of Total Probability essentially asks us to combine these two scenarios. We take a weighted average of the probabilities of drawing a red ball from urn two in each case, weighted by the probability of each transfer scenario occurring.

  10. Michael

    So, it would be (0.25 * 0.6) plus (0.2 * 0.4), right? That calculates the overall probability of selecting a red ball from urn two. This gives us 0.15 plus 0.08, which sums up to 0.23.

  11. Anna

    Exactly! That's the probability of selecting a red ball from urn two. Now, let's add some formal notation to this. We can define 'T' as the event of the transferred ball's color, so P(T=Red) = 0.6 and P(T=Green) = 0.4.

  12. Michael

    And 'C' for the color of the ball selected from urn two. So, what we just calculated were conditional probabilities, like P(C=Red | T=Red) = 5/20 = 0.25, and P(C=Red | T=Green) = 4/20 = 0.2.

  13. Anna

    Yes, precisely. And the Law of Total Probability formally states that P(C=Red) = P(C=Red | T=Red) * P(T=Red) + P(C=Red | T=Green) * P(T=Green). This confirms our 0.23 result.

  14. Michael

    Okay, that's a solid understanding of the Law of Total Probability. So, how does Bayes' Theorem fit into this? Does it flip the question around, like asking about the transfer given the outcome in urn two?

  15. Anna

    You've hit the nail on the head! Bayes' Theorem flips the conditional probability. The second problem is: given that the ball selected from urn two is red, what is the probability that the transferred ball was green?

  16. Michael

    That's a trickier question because we're going from effect to cause. We know the outcome in urn two, and we're inferring what happened in the transfer. This is where Bayes' Theorem becomes really powerful, isn't it?

  17. Anna

    It truly is. We want to calculate P(T=Green | C=Red). We know P(C=Red | T=Green), but that's not what we're looking for. Bayes' Theorem connects these inverted conditional probabilities.

  18. Michael

    Right, the formula for P(A|B) is P(A and B) / P(B). So for us, P(T=Green | C=Red) would be P(T=Green and C=Red) / P(C=Red). We already calculated P(C=Red) as 0.23, which is helpful.

  19. Anna

    Exactly. Now, for the numerator, P(T=Green and C=Red), we can use the multiplication rule for probability, which is P(C=Red | T=Green) * P(T=Green). This involves the 'easier' conditional probability we already worked out.

  20. Michael

    So, the numerator becomes (0.2 * 0.4), which is 0.08. And the denominator is the 0.23 we found earlier using the Law of Total Probability. This really highlights how closely related the two concepts are.

  21. Anna

    It does! So, P(T=Green | C=Red) is 0.08 divided by 0.23. We can write that as 8/23. This means that if we know a red ball was drawn from urn two, the probability that a green ball was transferred is about 34.7%.

  22. Michael

    That's a great example. It demonstrates that the denominator of Bayes' Theorem often involves a Law of Total Probability calculation. And, as you mentioned, the numerator is typically one of the terms from that denominator sum.

  23. Anna

    Yes, that's a key takeaway. When you set up Bayes' Theorem, especially with multiple possible initial events, the denominator will sum up the probabilities of the observed event occurring under each initial condition. The numerator then isolates the specific initial condition you're interested in.

  24. Michael

    That makes Bayes' Theorem feel a lot less intimidating, knowing that structure. It's essentially a way to update our beliefs about an event based on new evidence, using components we can often calculate more directly.

  25. Anna

    Precisely. It quantifies how new information, like drawing a red ball from urn two, changes our probability assessment of a prior event, like the color of the transferred ball. It's fundamental in many fields, from medical diagnostics to machine learning.

  26. Michael

    This walkthrough was really clear, Anna. Breaking it down into the logical steps first, then adding the notation, and finally connecting it all with Bayes' Theorem makes it much easier to grasp. Thanks for explaining it!

  27. Anna

    You're welcome, Michael! I find that these types of examples, where you can physically imagine the process, are the best way to build intuition for probability concepts. It makes the formulas less abstract.

  28. Michael

    I completely agree. It's much easier to see why the Law of Total Probability combines weighted outcomes and how Bayes' Theorem essentially reverses the conditioning. Great discussion!

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent