Graph Theory Puzzle · One-Stroke Euler Path

How to Draw an Open Envelope (House With an X) Without Lifting Your Pencil

Direct Answer

You can ONLY draw the open house-with-an-X envelope without lifting your pencil or retracing a line if you START at one of the two bottom corners (the only two vertices with an odd number of lines—3 edges each). Start bottom-left, go up → roof peak → down right → bottom-left diagonal → right → up → top-left diagonal → straight down to finish at the bottom-right corner.

Interactive 9-Dots Board

Click up to 5 points (4 connected straight lines) to pass through all 9 dark dots. Hint: you can click the faint outer guide points too!

0/4 lines0/9 dots

Key Facts at a Glance

Total Edges to Trace
8 edges across 5 vertices
Mandatory Starting Points
Bottom-Left OR Bottom-Right ONLY (the 2 odd-degree vertices of degree 3)
Mathematical Law
Leonhard Euler's 1736 Seven Bridges of Königsberg Theorem
Impossibility Rule
Any shape with MORE than 2 odd-degree junctions is mathematically impossible in one stroke
Step by Step

Exact 8-Stroke Solution (Starting Bottom-Left)

Step 1

Start at Bottom-Left → Straight Up to Top-Left

Always start on one of the two odd-degree (3-line) bottom corners.

Step 2

Top-Left → Roof Peak → Top-Right

Trace the entire triangular roof in two strokes.

Step 3

Top-Right → Straight Left to Top-Left

Close the ceiling beam across the top of the square.

Step 4

Top-Left → Diagonal to Bottom-Right → Straight Up to Top-Right

Draw the first interior X diagonal, then climb the right wall.

Step 5

Top-Right → Diagonal to Bottom-Left → Straight Right to Bottom-Right

Finish the second X diagonal and close the floor—all 8 lines drawn with zero retracing!

Euler's Instant Test for ANY One-Stroke Drawing Puzzle

Count how many lines meet at every corner (its 'degree'). Every middle corner you enter and leave uses 2 lines (even degree). Therefore, a continuous non-overlapping path can have at most 2 odd-degree corners—one where you MUST start, and one where you MUST finish. If a shape has 4 odd corners (like a closed square with an X and NO roof), it is mathematically impossible in one stroke!

Jede Woche neue Cartoons

Abonniere Pencil vs. Feedback auf YouTube

Schau dir über 48 wortlose Cartoon-Shorts, 3D-Zeichentricks, optische Täuschungen sowie lange Labyrinth- und Rätselfolgen an – kostenlos, familienfreundlich und ganz ohne Worte.

Abonnieren