Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond...

46
Alcuin’s Mathematical Puzzles Annie Raymond University of Washington March 23, 2015

Transcript of Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond...

Page 1: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s Mathematical Puzzles

Annie Raymond

University of Washington

March 23, 2015

Page 2: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s problemAlcuin wrote Propositions ad acuendos iuvenes, i.e. problems to sharpenthe young, which contains the following problem:

A man had to transport to the far side of a river a wolf, a goat, and abundle of cabbages. The only boat he could find was one which couldcarry only two of them. For that reason, he sought a plan which wouldenable them all to get to the far side unhurt. Let him, who is able, sayhow it could be possible to transport them safely.

Solution:

The man first brings the goat to the far side and leaves it there.

He goes back and brings the wolf with him, leaving it on the far side,and brings back the goat.

He leaves the goat on the initial side, takes the cabbage and brings itto the far side.

Finally, he goes back to the original shore, and takes the goat to bringit to the far side.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 2 / 13

Page 3: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s problemAlcuin wrote Propositions ad acuendos iuvenes, i.e. problems to sharpenthe young, which contains the following problem:

A man had to transport to the far side of a river a wolf, a goat, and abundle of cabbages. The only boat he could find was one which couldcarry only two of them. For that reason, he sought a plan which wouldenable them all to get to the far side unhurt. Let him, who is able, sayhow it could be possible to transport them safely.

Solution:

The man first brings the goat to the far side and leaves it there.

He goes back and brings the wolf with him, leaving it on the far side,and brings back the goat.

He leaves the goat on the initial side, takes the cabbage and brings itto the far side.

Finally, he goes back to the original shore, and takes the goat to bringit to the far side.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 2 / 13

Page 4: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s problemAlcuin wrote Propositions ad acuendos iuvenes, i.e. problems to sharpenthe young, which contains the following problem:

A man had to transport to the far side of a river a wolf, a goat, and abundle of cabbages. The only boat he could find was one which couldcarry only two of them. For that reason, he sought a plan which wouldenable them all to get to the far side unhurt. Let him, who is able, sayhow it could be possible to transport them safely.

Solution:

The man first brings the goat to the far side and leaves it there.

He goes back and brings the wolf with him, leaving it on the far side,and brings back the goat.

He leaves the goat on the initial side, takes the cabbage and brings itto the far side.

Finally, he goes back to the original shore, and takes the goat to bringit to the far side.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 2 / 13

Page 5: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s problemAlcuin wrote Propositions ad acuendos iuvenes, i.e. problems to sharpenthe young, which contains the following problem:

A man had to transport to the far side of a river a wolf, a goat, and abundle of cabbages. The only boat he could find was one which couldcarry only two of them. For that reason, he sought a plan which wouldenable them all to get to the far side unhurt. Let him, who is able, sayhow it could be possible to transport them safely.

Solution:

The man first brings the goat to the far side and leaves it there.

He goes back and brings the wolf with him, leaving it on the far side,and brings back the goat.

He leaves the goat on the initial side, takes the cabbage and brings itto the far side.

Finally, he goes back to the original shore, and takes the goat to bringit to the far side.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 2 / 13

Page 6: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s problemAlcuin wrote Propositions ad acuendos iuvenes, i.e. problems to sharpenthe young, which contains the following problem:

A man had to transport to the far side of a river a wolf, a goat, and abundle of cabbages. The only boat he could find was one which couldcarry only two of them. For that reason, he sought a plan which wouldenable them all to get to the far side unhurt. Let him, who is able, sayhow it could be possible to transport them safely.

Solution:

The man first brings the goat to the far side and leaves it there.

He goes back and brings the wolf with him, leaving it on the far side,and brings back the goat.

He leaves the goat on the initial side, takes the cabbage and brings itto the far side.

Finally, he goes back to the original shore, and takes the goat to bringit to the far side.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 2 / 13

Page 7: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s problemAlcuin wrote Propositions ad acuendos iuvenes, i.e. problems to sharpenthe young, which contains the following problem:

A man had to transport to the far side of a river a wolf, a goat, and abundle of cabbages. The only boat he could find was one which couldcarry only two of them. For that reason, he sought a plan which wouldenable them all to get to the far side unhurt. Let him, who is able, sayhow it could be possible to transport them safely.

Solution:

The man first brings the goat to the far side and leaves it there.

He goes back and brings the wolf with him, leaving it on the far side,and brings back the goat.

He leaves the goat on the initial side, takes the cabbage and brings itto the far side.

Finally, he goes back to the original shore, and takes the goat to bringit to the far side.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 2 / 13

Page 8: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s modified problem

A man had to transport to the far side of a river a wolf, a goat, a rabbitand a bundle of cabbages. The only boat he could find was one whichcould carry only two of them. For that reason, he sought a plan whichwould enable them all to get to the far side unhurt. Let him, who is able,say how it could be possible to transport them safely.

Anyone?

Clearly impossible! Whatever the man takes first in the boat, there willremain an animal eating something else on the shore.

Let’s represent that mathematically!

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13

Page 9: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s modified problem

A man had to transport to the far side of a river a wolf, a goat, a rabbitand a bundle of cabbages. The only boat he could find was one whichcould carry only two of them. For that reason, he sought a plan whichwould enable them all to get to the far side unhurt. Let him, who is able,say how it could be possible to transport them safely.

Anyone?

Clearly impossible! Whatever the man takes first in the boat, there willremain an animal eating something else on the shore.

Let’s represent that mathematically!

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13

Page 10: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s modified problem

A man had to transport to the far side of a river a wolf, a goat, a rabbitand a bundle of cabbages. The only boat he could find was one whichcould carry only two of them. For that reason, he sought a plan whichwould enable them all to get to the far side unhurt. Let him, who is able,say how it could be possible to transport them safely.

Anyone?

Clearly impossible! Whatever the man takes first in the boat, there willremain an animal eating something else on the shore.

Let’s represent that mathematically!

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13

Page 11: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Alcuin’s modified problem

A man had to transport to the far side of a river a wolf, a goat, a rabbitand a bundle of cabbages. The only boat he could find was one whichcould carry only two of them. For that reason, he sought a plan whichwould enable them all to get to the far side unhurt. Let him, who is able,say how it could be possible to transport them safely.

Anyone?

Clearly impossible! Whatever the man takes first in the boat, there willremain an animal eating something else on the shore.

Let’s represent that mathematically!

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13

Page 12: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Graph representation

We make a graph where each vertex (point) represents ananimal/vegetable/person/thing, and we put an edge between two of themif they cannot be left alone without supervision. We call this graph theAlcuin graph of the problem.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 4 / 13

Page 13: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Graph representation

We make a graph where each vertex (point) represents ananimal/vegetable/person/thing, and we put an edge between two of themif they cannot be left alone without supervision. We call this graph theAlcuin graph of the problem.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 4 / 13

Page 14: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Graph representation

We make a graph where each vertex (point) represents ananimal/vegetable/person/thing, and we put an edge between two of themif they cannot be left alone without supervision. We call this graph theAlcuin graph of the problem.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 4 / 13

Page 15: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Graph representation

We make a graph where each vertex (point) represents ananimal/vegetable/person/thing, and we put an edge between two of themif they cannot be left alone without supervision. We call this graph theAlcuin graph of the problem.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 4 / 13

Page 16: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Graph representation

We make a graph where each vertex (point) represents ananimal/vegetable/person/thing, and we put an edge between two of themif they cannot be left alone without supervision. We call this graph theAlcuin graph of the problem.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 4 / 13

Page 17: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Solution to modified problem

We need a boat that has two places (plus one for the farmer).

Then we can either first take the wolf and the cabbage to the other sideand leave them there, and come back to the original side and get therabbit and goat or we can do it the other way around by taking first therabbit and goat, and then the wolf and cabbage.

In both cases, the first trip leaves a graph without any edges on theoriginal shore; i.e., the vertices we removed were adjacent to every edge.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 5 / 13

Page 18: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Solution to modified problem

We need a boat that has two places (plus one for the farmer).

Then we can either first take the wolf and the cabbage to the other sideand leave them there, and come back to the original side and get therabbit and goat or we can do it the other way around by taking first therabbit and goat, and then the wolf and cabbage.

In both cases, the first trip leaves a graph without any edges on theoriginal shore; i.e., the vertices we removed were adjacent to every edge.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 5 / 13

Page 19: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Solution to modified problem

We need a boat that has two places (plus one for the farmer).

Then we can either first take the wolf and the cabbage to the other sideand leave them there, and come back to the original side and get therabbit and goat or we can do it the other way around by taking first therabbit and goat, and then the wolf and cabbage.

In both cases, the first trip leaves a graph without any edges on theoriginal shore; i.e., the vertices we removed were adjacent to every edge.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 5 / 13

Page 20: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 21: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 22: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 23: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 24: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 25: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 26: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 27: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 28: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 29: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 30: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Definition

A stable set in a graph is a set of vertices (points) for which there is not asingle edge (line) between them.

Definition

A vertex cover in a graph is a set of vertices (points) such that every edge(line) in the graph is adjacent to a vertex in that set.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 6 / 13

Page 31: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Stable set and vertex cover

Theorem

The size of the minimum vertex cover plus the size of the maximum stableset is equal to the number of vertices.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 7 / 13

Page 32: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Generalization

Proposition

If there exists a solution to an Alcuin-type problem, then the number ofextra places on the boat is at least the size of the minimum vertex coverof the Alcuin graph of the problem.

Proof.

If the boat has less places, then whatever elements we put on the boat forthe first trip will leave some edges in the Alcuin graph since thecorresponding elements cannot be a vertex cover.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 8 / 13

Page 33: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Generalization

Proposition

If there exists a solution to an Alcuin-type problem, then the number ofextra places on the boat is at least the size of the minimum vertex coverof the Alcuin graph of the problem.

Proof.

If the boat has less places, then whatever elements we put on the boat forthe first trip will leave some edges in the Alcuin graph since thecorresponding elements cannot be a vertex cover.

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 8 / 13

Page 34: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Minimum size of the boatWhat is the minimum boat size that will guarantee that there exists asolution?

wolf

goat

goose

cat

rabbitmouse

cabbage

carrot

grass

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 9 / 13

Page 35: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Minimum size of the boatWhat is the minimum boat size that will guarantee that there exists asolution?

Ben Affleck

Matt Damon

Jennifer Lopez

Angelina Jolie

George ClooneyJennifer Aniston

Brad Pitt

Billy Bob Thornton

Julia Roberts

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 9 / 13

Page 36: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Minimum size of the boatWhat is the minimum boat size that will guarantee that there exists asolution?

wolf

goat

goose

cat

rabbitmouse

cabbage

carrot

grass

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 9 / 13

Page 37: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Minimum size of the boatWhat is the minimum boat size that will guarantee that there exists asolution?

wolf

goat

goose

cat

rabbitmouse

cabbage

carrot

grass

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 9 / 13

Page 38: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Minimum size of the boat

What is the minimum boat size that will guarantee that there exists asolution?

wolf

goatgooserabbit mouse

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 10 / 13

Page 39: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Generalization 2

Proposition

If the boat has at least one extra place more than the size of the minimumvertex cover of the Alcuin graph of the problem, then there always exists asolution to the problem.

Proof.

Put all the elements corresponding to the minimum vertex cover of theproblem in the boat for all of the trips needed, and use the extra place tocarry all of the other elements one by one.

Surprisingly enough, it is hard to determine if a certain Alcuin-typeproblem needs to have at least a or a + 1 places in order for there to be asolution (where a is the size of the minimum vertex cover of the graph).

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 11 / 13

Page 40: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Generalization 2

Proposition

If the boat has at least one extra place more than the size of the minimumvertex cover of the Alcuin graph of the problem, then there always exists asolution to the problem.

Proof.

Put all the elements corresponding to the minimum vertex cover of theproblem in the boat for all of the trips needed, and use the extra place tocarry all of the other elements one by one.

Surprisingly enough, it is hard to determine if a certain Alcuin-typeproblem needs to have at least a or a + 1 places in order for there to be asolution (where a is the size of the minimum vertex cover of the graph).

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 11 / 13

Page 41: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Generalization 2

Proposition

If the boat has at least one extra place more than the size of the minimumvertex cover of the Alcuin graph of the problem, then there always exists asolution to the problem.

Proof.

Put all the elements corresponding to the minimum vertex cover of theproblem in the boat for all of the trips needed, and use the extra place tocarry all of the other elements one by one.

Surprisingly enough, it is hard to determine if a certain Alcuin-typeproblem needs to have at least a or a + 1 places in order for there to be asolution (where a is the size of the minimum vertex cover of the graph).

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 11 / 13

Page 42: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

How do you find a minimum vertex cover or maximumstable set

Create a variable xv for every vertex v in the graph and let V be the set ofall the vertices.

Let E be set of all edges e = (i , j). Then the maximumsize of a stable set is equal to

max∑

v∈V xvsuch that xi + xj ≤ 1 for all e = (i , j) ∈ E

xv ∈ {0, 1} for all v ∈ V

The minimum size of a vertex cover is equal to

min∑

v∈V xvsuch that xi + xj ≥ 1 for all e = (i , j) ∈ E

xv ∈ {0, 1} for all v ∈ V

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 12 / 13

Page 43: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

How do you find a minimum vertex cover or maximumstable set

Create a variable xv for every vertex v in the graph and let V be the set ofall the vertices. Let E be set of all edges e = (i , j).

Then the maximumsize of a stable set is equal to

max∑

v∈V xvsuch that xi + xj ≤ 1 for all e = (i , j) ∈ E

xv ∈ {0, 1} for all v ∈ V

The minimum size of a vertex cover is equal to

min∑

v∈V xvsuch that xi + xj ≥ 1 for all e = (i , j) ∈ E

xv ∈ {0, 1} for all v ∈ V

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 12 / 13

Page 44: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

How do you find a minimum vertex cover or maximumstable set

Create a variable xv for every vertex v in the graph and let V be the set ofall the vertices. Let E be set of all edges e = (i , j). Then the maximumsize of a stable set is equal to

max∑

v∈V xvsuch that xi + xj ≤ 1 for all e = (i , j) ∈ E

xv ∈ {0, 1} for all v ∈ V

The minimum size of a vertex cover is equal to

min∑

v∈V xvsuch that xi + xj ≥ 1 for all e = (i , j) ∈ E

xv ∈ {0, 1} for all v ∈ V

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 12 / 13

Page 45: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

How do you find a minimum vertex cover or maximumstable set

Create a variable xv for every vertex v in the graph and let V be the set ofall the vertices. Let E be set of all edges e = (i , j). Then the maximumsize of a stable set is equal to

max∑

v∈V xvsuch that xi + xj ≤ 1 for all e = (i , j) ∈ E

xv ∈ {0, 1} for all v ∈ V

The minimum size of a vertex cover is equal to

min∑

v∈V xvsuch that xi + xj ≥ 1 for all e = (i , j) ∈ E

xv ∈ {0, 1} for all v ∈ V

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 12 / 13

Page 46: Alcuin's Mathematical Puzzles - University of Washingtonmorrow/mathday/... · Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 3 / 13. Graph

Thank you!

Annie Raymond (University of Washington) Alcuin’s Mathematical Puzzles March 23, 2015 13 / 13