Past exam of the mathematics course of the University of Cambridge 2008 ii Paper 1 17F iii Solution Created 2026-09-24 Updated 2026-10-14
True for finite connected simple graphs. average degree of a graph at most two implies . A spanning tree has edges, leaving at most one extra edge. Hence the graph is a tree or unicyclic. trees are planar, and a unicyclic graph is a cycle with trees attached to its vertices, which can also be embedded in the plane. Connectedness is essential to this argument: a disconnected nonplanar component can be diluted by isolated vertices.
Past exam of the mathematics course of the University of Cambridge 2008 ii Paper 1 17F ii Solution Created 2026-09-24 Updated 2026-10-14
False. Attach 594 pendant vertices to one vertex of . The connected graph still contains the nonplanar , but has , , and average degree of a graph . Attaching more leaves lowers the average further toward two without making the graph planar.
Past exam of the mathematics course of the University of Cambridge 2008 ii Paper 1 17F Solution 2026-10-14
Euler characteristic for a finite connected plane graph is . For a simple connected planar graph with , each facial boundary has length at least three and the total boundary length is , so . Combining gives , and therefore average degree of a graph . Some vertex has degree at most five. Components of size one or two have this property directly, so every nonempty finite simple planar graph has .
Prove five colour theorem by induction on vertex count. Remove a vertex of degree at most five and colour the remaining planar graph with five colours. If its neighbours use fewer than five colours, assign an unused colour to . Otherwise its five neighbours occur in cyclic order around with colours . If no path of colours connects to , interchange these colours in the component of , freeing colour 1 at .
If such a path exists, a simple path together with and makes a Jordan curve. The cyclic order puts and on opposite sides. A path of colours between them would have to cross the curve, impossible in the plane embedding; it cannot meet the differently coloured path or use the removed vertex. Interchange colours in the component of , freeing colour 2 at . The colouring extends in every case. Thus for finite simple planar graphs. The usual simple-graph convention is needed: loops would invalidate a proper-colouring assertion.
Simple graph 2026-10-14
An undirected simple graph is exactly a pair of setsThus every edge is a two-element set of distinct vertices. The unordered pair equals , so there is no direction. The distinctness condition excludes self-loops, and using a set of edges excludes parallel copies. A simple graph may have vertices with no incident edges; does not by itself determine . For example, and have the same edge set but different vertex sets.[ref]
https://ocw.mit.edu/courses/6-1200j-mathematics-for-computer-science-spring-2024/mit6_1200j_s24_lec11.pdf. MIT, Graphs and Coloring, Section 1.1
In the six-vertex example, the vertex neighbourhood of is , so its degree of a vertex is . In label order , the degree sequence isThis is the handshaking lemma: count each edge once at each of its two endpoints. The average degree of a graph here is . The degree sequence is a compact consistency check on an edge list; an odd sum could not describe any finite undirected graph. It also forces the number of odd degrees of vertices to be even, since the even terms do not affect the parity of the sum.
The adjacency matrix in the figure uses label order . Its entry is one exactly when , and zero otherwise. It is a symmetric matrix with zero diagonal, and each row sum gives the corresponding vertex degree. For example, row is . The fourteen ones count both directions of the seven undirected edges; they do not indicate fourteen different edges. This translates a picture into a representation suitable for calculation.
The restrictions matter. A directed graph uses an ordered pair to distinguish from , so reachability can depend on direction. A multigraph can contain several distinct edges between the same vertices; adding another would raise and to four without adding a new neighbour. A self-loop at contributes two to its undirected vertex degree, making it four, because both endpoints lie at . Specify whether self-loops are allowed in a multigraph. Finally, a weighted graph attaches numerical information to edges: if links carry travel times, minimizing the number of edges need not minimize total time. These are changes to the model, rather than changes to how the same simple graph is drawn.