WhizzNotes
Chapters

Networks, Paths and Circuits

Vertices, edges and degrees, planar and isomorphic graphs, Euler trails and circuits, Hamiltonian paths and shortest paths.

Networks 5 min read Updated 13 questions Jump to quiz Feedback

On this page

In short: A network is a set of points (vertices) joined by lines (edges), like a map of towns and roads. An Euler trail uses every edge once and needs 0 or 2 odd vertices, a Hamiltonian path visits every vertex once, and the shortest path has the smallest total weight.

Starting point: Years 9 and 10

Network words

  • A network (or graph) is a set of vertices (dots) joined by edges (lines).
  • The degree of a vertex is the number of edges that meet there. A loop counts twice.
  • A directed network has arrows: edges go one way. A weighted network has numbers on its edges, such as distances or costs.
  • A network is connected if you can get from any vertex to any other.

Walks, trails, paths and circuits

  • Walk: any route along edges.
  • Trail: a walk with no repeated edges.
  • Path: a walk with no repeated vertices (so no repeated edges either).
  • Circuit: a trail that starts and ends at the same vertex. Cycle: a path that does this.

Euler trails and circuits

An Euler trail uses every edge exactly once. An Euler circuit does this and returns to the start.

The Königsberg network has four vertices, all of odd degree, so no walk crosses every bridge once.

Hamiltonian paths and cycles

A Hamiltonian path visits every vertex exactly once. A Hamiltonian cycle also returns to the start. There is no simple rule for these, so you test by trying routes.

Planar and isomorphic graphs

A graph is planar if it can be drawn with no edges crossing. For a connected planar graph, Euler's formula links vertices , edges and faces (including the outside region):

A cube's network has , and : .

Two graphs are isomorphic if they are the same network drawn differently: same number of vertices and edges, same degrees, and the same connections.

Shortest paths

In a weighted network, the shortest path between two vertices has the smallest total weight.

3 2 4 4 8 2 10 A B C D E
Shortest route from A to E: A, B, D, E with total 3 + 4 + 2 = 9.

Other routes are longer: A, C, D, E is and A, B, E is .

Networks
Parts
  • Vertices and edges
  • Degree
  • Sum of degrees = 2e
Routes
  • Walk, trail, path
  • Circuit and cycle
Euler
  • Every edge once
  • 0 odd: circuit
  • 2 odd: trail
Hamilton
  • Every vertex once
Planar
  • No crossings
  • v - e + f = 2
Shortest path
  • Smallest total weight

Quick summary

  • A network has vertices and edges. Degree = number of edge ends at a vertex.
  • Sum of degrees edges, so odd vertices come in pairs.
  • Euler circuit: 0 odd vertices. Euler trail: exactly 2 odd vertices, start and end at them.
  • Hamiltonian paths visit every vertex once.
  • Planar graphs: . Shortest path: the smallest total weight.

Quiz

Sign in to take the quiz

13 questions with instant marking. It is free, and your scores are saved to your account so you can carry on from any device.

Turn on JavaScript to sign in and take the quiz.

Try 3 questions now

  1. The degree of a vertex is:

    1. A the number of vertices next to it
    2. B the number of edges meeting at it
    3. C its distance from the start
    4. D always even
    Show answer

    B: the number of edges meeting at it

    Count the edge ends at the vertex.

  2. A network has 7 edges. The sum of its degrees is:

    1. A 7
    2. B 14
    3. C 3.5
    4. D 21
    Show answer

    B: 14

    .

  3. A network has vertices of degree 2, 3, 3 and 4. How many edges does it have?

    1. A 12
    2. B 6
    3. C 4
    4. D 8
    Show answer

    B: 6

    Sum 12, so .

Mathematics Advanced chapters

Sign in