- Information
- AI Chat
Was this document helpful?
Math127121 assignment 10solutions
Course: Discrete Mathematics (Mathematics 1271)
23 Documents
Students shared 23 documents in this course
University: Lakehead University
Was this document helpful?
Math 1271 Assignment 10
Solutions
1. Let Gbe an undirected looped graph with a loop at every vertex. Show that the
relation Eon the vertex set given by uEv if and only if there is a path connecting
uand vis an equivalence relation.
Solution: To show that Eis an equivalence relation, we have to show that Eis
reflexive, symmetric, and transitive. Since Ghas a loop at every vertex, we have
vEv for every vertex v, so Eis reflexive. Since our graph is undirected, if there is a
path from v1to v2,the same path traversed in the opposite direction goes from v2
to v1,so v1Ev2implies v2Ev1,and Eis symmetric. If we have a path from v1to
v2,and another from v2to v3,then following the first path, then the second gives a
path from v1to v3,so v1Ev2and v2Ev3together imply v1Ev3and Eis transitive.
Thus Emeets all three conditions, and is an equivalence relation.
2. Represent each of the following graphs with an adjacency matrix: K4,K2,3,and
W4.
Solution:
For K4we have:
0111
1011
1101
1110
For K2,3we list the two vertices on one side first, then the three on the other side.
We get:
00111
00111
11000
11000
11000
Finally, for W4we list the centre of the wheel first, then the four vertices on the
rim clockwise. We get:
01111
10101
11010
10101
11010
3. For each of the graphs below, determine whether it has an Euler circuit. Con-
struct an Euler circuit when one exists. For each graph, determine whether it has
an Euler walk, and if it does, construct one.
1