M
Math Coach Amy
Amy Ferguson Moncure

IB AI · 14B Voronoi Diagrams

Which Cell

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.

Jump to section:

Smallest squared distance. A tie is an edge.

What to Remember

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.

Easy

Easy

Three sites.

Example
Sites: A(0, 0), B(6, 0), C(0, 8). Which site is nearest to (1, 1)? Compare squared distances. If two match, the point is on the edge between those sites.

Squared distance = (x − x₁)² + (y − y₁)².

A: 2

B: 26

C: 50

The smallest squared distance belongs to A.

Answer: A

1
Sites: A(0, 0), B(4, 0), C(0, 6). Which site is nearest to (1, 1)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

Squared distance = (x − x₁)² + (y − y₁)².

A: 2

B: 10

C: 26

The smallest squared distance belongs to A.

Answer: A

2
Sites: A(0, 0), B(6, 0), C(0, 8). Which site is nearest to (5, 1)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

Squared distance = (x − x₁)² + (y − y₁)².

A: 26

B: 2

C: 74

The smallest squared distance belongs to B.

Answer: B

3
Sites: A(1, 1), B(5, 1), C(3, 6). Which site is nearest to (3, 2)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

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

4
Sites: A(0, 0), B(8, 0), C(0, 6). Which site is nearest to (2, 5)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

Squared distance = (x − x₁)² + (y − y₁)².

A: 29

B: 61

C: 5

The smallest squared distance belongs to C.

Answer: C

5
Sites: P(2, 3), Q(7, 1), R(6, 8). Which site is nearest to (2, 4)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

Squared distance = (x − x₁)² + (y − y₁)².

P: 1

Q: 34

R: 32

The smallest squared distance belongs to P.

Answer: P

Medium

Medium

A point on an edge.

Example
Sites: A(0, 0), B(6, 0), C(0, 8). Which site is nearest to (3, 1)? Compare squared distances. If two match, the point is on the edge between those sites.

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

1
Sites: A(0, 0), B(4, 0), C(0, 6). Which site is nearest to (2, 1)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

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

2
Sites: A(0, 0), B(8, 0), C(4, 6). Which site is nearest to (4, 0)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

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

3
Sites: A(1, 2), B(5, 2), C(3, 7). Which site is nearest to (3, 2)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

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

4
Sites: D(0, 1), E(6, 1), F(3, 8). Which site is nearest to (3, 1)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

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

5
Sites: A(2, 2), B(8, 2), C(5, 9). Which site is nearest to (5, 3)? Compare squared distances. If two match, the point is on the edge between those sites.
Show Answer

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

Hard

Hard

Use the nearest reading.

Example
Weather sites A(0, 2) reads 18, B(6, 2) reads 22, C(3, 8) reads 20. Estimate the temperature at (1, 2) by the nearest site.

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

1
Weather sites A(0, 0) reads 1015, B(8, 0) reads 1025, C(4, 6) reads 1020. Estimate the pressure at (7, 1) by the nearest site.
Show Answer

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

2
Weather sites A(1, 1) reads 12, B(7, 1) reads 18, C(4, 7) reads 30. Estimate the rainfall at (4, 6) by the nearest site.
Show Answer

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

3
Weather sites P(0, 3) reads 16, Q(6, 0) reads 21, R(6, 6) reads 19. Estimate the temperature at (1, 3) by the nearest site.
Show Answer

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

4
Weather sites A(2, 2) reads 40, B(8, 2) reads 28, C(5, 7) reads 35. Estimate the rainfall at (8, 3) by the nearest site.
Show Answer

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

5
Weather sites A(0, 0) reads 11, B(10, 0) reads 15, C(5, 8) reads 19. Estimate the temperature at (6, 1) by the nearest site.
Show Answer

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