Conditional Probability
Problem
A bag has 4 red, 3 blue balls. Draw one red, then without replacement, P(second is red)?
Explanation
What is conditional probability?
is the probability of given that has already occurred. It restricts the sample space to the outcomes where happened.
Step-by-step: Drawing without replacement
Setup: Bag has 4 red + 3 blue = 7 balls.
Step 1: First draw is red. Now the bag has 3 red + 3 blue = 6 balls remaining.
Step 2:
Note: Without the "given" information, . After removing one red ball, the probability drops to .
With replacement vs without
- With replacement: always (bag is reset).
- Without replacement: (bag has changed).
Independence
Events are independent if knowing one happened doesn't change the probability of the other: . Drawing with replacement → independent. Drawing without replacement → dependent.
Multiplication rule
Try it in the visualization
The bag shows colored balls. Drawing one ball updates the bag visually. The probability of the next draw changes based on what was removed. Toggle between with/without replacement to see the difference.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.