Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Solve Urn and Ball-Drawing Problems

An urn holds balls of a few colors and you draw some at random. With replacement the draws are independent; without replacement each draw changes the bag, and the next probability must be updated.

Recognize the problem

Trigger words: urn, bag, box, marbles, balls, drawn at random, with replacement, without replacement, both red, exactly two. Also any setting that works the same way: choosing people from a group, picking items from a batch.

Set it up

  1. 1. ContentsWrite how many balls of each color, and the total.
  2. 2. ReplacementWith replacement, every draw has the same bag; multiply equal probabilities. Without replacement, reduce the color and the total after each draw.
  3. 3. OrderFor a sequence ("red then blue"), multiply along one order. For "exactly" or "one of each", add every order that fits.
  4. 4. Counting shortcutWithout replacement and order ignored, count combinations: (ra)(bc)(r+ba+c)\frac{\binom{r}{a}\binom{b}{c}}{\binom{r+b}{a+c}}.
  5. 5. CheckThe probabilities of all possible color counts add to 11.
→Now solve it: How to find the probability of A and B for dependent eventsMultiply the step-by-step probabilities with the multiplication rule for dependent events, using a tree diagram when several orders count.
Interpret the result. Give a simplified fraction or a decimal rounded to 44 places. A count of a fixed number of one color in a fixed-size draw without replacement follows the hypergeometric probability method; with replacement it is binomial.

Worked examples

Example 1 · two red, with replacement

independent draws
bag of 44 red, 66 blue
410⋅410=16100=425\frac{4}{10}\cdot\frac{4}{10} = \frac{16}{100} = \frac{4}{25}
bag restored each time

Example 2 · two red, without replacement

dependent draws
410⋅39=1290\frac{4}{10}\cdot\frac{3}{9} = \frac{12}{90}
one red fewer, one ball fewer
=215= \frac{2}{15}

Example 3 · exactly two red in three draws

combinations
(42)(61)=6⋅6=36\binom{4}{2}\binom{6}{1} = 6 \cdot 6 = 36
2 red, 1 blue
(103)=120\binom{10}{3} = 120
all sets of three
P=36120=310P = \frac{36}{120} = \frac{3}{10}

See it happen

Without replacement, each draw removes a ball, so the tree changes its branch labels at every level. With replacement, every level has the same labels. Watch the second-level branches change in the tree diagram tool.

Common mistakes

Replacement ignored

✗ without replacement: 410⋅410\frac{4}{10}\cdot\frac{4}{10}
✓ 410⋅39\frac{4}{10}\cdot\frac{3}{9}

Only one order counted

✗ exactly two red in three draws: 410⋅39⋅68\frac{4}{10}\cdot\frac{3}{9}\cdot\frac{6}{8}
✓ three orders (RRB, RBR, BRR), each 110\frac{1}{10}: total 310\frac{3}{10}

Total not reduced

✗ 410⋅310\frac{4}{10}\cdot\frac{3}{10}
✓ the bag has one ball fewer: 39\frac{3}{9}