Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Discrete Mathematics / Counting and structure

Graph Theory

Vertices and edges: degrees, paths, trees and the bridges of Königsberg.

3 min read · 2 sections · 2 checks

Contents 3 sections
  1. §1Vertices and edges
  2. §2Euler’s bridges
  3. ?Check yourself

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

  1. Q1
    A graph has degrees 3, 3, 2, 2, 2. How many edges?
  2. Q2
    A tree has 20 vertices. How many edges?