GeometryProbability1 of 5
Probability · 1

Sample Spaces and Probability

To find the chance of winning a game, we compare the outcomes we want to everything that could possibly happen.

1

Sample Spaces, Grids, and Events

Suppose we flip a fair coin and then roll a fair six-sided die, and we win if we get Heads and a number greater than 4\event{4}. What is the probability of winning?

Sample Spaces, Grids, and Events
H\text{H}
fair coin\text{fair coin}
fair die\text{fair die}
P(Heads and die>4)=?P(\event{\text{Heads and die} > 4}) = \event{\mathord{?}}
Text solution
Count the sample space in a 2-by-6 gridPutting the 22 coin outcomes in the rows and the 66 die outcomes in the columns gives a rectangle of every possible pair.
2⏟coin rows×6⏟die columns\displaystyle \underbrace{2}_{\text{coin rows}} \times \underbrace{6}_{\text{die columns}} =12⏟sample space\displaystyle = \underbrace{\whole{12}}_{\whole{\text{sample space}}}
Count the winning outcomes and divideOnly two boxes in the Heads row have a die roll greater than 4\event{4}. All 12\whole{12} outcomes are equally likely, so we divide the number of winning outcomes by the total number of outcomes.
P(Event)=Number of favorable outcomesTotal number of outcomes=2⏞(H, 5), (H, 6)12⏟total outcomes=16\displaystyle \begin{aligned} P(\event{\text{Event}}) &= \frac{\event{\text{Number of favorable outcomes}}}{\whole{\text{Total number of outcomes}}} \\ &= \frac{\overbrace{\event{2}}^{\event{\text{(H, 5), (H, 6)}}}}{\underbrace{\whole{12}}_{\whole{\text{total outcomes}}}} = \event{\frac{1}{6}} \end{aligned}

So you have a 16\event{\frac{1}{6}} chance of winning the game.

2

Tree Diagrams for Multi-Step Events

A flat grid can represent more than two steps by grouping outcomes into its row or column labels. A tree lets us follow each step separately. If we flip a fair coin 33 times in a row, what is the probability of getting exactly 2\event{2} Heads, and what is the probability of getting at least 2\compared{2} Heads?

Tree Diagrams for Multi-Step Events
flip 1\text{flip 1}
flip 2\text{flip 2}
flip 3\text{flip 3}
P(exactly 2 Heads)=?P(at least 2 Heads)=?\begin{aligned} P(\event{\text{exactly 2 Heads}}) &= \event{\mathord{?}} \\ P(\compared{\text{at least 2 Heads}}) &= \compared{\mathord{?}} \end{aligned}
Text solution
Multiply the branches at each stepEach flip splits every existing path into 22 new branches, doubling the paths three times.
2×2×2\displaystyle 2 \times 2 \times 2 =8 total outcomes\displaystyle = \whole{8 \text{ total outcomes}}
Trace the paths with exactly 2 HeadsOut of the 8\whole{8} equally likely paths, the single Tails can happen on the first, second, or third flip, which is why guessing 14\frac{1}{4} from the four possible totals (0,1,2, or 3 Heads0, 1, 2,\text{ or }3\text{ Heads}) is a trap.
P(exactly 2 Heads)=3⏞HHT, HTH, THH8⏟HHH, HHT, HTH, HTT,THH, THT, TTH, TTT=38\displaystyle P(\event{\text{exactly 2 Heads}}) = \frac{\overbrace{\event{3}}^{\event{\text{HHT, HTH, THH}}}}{\underbrace{\whole{8}}_{\whole{\begin{gathered}\text{HHH, HHT, HTH, HTT,} \\ \text{THH, THT, TTH, TTT}\end{gathered}}}} = \frac{\event{3}}{\whole{8}}
Include 3 Heads for at least 2 Heads"At least 2\compared{2} Heads" means 2\event{2} Heads or 3\compared{3} Heads, which adds the `HHH` path to the three paths we already counted.
P(at least 2 Heads)=3⏞HHT, HTH, THH+1⏞HHH8=48=12\displaystyle \begin{aligned} P(\compared{\text{at least 2 Heads}}) &= \frac{\overbrace{\event{3}}^{\event{\text{HHT, HTH, THH}}} + \overbrace{\compared{1}}^{\compared{\text{HHH}}}}{\whole{8}} \\ &= \frac{\compared{4}}{\whole{8}} = \compared{\frac{1}{2}} \end{aligned}

So there is a 38\frac{\event{3}}{\whole{8}} probability of getting exactly 2\event{2} Heads, and a 12\compared{\frac{1}{2}} probability of getting at least 2\compared{2} Heads.

3

The Complement of an Event

Even on a two-step grid, counting the boxes we want one by one takes a long time when the event covers almost the entire grid. If we roll two fair six-sided dice, what is the probability that they add up to 7\event{7}, and what is the probability that they do not add up to 11\excluded{11} or 12\excluded{12}?

The Complement of an Event
second die\text{second die}
11
22
33
44
55
66
first die\text{first die}
11
22
33
44
55
66
P(sum=7)=?P(sum not 11 or 12)=?\begin{aligned} P(\event{\text{sum} = 7}) &= \event{\mathord{?}} \\ P(\event{\text{sum not }}\excluded{11}\event{\text{ or }}\excluded{12}) &= \event{\mathord{?}} \end{aligned}
Text solution
Count the 6-by-6 dice gridSix rows for the first die and six columns for the second die form a square of 36\whole{36} equally likely outcomes.
6×6\displaystyle 6 \times 6 =36 total outcomes\displaystyle = \whole{36 \text{ total outcomes}}
Shade the diagonal for a sum of 7Six boxes along a diagonal add up to 7\event{7}.
P(sum is 7)=6⏞(6,1), (5,2), (4,3),(3,4), (2,5), (1,6)36=16\displaystyle P(\event{\text{sum is } 7}) = \frac{\overbrace{\event{6}}^{\event{\begin{gathered}\text{(6,1), (5,2), (4,3),} \\ \text{(3,4), (2,5), (1,6)}\end{gathered}}}}{\whole{36}} = \event{\frac{1}{6}}
Subtract the unwanted boxes from the wholeLet A\excluded{A} be the event that the sum is 11\excluded{11} or 12\excluded{12}. Rather than counting every outcome with a sum from 2\event{2} through 10\event{10}, subtract the probability of those 3\excluded{3} unwanted boxes from 1\whole{1}.
P(not A)=1−P(A)⏟complement=1−3⏞(5,6), (6,5), (6,6)36=36−336=3336=1112\displaystyle \begin{aligned} P(\event{\text{not } A}) &= \underbrace{\whole{1} - P(\excluded{A})}_{\text{complement}} \\ &= \whole{1} - \frac{\overbrace{\excluded{3}}^{\excluded{\text{(5,6), (6,5), (6,6)}}}}{\whole{36}} \\ &= \frac{\whole{36} - \excluded{3}}{\whole{36}} = \frac{\event{33}}{\whole{36}} = \event{\frac{11}{12}} \end{aligned}

So the probability that the sum is not 11\excluded{11} or 12\excluded{12} is 1112\event{\frac{11}{12}}.

On the 6-by-6\whole{6\text{-by-}6} dice grid, each sum forms a diagonal stripe, longest at 77 across the middle and shortest at 22 and 1212 in the corners. For any cutoff, the shaded event fraction and the unshaded complement fraction always add up to 1\whole{1}.

Each diagonal holds one dice sum, and wherever you split the grid, the shaded outcomes and the unshaded ones left over always add up to all 36 boxes.
4

Geometric Probability with Lengths and Areas

Our grids and trees listed finitely many outcomes. Suppose a point is chosen uniformly at random on a line segment from 0\whole{0} to 10\whole{10}, meaning pieces of the same length are equally likely to contain it. What is the probability that it lands between 2\event{2} and 6\event{6}? And if a dart hits a 10-inch\whole{10}\text{-inch} by 10-inch\whole{10}\text{-inch} square dartboard, with regions of the same area equally likely to be hit, what is the probability that it lands inside a bullseye circle of radius 3 inches\event{3}\text{ inches}?

Geometric Probability with Lengths and Areas
0\whole{0}
10\whole{10}
2\event{2}
6\event{6}
P(between 2 and 6)=?P(\event{\text{between 2 and 6}}) = \event{\mathord{?}}
10\whole{10}
10\whole{10}
3\event{3}
P(bullseye)=?P(\event{\text{bullseye}}) = \event{\mathord{?}}
0\htmlClass{lc-green}{0}
10\htmlClass{lc-green}{10}
2\htmlClass{lc-blue}{2}
6\htmlClass{lc-blue}{6}
target length=4\htmlClass{lc-blue}{\text{target length}} = \htmlClass{lc-blue}{4}
total length=10\htmlClass{lc-green}{\text{total length}} = \htmlClass{lc-green}{10}
Text solution
Divide the target length by the total lengthBecause a continuous segment contains infinitely many points, we measure how long the target piece is (6−2=46 - 2 = \event{4}) compared to the entire line from 0\whole{0} to 10\whole{10} (the same length ratio gives the chance of waiting 4 minutes\event{4}\text{ minutes} or less for a bus that comes every 10 minutes\whole{10}\text{ minutes}, if you arrive uniformly at random during one interval).
P(between 2 and 6)=Target lengthTotal length=410=25 (or 40%)\displaystyle \begin{aligned} P(\event{\text{between 2 and 6}}) &= \frac{\event{\text{Target length}}}{\whole{\text{Total length}}} = \frac{\event{4}}{\whole{10}} \\ &= \event{\frac{2}{5}} \text{ (or } \event{40\%}) \end{aligned}
Divide the target area by the total areaFor a flat 2D board, we use the area of a circle (πr2\event{\pi r^2}) for the radius-3\event{3} bullseye and divide by the area of the 10-by-10\whole{10\text{-by-}10} square sample space.
P(Circle)=Area of CircleArea of Square=π(32)10×10=9π100\displaystyle \begin{aligned} P(\event{\text{Circle}}) &= \frac{\event{\text{Area of Circle}}}{\whole{\text{Area of Square}}} \\ &= \frac{\event{\pi(3^2)}}{\whole{10 \times 10}} = \frac{\event{9\pi}}{\whole{100}} \end{aligned}

So a random point has a 25\event{\frac{2}{5}} chance of landing between 2\event{2} and 6\event{6} on the line, and a random dart has a 9π100\frac{\event{9\pi}}{\whole{100}} chance of hitting the bullseye.

Inside the 10-by-10\whole{10\text{-by-}10} square dartboard, the probability is the fraction of the square covered by the circle, from 0\event{0} when the bullseye shrinks to a point up to π4\event{\frac{\pi}{4}} when the circle touches all four sides.

For a point chosen uniformly at random on the square, the chance of landing inside the circle is the fraction of the square's area it covers, from zero at a single point up to the max when the circle touches all four sides.
5

Experimental vs. Theoretical Probability

Our counting method assumed equally likely outcomes, and our area method assumed that regions of the same area were equally likely to be hit. For an uneven object like a bent bottle cap, we cannot assume the two landings are equally likely. If we toss a bent bottle cap 50\observed{50} times and it lands top-up 32\observed{32} times, what is the experimental probability of landing top-up, and how do experimental trials connect back to theoretical probability when we flip a fair coin?

Experimental vs. Theoretical Probability
top-up\text{top-up}
top-down\text{top-down}
32 top-up in 50 tosses\observed{32} \text{ top-up in } \observed{50} \text{ tosses}
Pexperimental(top-up)=?P_{\observed{\text{experimental}}}(\text{top-up}) = \observed{\mathord{?}}
Text solution
Divide the count of what happened by the total trialsInstead of assuming the two sides of a bent bottle cap are equally likely, we divide the number of times top-up actually happened by the 50\observed{50} trials we ran.
Pexperimental(top-up)=Number of times the event happenedTotal number of trials=3250=64%\displaystyle \begin{aligned} P_{\observed{\text{experimental}}}(\text{top-up}) &= \frac{\text{Number of times the event happened}}{\text{Total number of trials}} \\ &= \frac{\observed{32}}{\observed{50}} = \observed{64\%} \end{aligned}
Use more trials to even out the randomnessFlipping a fair coin 10\observed{10} times can give 710\observed{\frac{7}{10}} Heads. After 1,000,000\observed{1{,}000{,}000} flips, the experimental fraction is likely to be close to 12\event{\frac{1}{2}}, though adding more flips can sometimes move it farther away.
710⏟10 trials(one possible result)Pexperimental(Heads)≈12⏟likely after1,000,000 trials\displaystyle \underbrace{\observed{\frac{7}{10}}}_{\begin{gathered}\text{10 trials} \\ \text{(one possible result)}\end{gathered}} \qquad \underbrace{P_{\observed{\text{experimental}}}(\text{Heads}) \approx \event{\frac{1}{2}}}_{\begin{gathered}\text{likely after} \\ \text{1,000,000 trials}\end{gathered}}

So the bottle cap's experimental probability is 64%\observed{64\%} over 50\observed{50} trials, while a fair coin's experimental fraction is likely to be close to 12\event{\frac{1}{2}} after many flips.

Key concepts

For the examples here, we can count equally likely outcomes, measure lengths or areas for uniformly random points, or estimate probabilities from trial results:

Equally likely finite outcomes (Theoretical Probability)

Divide the favorable outcomes by the total outcomes in the sample space, P(Event)=Number of favorable outcomesTotal number of outcomesP(\event{\text{Event}}) = \frac{\event{\text{Number of favorable outcomes}}}{\whole{\text{Total number of outcomes}}}. A grid is convenient for two steps when every first-step choice can be paired with every second-step choice (2×6=122 \times 6 = \whole{12}). A tree diagram lets us follow each step separately, including three or more steps (2×2×2=82 \times 2 \times 2 = \whole{8} paths for 33 coin flips). Listing individual paths keeps us from treating unequal totals like "0,1,2, or 30, 1, 2,\text{ or }3 Heads" as equally likely.

Events that cover almost the whole space (The Complement)

Don't count almost the entire grid when a question says "not" or leaves out only a corner (like a two-dice sum not being 11\excluded{11} or 12\excluded{12}). Count the few unwanted outcomes and subtract from the whole: P(not A)=1−P(A)=1−336=1112P(\event{\text{not } A}) = \whole{1} - P(\excluded{A}) = \whole{1} - \frac{\excluded{3}}{\whole{36}} = \event{\frac{11}{12}}.

Continuous spaces with uniformly random points (Geometric Probability)

When a point or arrival time is chosen uniformly along a line or across a flat shape, replace counting with measuring length (410=25\frac{\event{4}}{\whole{10}} = \event{\frac{2}{5}} on a 0-to-10\whole{0\text{-to-}10} segment) or area (9π100\frac{\event{9\pi}}{\whole{100}} for a radius-3\event{3} circle inside a 10-by-10\whole{10\text{-by-}10} square).

Uneven objects or real-world data (Experimental Probability)

When outcomes aren't equally likely (like a bent bottle cap) or you are recording actual tosses, divide the count of what happened by the number of trials, 3250=64%\frac{\observed{32}}{\observed{50}} = \observed{64\%}. Over a small number of trials, random results jump around (710\observed{\frac{7}{10}} Heads in 10\observed{10} fair coin flips), but after thousands or millions of trials, the experimental fraction is likely to be close to the true probability (12\event{\frac{1}{2}} for the fair coin).

6

Practice

1

A spinner with 44 equal sections labeled A, B, C, and D is spun once, and a fair six-sided die is rolled once. How many outcomes are in the sample space, and what is the probability of landing on A and rolling an even number?

Think of a grid with 44 spinner rows and 66 die columns. How many boxes in row A are in an even column?

Multiply the 44 spinner rows by the 66 die columns to get 4×6=244 \times 6 = \whole{24} outcomes (watch out for the common mistake of adding 4+6=104 + 6 = 10). In row A, the even die columns are (A,2)\event{(A, 2)}, (A,4)\event{(A, 4)}, and (A,6)\event{(A, 6)} (don't count all 1212 even boxes across all four rows, which would give 12\frac{1}{2}).
24 outcomes;324\displaystyle \whole{24}\text{ outcomes};\quad \frac{\event{3}}{\whole{24}} =18\displaystyle = \event{\frac{1}{8}}
2

A student guesses randomly on a 3-question3\text{-question} True/False quiz, where each question is equally likely to be answered Correct (C) or Incorrect (I). What is the probability that the student gets exactly 11 question correct?

A 3-step3\text{-step} tree with 22 branches per question has 2×2×22 \times 2 \times 2 paths. Which paths contain a single `C`?

There are 2×2×2=82 \times 2 \times 2 = \whole{8} equally likely paths on the tree (don't just count the four totals "0,1,2, or 30, 1, 2,\text{ or }3 correct" to get 14\frac{1}{4}). The single correct answer can happen on the first, second, or third question: `CII`, `ICI`, or `IIC` (counting only `CII` is a common mistake that gives 18\frac{1}{8}).
38\displaystyle \frac{\event{3}}{\whole{8}}
3

Two fair six-sided dice are rolled. What is the probability that the sum of the two dice is at least 44?

Which tiny corner sums on the 36-box36\text{-box} grid are not at least 44?

Use the complement: "at least 4\event{4}" includes 4\event{4}, so the only unwanted sums are 2\excluded{2} and 3\excluded{3} (if you accidentally leave out a sum of 44 as well, you subtract 66 boxes and get 56\frac{5}{6}). The unwanted boxes are (1,1)\excluded{(1,1)} for a sum of 2\excluded{2}, plus both (1,2)\excluded{(1,2)} and (2,1)\excluded{(2,1)} for a sum of 3\excluded{3}. Don't forget that (1,2)\excluded{(1,2)} and (2,1)\excluded{(2,1)} are two separate boxes on the grid, or you'll get 3436=1718\frac{34}{36} = \frac{17}{18}. Subtracting those 3\excluded{3} boxes from 36\whole{36} gives 36−3=33\whole{36} - \excluded{3} = \event{33}.
3336\displaystyle \frac{\event{33}}{\whole{36}} =1112\displaystyle = \event{\frac{11}{12}}
4

A train arrives at a station every 15 minutes15\text{ minutes}. If you arrive uniformly at random during a 15-minute15\text{-minute} interval between trains, what is the probability that you wait between 66 and 15 minutes15\text{ minutes} for the next train?

On a 15-minute15\text{-minute} timeline, how long is the continuous segment from 66 to 1515?

The target segment from 6\event{6} to 15\event{15} has length 15−6=915 - 6 = \event{9} out of a total timeline length of 15\whole{15} (don't use the 0-to-60\text{-to-}6 segment to get 615=25\frac{6}{15} = \frac{2}{5}, and don't count the 1010 whole-number minute marks from 66 through 1515 to get 1015=23\frac{10}{15} = \frac{2}{3}).
915\displaystyle \frac{\event{9}}{\whole{15}} =35 (or 60%)\displaystyle = \event{\frac{3}{5}} \text{ (or } \event{60\%})
5

A circular target with a radius of 4 inches4\text{ inches} is painted inside a square board with a side length of 12 inches12\text{ inches}. If a dart hits a uniformly random point on the square board, what is the probability that it lands outside the circle?

Combine geometric area with the complement: what fraction of the square's area is inside the circle first?

The square has area 12×12=14412 \times 12 = \whole{144} and the circle has area π(42)=16π\pi(4^2) = \excluded{16\pi}, so landing inside the circle has probability 16π144=π9\frac{\excluded{16\pi}}{\whole{144}} = \excluded{\frac{\pi}{9}}. Because the question asks for landing outside the circle, don't stop at π9\excluded{\frac{\pi}{9}}. Subtract that fraction from the whole board.
144−16π144\displaystyle \frac{\whole{144} - \excluded{16\pi}}{\whole{144}} =1−π9\displaystyle = \whole{1} - \excluded{\frac{\pi}{9}}
6

A six-sided die is rolled 6060 times, and the number 55 lands face-up 1515 times. What is the experimental probability of rolling a 55, how does it compare to the theoretical probability for a fair die, and what should happen to the experimental fraction if the fair die is rolled 100,000100{,}000 times?

Use the number of times 55 was rolled (not the face number 55 itself) for the experimental fraction, and compare it to the 66 equal faces of the die.

Divide the 15\observed{15} rolls of 55 by the 60\observed{60} trials (don't divide the face number 55 by 6060 to get 560=112\frac{5}{60} = \frac{1}{12}). The experimental probability is 1560=14\frac{\observed{15}}{\observed{60}} = \observed{\frac{1}{4}} (25%\observed{25\%}), which is higher than the theoretical probability of 16\event{\frac{1}{6}} for a fair die; after 100,000\observed{100{,}000} rolls, the experimental fraction is likely to be close to 16\event{\frac{1}{6}}, though it may be above or below it.