Graph Theory - Practical Exercises
Graph Theory - Practical Exercises
[email protected]
Search on the site...
Bibm@th
Home
Resources
College
Math Prep
Specialized Math
Capes
Internal aggregate
BTS
Libraries
Exercise Library
Library of problems
References
Dictionary
Biography of mathematicians
Form
French/English glossary
Themes
Cryptography and secret codes
Games and riddles
Magic squares
Mathematics in everyday life
Files
Forum
Statement
Say which of the following drawings represent the same graph:
1 of 6 1/30/18, 1:15 AM
Corrected exercises - Graph theory - exercise... http://www.bibmath.net/resources/index.php?a...
Indication
Corrected
The first two drawings represent the same graph. It is a pentagon where all the vertices are connected to three others (to form a cycle), except for one.
vertex that is connected to all the others. The third and fourth drawings do not represent the same graph. For example, the third one has a cycle.
of order 3, which is not the case for the fourth.
Statement
We consider the following drawing:
Is it possible to draw it without lifting the pencil and passing through each line once and only once?
Indication
2 of 6 1/30/18, 1:15 AM
Corrected exercises - Graph theory - exercise... http://www.bibmath.net/resources/index.php?a...
Corrected
If we consider that this represents a graph, we are looking to trace an Eulerian path in this graph. According to Euler's theorem, it is possible if and
only if all the vertices have an even degree, except for at most one. Let's name the vertices, as shown in the following drawing:
Indication
Corrected
We will associate a graph with this problem, where the vertices are the possible options, and where there is an edge between two vertices if and only if those two
options are chosen simultaneously by at least one student. We obtain the following graph (we have renumbered the 6 options as A, B, C, D, E, F in order).
1. According to the graph, we can offer up to 3 options in the same day.A, B, Ffor example.
2. The number of days required is obtained by calculating the chromatic number of the graph (a given color to a vertex means that the
épreuves ayant cette couleur ont lieu le même jour). Ici, notre graphe contient le graphe complet à 3 sommets. Son nombre chromatique est donc au
less than or equal to 3. In fact, it is exactly equal to it. For example
We giveC1à A, BandF ;
We giveC2à CandE ;
We giveC3à D.
Indication
Corrected
We introduce the graph whose vertices are the products, and an edge connects two vertices if they cannot be transported simultaneously. We obtain the
following graph:
We are looking for the chromatic number of this graph, which can be calculated using the Welch and Powell algorithm for example. We order the vertices by degree.
decreasing, for example P2, P1, P3, P4, P5, P6. Then we assign
3 of 6 1/30/18, 1:15 AM
Corrected exercises - Graph theory - exercise... http://www.bibmath.net/resources/index.php?a...
The chromatic number of the graph is at most 2, and it is actually exactly 2 (one cannot color P1 and P2 with the same color). Therefore, it requires at least
at least two trucks to transport everything.
Indication
Corrected
1. The graph consists of 8 vertices A, B, C, D, E, F, G, H representing the 8 young men and edges that express the mood incompatibilities.
then obtains the following graph:
2. It is necessary to hire two people who are not related to Éric, and who are not related to each other. For example, here we can also hire
Adrien and Cyril (this is not the only possible choice, we could have also recruited Cyril and Greg for example).
Once again, we need to find 3 vertices that have no edges between them. This is the case, for example, of A, C, and F. We could also have done a coloring.
of the graph, and find 3 vertices that are colored and of the same color.
Indication
Corrected
4 of 6 1/30/18, 1:15 AM
Corrected exercises - Graph theory - exercises... http://www.bibmath.net/resources/index.php?a...
A B C D E F G H I J K
0 ∞ ∞ ∞ ∞ ∞ ∞ ∞ ∞ ∞ ∞
4 1(A) ∞ ∞ ∞ ∞ ∞ ∞ ∞ ∞
3(C) 8 ∞ ∞ ∞ ∞ ∞
8 10 6(B) ∞ ∞ ∞ ∞ ∞
8(B) 10 16 ∞ ∞ ∞ ∞
10(F ) 16 ∞ ∞ ∞ ∞
15(E) 42 30 ∞ ∞
42 30 21(G) ∞
42 28(J) 51
36(I) 46
45(H)
The length ofAà Kis therefore equal to 45, and the shortest path isACBFEGJIHS .
Indication
Corrected
We will model the situation with a graph whose vertices are all the possible situations. We denote by P the ferryman, by H the man, by F the woman and
by M the mistress. The summit (PM/HF) means that on the first bank we have the ferryman and the mistress, and on the arrival bank, we have the man and his wife. We
do not include the prohibited vertices, such as (PF/HM) and (PF/FM). There is an edge between two vertices if one can move from one situation to another by a crossing.
of barque. The problem is to know if there is a path between the vertex (PHFM/) and the vertex (/PHFM). The graph that we obtain is:
It is indeed possible to find a path between the two desired vertices, which is represented on the graph by dashed lines. Let us note that
In a more complicated setting, involving more vertices, we could automate the search for the existence of a path by introducing the matrix.
of adjacency and by calculating its successive powers.
Forum discussions
Solvability of an equation ...
Can someone explain certain ...
sieve in python
How to calculate the angle ...
demonstration: condition …
Generalized solution of ...
Cryptography
Derivative functions
entire series
Peano's arithmetic s ...
Maths homework 1*S functions
Exercise 1 S
physics equation m ...
Help with estimation with ...
problem 4th number divisible
Access the forums
5 of 6 1/30/18, 1:15 AM
Corrected exercises - Graph theory - exerci... http://www.bibmath.net/resources/index.php?a...
6 of 6 1/30/18, 1:15 AM