Lably
Skip to content

Cycle (graph theory)

Trail in which only the first and last vertices are equal

  • 6 min read
  • 6 chapters

Related on Lably

Through Graph (discrete mathematics), Directed graph and Ring (mathematics)

A graph without cycles is called an acyclic graph (or a forest). A directed graph without directed cycles is called a directed acyclic graph. A connected graph without cycles is called a tree.

Definitions

Circuit and cycle

  • A circuit is a non-empty trail in which the first and last vertices are equal (closed trail).
Let G = (V, E, Φ) be a graph. A circuit is a non-empty trail (e1, e2, ..., en) with a vertex sequence (v1, v2, ..., vn, v1).
  • A cycle or simple circuit is a circuit in which v1,...,vn are distinct.
  • n is called the length of the circuit resp. length of the cycle.

Directed circuit and directed cycle

  • A directed circuit is a non-empty directed trail in which the first and last vertices are equal (closed directed trail).
Let G = (V, E, Φ) be a directed graph. A directed circuit is a non-empty directed trail (e1, e2, ..., en) with a vertex sequence (v1, v2, ..., vn, v1).
  • A directed cycle or simple directed circuit is a directed circuit in which v1,...,vn are distinct.
  • n is called the length of the directed circuit resp. length of the directed cycle.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Discrete mathematics