0% found this document useful (0 votes)
22 views

Graph Theory Ödevi̇

The document discusses several graph theory concepts: 1) It explains why the Königsberg bridges graph is not Eulerian, due to it having 4 vertices of odd degree, violating the necessary condition for an Eulerian path. 2) It states that the second figure given can have an Eulerian trail drawn through it continuously without lifting the pen. 3) For a graph to have an Eulerian trail, it is necessary to have no more than two vertices of odd degree.

Uploaded by

Samet Ulutaş
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Graph Theory Ödevi̇

The document discusses several graph theory concepts: 1) It explains why the Königsberg bridges graph is not Eulerian, due to it having 4 vertices of odd degree, violating the necessary condition for an Eulerian path. 2) It states that the second figure given can have an Eulerian trail drawn through it continuously without lifting the pen. 3) For a graph to have an Eulerian trail, it is necessary to have no more than two vertices of odd degree.

Uploaded by

Samet Ulutaş
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Q1: a)Why G representing Knigberg Bridges is not Eularian?

b)Is it possible to draw in a continuous way the following figures (without taking the pen off) by passing once through each line? c)Why? Solution: a) In graph theory, an Eulerian trail is a trail in a graph which visits each edge exactly once. Similarly, an Eulerian circuit is an Eulerian trail which starts and ends on the same vertex. Euler shows that the existence of a walk in a graph which traverses each edge once depends on the degrees of the nodes. The degree of a node is the number of edges touching it. Euler's argument shows that a necessary condition for the walk of the desired form to exist is that the graph be connected and have exactly zero or two nodes of odd degree. This condition turns out also to be sufficient -- a result stated by Euler and later proven by Carl Hierholzer. Such a walk is now called an Eulerian path or Euler walk in his honor. Further, if there are nodes of odd degree, all Eulerian paths start at one of them and end at the other. Since the graph corresponding to historical Knigsberg has four nodes of odd degree, it cannot have an Eulerian path b) The second one;) c) For the existence of Eulerian trails it is necessary that no more than two vertices have an odd degree Q2: Give the Gale-Shapley Alger to find a stable matching. Solution: Dd All three are stable because instability requires both participants to be happier with an alternative match. Q3: How map coloring can be modeled as a graph coloring problem? Given any map, describe a graph.

Solution: We need the number of colours equals to the number of neighbors that the country which has the most neighbor in the relevant map.

You might also like