+ All Categories
Home > Education > Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Date post: 01-Jun-2015
Category:
Upload: joshua-holden
View: 410 times
Download: 3 times
Share this document with a friend
Description:
An Eulerian walk traverses each edge of a graph exactly once. What happens if you want to traverse each edge of a graph exactly twice? If you want to cover the graph with "double-running stitch", then you need to traverse each edge twice but also put conditions on how many edges you traverse in-between. Then you could add conditions on whether you traverse the edges once in each direction or twice in the same direction. Which graphs can you still traverse? Classical algorithms for solving mazes give us some answers to these questions, but others are still open.
Popular Tags:
38
Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks Joshua Holden Joint work with (and diagrams by) Lana Holden http://www.rose-hulman.edu/ ~holden 1 / 32
Transcript
Page 1: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Stitching Graphs andPainting Mazes:

Problems inGeneralizations of

Eulerian Walks

Joshua Holden

Joint work with (anddiagrams by) Lana Holden

http://www.rose-hulman.edu/~holden

1 / 32

Page 2: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Blackwork, also known as “Spanish stitch”, becamepopular in England around 1501.

Supposedly Catherine of Aragon brought it to England then.But in fact it was already known there and many other places.

2 / 32

Page 3: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Blackwork is also known as “Holbein stitch”, thanks toHans Holbein the Younger, Henry VIII’s court painter.

His paintings are so detailed you can clearly see the stitching.3 / 32

Page 4: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

The rules of blackwork embroidery depend(somewhat) on who you ask.

The most common materials traditionally are black thread andlight-colored linen.

4 / 32

Page 5: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

The stitching is traditionally done with “double runningstitch”.

1 2 43 5 6 87

Also sometimes back stitch, but we will be talking about doublerunning stitch.

5 / 32

Page 6: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

The stitching is traditionally done with “double runningstitch”.

15 1314 12 11 910

1 2 43 5 6 87

Also sometimes back stitch, but we will be talking about doublerunning stitch.

5 / 32

Page 7: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

The stitching is traditionally done with “double runningstitch”.

1 2

4

3

5 6

8

39

13

14

12 11

9 10

15 16

18

19 20

17

22 21 23

24

25 26

28

29 30

27

3231

333435363738 7

Also sometimes back stitch, but we will be talking about doublerunning stitch.

5 / 32

Page 8: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Also, we will only be talking about reversible patterns,which appear the same from both sides of the fabric.

(“Betsy”, by Catherine Strickler, published by Indigo Rose)Reversible patterns were often used for cuffs and collars.

6 / 32

Page 9: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

A digraph is a set of vertices, V , and a set of edges, E ,where each edge is an ordered pair of distinct vertices.

The order is thought of as indicating a “direction”.7 / 32

Page 10: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

An (undirected) graph may be associated to a digraphby forgetting about the ordering of the pairs.

8 / 32

Page 11: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

A (symmetric) digraph may be associated to a graphby including both possible directions of each edge.

9 / 32

Page 12: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

A walk on a graph is a finite alternating sequence ofvertices and edges x0, {x0, x1}, x1, . . . , {xn−1, xn}, xn.

10 / 32

Page 13: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

A graph is connected if there is a walk between anytwo vertices.

11 / 32

Page 14: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

A directed walk on a digraph is a finite sequence ofvertices and edges x0, (x0, x1), x1, . . . , (xn−1, xn), xn.

12 / 32

Page 15: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

A Eulerian circuit on a digraph is a directed walk withevery edge used exactly once and x0 = xn.

13 / 32

Page 16: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Every symmetric digraph associated to a connectedgraph is Eulerian, i.e., has an Eulerian circuit.

14 / 32

Page 17: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Having an Eulerian digraph is necessary for a patternto be reversibly stitchable, but is it sufficient?

The two different directions have to lie on opposite sides of the fabric.15 / 32

Page 18: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Having an Eulerian digraph is necessary for a patternto be reversibly stitchable, but is it sufficient?

1 2

4

3

5 6

8

39

13

14

12 11

9 10

15 16

18

19 20

17

22 21 23

24

25 26

28

29 30

27

3231

333435363738 7

The two different directions have to lie on opposite sides of the fabric.15 / 32

Page 19: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

If x0,e1, x1, . . . ,en, xn is a directed trail on a digraph,we say that the parity of each edge ei is the parity of i .

16 / 32

Page 20: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

A Holbeinian circuit on a digraph is an Eulerian circuitwhere all (x , y) and (y , x) have opposite parities.

17 / 32

Page 21: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Theorem: Every symmetric digraph associated to aconnected graph is Holbeinian.

This will not be a surprise to any embroiderers.

18 / 32

Page 22: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Theorem: Every symmetric digraph associated to aconnected graph is Holbeinian.

There are several ways we could prove this theorem.

18 / 32

Page 23: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

One way is to give an algorithm which produces thecircuit. This one is “Tarry’s Algorithm” (with parity).

Suppose we have a strongly connected symmetric digraph.1. Start at an arbitrary vertex x0.2. Proceed along any edge.

19 / 32

Page 24: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

One way is to give an algorithm which produces thecircuit. This one is “Tarry’s Algorithm” (with parity).

3. At each later step, suppose we have arrived at a vertex y .If y is not x0, let (x1, y) be the edge that first reached y(“entry edge”).

a. If there is an edge (y , z) other than (y , x1) which has notbeen traversed (and such that (z, y) either has not beentraversed or was traversed with parity opposite the currentparity) proceed along any such edge.

b. If every edge (y , z) other than (y , x1) has been traversed(or (z, y) was traversed with the current parity), leave along(y , x1) (“reverse of entry edge”) (if (x1, y) was traversed withparity opposite the current parity).

c. If there are no allowed moves as above, terminate thealgorithm.

20 / 32

Page 25: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Theorem: Tarry’s Algorithm with parity alwaysproduces a Holbeinian circuit.

Example

1 2

3 4

56

7 89

1011

12

13 14

15

1617

19 18

21 / 32

Page 26: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

(False) Conjecture: Every Holbeinian circuit can beproduced from Tarry’s algorithm.

Counterexample

1 2

5 12

116

1317

9

10

3 4

15 16

19 18

87

14

22 / 32

Page 27: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

(False) Conjecture: Every Holbeinian circuit can beproduced from Tarry’s algorithm.

Counterexample

1 2

5 12

116

1317

9

10

3 4

15 16

19 18

87

14

22 / 32

Page 28: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Fact: It is not possible for a “local” algorithm to tellwhether it is producing an Eulerian circuit or not.

1 2

3

4

6

5

8 7

9

23 / 32

Page 29: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Fact: It is not possible for a “local” algorithm to tellwhether it is producing an Eulerian circuit or not.

1 2

3

4

6

5

8 7

9

1 2

3

4

23 / 32

Page 30: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Conjecture: There is a “local” algorithm with an“oracle” which produces every Holbeinian circuit.

What sort of oracle?24 / 32

Page 31: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

What if you would like to stitch a pattern so that the topand bottom threads go in the same direction?

1

234

5 6

7

910

8

11

12 13

14

15

25 / 32

Page 32: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

A multigraph of multiplicity 2, or 2-multigraph, is an(undirected) multigraph where each edge appearsexactly twice.

26 / 32

Page 33: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

An Aragonian circuit of a 2-multigraph is an Euleriancircuit where the two edges {x , y} are traversed in thesame order but with opposite parities.

(Same direction, opposite sides of the fabric.)

27 / 32

Page 34: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Theorem: A multigraph of multiplicity 2 is Aragonian ifand only if the associated graph is Eulerian and has acircuit of odd length.

Example

1

234

5 6

7

910

8

11

12 13

14

15

28 / 32

Page 35: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Theorem: A multigraph of multiplicity 2 is Aragonian ifand only if the associated graph is Eulerian and has acircuit of odd length.

Non-example

29 / 32

Page 36: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

What if some of the edges need to be stitched in a“Holbeinian way” and some in an “Aragonian way”?

30 / 32

Page 37: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

There are lots of other questions to be asked!

31 / 32

Page 38: Stitching Graphs and Painting Mazes: Problems in Generalizations of Eulerian Walks

Thanks, and happy stitching![1] Joshua Holden, The Graph Theory of Blackwork Embroidery, Making

Mathematics with Needlework (sara-marie belcastro and CarolynYackel, eds.), A K Peters, 2007, pp. 136–153.

A modern blackwork pattern, by the author(Title page model stitched by Ann Black)

32 / 32


Recommended