← Networks

📖 Euler trails

The rule

  • An Euler trail uses every edge exactly once. An Euler circuit does too, and ends where it started.
  • Each time you pass through a dot you use one edge in and one edge out. That is 2 edges.
  • So a dot you only pass through has an even degree. Only the start and the end can be odd.
  • 0 odd dots: there is an Euler circuit. You can start anywhere.
  • 2 odd dots: there is an Euler trail. It starts at one odd dot and ends at the other.
  • More than 2 odd dots: there is no Euler trail.
  • The number of odd dots is always even, so exactly 1 odd dot never happens.
  • This works when all the edges are in one connected piece.

Examples

Can you walk every edge once and end where you started? → Yes, an Euler circuit

  1. Degrees: A 2, B 2, C 2, D 2, E 2
  2. All even: 0 odd dots
  3. Euler circuit: yes

Every dot has an even degree.

ABCDE

What can you say about this network? → Euler trail only

  1. Degrees: A 3, B 2, C 3, D 2, E 2
  2. 2 odd dots: A and C
  3. Euler trail only

Two odd dots give a trail, not a circuit.

ABCDE

What can you say about this network? → No Euler trail

  1. Degrees: A 3, B 3, C 4, D 3, E 3
  2. 4 odd dots
  3. More than 2 odd dots: no Euler trail

More than 2 odd dots.

ABCDE

Where could an Euler trail start? → A or C

  1. Degrees: A 3, B 2, C 3, D 2, E 2
  2. The odd dots are A and C
  3. Start at A and end at C, or the other way

A trail starts and ends at the odd dots.

ABCDE

A postie wants to walk every street once and finish back home. Is it possible? → Yes, an Euler circuit

  1. Degrees: A 2, B 2, C 4, D 2, E 2
  2. All even: no odd dots
  3. Euler circuit: yes

Every dot has an even degree.

ABCDE

Watch out

  • “Every network has an Euler trail.” No: count the odd dots. More than 2 means none.
  • “An Euler trail needs all even degrees.” No: that is a circuit. A trail can have 2 odd dots.
  • “With 2 odd dots you can start anywhere.” No: you must start at an odd dot.
Start the lesson ▶