Geometric Probability
Compute probabilities for continuous uniform variables by comparing areas or volumes.
1. The idea
When a probability question involves independent uniform random variables, you can represent the sample space as a geometric region (an interval, square, or cube) and events as subregions. Probability then equals the ratio of areas (or volumes), since the density is constant.
This turns inequalities like or into geometry: sketch the unit square (or relevant region), shade the area satisfying the inequality, and compute that area directly using triangles, trapezoids, or integration when needed.
The technique generalizes to three or more uniform variables using volumes, though interview problems rarely go beyond two dimensions since the geometry becomes harder to visualize quickly.
2. Why it matters
Geometric probability lets you solve continuous probability puzzles without setting up integrals from scratch — a quick sketch plus elementary area formulas is usually enough, which is valuable under interview time pressure.
3. Core mathematics
Geometric probability
Uniform on unit square
Density is constant 1, so probability equals area.
4. How to recognize it
Think of this when…
- Two or more independent uniform random variables with an inequality involving them.
- The phrase "chosen uniformly at random on [0,1]" or similar interval/region language.
- Questions about meeting times, broken stick problems, or points landing in a region.
- A probability that would otherwise require a double integral — check if it simplifies to a shape's area.
5. Worked example
Worked example
and are independent Uniform(0,1) random variables. Find .
- 1
The sample space is the unit square , with area 1, and density uniform over it.
- 2
The event is the region below the line from to , which is a right triangle with legs of length 1.
- 3
Compute the triangle's area.
- 4
Since the total square has area 1, the probability equals the triangle's area directly.
- Answer:
6. Common mistakes
- Forgetting to normalize by the total area of the sample space when it isn't 1.
- Misdrawing the boundary line for an inequality (e.g. confusing with , shading the wrong side).
- Using geometric probability when the variables are not uniform — the area trick only works because the density is constant.
- Errors in area computation for non-triangular regions; breaking a region into simpler triangles/rectangles helps avoid this.
7. Quick check
iid Uniform(0,1). What is ?
iid Uniform(0,1). What is ?
8. Practice
17 QuantSolve questions use this concept.
Practice this concept9. Related methods
Create a free account to save lesson progress.
Recommended next lessonOrder Statistics →