← Back to Geometry

Classical probability counts outcomes — but what if there are infinitely many? Geometric probability measures outcomes using length, area, or volume. A randomly chosen point is equally likely to land anywhere, so probability = favorable measure ÷ total measure.

P(A) = m / n  ·  m = measure of event A  ·  n = total measure of sample space

Part 1 — Length (1D): Picking a number from [−2, 4]

SPACEx ∈ [−2, 4]   length = 6
EVENTx ∈ [1, 3]   length = 2
P(A)m / n = 2 / 6 = 1/3

Steps

Sample space [−2, 4]
Event A = [1, 3]

Part 2 — Area (2D): Dart thrown at a square — does it land in the circle?

SPACESquare 2r × 2r   area = 4r²
EVENTCircle radius r   area = πr²
P(A)πr² / 4r² = π / 4 ≈ 0.785
Bonus: if you simulate enough darts, you can estimate π !

Steps

Square (sample space)
Circle (event A)