๐ŸŽฒ ๐Ÿ”— ๐Ÿ“Š

When Multiple Things Happen

Understanding how probabilities combine โ€” and why your intuition keeps tricking you

โ†“
Chapter 1

Why This Gets Tricky Fast

You're planning a picnic. The forecast says 70% chance of sunshine. Your friend says there's a 60% chance they can make it. What's the chance that both things work out โ€” sunshine and your friend shows up?

Your first instinct might be 70%, or 60%, or maybe you'd try adding them. But when multiple events happen together, our everyday intuition often leads us astray.

๐Ÿค” What Would You Guess?
Click each option to see if it's right

Every time you wonder "what are the chances everything goes right?" โ€” catching connecting flights, hoping multiple systems work, gathering friends for a party โ€” you're dealing with combined probabilities.

Chapter 2

One Thing After Another

Imagine you're trying to get to school on time. First, you need to wake up when your alarm goes off โ€” that happens 90% of the time. Then, you need to catch the bus, which you manage 80% of the time when you're awake on time.

What's the chance you both wake up on time and catch the bus?

๐Ÿ“… 100 Mornings Simulator
Click the filter buttons to highlight different outcomes
Probability of (Wake up AND Catch bus)
0.90 ร— 0.80 = 0.72 (72%)

We took 90% and found 80% of that. In math terms, we multiplied. Out of 100 mornings, you succeed about 72 times.

Chapter 3

Why Multiply? Building the Intuition

Let's make the numbers simpler. Say you wake up on time 50% of mornings, and you catch the bus 50% of the time when you're awake. Picture 4 mornings:

๐Ÿงฉ The 4 Mornings
Click each morning to see what happens

Only 1 out of 4 mornings works out completely. That's 25%. And look: 50% x 50% = 25%. The multiplication captures something important: the second event only "counts" on the fraction of times when the first event happens. You're taking a fraction of a fraction.

Chapter 4

When Things Don't Happen in Sequence

You're organizing a study group. You need both the library to be open and your study partner to be available. The library is open 70% of the week, and your partner is available 80% of the week.

๐Ÿ“Š All Possible Combinations
Click each cell to highlight it
Partner Available (80%) Partner Busy (20%)
Library Open (70%)
โœ…
56%
0.70 ร— 0.80
โŒ
14%
0.70 ร— 0.20
Library Closed (30%)
โŒ
24%
0.30 ร— 0.80
โŒ
6%
0.30 ร— 0.20
Whether events happen sequentially or simultaneously doesn't matter for the math. What matters is whether one event happening changes the probability of the other.
Chapter 5

The Big Assumption

In all the examples so far, we've assumed something important: that the first event doesn't change the probability of the second event. Your alarm clock going off doesn't affect the bus schedule. The library being open doesn't affect your partner's availability.

These events don't influence each other. They're independent.

But what if they did influence each other?

๐Ÿ”— Independent vs Dependent
Click each pair to see if they're independent or dependent
โฐ๐ŸšŒ
Your alarm vs. bus schedule
Independent
๐ŸŒง๏ธ๐ŸŒง๏ธ
Rain today vs. rain tomorrow
Dependent
๐Ÿ“ฑ๐Ÿ’ป
Phone charger in bag vs. laptop charger in bag
Dependent
๐Ÿ“š๐Ÿ‘ค
Library open vs. partner available
Independent
Chapter 6

When Events Affect Each Other

You're packing for a trip and need both your phone charger and your laptop charger. You think there's a 70% chance your phone charger is in your backpack. If it's there, that increases the chance your laptop charger is there too โ€” maybe to 80% โ€” because you tend to put them together. If your phone charger isn't in your backpack, maybe there's only a 30% chance your laptop charger is there.

๐ŸŽ’ Charger Decision Tree
Click the branches to trace each path
Start 70% ๐Ÿ“ฑโœ“ Phone found 30% ๐Ÿ“ฑโœ— Phone missing 80% ๐Ÿ’ปโœ“ 56% 20% ๐Ÿ’ปโœ— 14% 30% ๐Ÿ’ปโœ“ 9% 70% ๐Ÿ’ปโœ— 21%

See how the probability of finding the laptop charger depends on whether you found the phone charger? That's dependence. The probability shifts from 80% down to 30% based on what happened first.

Chapter 7

What "Given" Really Means

When events affect each other, we need a new way to talk about probabilities: "What's the probability of this, given that this other thing happened?"

The word "given" is doing important work. It means we're updating what we know. We have information, and that information changes the probabilities.

๐ŸŒค๏ธ How Information Changes Probability
Click each condition to see how the rain probability updates
Probability of rain tomorrow30%
30%
Chapter 8

Three Ways to Look at the Same Situation

You're a teacher with 100 students. 60 play sports, 40 don't. Among the 60 who play sports, 30 are in advanced classes. Among the 40 who don't play sports, 20 are in advanced classes.

๐Ÿ‘ฉโ€๐ŸŽ“ 100 Students โ€” Filter by Condition
Click the filters to see different probability perspectives
Three types of questions: (1) What fraction play sports? 60%. (2) What fraction both play sports AND are in advanced classes? 30%. (3) Given a student plays sports, what fraction are advanced? 30 out of 60 = 50%.
Chapter 9

Connecting the Perspectives

Notice something interesting: 60% of students play sports. Among those, 50% are in advanced classes. Overall, 30% both play sports and are advanced. That's not a coincidence.

The Multiplication Rule
P(Sports AND Advanced) = P(Sports) ร— P(Advanced given Sports)
30% = 60% ร— 50%
๐Ÿ”ข See the Multiplication in Action
Adjust the probabilities with the sliders


P(Both) = 60% ร— 50% = 30%
30%

To find the probability that two things are both true, multiply the probability of the first thing by the probability of the second thing given the first is true.

Chapter 10

The Independence Shortcut

Remember the alarm clock and bus? We multiplied 90% x 80% directly to get 72%, without worrying about "given" anything. That's because those events were independent.

When events are independent, the probability of the second event doesn't change based on whether the first happened. The "given First event" part doesn't matter โ€” it doesn't change anything.

โšก Compare: Independent vs Dependent
See how the calculation differs
Independent
P(A AND B) = P(A) ร— P(B)
Alarm & Bus:
0.90 ร— 0.80 = 0.72
Dependent
P(A AND B) = P(A) ร— P(B|A)
Chargers:
0.70 ร— 0.80 = 0.56
Chapter 11

How to Tell If Events Are Independent

Here's a practical test: if knowing that one event happened would change your guess about the probability of the other event, they're not independent.

๐Ÿงช The Independence Test
Click each pair โ€” would knowing about one change your guess about the other?
๐Ÿ“๐Ÿ€
Being tall & being good at basketball
Not Independent โ€” height affects basketball ability
โฐ๐ŸšŒ
Waking on time & bus running on schedule
Independent โ€” unrelated systems
๐ŸŒง๏ธโ˜€๏ธ
Rain today & rain tomorrow
Not Independent โ€” weather patterns persist
๐Ÿ•๐Ÿฆ
Liking pizza & liking ice cream
Probably Independent โ€” unrelated preferences
Chapter 12

Drawing Without Replacement

You have a bag with 5 red marbles and 5 blue marbles. You draw 2 marbles, one at a time, without putting the first one back. What's the probability you draw 2 red marbles?

๐Ÿ”ด Marble Drawing Simulator
Click "Draw 2" to simulate, or click individual marbles
Two reds (expected ~22%)0%
0%
Trials: 0 | Two reds: 0
Without Replacement
P(1st red) ร— P(2nd red | 1st red) = 5/10 ร— 4/9 = 20/90 โ‰ˆ 22%
With Replacement
5/10 ร— 5/10 = 25/100 = 25%
Chapter 13

What to Expect When Things Repeat

You're playing a carnival game. You pay $1 to play. Spin a wheel with 10 equal sections. If it lands on the star (1 section), you win $5. Otherwise, you win nothing.

๐ŸŽก Carnival Wheel Simulator
Click "Spin" to play โ€” track your winnings over time
Games Played
0
Total Spent
$0
Total Won
$0
Expected Value
E = (1/10) ร— $5 + (9/10) ร— $0 = $0.50
Expected profit = $0.50 โˆ’ $1.00 = โˆ’$0.50 per game

Expected value isn't telling you what will happen on any single try โ€” you'll win $5 or $0, never exactly 50 cents. But it tells you what to expect on average over many tries.

Chapter 14

Why Expected Value Matters

Businesses use expected value constantly. An insurance company knows that 1 in 100 drivers will file a claim for $10,000. The expected payout per driver is (1/100) x $10,000 = $100. So they charge more than $100 per policy to make a profit.

๐Ÿ’ก Real-World Expected Value
Everyday situations where you're already thinking about expected value
๐Ÿ›ก๏ธ
Insurance
Companies price policies above expected payout
โœˆ๏ธ
Airport Timing
Small chance of bad traffic ร— very bad outcome
๐ŸŽฐ
Games of Chance
The house always has a positive expected value
Chapter 15

Putting It All Together

You're launching a new product. For it to succeed, three things need to happen: supplier delivers on time (85%), marketing reaches enough people (70%), and product quality meets standards (90%).

๐Ÿš€ Product Launch Calculator
Click each factor to "confirm" it โ€” watch how probability changes
Supplier delivers on time
85% probability
Marketing reaches enough people
70% probability
Product quality meets standards
90% probability
Overall success probability53.6%
53.6%
Even though each factor is 70โ€“90% likely, everything working together is only about 54%.

This is why project management is hard โ€” lots of things need to go right simultaneously. But as you confirm each factor, uncertainty shrinks and your overall probability climbs.

Chapter 16

The Pattern Behind Everything

When you want to know the probability that multiple things all happen, you're combining probabilities. The basic tool is multiplication, but you need to be careful about whether events are independent.

The probability of multiple things happening together is usually lower than any single one of them. That's why backup plans matter, why redundancy is built into important systems, and why you leave early for important appointments.

Your Toolkit

โœ–๏ธ
Multiplication Rule
P(A AND B) = P(A) ร— P(B|A)
๐Ÿ”“
Independence
If independent, just multiply straight across
๐Ÿ”—
Dependence
Use "given" โ€” P(B) changes based on A
๐Ÿ“‰
Probability Shrinks
More requirements = lower combined probability
๐ŸŽฏ
Expected Value
Average outcome over many trials
๐Ÿงช
Independence Test
Would knowing A change your guess about B?

Cite this post

Rizvi, I. (2026). Compound Probability โ€” A Visual Guide. theog.dev.
DOI: 10.5281/zenodo.19413299

@article{rizvi2026compoundprobability,
  title   = {Compound Probability โ€” A Visual Guide},
  author  = {Rizvi, Imran},
  year    = {2026},
  url     = {https://theog.dev/ml-ds/probability-multiple-visual.html},
  doi     = {10.5281/zenodo.19413299}
}