Acyclic orientation Created 2026-10-14 Updated 2026-11-05
An acyclic orientation is an orientation of a graph whose resulting directed graph has no directed cycle, hence is a directed acyclic graph. A directed cycle must follow every arrow around its closed route. A cycle in a graph in the skeleton of a directed graph only requires the corresponding undirected edges; their arrows need not agree around the route.
For the same triangle in a graph with vertex set and edges , compareBoth have an undirected cycle in a graph in their skeleton of a directed graph. Only has a directed cycle. In , has no outgoing directed edge, so a route cannot continue from back to .
The same triangle in a graph with an acyclic orientation and an orientation of a graph containing a directed cycle
. Details. Thus an acyclic orientation does not require its underlying undirected graph to be a forest. Every orientation of a graph of a forest is acyclic, because a directed cycle would give an undirected cycle in a graph. Conversely, every finite simple graph, including one with many cycles in a graph, admits at least one acyclic orientation by the following ordering construction. On this triangle in a graph, six of the eight orientations of a graph are acyclic; the other two follow the directed cycle in opposite senses.
Chromatic number from acyclic longest paths 2026-10-31
For a finite graph, let count the vertices on a longest directed path in an acyclic orientation . Its minimum over those orientations is the chromatic number. A proper -colouring gives an orientation from smaller to larger colours, so every directed path has strictly increasing colours and at most vertices. Conversely, assign to each vertex the number of vertices in a longest directed path ending there. Along an edge this number increases: an ending path at cannot contain without forming a directed cycle, so it can be extended. The resulting labels give a proper colouring using at most colours. These two constructions prove equality. Counting edges instead of vertices in path length subtracts one from the displayed minimum.
Order-induced acyclic orientation Created 2026-10-14 Updated 2026-11-05
Choose a strict total order of the vertices of a finite simple graph. Direct every edge from to when . Along every directed path, the index strictly increases. Returning to the starting vertex would require an impossible strict increase back to the initial index, so this is an acyclic orientation. The displayed comes from .
The chosen strict total order is a topological order of the resulting directed acyclic graph. Conversely, every acyclic orientation of a finite simple graph has a topological order, and orienting its edges from earlier to later in that order recovers it. Different topological orders can induce the same acyclic orientation, since vertices with no edge between them need not impose a choice of arrow.[ref]
Lecture 14: Graphs II: Depth-First Search. printed pp. 4–6: job scheduling, topological sorting and its edge-order correctness condition
An order respects reachability but does not create it: in a chosen topological order does not imply a directed path from to . For example, orient the two edges of the graph path using . The arrows are and ; there is no directed path from to , despite . In , however, reaches both directly and via . Following outgoing directed edges with graph search decides this directional reachability.[ref]
Lecture 14: Graphs II: Depth-First Search. printed pp. 1–2: directed adjacency lists contain outgoing edges; a search sees vertices reachable from its start
Orientation of a graph Created 2026-10-07 Updated 2026-10-14
An orientation of a graph keeps the same vertex set and the same individual edges. For every edge with distinct endpoints, choose exactly one directed edge, either or . Replacing it by both arrows is a different construction: it doubles the edges and permits travel both ways along that connection. In an orientation of a graph, the return journey must use another route.[ref]
The Basics (author-hosted chapter preview). §1.10, printed p. 28: an orientation retains the vertex and edge sets and assigns initial and terminal endpoints
All examples below use finite simple graphs: no self-loops and no multiple edges. For a multigraph, each individual nonloop edge receives its own direction, so two multiple edges can point in opposite directions. A self-loop becomes , which is already a directed cycle of length one and therefore prevents an acyclic orientation. A finite simple graph with edges has orientations of a graph, since the two choices for each edge are independent.
Think of vertices as junctions and edges as streets. An orientation of a graph makes each street one-way; reachability asks whether a legal journey exists from one specified junction to another. Two useful aims pull in different directions: an acyclic orientation rules out circular dependencies, while a strong orientation permits journeys between every ordered pair of junctions.
Part (ii) shows that for every acyclic orientation , so is at most their minimum. Part (i), applied to an optimal colouring, supplies an acyclic orientation with . Combining the inequalities givesThe parameter counts vertices on a graph path; if graph path length were instead counted in edges, the corresponding minimum would be .
These constructions prove chromatic number from acyclic longest paths.
Part (ii) shows that for every acyclic orientation , so is at most their minimum. Part (i), applied to an optimal colouring, supplies an acyclic orientation with . Combining the inequalities givesThe parameter counts vertices on a graph path; if graph path length were instead counted in edges, the corresponding minimum would be .
These constructions prove chromatic number from acyclic longest paths.
Strong orientation 2026-10-14
A strong orientation is an orientation of a graph with strong connectivity: for every ordered pair of vertices, there is a directed path from to . A length-zero directed path permits . Ordinary connectivity of the underlying undirected graph is necessary, but does not ensure this two-way reachability after directions are chosen. The acyclic is not a strong orientation; the cyclic is, since a journey can continue around its directed cycle.
Attach a new vertex to that triangle in a graph by the single edge . This edge is a bridge in a graph. If oriented , no directed path leaves for the triangle in a graph; if oriented , no directed path from the triangle in a graph reaches . Neither choice gives a strong orientation, even when the triangle in a graph itself is cyclically oriented. By contrast, the four-vertex cycle graph has the strong orientationFollowing this directed cycle reaches any requested vertex in at most three steps. Removing any one of its undirected edges leaves a graph path through all four vertices, so it has no bridge in a graph.
For more than one vertex, a strong orientation cannot also be an acyclic orientation: directed paths from to and back give a nonempty closed directed walk, from which removing repeated portions leaves a directed cycle. A directed graph containing one directed cycle need not have strong connectivity, as the attached shows.

