SlideShare uma empresa Scribd logo
1 de 14
KONINGSBERG PROBLEM
• Königsberg was a city in Prussia
situated on the Pregel River (Today,
the city is named Kaliningrad, and
is a major industrial and
commercial center of western
Russia).
• A river Pregel flows around the
island Keniphof and then divides
into two.
• Seven bridges spanned the various
branches of the river, as shown.
• It became a tradition to try to walk
around the town in a way that only
crossed each bridge once, but it
proved to be a difficult problem.
Determine whether it’s possible to walk across all the bridges exactly once in
returning back to the starting land area.
•In 1736 Euler proved that the walk was not possible to do. No Eulerian walk of
the Konigsberg bridge problem since all four vertices are of odd edges.
• He proved this by inventing a kind of diagram called a network, that is made up
of vertices (dots where lines meet) and arcs (lines). Define the degree of a vertex
to be the number of edges incident to it.
•He used four dots (vertices) for the two riverbanks and the two islands. These
have been marked A, B and C, D. Euler showed that there is a walk starting at any
vertex, going through each edge exactly once and terminating at the start vertex
iff the degree of each vertex is even. This walk is called Eulerian.
•The seven lines (arcs) are the seven bridges.
C

c

d

A

g

e

Kneiphof

D

C

a

B

f
b

g

c

d

e

A
a

D
b

f
•

3 bridges (arcs) join to riverbank A, and
3 join to riverbank B. 5 bridges (arcs)
join to island C, and 3 join to island D.

•

All the vertices have an odd number of
arcs, so they are called odd vertices. (An
even vertex would have to have an even
number of arcs joining to it).
WHY IS IT IMPOSSIBLE!
•

Euler's solution involved the observation that when a vertex is "visited" in the
middle of the process of tracing a graph, there must be an edge coming into the
vertex, and another edge leaving it and so the order of the vertex must be an even
number.

•

This must be true for all but at most two of the vertices--the one you start at, and
the one you end at and so a connected graph is traversable if and only if it has at
most two vertices of odd order.
Now the NETWORK graph shows that there are more than two vertices of odd
order and therefore the graph cannot be traced.

•

•

It is concluded that the desired walking tour of Königsberg is impossible.
ANY IDEAS FOR THE CRISIS…?
•

Suppose the citizens of Königsberg decided
to build an eighth bridge, as in the diagram
shown than it would be possible walking
without traversing any bridge twice.(ONLY
TWO VERTEX ARE ODD ORDER.)

•

Adding a ninth bridge to the diagram
above will make the walking tour once
again impossible.
GRAPH THEORY
•
•
•
•
•
•
•

•

A graph, G, consists of two sets, V
and E.
V is a finite, nonempty set of
vertices.
E is set of pairs of vertices called
edges.
The vertices of a graph G can be
represented as V(G).
Likewise, the edges of a graph, G,
can be represented as E(G).
Graphs can be either undirected
graphs or directed graphs.
For a undirected graph, a pair of
vertices (u, v) or (v, u) represent the
same edge.
For a directed graph, a directed pair
<u, v> has u as the tail and the v as
the head. Therefore, <u, v> and <v,
u> represent different edges.
THREE SAMPLE GRAPHS

0

0

0
1

1

2
3

3

2

4

5

1
6
2

V(G1) = {0, 1, 2, 3}
E(G1) = {(0, 1), (0, 2), (0, 3), (1, 2), (1,
3), (2, 3)}

V(G2) = {0, 1, 2, 3, 4, 5, 6}
E(G2) = {(0, 1), (0, 2), (1, 3), (1, 4), (2,
5), (2, 6)}

V(G3) = {0, 1, 2}
E(G3) = {<0, 1>, <1, 0>, <1, 2>}

(a) G1

(b) G2

(c) G3
VERTICES

EDGES

EVEN
DEGREE

ODD
DEGREE

EULER
PATH

4

4

4

0

Yes

4

5

2

2

Yes

5

8

1

4

No
OUR OBSERVATIONS
•

The degree of vertex = No. of edges connected with a vertex

•

Simple path = Such a way that each vertex is traversed once.

•

Euler Path = Such a way that each edge is traversed once.

•

From above graphs it is concluded that Euler path is possible when odd degree
vertex are either 0 or 2.
In case of Konnisberges Bridge – all the four vertices were odd degree and
hence as per above conclusion – Euler path is not possible.
By adding one more bridge - two vertices are even degree and two are odd
degree- Euler path is possible

•
•
APPLICATION OF GRAPH THEORY
•
•
•
•
•
•
•
•
•
•
•
•
•

GPS (Global Positioning System ) uses graph to find shortest path.
Airlines uses closed paths and look for alternatives for cancelled flights.
Power grids use it for transfer of electricity without overloading lines.
Graphs are used to design computer networks.
Analysis of electrical circuits
Finding shortest routes
Project planning
Identification of chemical compounds
Statistical mechanics
Genetics
Cybernetics: a branch where human beings use various types of networks:
electric or mechanical
Linguistics
Social Sciences, and so on …
SUMMARY OF TRAVERSABLE GRAPH
Number Of Odd
Vertices

Traversable

Remarks

0

Yes

Start anywhere and end
back at the start vertex.

2

Yes

Start at one odd and end at
other odd vertex.

More than 2

No

A graph is a collection of vertices and edges.
The order of a vertex is the number of the
edges meet at that vertex.
A graph is traversable if and only if it has 0 or 2
odd vertices.
Thank you

Mais conteúdo relacionado

Mais procurados

Ppt of graph theory
Ppt of graph theoryPpt of graph theory
Ppt of graph theoryArvindBorge
 
introduction to graph theory
introduction to graph theoryintroduction to graph theory
introduction to graph theoryChuckie Balbuena
 
Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theoryTech_MX
 
Slides Chapter10.1 10.2
Slides Chapter10.1 10.2Slides Chapter10.1 10.2
Slides Chapter10.1 10.2showslidedump
 
Applications of graphs
Applications of graphsApplications of graphs
Applications of graphsTech_MX
 
Graph theory 1
Graph theory 1Graph theory 1
Graph theory 1Tech_MX
 
Application Of Graph Data Structure
Application Of Graph Data StructureApplication Of Graph Data Structure
Application Of Graph Data StructureGaurang Dobariya
 
Chapter 5 Graphs (1).ppt
Chapter 5 Graphs (1).pptChapter 5 Graphs (1).ppt
Chapter 5 Graphs (1).pptishan743441
 
Graph Theory: Matrix representation of graphs
Graph Theory: Matrix representation of graphsGraph Theory: Matrix representation of graphs
Graph Theory: Matrix representation of graphsAshikur Rahman
 

Mais procurados (20)

Graph theory
Graph theoryGraph theory
Graph theory
 
Ppt of graph theory
Ppt of graph theoryPpt of graph theory
Ppt of graph theory
 
Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
 
introduction to graph theory
introduction to graph theoryintroduction to graph theory
introduction to graph theory
 
Euler graph
Euler graphEuler graph
Euler graph
 
Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theory
 
Graph theory
Graph theory Graph theory
Graph theory
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
 
graph theory
graph theory graph theory
graph theory
 
Slides Chapter10.1 10.2
Slides Chapter10.1 10.2Slides Chapter10.1 10.2
Slides Chapter10.1 10.2
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Applications of graphs
Applications of graphsApplications of graphs
Applications of graphs
 
Graph theory 1
Graph theory 1Graph theory 1
Graph theory 1
 
graph theory
graph theorygraph theory
graph theory
 
Application Of Graph Data Structure
Application Of Graph Data StructureApplication Of Graph Data Structure
Application Of Graph Data Structure
 
Chapter 5 Graphs (1).ppt
Chapter 5 Graphs (1).pptChapter 5 Graphs (1).ppt
Chapter 5 Graphs (1).ppt
 
Graph Theory: Matrix representation of graphs
Graph Theory: Matrix representation of graphsGraph Theory: Matrix representation of graphs
Graph Theory: Matrix representation of graphs
 
MATCHING GRAPH THEORY
MATCHING GRAPH THEORYMATCHING GRAPH THEORY
MATCHING GRAPH THEORY
 
Graph theory Eulerian graph
Graph theory Eulerian graphGraph theory Eulerian graph
Graph theory Eulerian graph
 
graph.ppt
graph.pptgraph.ppt
graph.ppt
 

Destaque

Discrete math ppt
Discrete math pptDiscrete math ppt
Discrete math pptmsumerton
 
Restauración de las 12 puertas - 1ª La Puerta de las Ovejas
Restauración de las 12 puertas - 1ª La Puerta de las OvejasRestauración de las 12 puertas - 1ª La Puerta de las Ovejas
Restauración de las 12 puertas - 1ª La Puerta de las OvejasValentin Moraleja
 
How to make Awesome Diagrams for your slides
How to make Awesome Diagrams for your slidesHow to make Awesome Diagrams for your slides
How to make Awesome Diagrams for your slidesotikik
 

Destaque (6)

RPM Packaging 101 (Old)
RPM Packaging 101 (Old)RPM Packaging 101 (Old)
RPM Packaging 101 (Old)
 
Section 1.1 Power Point
Section 1.1 Power PointSection 1.1 Power Point
Section 1.1 Power Point
 
flyover and bridge problems and its solutions
flyover and bridge problems and its solutionsflyover and bridge problems and its solutions
flyover and bridge problems and its solutions
 
Discrete math ppt
Discrete math pptDiscrete math ppt
Discrete math ppt
 
Restauración de las 12 puertas - 1ª La Puerta de las Ovejas
Restauración de las 12 puertas - 1ª La Puerta de las OvejasRestauración de las 12 puertas - 1ª La Puerta de las Ovejas
Restauración de las 12 puertas - 1ª La Puerta de las Ovejas
 
How to make Awesome Diagrams for your slides
How to make Awesome Diagrams for your slidesHow to make Awesome Diagrams for your slides
How to make Awesome Diagrams for your slides
 

Semelhante a Koningsberg bridge problem

koningsbergproblem-140215072342-phpapp02 (1).pptx
koningsbergproblem-140215072342-phpapp02 (1).pptxkoningsbergproblem-140215072342-phpapp02 (1).pptx
koningsbergproblem-140215072342-phpapp02 (1).pptxAlpa Rajput
 
Distruct week 15 graphs theory (updated)
Distruct week 15 graphs theory (updated)Distruct week 15 graphs theory (updated)
Distruct week 15 graphs theory (updated)Robert Almazan
 
distructweek15graphstheoryupdated-160227143444.pdf
distructweek15graphstheoryupdated-160227143444.pdfdistructweek15graphstheoryupdated-160227143444.pdf
distructweek15graphstheoryupdated-160227143444.pdfansariparveen06
 
Final-term Coverage.pptx. ..............
Final-term Coverage.pptx. ..............Final-term Coverage.pptx. ..............
Final-term Coverage.pptx. ..............eustaquiojm1
 
Introduction to Graph-Theory.pptx
Introduction to Graph-Theory.pptxIntroduction to Graph-Theory.pptx
Introduction to Graph-Theory.pptxACJMathematic1
 
Konigsberg Bridge Problem_Graph Theory.pptx
Konigsberg Bridge Problem_Graph Theory.pptxKonigsberg Bridge Problem_Graph Theory.pptx
Konigsberg Bridge Problem_Graph Theory.pptxgranjith6
 
Data structure graphs
Data structure  graphsData structure  graphs
Data structure graphsUma mohan
 
Presentation on Graph
Presentation on GraphPresentation on Graph
Presentation on GraphSalim Hosen
 
Lecture 1--Graph Algorithms -- Basics.pptx
Lecture 1--Graph Algorithms -- Basics.pptxLecture 1--Graph Algorithms -- Basics.pptx
Lecture 1--Graph Algorithms -- Basics.pptxChandanGiri21
 
Graph theory
Graph theoryGraph theory
Graph theoryTech_MX
 
Fleurys abas abbasli_
Fleurys abas  abbasli_Fleurys abas  abbasli_
Fleurys abas abbasli_abas1333
 
Euleria
EuleriaEuleria
Eulerianarca
 

Semelhante a Koningsberg bridge problem (20)

koningsbergproblem-140215072342-phpapp02 (1).pptx
koningsbergproblem-140215072342-phpapp02 (1).pptxkoningsbergproblem-140215072342-phpapp02 (1).pptx
koningsbergproblem-140215072342-phpapp02 (1).pptx
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Distruct week 15 graphs theory (updated)
Distruct week 15 graphs theory (updated)Distruct week 15 graphs theory (updated)
Distruct week 15 graphs theory (updated)
 
distructweek15graphstheoryupdated-160227143444.pdf
distructweek15graphstheoryupdated-160227143444.pdfdistructweek15graphstheoryupdated-160227143444.pdf
distructweek15graphstheoryupdated-160227143444.pdf
 
CST 504 Graphs
CST 504 GraphsCST 504 Graphs
CST 504 Graphs
 
ch10.5.pptx
ch10.5.pptxch10.5.pptx
ch10.5.pptx
 
Final-term Coverage.pptx. ..............
Final-term Coverage.pptx. ..............Final-term Coverage.pptx. ..............
Final-term Coverage.pptx. ..............
 
Graph ds
Graph dsGraph ds
Graph ds
 
Unit 2: All
Unit 2: AllUnit 2: All
Unit 2: All
 
Presentation on graphs
Presentation on graphsPresentation on graphs
Presentation on graphs
 
Introduction to Graph-Theory.pptx
Introduction to Graph-Theory.pptxIntroduction to Graph-Theory.pptx
Introduction to Graph-Theory.pptx
 
Konigsberg Bridge Problem_Graph Theory.pptx
Konigsberg Bridge Problem_Graph Theory.pptxKonigsberg Bridge Problem_Graph Theory.pptx
Konigsberg Bridge Problem_Graph Theory.pptx
 
Data structure graphs
Data structure  graphsData structure  graphs
Data structure graphs
 
Ds lec 5_chap4
Ds lec 5_chap4Ds lec 5_chap4
Ds lec 5_chap4
 
Presentation on Graph
Presentation on GraphPresentation on Graph
Presentation on Graph
 
Lecture 1--Graph Algorithms -- Basics.pptx
Lecture 1--Graph Algorithms -- Basics.pptxLecture 1--Graph Algorithms -- Basics.pptx
Lecture 1--Graph Algorithms -- Basics.pptx
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Fleurys abas abbasli_
Fleurys abas  abbasli_Fleurys abas  abbasli_
Fleurys abas abbasli_
 
Euleria
EuleriaEuleria
Euleria
 
Magtibay buk bind#2
Magtibay buk bind#2Magtibay buk bind#2
Magtibay buk bind#2
 

Último

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 

Último (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

Koningsberg bridge problem

  • 1.
  • 2. KONINGSBERG PROBLEM • Königsberg was a city in Prussia situated on the Pregel River (Today, the city is named Kaliningrad, and is a major industrial and commercial center of western Russia). • A river Pregel flows around the island Keniphof and then divides into two. • Seven bridges spanned the various branches of the river, as shown. • It became a tradition to try to walk around the town in a way that only crossed each bridge once, but it proved to be a difficult problem.
  • 3. Determine whether it’s possible to walk across all the bridges exactly once in returning back to the starting land area. •In 1736 Euler proved that the walk was not possible to do. No Eulerian walk of the Konigsberg bridge problem since all four vertices are of odd edges. • He proved this by inventing a kind of diagram called a network, that is made up of vertices (dots where lines meet) and arcs (lines). Define the degree of a vertex to be the number of edges incident to it. •He used four dots (vertices) for the two riverbanks and the two islands. These have been marked A, B and C, D. Euler showed that there is a walk starting at any vertex, going through each edge exactly once and terminating at the start vertex iff the degree of each vertex is even. This walk is called Eulerian. •The seven lines (arcs) are the seven bridges.
  • 5. • 3 bridges (arcs) join to riverbank A, and 3 join to riverbank B. 5 bridges (arcs) join to island C, and 3 join to island D. • All the vertices have an odd number of arcs, so they are called odd vertices. (An even vertex would have to have an even number of arcs joining to it).
  • 6. WHY IS IT IMPOSSIBLE! • Euler's solution involved the observation that when a vertex is "visited" in the middle of the process of tracing a graph, there must be an edge coming into the vertex, and another edge leaving it and so the order of the vertex must be an even number. • This must be true for all but at most two of the vertices--the one you start at, and the one you end at and so a connected graph is traversable if and only if it has at most two vertices of odd order. Now the NETWORK graph shows that there are more than two vertices of odd order and therefore the graph cannot be traced. • • It is concluded that the desired walking tour of Königsberg is impossible.
  • 7. ANY IDEAS FOR THE CRISIS…? • Suppose the citizens of Königsberg decided to build an eighth bridge, as in the diagram shown than it would be possible walking without traversing any bridge twice.(ONLY TWO VERTEX ARE ODD ORDER.) • Adding a ninth bridge to the diagram above will make the walking tour once again impossible.
  • 8. GRAPH THEORY • • • • • • • • A graph, G, consists of two sets, V and E. V is a finite, nonempty set of vertices. E is set of pairs of vertices called edges. The vertices of a graph G can be represented as V(G). Likewise, the edges of a graph, G, can be represented as E(G). Graphs can be either undirected graphs or directed graphs. For a undirected graph, a pair of vertices (u, v) or (v, u) represent the same edge. For a directed graph, a directed pair <u, v> has u as the tail and the v as the head. Therefore, <u, v> and <v, u> represent different edges.
  • 9. THREE SAMPLE GRAPHS 0 0 0 1 1 2 3 3 2 4 5 1 6 2 V(G1) = {0, 1, 2, 3} E(G1) = {(0, 1), (0, 2), (0, 3), (1, 2), (1, 3), (2, 3)} V(G2) = {0, 1, 2, 3, 4, 5, 6} E(G2) = {(0, 1), (0, 2), (1, 3), (1, 4), (2, 5), (2, 6)} V(G3) = {0, 1, 2} E(G3) = {<0, 1>, <1, 0>, <1, 2>} (a) G1 (b) G2 (c) G3
  • 11. OUR OBSERVATIONS • The degree of vertex = No. of edges connected with a vertex • Simple path = Such a way that each vertex is traversed once. • Euler Path = Such a way that each edge is traversed once. • From above graphs it is concluded that Euler path is possible when odd degree vertex are either 0 or 2. In case of Konnisberges Bridge – all the four vertices were odd degree and hence as per above conclusion – Euler path is not possible. By adding one more bridge - two vertices are even degree and two are odd degree- Euler path is possible • •
  • 12. APPLICATION OF GRAPH THEORY • • • • • • • • • • • • • GPS (Global Positioning System ) uses graph to find shortest path. Airlines uses closed paths and look for alternatives for cancelled flights. Power grids use it for transfer of electricity without overloading lines. Graphs are used to design computer networks. Analysis of electrical circuits Finding shortest routes Project planning Identification of chemical compounds Statistical mechanics Genetics Cybernetics: a branch where human beings use various types of networks: electric or mechanical Linguistics Social Sciences, and so on …
  • 13. SUMMARY OF TRAVERSABLE GRAPH Number Of Odd Vertices Traversable Remarks 0 Yes Start anywhere and end back at the start vertex. 2 Yes Start at one odd and end at other odd vertex. More than 2 No A graph is a collection of vertices and edges. The order of a vertex is the number of the edges meet at that vertex. A graph is traversable if and only if it has 0 or 2 odd vertices.