Graph Cycle definition
A cycle in a simple undirected graph is a closed walk with at least three edges and no repeated vertices except its matching start and end.
Graph Cycle in a picture
How it works
For example, A → B → C → A is a cycle if AB, BC, and CA are edges. The order of vertices matters because each step must follow an edge. A graph without any cycles is called acyclic.
Worked examples
Is A → B → A a cycle in a simple graph?
No. It goes back along the same edge.
What is the length of A → B → C → D → A?
Four edges.
Can a tree contain a cycle?
No. A tree is acyclic.
Common mistake
Allow the starting vertex to appear again only as the final vertex.
Quick check
What is the shortest cycle length in a simple graph?
Show answer
Three.
Does every closed walk form a cycle?
Show answer
No. A closed walk may repeat other vertices or edges.
What is a graph with no cycles called?
Show answer
Acyclic.
Sources
Flashcard
Graph Cycle
Reveal the definition
A cycle in a simple undirected graph is a closed walk with at least three edges and no repeated vertices except its matching start and end.
Effortless Math. “Graph Cycle.” Math Dictionary.



