Special graphsAQA A-Level Further Maths: Revision notes
Section 1
Graphs, degrees and simple graphs
A graph is a set of vertices (nodes) joined by edges. The degree of a vertex is the number of edges meeting it. A loop joins a vertex to itself and multiple edges join the same pair of vertices more than once. A simple graph has neither loops nor multiple edges, so each pair of vertices is joined by at most one edge. A graph is connected if there is a path between every pair of vertices. Every edge has two ends, so the handshaking lemma holds: A simple graph with 5 vertices and degrees has edges.
Forgetting to halve: the sum of the degrees counts every edge twice.
Section 2
Simple-connected graphs and trees
A simple-connected graph is both simple and connected. A cycle is a closed path that starts and ends at the same vertex and repeats no other vertex. A tree is a connected graph with no cycles. For a tree with vertices:
- it has exactly edges;
- there is exactly one path between any two vertices;
- removing any edge disconnects it. A connected graph with vertices and edges is therefore a tree. A spanning tree of a connected graph uses all its vertices and enough of its edges to form a tree. A connected graph with more than edges must contain a cycle.
To show a graph is not a tree, count: a tree on vertices has exactly edges.
Section 3
Complete graphs
A complete graph is a simple graph on vertices in which every pair of vertices is joined by an edge. Each vertex has degree , so has 6 edges, has 10 and has 15. Every simple graph on vertices has at most edges.
Using or for the number of edges of : halve it, because each edge joins two vertices.
Section 4
Bipartite graphs
A bipartite graph has its vertices split into two sets so that every edge joins a vertex in one set to a vertex in the other; no edge lies within a set. In a complete bipartite graph the sets have and vertices and every vertex of one set is joined to every vertex of the other, so Vertices in the -set have degree , and vertices in the -set have degree . has 6 edges. To test whether a graph is bipartite, colour a vertex red, its neighbours blue, their neighbours red and so on. If two adjacent vertices ever need the same colour, the graph is not bipartite. In particular a graph containing a triangle is not bipartite.
Thinking is complete in the usual sense: there are no edges within either set.
Section 5
The complement of a graph
The complement of a simple graph has the same vertices, and two vertices are adjacent in exactly when they are not adjacent in . Hence:
- and together make up , so ;
- ;
- the complement of has no edges. Example: if has 5 vertices and 4 edges, then has edges.
Check any complement with two counts: edges () and degrees ().
Section 6
Adjacency matrices
The adjacency matrix of a graph with vertices is the matrix whose entry in row , column is the number of edges joining vertex to vertex . For a simple graph every entry is 0 or 1, the diagonal is all 0 and the matrix is symmetric.
- Row sums give the degrees; the sum of all entries is twice the number of edges.
- : every off-diagonal entry is 1.
- Bipartite: ordering the vertices by set gives two zero blocks on the leading diagonal, e.g. is .
- Complement: swap 0 and 1 everywhere off the diagonal, keeping the diagonal 0.
Putting 1s on the diagonal of the complement: a simple graph has no loops.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Special graphs
- A simple graph has 7 vertices and 8 edges.Explain why cannot be a tree.2 marks
- A graph has vertices , , , , . Its adjacency matrix, with rows and columns in the order , is .Show that the graph is bipartite, stating the two sets of vertices.2 marks
- is a simple connected graph with 6 vertices. The degrees of its vertices are 4, 4, 3, 2, 2, 1.Show that has 8 edges and explain why is not a tree.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).