Skip to content
Combinatorics · Chapter 8

Geometric Probability

When outcomes form a continuum, count them by measuring: lengths, areas and volumes turn waiting times, random points and dropped coins into probabilities.

You'll need
open on YouTube
8.00%

Probability as Area

In this section you will be able to turn a probability with infinitely many outcomes into a ratio of areas.

Alex and Bob each show up at a random moment between 3 and 4 PM, and each waits 15 minutes. There are infinitely many ways this can go. So how can you count them?

You can’t list the outcomes, but you can draw them. Two random times make a point in a square. The outcomes you want make a region. The probability is the region’s share of the square’s area.

Look: the hard part is never the arithmetic. It is finding the region. Try the extreme cases first, mark them on the picture, then fill in the shape between them.

Exploreplay first, formulas later

Probability as area: shade where arrival times within 15 minutes of each other (Wait time w (min) = 15 min); shaded area ÷ total area = 7/16 ≈ 0.4375.

Wait time w (min)15 min
3:003:153:303:454:003:003:153:303:454:00AlexBob
Shaded ÷ total = 716\frac{7}{16} ≈ 0.4375No darts thrown yet

Shaded where arrival times within 15 minutes of each other, Wait time w (min) = 15 min. Exact probability 7/16 ≈ 0.4375. No darts thrown yet.

Name it

Definition 8.0.1 · Geometric Probability

Geometric probability is a way to calculate probability by measuring the number of outcomes geometrically, in terms of length, area, or volume. The key to solving geometric probability is

  1. Try a few examples for the different cases, and always mark the extreme cases.
  2. Figure out the region the shape maps out.
  3. Use geometry to find the area of this region.
P=size of the good regionsize of the whole sample spaceP = \frac{\text{size of the good region}}{\text{size of the whole sample space}}

Remark 8.0.2

Geometric probability can be useful when the number of possible outcomes is infinite.

You can't list infinitely many outcomes, but you can measure them. Throwing random darts at the picture shows the area ratio really is the probability: the share of darts in the shaded region settles down near it.

Watch itpredict, then reveal

Example 8.1

Alex and Bob arrive at a random time from 3 PM to 4 PM. They will each wait for 15 minutes before leaving. What is the probability that they will meet?

Probability region (its total is revealed at the end of the example)

Wait time w (min)15 min
3:003:153:303:454:003:003:153:303:454:00AlexBob
Exact value hidden: estimate it with dartsNo darts thrown yet

Shaded where arrival times within 15 minutes of each other, Wait time w (min) = 15 min. No darts thrown yet.

  1. 1

    What must happen for the 2 people to meet?

    Predict first:
    Click a choice or type its letter (A–E).

Example 8.2

AMC 10

Chloé chooses a real number uniformly at random from the interval [0,2017][0, 2017]. Independently, Laurent chooses a real number uniformly at random from the interval [0,4034][0, 4034]. What is the probability that Laurent's number is greater than Chloé's number? (Assume they cannot be equal)

Probability region (its total is revealed at the end of the example)

Laurent's range ÷ Chloé's2×
02017020174034ChloéLaurent
Exact value hidden: estimate it with dartsNo darts thrown yet

Shaded where Laurent's number greater than Chloé's, Laurent's range ÷ Chloé's = 2×. No darts thrown yet.

  1. 1

    Two random numbers, so draw a picture. What shape is the sample space if Chloé's number is xx and Laurent's is yy?

    Predict first:
    Click a choice or type its letter (A–E).
open on YouTube

Example 8.3

AMC 10

Real numbers xx and yy are chosen independently and uniformly at random from the interval [0,1][0, 1]. Which of the following numbers is closest to the probability that xx, yy, and 11 are the side lengths of an obtuse triangle?

  1. (A)0.210.21
  2. (B)0.250.25
  3. (C)0.290.29
  4. (D)0.500.50
  5. (E)0.790.79

Probability region (its total is revealed at the end of the example)

0101xy
Exact value hidden: estimate it with dartsNo darts thrown yet

Shaded where x + y > 1 (a triangle exists) and x² + y² < 1 (it is obtuse). No darts thrown yet.

  1. 1

    Which of xx, yy, 11 is the longest side?

open on YouTube

Example 8.4

AMC 10

A square with side length 88 is colored white except for 44 black isosceles right triangular regions with legs of length 22 in each corner of the square and a black diamond with side length 222\sqrt{2} in the center of the square, as shown in the diagram. A circular coin with diameter 11 is dropped onto the square and lands in a random location where the coin is completely contained within the square. The probability that the coin will cover part of the black region of the square can be written as 1196(a+b2+π)\frac{1}{196}\left(a + b\sqrt{2} + \pi\right), where aa and bb are positive integers. What is a+ba + b?

Probability region (its total is revealed at the end of the example)

Coin radius r1/2

Dashed box: where the center can land. Shaded: centers where the coin touches black.

Exact value hidden: estimate it with dartsNo darts thrown yet

Shaded where coin of radius 1/2 touches a black shape, Coin radius r = 1/2. No darts thrown yet.

  1. 1

    Track the coin's center. The coin (radius 12\frac12) must stay inside the square. Where can the center land, and what is that area?

    Predict first:
open on YouTube

Example 8.5

AMC 10/12

Let SS be a square of side length 11. Two points are chosen independently at random on the sides of SS. The probability that the straight-line distance between the points is at least 12\frac12 is a−bπc\frac{a - b\pi}{c}, where aa, bb, and cc are positive integers with gcd⁡(a,b,c)=1\gcd(a, b, c) = 1. What is a+b+ca + b + c?

Probability region (its total is revealed at the end of the example)

Distance d1/2
01/2101/21xy
Exact value hidden: estimate it with dartsNo darts thrown yet

Shaded where |x − y| ≥ 1/2 (both points on one side), Distance d = 1/2. No darts thrown yet.

  1. 1

    Break it into cases by where the second point lands. Case 1: both points on the same side. How likely is this case?

    Predict first:

Try it

Problem 8.2.1

This problem also appears in the book as 8.1.

Alex and Bob decide to meet at the park between 3 and 4 pm. They both will arrive at a random time during the hour but will only wait up to 15 minutes for the other person and then leave the park. What is the probability that they will meet?

Contest cornerreal contest problems

Problem 8.2.3

AMC 10

Sonya the frog chooses a point uniformly at random lying within the square [0,6]×[0,6][0, 6] \times [0, 6] in the coordinate plane and hops to that point. She then randomly chooses a distance uniformly at random from [0,1][0, 1] and a direction uniformly at random from north, south, east, west. All the choices are independent. She now hops the distance in the chosen direction. What is the probability that she lands outside the square?

Problem 8.2.4

AMC 10

Real numbers between 0 and 1, inclusive, are chosen in the following manner. A fair coin is flipped. If it lands heads, then it is flipped again and the chosen number is 0 if the second flip is heads, and 1 if the second flip is tails. On the other hand, if the first coin flip is tails, then the number is chosen uniformly at random from the closed interval [0,1][0, 1]. Two random numbers xx and yy are chosen independently in this manner. What is the probability that ∣x−y∣>12|x - y| > \frac12?

Problem 8.2.6

AMC 10A

A point PP is chosen at random inside square ABCDABCD. The probability that AP‾\overline{AP} is neither the shortest nor the longest side of △APB\triangle APB can be written as a+bπ−cde\frac{a + b\pi - c\sqrt{d}}{e}, where aa, bb, cc, dd, and ee are positive integers, gcd⁡(a,b,c,e)=1\gcd(a, b, c, e) = 1, and dd is not divisible by the square of a prime. What is a+b+c+d+ea + b + c + d + e?

Problem 8.2.7(additional)

AIME

Two mathematicians take a morning coffee break each day. They arrive at the cafeteria independently, at random times between 9 a.m. and 10 a.m., and stay for exactly mm minutes. The probability that either one arrives while the other is in the cafeteria is 40%40\%, and m=a−bcm = a - b\sqrt{c}, where aa, bb, and cc are positive integers, and cc is not divisible by the square of any prime. Find a+b+ca + b + c.

Probability as area: shade where arrival times within 12 minutes of each other (they overlap) (Stay m (min) = 12 min).

Stay m (min)12 min
9:009:159:309:4510:009:009:159:309:4510:00Mathematician 1Mathematician 2
Exact value hidden: estimate it with dartsNo darts thrown yet

Shaded where arrival times within 12 minutes of each other (they overlap), Stay m (min) = 12 min. No darts thrown yet.

Problem 8.2.8(additional)

AIME

A circle of radius 1 is randomly placed in a 15-by-36 rectangle ABCDABCD so that the circle lies completely within the rectangle. Given that the probability that the circle will not touch diagonal ACAC is m/nm/n, where mm and nn are relatively prime positive integers, find m+nm + n.

Probability as area: shade where circle of radius 1 misses the diagonal AC (Circle radius r = 1).

Circle radius r1

Dashed box: where the center can land. Shaded: centers where the circle misses the diagonal.

Exact value hidden: estimate it with dartsNo darts thrown yet

Shaded where circle of radius 1 misses the diagonal AC, Circle radius r = 1. No darts thrown yet.

Checkpoint for section 8.0

Get 2 of 3 right to master this section. One try each, no hints.
1

Two numbers xx and yy are chosen uniformly at random from [0,1][0, 1]. What is the probability that x+y<12x + y < \frac12?

2

A dart lands at a uniformly random point of a square with side 22. What is the probability that it lands within distance 11 of the center of the square?

3

Ann and Ben each arrive at a random time between 1:00 and 2:00 and wait 20 minutes for the other. What is the probability that they meet?

8.10%

Geometric Probability in 3D

In this section you will be able to handle three random numbers by slicing the unit cube and adding up the slices.

Ant Amelia picks three random step lengths. Will they add up to more than 1? Three random numbers make a point in a cube, so now the probability is a volume.

Volumes are harder to see than areas. The trick is to slice. Fix the last variable at height tt and the slice is a 2-D region you already know how to measure. Stack the slices from t=0t = 0 to t=1t = 1 and you have the volume.

Look: the corner where x+y+z≤1x + y + z \le 1 is a pyramid with volume 13⋅12⋅1\frac13 \cdot \frac12 \cdot 1. That one number answers a surprising number of contest problems.

Exploreplay first, formulas later

Unit cube sliced at z = 3/10; good region: x + y + z ≤ 1. Slice area 49/200; whole volume 1/6.

Slice z = t0.30

Good region: x + y + z ≤ 1

xyzxyslice z = 0.30011tA
A(310)=49200,volume so far=2192000,total=16A(\frac{3}{10}) = \frac{49}{200},\quad \text{volume so far} = \frac{219}{2000},\quad \text{total} = \frac{1}{6}

Slice z = 0.30: area 49/200; volume so far 219/2000; whole volume 1/6 (x + y + z ≤ 1).

Watch itpredict, then reveal

Example 8.6

AMC 10/12

Ant Amelia starts on the number line at 00 and crawls in the following manner. For n=1,2,3n = 1, 2, 3, Amelia chooses a time duration tnt_n and an increment xnx_n independently and uniformly at random from the interval (0,1)(0, 1). During the nnth step of the process, Amelia moves xnx_n units in the positive direction, using up tnt_n minutes. If the total elapsed time has exceeded 11 minute during the nnth step, she stops at the end of that step; otherwise, she continues with the next step, taking at most 33 steps in all. What is the probability that Amelia's position when she stops will be greater than 11?

Slice volume (its total is revealed at the end of the example)

Slice x₃ = t0.30

Good region: x₁ + x₂ + x₃ > 1

x₁x₂x₃x₁x₂slice x₃ = 0.30011tA
Slice at x₃ = 0.30: find the area of the shaded part.

Slice x₃ = 0.30 of the cube where x₁ + x₂ + x₃ > 1.

  1. 1

    Can Amelia stop after just one step?

open on YouTube

Contest cornerreal contest problems

Problem 8.2.5

AMC 12

Three real numbers are chosen independently and uniformly at random between 0 and 1. What is the probability that the greatest of these three numbers is greater than 2 times each of the other two numbers? (In other words, if the chosen numbers are a≥b≥ca \ge b \ge c, then a>2ba > 2b.)

Unit cube sliced at z = 1/5; good region: the largest number is more than twice each of the others.

Slice z = t0.20

Good region: the largest number is more than twice each of the others

xyzxyslice z = 0.20011tA
Slice at z = 0.20: find the area of the shaded part.

Slice z = 0.20 of the cube where the largest number is more than twice each of the others.

Checkpoint for section 8.1

Get 2 of 3 right to master this section. One try each, no hints.
1

Three numbers xx, yy, zz are chosen uniformly at random from [0,1][0, 1]. What is the probability that x+y+z≤1x + y + z \le 1?

2

Slice the region x+y+z≤1x + y + z \le 1 of the unit cube at height z=12z = \frac12. What is the area of the cross-section?

3

Three numbers xx, yy, zz are chosen uniformly at random from [0,1][0, 1]. What is the probability that x+y+z≤2x + y + z \le 2?

8.2

Practice Problems

In this section you will be able to practice a mixed problem from this chapter's problem set.

Not every probability in this chapter is geometric. This octagon problem counts triangles instead of measuring areas, so pick the tool that fits.

Want every problem from this chapter on one page? Open the problem set.

Contest cornerreal contest problems

Problem 8.2.2

AMC

This problem also appears in the book as 7.6.2.

From a regular octagon, a triangle is formed by connecting three randomly chosen vertices of the octagon. What is the probability that at least one of the sides of the triangle is also a side of the octagon?