Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro...

17
Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy

Transcript of Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro...

Page 1: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Take a Tour with Euler

Elementary Graph Theory – Euler Circuits and Hamiltonian

Circuits

Amro Mosaad – Middlesex County Academy

Page 2: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Leonhard Euler (1707-1783)

Swiss – also worked in Russia and Germany

Considered one of greatest and most prolific mathematicians ever; contributed greatly to

Number Theory

Calculus

Geometry

Trigonometry

Algebra

Father of Graph Theory

Page 3: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Named after Leonhard Euler

Euler's number (e) Euler's formula Euler's identity Euler's theorem Euler numbers Euler approximations Euler-Mascheroni constant Euler path Euler circuit

Page 4: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Euler's Bridges of Konigsberg Problem

Page 5: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Basic Graph Theory

Vertex (or node)

- represented by a dot Edge

- segment connecting two vertices

Page 6: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

An Euler Circuit

A path that

(a) visits each edge exactly once, and

(b) starts and ends at the same vertex

Find an Euler circuit for the graph to the right

Page 7: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Bridges of Konigsberg Problem

The key is to represent the map as a graph with vertices and edges -

each land mass is a vertex, and

each bridge is an edge

Page 8: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Euler Circuits

A graph has an Euler circuit if and only if all vertices have an even degree.

A graph has an Euler path if there are no more than two vertices of odd degree.

Page 9: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Chinese Postman Problem

To find the shortest circuit of a graph that visits each edge (with some edges possibly visited more than once). It is called 'eulerizing' a graph.

Page 10: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Hamiltonian Circuits

• To visit each vertex of a graph exactly once and return to the starting vertex.

• Named after Sir William Rowan Hamilton (1805-1865) – Irish physicist, astronomer, and mathematician

Page 11: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

The Icosian Game

• Invented by Hamilton

• The idea is to wrap the string around each of twenty pegs exactly once and return to the starting vertex

Page 12: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Find a Hamiltonian Circuit

Page 13: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Find a Hamiltonian Circuit

Page 14: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

The Traveling Salesman Problem(TSP)

Page 15: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Solve this TSP

Page 16: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Platonic Solids

Page 17: Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.

Further Study

• Graph theory

• Discretemathematics