# Given: shrink the world

> Conditional probability P(A given B) means: only look at cases where B happened, and ask how often A happens there. P(A | B) = P(A and B) ÷ P(B).

Canonical URL: https://monte.markets/learn/prob/given/

License: CC BY 4.0, reuse with credit to monte.markets.

Lesson 4 of 5 in [Probability rules](https://monte.markets/learn/prob.md).

**Question:** Of 100 customers, 60 have a credit card, and 15 have a card and a loan. Among card holders, what share have a loan?

- 15%: 15% is out of everyone. Given a card, divide by the 60 card holders.
- 60%: That's the share with a card.
- **25%** (right answer): Yes. Only the 60 card holders count now: 15 ÷ 60 = 0.25.

Conditional probability P(A given B) means: only look at cases where B happened, and ask how often A happens there. P(A | B) = P(A and B) ÷ P(B). The given goes in the denominator.

**Question:** P(rain) = 0.3 and P(rain and traffic) = 0.21. What is P(traffic | rain)?

- 0.21: That's both together, out of all days.
- 0.063: That multiplies when you should divide.
- **0.7** (right answer): Yes. 0.21 ÷ 0.3 = 0.7. On rainy days, traffic is likely.

Given means a smaller world. Divide by the size of that world.

Next: [Independent or exclusive](https://monte.markets/learn/prob/independent.md)
