Maths WorkshopMaths problems with full solutions
Exercise 1310Combinatorics › Graph theoryOlympiadAdded 5 Nov 2026

Drawing K₈ without lifting the pen

#Euler trail#graph theory#degrees#construction

Statement

The complete graph K8K_8 has 88 vertices and an edge between every pair. We draw all its 2828 edges, each exactly once, in several strokes, where a stroke is a walk along edges that does not repeat any edge. What is the minimum number of strokes?

Hint

Every vertex has odd degree 77. How many odd-degree vertices can a single stroke start or end at? For the construction, add four extra edges to make all degrees even.

Show solutionHide solution

Solution

Lower bound. Suppose the edges are covered by ss strokes. Count, for a fixed vertex vv, the edges of vv covered by one stroke: if vv is not an endpoint of that stroke, each visit uses two edges at vv, so the number is even. The total degree 77 is odd, so some stroke uses an odd number of edges at vv, and that stroke has vv as exactly one of its two ends. Each stroke has two ends, hence is such a stroke for at most 22 vertices, while all 88 vertices need one. Hence 2s≥82s\ge8, s≥4s\ge4.

Construction with 44 strokes. Pair the vertices into four pairs {1,2},{3,4},{5,6},{7,8}\{1,2\},\{3,4\},\{5,6\},\{7,8\} and add a second, extra copy of each of these four edges. Now every vertex has degree 88 (even) and the multigraph is connected, so it has an Eulerian circuit. Delete the four extra edges from the circuit: cutting a closed circuit at 44 places leaves at most 44 walks, which together use every original edge exactly once. So 44 strokes suffice.

Answer. 44 strokes.

Lesson. Parity of degrees gives the lower bound; to match it, fix the parity by adding edges and use Euler's theorem.