What even is this?
An Euler path traces every edge in a graph exactly once. An Euler circuit does the same and returns to where it started. These come up in scheduling, route planning, and inspections, any situation where you need to cover every connection without backtracking.
The entire topic comes down to one question: how many vertices have odd degree?
A graph is traversable if you can trace every edge exactly once without lifting your pen. The number of odd-degree vertices determines what kind of traversal is possible.
| Odd-degree vertices | What's possible | Extra rule |
|---|---|---|
| 0 | Euler circuit, starts and ends at the same vertex | Can start anywhere |
| 2 | Euler path, starts and ends at different vertices | Must start at one of the two odd-degree vertices |
| 4 or more | Not traversable, cannot trace all edges once | You would need to repeat some edges |
A planar graph is one that can be drawn with no crossing edges. For any connected planar graph:
Faces include the outer unbounded region. When you draw a planar graph, it divides the plane into enclosed regions plus the infinite outer area, count them all as faces.
To find f: f = 2 β v + e | To find e: e = v + f β 2 | To find v: v = 2 + e β f
List the degrees and identify odd ones
4 (even), 2 (even), 4 (even), 3 (odd), 3 (odd), 2 (even)
Count odd-degree vertices
There are 2 odd-degree vertices (the two with degree 3).
Apply the rule
2 odd-degree vertices β Euler path exists. The vehicle can traverse every road once, but it will start and end at different intersections. It must begin (or end) at one of the two degree-3 intersections.
Write the formula and substitute
v β e + f = 2
9 β 13 + f = 2
Solve for f
f = 2 β 9 + 13 = 6
Result: Euler path (not a circuit, will start and end at different vertices)
Must start at one of the degree-3 vertices.
Result: Euler circuit, can start and end at the same vertex, tracing every edge once.
5 β 7 + f = 2
f = 2 + 7 β 5 = 4 faces
Result: Not traversable, with 4 or more odd-degree vertices, no Euler path or circuit is possible.
6 β 9 + f = 2
f = 2 + 9 β 6 = 5 faces