Graph theory terminologyEdexcel International A Level Maths: Revision notes
Section 1
Graphs, networks and digraphs
A graph is a set of vertices (nodes) joined by edges (arcs). A subgraph is a graph made from some of the vertices and edges of another graph. A weighted graph (network) has a number, such as a distance or cost, on each edge. In a digraph each edge is a directed edge, with an arrow showing the one allowed direction of travel. Graphs are named by listing the vertices and edges, e.g. vertices to with edges , , , , .
Section 2
Degree of a vertex
The degree (valency) of a vertex is the number of edges meeting at it. A vertex is odd or even according to its degree. In with edges , , , , the degrees are , , , , , so the odd vertices are and . Each edge contributes 2 to the sum of the degrees, so the sum of the degrees is (number of edges) and is always even. It follows that the number of odd vertices is always even. A graph with exactly three odd vertices cannot exist.
To check your degrees, add them up. The total must be twice the number of edges.
Section 3
Walks, paths and cycles
A walk is a finite sequence of edges in which the end vertex of one edge is the start vertex of the next. A path is a walk in which no vertex is repeated. A cycle (circuit) is a closed path: it starts and ends at the same vertex, and no other vertex is repeated. Example in : is a path, is a cycle, and is a walk that is not a path, because is repeated.
Calling any closed walk a cycle. A cycle must not repeat a vertex or edge.
Section 4
Connected graphs and trees
Two vertices are connected if there is a path between them. A graph is a connected graph if every pair of vertices is connected. A tree is a connected graph with no cycles. A tree with vertices has exactly edges, and adding any edge to a tree creates a cycle. In a tree with 8 vertices the degrees sum to , so at least one vertex has degree 1.
To show a connected graph is not a tree, find a cycle or show it has more than edges.
Section 5
Spanning trees and complete graphs
A spanning tree of a connected graph is a subgraph that includes every vertex and is a tree, so it has edges. To form one, delete edges that lie on cycles until no cycle remains. A minimum spanning tree (minimum connector) of a weighted graph is a spanning tree of least total weight. In a complete graph every pair of vertices is joined by an edge. With vertices it has edges and every vertex has degree . For : 15 edges and degree 5, so a spanning tree has 5 edges and 10 edges are deleted.
Section 6
Communicating clearly
Use the exact terms: path, cycle, walk, tree. Give vertex lists in order (for example ) and check each consecutive pair is an edge. When you apply an algorithm on a graph, show clearly each step you take. Back up statements such as "not a tree" with a reason: a named cycle, or an edge count that does not equal .
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Graph theory terminology
- A graph has vertices and edges , , , and .State, with a reason, whether is a tree.2 marks
- is the complete graph with 6 vertices.A spanning tree of is formed by deleting edges. State the number of edges in the spanning tree and the number of edges deleted.2 marks
- A graph has vertices and edges , , , , , and .(i) Write down a cycle in that contains exactly four vertices. (ii) Write down a walk in of five edges that is not a path.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).