Problem Solving

Eulerian Trail

A pupil traces a route across a connected set of model bridges.

Eulerian Trail definition

An Eulerian trail traverses every edge of a graph exactly once.

In Spanish
recorrido euleriano
Topic
Graph theory

Eulerian Trail in a picture

Eulerian Trail diagramA → B → C → A → D uses all four edges exactly once.ABCD
A → B → C → A → D uses all four edges exactly once.

How it works

In an undirected graph with at least one edge, all vertices with positive degree must belong to one component. There must be zero or two vertices of odd degree. With two, start at one odd-degree vertex and finish at the other. With zero, the trail can close at its starting vertex and is an Eulerian circuit.

Worked examples

Does a triangle have an Eulerian circuit?

Yes. Start at any vertex and follow the three edges back.

What are the endpoints of an Eulerian trail on a four-vertex chain?

The two ends of the chain. They have odd degree.

Can a star with three leaves have an Eulerian trail?

No. Its center and all three leaves have odd degree.

Common mistake

Count traversals of edges. Revisiting a vertex can be necessary, but each edge must be used exactly once.

Quick check

Can an Eulerian trail repeat a vertex?

Show answer

Yes.

Can it repeat an edge?

Show answer

No.

How many odd-degree vertices can an undirected graph with an Eulerian trail have?

Show answer

Zero or two.

Sources

Flashcard

Eulerian Trail

Reveal the definition

An Eulerian trail traverses every edge of a graph exactly once.

Effortless Math. “Eulerian Trail.” Math Dictionary.