All revision notes topics

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: ∑deg⁡(v)=2×(number of edges).\sum\deg(v)=2\times(\text{number of edges}). A simple graph with 5 vertices and degrees 3,3,2,2,23,3,2,2,2 has 122=6\frac{12}{2}=6 edges.

Key termsvertexedgedegreesimple graphconnected
Common mistake

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 nn vertices:

  • it has exactly n−1n-1 edges;
  • there is exactly one path between any two vertices;
  • removing any edge disconnects it. A connected graph with nn vertices and n−1n-1 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 n−1n-1 edges must contain a cycle.
Key termscycletreespanning tree
Exam tip

To show a graph is not a tree, count: a tree on nn vertices has exactly n−1n-1 edges.

Section 3

Complete graphs

A complete graph KnK_n is a simple graph on nn vertices in which every pair of vertices is joined by an edge. Each vertex has degree n−1n-1, so edges=n(n−1)2.\text{edges}=\frac{n(n-1)}{2}. K4K_4 has 6 edges, K5K_5 has 10 and K6K_6 has 15. Every simple graph on nn vertices has at most n(n−1)2\frac{n(n-1)}{2} edges.

Key termscomplete graph
Common mistake

Using n2n^2 or n(n−1)n(n-1) for the number of edges of KnK_n: 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 Km,nK_{m,n} the sets have mm and nn vertices and every vertex of one set is joined to every vertex of the other, so edges=mn.\text{edges}=mn. Vertices in the mm-set have degree nn, and vertices in the nn-set have degree mm. K3,2K_{3,2} 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.

Key termsbipartite graphcomplete bipartite graph
Common mistake

Thinking Km,nK_{m,n} is complete in the usual sense: there are no edges within either set.

Section 5

The complement of a graph

The complement G′G' of a simple graph GG has the same vertices, and two vertices are adjacent in G′G' exactly when they are not adjacent in GG. Hence:

  • GG and G′G' together make up KnK_n, so e(G)+e(G′)=n(n−1)2e(G)+e(G')=\frac{n(n-1)}{2};
  • deg⁡G′(v)=n−1−deg⁡G(v)\deg_{G'}(v)=n-1-\deg_G(v);
  • the complement of KnK_n has no edges. Example: if GG has 5 vertices and 4 edges, then G′G' has 10−4=610-4=6 edges.
Key termscomplement
Exam tip

Check any complement with two counts: edges (n(n−1)2−e\frac{n(n-1)}{2}-e) and degrees (n−1−dn-1-d).

Section 6

Adjacency matrices

The adjacency matrix of a graph with nn vertices is the n×nn\times n matrix whose entry in row ii, column jj is the number of edges joining vertex ii to vertex jj. 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.
  • KnK_n: every off-diagonal entry is 1.
  • Bipartite: ordering the vertices by set gives two zero blocks on the leading diagonal, e.g. K2,2K_{2,2} is (0011001111001100)\begin{pmatrix} 0&0&1&1 \\ 0&0&1&1 \\ 1&1&0&0 \\ 1&1&0&0 \end{pmatrix}.
  • Complement: swap 0 and 1 everywhere off the diagonal, keeping the diagonal 0.
Key termsadjacency matrixsymmetric
Common mistake

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

  1. A simple graph GG has 7 vertices and 8 edges.
    Explain why GG cannot be a tree.2 marks
  2. A graph has vertices PP, QQ, RR, SS, TT. Its adjacency matrix, with rows and columns in the order P,Q,R,S,TP,Q,R,S,T, is (0001100010000011100010100)\begin{pmatrix} 0&0&0&1&1 \\ 0&0&0&1&0 \\ 0&0&0&0&1 \\ 1&1&0&0&0 \\ 1&0&1&0&0 \end{pmatrix}.
    Show that the graph is bipartite, stating the two sets of vertices.2 marks
  3. GG is a simple connected graph with 6 vertices. The degrees of its vertices are 4, 4, 3, 2, 2, 1.
    Show that GG has 8 edges and explain why GG is not a tree.3 marks
See the full worksheet

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).