The Lumenary · Grades 9–12
Graphs
Name: ______________________
Date: ______________________
You will learn to
- Model networks with graphs and use the vocabulary of vertices, edges, degrees, walks, paths, cycles and connectedness
- Prove the handshake lemma and deduce that every graph has an even number of vertices of odd degree
- Prove Euler's theorem that a connected graph has an Euler circuit exactly when every vertex has even degree, and its version for Euler trails
- Prove that a tree with vertices has edges and that any two of its vertices are joined by exactly one path
- Decide whether two small graphs are isomorphic, using invariants to prove that they are not
- 1.
A graph has seven vertices, with degrees . How many edges does it have?
- 2.
Can there be a group of people in which every person knows exactly of the others (knowing being mutual)?
- A.No: the numbers of acquaintances would add up to , which is odd, but they must add up to twice the number of pairs who know each other.
- B.Yes: arrange the people in a circle and let each know their neighbours and the person opposite.
- C.No, because is more than half of .
- D.Yes, but only if one person knows nobody.
- 3.
An engineering cooperative lays water pipes to connect villages in a region of Bolivia so that water can flow between any two villages, using as few pipes as possible: the network has no loops. Each pipe joins two villages. How many pipes are there?
- 4.
A connected graph has six vertices with degrees . Which statement is true?
- A.It has an Euler trail that starts at one vertex of degree and ends at the other, but no Euler circuit.
- B.It has an Euler circuit.
- C.It has no Euler trail at all.
- D.Such a graph cannot exist, because the degrees add up to an odd number.
- 5.
The cube graph has the corners of a cube as vertices and its edges as edges. Which statements are true? (Choose all that apply.)
- A.It has a Hamiltonian cycle (a cycle visiting every vertex exactly once).
- B.It has an Euler circuit.
- C.It has no Euler trail.
- D.It has edges, consistent with the handshake lemma.
- 6.
To prove that a tree with at least two vertices has a leaf, we take a longest path and show that is a leaf. Why can have no neighbour other than ?
- A.A neighbour outside the path would give a longer path, and a neighbour with would close a cycle.
- B.Because a tree with vertices has edges.
- C.Because the degrees add up to twice the number of edges.
- D.Because was chosen to have the smallest degree.
- 7.
How many trees with vertices are there up to isomorphism — that is, how many different shapes?
- 8.
In the lesson's Lean model,
IsEulerCircuit G wsays that the walkwcrosses every edge of the multigraphGexactly once and ends where it started. Which statement is a correct formalisation of the necessity half of Euler's theorem for circuits?- A.
IsEulerCircuit G w → ∀ v, Even (degree G v) - B.
(∀ v, Even (degree G v)) → ∃ w, IsEulerCircuit G w - C.
IsEulerCircuit G w → ∃ v, Even (degree G v) - D.
IsEulerCircuit G w → ∀ v, Odd (degree G v)
- A.
- 9.
A connected multigraph on the vertices is given as a list of edges
(a, b)(pairs may repeat). Writeeuler_status(n, edges)that returns"circuit"if it has an Euler circuit,"trail"if it has an Euler trail but no circuit, and"none"otherwise, using Euler's theorem. (Assume at least one edge.)Computational — Practice