Discrete Mathematics / Counting and structure
Graph Theory
Vertices and edges: degrees, paths, trees and the bridges of Königsberg.
Contents 3 sections
By the end you can
- Use the handshake lemma
- Decide when an Euler path or circuit exists
- Recognise trees and count their edges
Helps to know: Sets, Relations and Functions
§1Vertices and edges
A graph is a set of vertices joined by edges. It models friendships, road maps, molecules, dependencies and the internet. The degree of a vertex is the number of edges touching it.
§2Euler’s bridges
In 1736 Euler asked whether a walk through Königsberg could cross each of its seven bridges exactly once. Modelling land as vertices and bridges as edges, he found the answer depends only on degrees.
Check yourself
- Q1A graph has degrees 3, 3, 2, 2, 2. How many edges?
- Q2A tree has 20 vertices. How many edges?