Ham Sandwich Theorem Carola Wenk 3/8/16 1 CMPS 6640/4040 - - PowerPoint PPT Presentation

ham sandwich theorem
SMART_READER_LITE
LIVE PREVIEW

Ham Sandwich Theorem Carola Wenk 3/8/16 1 CMPS 6640/4040 - - PowerPoint PPT Presentation

CMPS 6640/4040 Computational Geometry Spring 2016 Ham Sandwich Theorem Carola Wenk 3/8/16 1 CMPS 6640/4040 Computational Geometry Ham-Sandwich Theorem Theorem: Let P and Q be two finite point sets in the plane Then there exists a line l such


slide-1
SLIDE 1

3/8/16 CMPS 6640/4040 Computational Geometry 1

CMPS 6640/4040 Computational Geometry Spring 2016

Ham Sandwich Theorem

Carola Wenk

slide-2
SLIDE 2

3/8/16 CMPS 6640/4040 Computational Geometry 2

Ham-Sandwich Theorem

Theorem: Let P and Q be two finite point sets in the plane Then there exists a line l such that on each side of l there are at most |P|/2 points of P and at most |Q|/2 points of Q.

slide-3
SLIDE 3

3/8/16 CMPS 6640/4040 Computational Geometry 3

Ham-Sandwich Theorem

Proof: Find a line l such that on each side of l there are at most |P|/2 points of P. Then rotate l counter-clockwise in such a way that there are always at most |P|/2 points of P on each side of l.

slide-4
SLIDE 4

3/8/16 CMPS 6640/4040 Computational Geometry 4

Rotation

Left: 4 Right: 4

slide-5
SLIDE 5

3/8/16 CMPS 6640/4040 Computational Geometry 5

Rotation

Left: 4 Right: 3 Rotate around this point now

slide-6
SLIDE 6

3/8/16 CMPS 6640/4040 Computational Geometry 6

Rotation

Left: 4 Right: 4

slide-7
SLIDE 7

3/8/16 CMPS 6640/4040 Computational Geometry 7

Rotation

Left: 3 Right: 4 rotate

slide-8
SLIDE 8

3/8/16 CMPS 6640/4040 Computational Geometry 8

Rotation

Left: 3 Right: 4 rotate

slide-9
SLIDE 9

3/8/16 CMPS 6640/4040 Computational Geometry 9

Rotation

Left: 4 Right: 3 rotate

slide-10
SLIDE 10

3/8/16 CMPS 6640/4040 Computational Geometry 10

Rotation

Left: 3 Right: 4 rotate

slide-11
SLIDE 11

3/8/16 CMPS 6640/4040 Computational Geometry 11

Rotation

Left: 4 Right: 3 rotate

slide-12
SLIDE 12

3/8/16 CMPS 6640/4040 Computational Geometry 12

Rotation

Left: 2 Right: 4 Rotate around this point now

slide-13
SLIDE 13

3/8/16 CMPS 6640/4040 Computational Geometry 13

Rotation

Left: 4 Right: 4 Rotate around this point now

slide-14
SLIDE 14

3/8/16 CMPS 6640/4040 Computational Geometry 14

Rotation

Left: 4 Right: 3 rotate

slide-15
SLIDE 15

3/8/16 CMPS 6640/4040 Computational Geometry 15

Rotation

Left: 3 Right: 4 rotate

slide-16
SLIDE 16

3/8/16 CMPS 6640/4040 Computational Geometry 16

Rotation

Left: 4 Right: 3 rotate

slide-17
SLIDE 17

3/8/16 CMPS 6640/4040 Computational Geometry 17

Rotation

Left: 4 Right: 4

slide-18
SLIDE 18

3/8/16 CMPS 6640/4040 Computational Geometry 18

Proof Continued

In general, choose the rotation point such that the number of points on each side of l does not change.

k points m points k points m points rotate rotate

slide-19
SLIDE 19

3/8/16 CMPS 6640/4040 Computational Geometry 19

Proof Continued

Throughout the rotation, there are at most |P|/2 points on each side of l. After 180 rotation, we get the line which is l but directed in the other direction. Let t be the number of blue points to the left of l at the

  • beginning. In the end, t points are on the right side of l, so

|Q|-t-1 are on the left side. Therefore, there must have been

  • ne orientation of l such that there were t most |Q|/2 points
  • n each side of l.