Docsity

Sample Test 1 with Solution for Graph Theory | MATH 3116, Study notes of Mathematics

Toggle sidebar
bg1
Sample Test I.
1. Are the two graphs shown in the picture isomorphic? Justify your claim.
G1 has 11 edges, while G2 has 12 edges => G1 and G2 are NOT isomorphic.
2. State and prove the degree-sum formula.
Sum of degrees = 2 times the edges in G.
โˆ‘ ๐‘‘(๐‘ฃ)= 2|๐‘’(๐บ)|
๐‘ฃ โˆˆ ๐บ
Proof: Summing degrees counts each edge twice, since each edge has 2 endpoints, and each edge
connects 2 vertices.
3. Explain how the degree-sum formula may be used to prove that a โ€œmountain climber puzzleโ€ always has a
solution.
If starting positions are vertices x1 and x2 then they have an odd degree. Based on the sum of degree
theorem, one other vertex with an odd degree exists. In the graph the only other odd degree vector
is the peak (z), so a path from (x1, x2) to (z, z) exists.
4. What is the number of edges in the n-dimensional hypercube?
Edges in n-hypercube = (2๐‘›โˆ’1)โˆ™๐‘›
5. What is the number of edges in the complete bipartite graph Km,n?
Complete bipartite graph: every vertex of the first set is connected to every vertex of the second set.
๐พ๐‘š,๐‘› => ๐‘ฃ๐‘’๐‘Ÿ๐‘ก๐‘–๐‘๐‘’๐‘  = ๐‘š +๐‘› ๐พ๐‘š,๐‘› => ๐‘’๐‘‘๐‘”๐‘’๐‘  = ๐‘š โˆ™ ๐‘›
6. Give a necessary and sufficient condition for a graph to be bipartite and outline the proof of your claim.
Bipartite graphs do not contain any odd-length cycles and the vertices can be split into 2 disjoint sets.
Proof: Let G = (v, e) and ๐‘ฃ = ๐ด โˆช ๐ต such that ๐ด โˆฉ ๐ต โ‰  0 and that all edges ๐‘’ โˆˆ ๐ธ are such that e is of
the form {๐‘Ž,๐‘} where ๐‘Ž โˆˆ ๐ธ and ๐‘ โˆˆ ๐ธ.
7. State and outline the proof of Eulerโ€™s formula for connected planar graphs.
๐‘Ÿ โˆ’ ๐‘’ + ๐‘ฃ = 2
pf3
pf4
pf5

Partial preview of the text

Download Sample Test 1 with Solution for Graph Theory | MATH 3116 and more Study notes Mathematics in PDF only on Docsity!

Sample Test I.

  1. Are the two graphs shown in the picture isomorphic? Justify your claim.

G1 has 11 edges, while G2 has 12 edges => G1 and G2 are NOT isomorphic.

  1. State and prove the degree-sum formula.

Sum of degrees = 2 times the edges in G.

๐‘ฃ โˆˆ ๐บ

Proof: Summing degrees counts each edge twice, since each edge has 2 endpoints, and each edge connects 2 vertices.

  1. Explain how the degree-sum formula may be used to prove that a โ€œmountain climber puzzleโ€ always has a solution.

If starting positions are vertices x1 and x2 then they have an odd degree. Based on the sum of degree theorem, one other vertex with an odd degree exists. In the graph the only other odd degree vector is the peak (z), so a path from (x1, x2) to (z, z) exists.

  1. What is the number of edges in the n -dimensional hypercube?

Edges in n-hypercube = ( 2 ๐‘›โˆ’1) โˆ™ ๐‘›

  1. What is the number of edges in the complete bipartite graph Km,n?

Complete bipartite graph: every vertex of the first set is connected to every vertex of the second set.

๐พ๐‘š,๐‘› => ๐‘ฃ๐‘’๐‘Ÿ๐‘ก๐‘–๐‘๐‘’๐‘  = ๐‘š + ๐‘› ๐พ๐‘š,๐‘› => ๐‘’๐‘‘๐‘”๐‘’๐‘  = ๐‘š โˆ™ ๐‘›

  1. Give a necessary and sufficient condition for a graph to be bipartite and outline the proof of your claim.

Bipartite graphs do not contain any odd-length cycles and the vertices can be split into 2 disjoint sets.

Proof: Let G = (v, e) and ๐‘ฃ = ๐ด โˆช ๐ต such that ๐ด โˆฉ ๐ต โ‰  0 and that all edges ๐‘’ โˆˆ ๐ธ are such that e is of the form {๐‘Ž, ๐‘}^ where ๐‘Ž โˆˆ ๐ธ and ๐‘ โˆˆ ๐ธ.

  1. State and outline the proof of Eulerโ€™s formula for connected planar graphs.

๐‘Ÿ โˆ’ ๐‘’ + ๐‘ฃ = 2

  1. A connected planar graph has 6 vertices and 3 regions. What is the number of its edges?

G = (6, e) โ†’ ๐‘Ÿ = ๐‘’ โˆ’ ๐‘ฃ + 2 โ†’ ๐‘’ = ๐‘Ÿ + ๐‘ฃ โˆ’ 2 = 7 ๐‘’๐‘‘๐‘”๐‘’๐‘ 

  1. Prove that in a planar graph the number e of edges does not exceed 3 v โˆ’ 6, where v is the number of vertices.

Planar graph: sum of faces degrees = 2 times the edges, each region in plane graph must have ๐’… โ‰ฅ ๐Ÿ‘

3๐‘Ÿ = 2๐‘’ โ†’ ๐‘Ÿ โ‰ค 23 ๐‘’ โ†’ ๐‘’ โˆ’ ๐‘ฃ + 2 โ‰ค 23 ๐‘’ โ†’ ๐‘’ 3 โˆ’ ๐‘ฃ + 2 โ‰ฅ 0 โ†’ ๐‘’ โ‰ค 3๐‘ฃ โˆ’ 6

  1. Use the result in the previous question to show that K 5 is not planar.

๐‘’ โ‰ค 3๐‘ฃ โˆ’ 6 โ†’ 10 โ‰ค 3 โˆ™ (5) โˆ’ 6 โ†’ 10 โ‰  9 โ†’ Not Planar

  1. Use the circle-chord method to show that K 3 , 3 is not planar.

Step 1: Find Hamilton graph.

Step 2: Draw Hamilton as circle.

3 regions => ๐‘Ÿ 3 + ๐‘Ÿ 3 โ€ฒ^ = 1, ๐‘Ÿ 4 + ๐‘Ÿ 4 โ€ฒ^ = 1, ๐‘Ÿ 7 + ๐‘Ÿ 7 โ€ฒ^ = 1

โ†’ ยฑ 1 ยฑ 2 ยฑ 5 โ‰  0 โˆด No Hamiltonian Circuit

  1. Now use the three simple rules about building a Hamilton circuit to show that the graph in the previous question has no Hamilton circuit.

Rule 1: If a vertex x has degree 2, both of the edges incident to x must be part of any Hamilton circuit. Rule 2: No proper sub circuit - that is, a circuit not containing all vertices - can be formed when building a Hamilton circuit. Rule 3: Once the Hamilton circuit is required to use two edges at a vertex x, all other (unused) edges incident at x must be removed from consideration.

No Hamilton circuit because of sub circuits present.

  1. What is the chromatic number of a wheel graph with n vertices?

Based on parity of n vertices, chromatic number = 3 or 4.

If n is even then 4 colors.

If n is odd then 3 colors.

  1. What is the chromatic polynomial of a path of length n? Prove your formula.
  2. Prove that the chromatic polynomial Pk ( G ) of a graph G satisfies the recurrence

Pk ( G ) = Pk ( G โˆ’ e ) โˆ’ Pk ( G/e ).

Here e is an edge of G , and G โˆ’ e , respectively G/e are the graphs obtained by deleting, respectively, contracting the edge e. Explain, how the above recurrence may be used to prove that Pk ( G ) is a polynomial. (What is the basis for the induction?)