Practice Discrete Math

Graphs / Euler Trails

Least You Need to Know: Euler Trails and Cycles

Euler questions ask whether you can use every edge exactly once. The degree pattern tells you the answer quickly.

The least you need to know

Key notation

deg(v) degree of vertex v
trail walk using no edge more than once
cycle closed walk

Tiny worked example

  • Suppose a connected graph has vertices of degrees `2, 4, 3, 3`.
  • Exactly two vertices are odd.
  • So the graph has an Euler trail but not an Euler cycle.

Common mistakes

How to recognize this kind of problem

Next recommended lesson

Continue through this topic with Least You Need to Know: Rooted Trees.

Least You Need to Know: Rooted Trees

Related lessons

Keep going with nearby lessons in the same topic.

More ways to explore

Start practice