IB AI · 14B Voronoi Diagrams
A point belongs to the site with the smallest distance. Compare squared distances. A tie means the point is on the edge, so both sites include it.
Squared distance
(x − x₁)² + (y − y₁)². The smallest square is the nearest site.
A tie
Equal distances mean the point is on the boundary.
A reading
Estimate a measurement by the nearest site’s reading.
Edges count
A house on an edge can use either site.
Three sites.
Squared distance = (x − x₁)² + (y − y₁)².
A: 2
B: 26
C: 50
The smallest squared distance belongs to A.
Answer: A
Squared distance = (x − x₁)² + (y − y₁)².
A: 2
B: 10
C: 26
The smallest squared distance belongs to A.
Answer: A
Squared distance = (x − x₁)² + (y − y₁)².
A: 26
B: 2
C: 74
The smallest squared distance belongs to B.
Answer: B
Squared distance = (x − x₁)² + (y − y₁)².
A: 5
B: 5
C: 16
The smallest squared distance is shared, so the point is on the edge between A and B.
Answer: A and B
Squared distance = (x − x₁)² + (y − y₁)².
A: 29
B: 61
C: 5
The smallest squared distance belongs to C.
Answer: C
Squared distance = (x − x₁)² + (y − y₁)².
P: 1
Q: 34
R: 32
The smallest squared distance belongs to P.
Answer: P
A point on an edge.
Squared distance = (x − x₁)² + (y − y₁)².
A: 10
B: 10
C: 58
The smallest squared distance is shared, so the point is on the edge between A and B.
Answer: A and B
Squared distance = (x − x₁)² + (y − y₁)².
A: 5
B: 5
C: 29
The smallest squared distance is shared, so the point is on the edge between A and B.
Answer: A and B
Squared distance = (x − x₁)² + (y − y₁)².
A: 16
B: 16
C: 36
The smallest squared distance is shared, so the point is on the edge between A and B.
Answer: A and B
Squared distance = (x − x₁)² + (y − y₁)².
A: 4
B: 4
C: 25
The smallest squared distance is shared, so the point is on the edge between A and B.
Answer: A and B
Squared distance = (x − x₁)² + (y − y₁)².
D: 9
E: 9
F: 49
The smallest squared distance is shared, so the point is on the edge between D and E.
Answer: D and E
Squared distance = (x − x₁)² + (y − y₁)².
A: 10
B: 10
C: 36
The smallest squared distance is shared, so the point is on the edge between A and B.
Answer: A and B
Use the nearest reading.
The temperature at a point is the temperature at the nearest site.
A: squared distance 1, temperature 18
B: squared distance 25, temperature 22
C: squared distance 40, temperature 20
The nearest site is A, so the estimate is 18.
Answer: 18
The pressure at a point is the pressure at the nearest site.
A: squared distance 50, pressure 1015
B: squared distance 2, pressure 1025
C: squared distance 34, pressure 1020
The nearest site is B, so the estimate is 1025.
Answer: 1025
The rainfall at a point is the rainfall at the nearest site.
A: squared distance 34, rainfall 12
B: squared distance 34, rainfall 18
C: squared distance 1, rainfall 30
The nearest site is C, so the estimate is 30.
Answer: 30
The temperature at a point is the temperature at the nearest site.
P: squared distance 1, temperature 16
Q: squared distance 34, temperature 21
R: squared distance 34, temperature 19
The nearest site is P, so the estimate is 16.
Answer: 16
The rainfall at a point is the rainfall at the nearest site.
A: squared distance 37, rainfall 40
B: squared distance 1, rainfall 28
C: squared distance 25, rainfall 35
The nearest site is B, so the estimate is 28.
Answer: 28
The temperature at a point is the temperature at the nearest site.
A: squared distance 37, temperature 11
B: squared distance 17, temperature 15
C: squared distance 50, temperature 19
The nearest site is B, so the estimate is 15.
Answer: 15
Want to go over a Voronoi diagram together?
Book a Session with Amy