A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Eulerian Circuits and Paths

College Depth 75 in the knowledge graph I know this Set as goal
6topics build on this
386prerequisites beneath it
See this on the map →
Graph Paths, Cycles, and ConnectivityIntroduction to Graph TheoryHamiltonian Circuits and Paths
euler-circuit euler-path eulerian-graph konigsberg-bridges

Core Idea

An Eulerian circuit is a closed walk traversing every edge exactly once; an Eulerian path is an open walk doing the same. Euler's theorem (1736) states: a connected graph has an Eulerian circuit if and only if every vertex has even degree, and an Eulerian path (but not circuit) if and only if exactly two vertices have odd degree. The Königsberg bridge problem — can one cross all seven bridges without repeating any? — was Euler's original motivation and arguably the founding problem of graph theory.

How It's Best Learned

Attempt Eulerian circuits on small graphs by hand before seeing the theorem. Verify Euler's condition on several examples. Connect to practical route-planning problems (mail delivery, snow plowing) where the goal is to traverse all edges with minimum repetition.

Common Misconceptions

Explainer

Euler's theorem is one of the most elegant results in graph theory: a complete solution to a natural traversal problem, given by a single, easy-to-check condition. You've studied graph connectivity and the basic vocabulary of graphs. Now the question is: can you plan a walk that uses every edge exactly once? Think of the graph as a map where edges are streets and vertices are intersections — you want a route that covers every street exactly once, ideally returning to where you started.

The key insight comes from thinking locally about each vertex. Every time a walk passes through a vertex (entering, then leaving), it consumes two edges — one in, one out. For a circuit (a closed walk that returns to its starting vertex) to traverse every edge exactly once, every vertex must balance its arrivals and departures perfectly. This forces every vertex to have even degree — an equal number of edges on each side of any passage. If any vertex has odd degree, it cannot be perfectly balanced, meaning the walk must either start or end there, making a closed circuit impossible.

Euler's theorem converts this local observation into a complete characterization. For a connected graph: it has an Eulerian circuit if and only if every vertex has even degree; it has an Eulerian path (open walk through every edge once) if and only if exactly two vertices have odd degree — those two are the start and end of the path. Connectivity is also required: you cannot traverse edges in a component you can never reach. The Königsberg bridge problem, which motivated Euler's 1736 paper, had four land masses each with an odd number of bridge connections — so no Eulerian path was possible, proving the famous walk impossible.

One distinction is critical to keep sharp: Eulerian circuits cover every edge once, while Hamiltonian circuits visit every vertex once. These problems sound related but are fundamentally different in difficulty. Eulerian circuit existence is solvable in linear time — just check that all degrees are even and the graph is connected. Hamiltonian circuit existence is NP-complete, with no known efficient algorithm. The degree condition works for Euler because edges are "used up" as you traverse them, allowing a clean local argument to close the analysis. No comparable local condition exists for Hamilton, which is why the two problems, despite their surface similarity, have completely different theories.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesSet Operations: Union, Intersection, and ComplementProof by CasesProving by Cases and ExhaustionVacuous Truth and Trivial CasesProof by Cases (Proof by Exhaustion)Mathematical InductionGraph Paths, Cycles, and ConnectivityEulerian Circuits and Paths

Longest path: 76 steps · 386 total prerequisite topics

Prerequisites (2)

Leads To (1)