Search & glossary
Every rule and concept in Graph Theory, with its definition and a link to the lesson that teaches it. Search by term, by idea, or by lesson title.
Glossary (54)
- Bipartite graphs and the odd-cycle theorem
- A graph is bipartite if splits into two parts and with every edge joining to — no edge lies inside or inside .
- Bipartite Graphs and Matchings › Bipartite Graphs and Odd Cycles
- Cayley's Formula and the Prufer code
- The number of labeled trees on vertex set (equivalently, the number of spanning trees of ) is for — Cayleys Formula.
- Trees › Cayley's Formula and Prufer Codes
- Connected components
- Vertices and are connected if some walk joins them.
- Walks, Paths and Connectivity › Connected Components
- Connectivity and Menger's theorem
- The vertex connectivity is the smallest number of vertices whose removal disconnects (or leaves a single vertex); the edge connectivity is the smallest number of edges whose removal disconnects .
- Walks, Paths and Connectivity › Connectivity and Menger's Theorem
- Counting walks with a matrix
- If is the adjacency matrix of (Topic 1), with rows and columns indexed by , then for every the entry equals the number of walks of length from to .
- Walks, Paths and Connectivity › Counting Walks with Matrix Powers
- Cut vertices and bridges
- A vertex of a connected graph is a cut vertex if — delete and every edge at — is disconnected.
- Walks, Paths and Connectivity › Cut Vertices and Bridges
- Cuts and the max-flow min-cut theorem
- An - cut is a partition with , .
- Directed Graphs and Network Flows › The Max-Flow Min-Cut Theorem
- DAGs and topological order
- A directed acyclic graph (DAG) is a directed graph with no directed cycle.
- Graph Algorithms › Directed Acyclic Graphs and Topological Order
- Degree and the handshake lemma
- The degree of vertex , written , is the number of edges incident to (equivalently, the number of neighbors of ).
- Graphs and Degrees › Degree and the Handshake Lemma
- Degree sequences and the Havel-Hakimi test
- The degree sequence of lists for every vertex, usually sorted .
- Graphs and Degrees › Degree Sequences
- Digraphs, arcs, in-degree and out-degree
- A directed graph (digraph) has a vertex set and a set of arcs, each an ORDERED pair with , also written .
- Directed Graphs and Network Flows › Directed Graphs and Tournaments
- Dijkstra's algorithm
- Dijkstra's algorithm finds shortest-path distances from a source in a graph with non-negative edge weights.
- Graph Algorithms › Shortest Paths: Dijkstra's Algorithm
- Edge coloring and the chromatic index
- A proper edge coloring assigns colors to the edges of so that any two edges sharing a vertex get DIFFERENT colors.
- Graph Coloring › Edge Coloring
- Euler circuits and Euler trails
- A walk that uses every edge of a graph exactly once is an Euler trail; if it starts and ends at the same vertex, it is an Euler circuit.
- Eulerian and Hamiltonian Graphs › Eulerian Circuits and Trails
- Euler's Formula for plane graphs
- For any connected plane graph with vertices, edges and faces (counting the outer face), $$
- Planar Graphs › Euler's Formula
- Euler's original question
- The city of Königsberg had two river banks (, ) and two islands (, ), joined by seven bridges: two between and , two between and , and one each for –, –, –.
- Eulerian and Hamiltonian Graphs › The Bridges of Konigsberg
- Flow networks, flows and value
- A flow network is a digraph with a nonnegative capacity on every arc, a source (no arcs enter it) and a sink (no arcs leave it).
- Directed Graphs and Network Flows › Networks and Flows
- Forbidding a bigger clique: the Turán graph
- For , the Turán graph is the complete -partite graph on vertices whose parts are as equal as possible (sizes or ).
- Extremal Graph Theory and Ramsey Theory › Turán's Theorem
- Graph invariant
- A graph invariant is any quantity computed from a graph that is equal for isomorphic graphs — , , the degree sequence, the number of connected components, and the number of triangles are all invariants.
- Isomorphism and Subgraphs › Invariants That Tell Graphs Apart
- Gray codes as Hamiltonian cycles
- A (cyclic) Gray code on bits lists all bit-strings so that consecutive strings — including the last back to the first — differ in exactly one bit.
- Eulerian and Hamiltonian Graphs › Gray Codes and Tours
- Greedy coloring and Brooks' theorem
- Fix an order of .
- Graph Coloring › Greedy Coloring and Brooks' Theorem
- Hall's condition
- For a bipartite graph with parts , write for the set of all neighbors (in ) of a subset .
- Bipartite Graphs and Matchings › Hall's Marriage Theorem
- Hamiltonian cycles and paths
- A Hamiltonian cycle visits every vertex of a graph exactly once and returns to its start; a Hamiltonian path visits every vertex exactly once without returning.
- Eulerian and Hamiltonian Graphs › Hamiltonian Cycles
- Isomorphism
- Graphs and are isomorphic, written , if there is a bijection such that for all .
- Isomorphism and Subgraphs › Graph Isomorphism
- Kirchhoff's theorem
- The Laplacian of a graph on vertices is , where is the diagonal matrix of degrees and is the adjacency matrix.
- Trees › The Matrix-Tree Theorem
- Kruskal's and Prim's algorithms
- A minimum spanning tree (MST) of a connected weighted graph is a spanning tree (Topic 4) whose edge weights sum to the least total possible.
- Graph Algorithms › Minimum Spanning Trees: Kruskal and Prim
- Labeled vs. unlabeled counts
- A simple graph on labeled vertices is exactly a choice of which of the possible edges to include, so there are labeled graphs on vertices.
- Isomorphism and Subgraphs › Counting Graphs
- Matchings, maximal and maximum
- A matching is a set of edges no two of which share a vertex.
- Bipartite Graphs and Matchings › Matchings
- Planar graphs, plane drawings, and faces
- A graph is planar if it has at least one drawing in the plane with no two edges crossing, except where they share an endpoint.
- Planar Graphs › Planar Graphs and Plane Drawings
- Polyhedra, duals, and self-duality
- The graph of a convex polyhedron — one vertex per corner, one edge per edge of the solid — has a plane drawing (a Schlegel diagram), so Euler's Formula applies directly to , , of the SOLID.
- Planar Graphs › Polyhedra and Dual Graphs
- Proper coloring and chromatic number
- A proper -coloring of assigns one of colors to each vertex so that every edge joins two DIFFERENT colors.
- Graph Coloring › Vertex Coloring and Chromatic Number
- Ramsey numbers
- Color every edge of the complete graph either red or blue.
- Extremal Graph Theory and Ramsey Theory › Ramsey Numbers and
- Residual graphs and the Ford-Fulkerson method
- Given a flow , the residual graph has, for every arc with , a FORWARD residual arc of capacity ; and for every arc with , a BACKWARD residual arc of capacity , which un…
- Directed Graphs and Network Flows › Augmenting Paths
- Self-complementary
- A graph on vertices is self-complementary if .
- Isomorphism and Subgraphs › Self-Complementary Graphs
- Six families worth naming
- (complete graph): every pair of its vertices is adjacent; and every vertex has degree .
- Graphs and Degrees › A Catalog of Special Graphs
- Spanning trees and circuit rank
- A spanning tree of a connected graph is a subgraph that is a tree and includes every vertex of .
- Trees › Spanning Trees
- Stability and the Gale-Shapley algorithm
- Given two equal-size sets, say men and women, each person ranks every member of the other set.
- Bipartite Graphs and Matchings › Stable Matchings
- Strong connectivity and strongly connected components
- Vertices of a digraph are mutually reachable if has a directed path AND a directed path.
- Directed Graphs and Network Flows › Strong Connectivity
- Subdivisions and Kuratowski's Theorem
- A subdivision of a graph replaces some of its edges by paths through new degree- vertices, without otherwise changing adjacency.
- Planar Graphs › K_5, K_3,3 and Kuratowski's Theorem
- Subgraph, induced subgraph, complement
- A graph is a subgraph of , written , if and .
- Isomorphism and Subgraphs › Subgraphs and Complements
- Sufficient conditions for a Hamiltonian cycle
- Dirac's theorem: if a graph has vertices and every vertex has degree , it has a Hamiltonian cycle.
- Eulerian and Hamiltonian Graphs › Dirac's and Ore's Theorems
- The adjacency matrix
- For with , the adjacency matrix is the matrix with if and otherwise (so for a simple graph).
- Graphs and Degrees › Adjacency Matrices
- The chromatic polynomial and deletion-contraction
- The chromatic polynomial counts the proper colorings of using (up to) available colors.
- Graph Coloring › The Chromatic Polynomial
- The edge-count bounds
- If a simple connected planar graph has vertices, then $$ with equality only for triangulations (every face a triangle).
- Planar Graphs › Edge Bounds for Planar Graphs
- The Erdős–Szekeres recursion
- For , $R(s,2)=sR(2,t)=ts,t≥2$.
- Extremal Graph Theory and Ramsey Theory › Bounds on Ramsey Numbers
- The first moment method
- To prove some object with a property exists, it suffices to build a RANDOM object and show the expected number of "bad" events is less than — since a random variable that is always a non-negative integer and averages below must sometimes equal .
- Extremal Graph Theory and Ramsey Theory › The Probabilistic Method
- The Five and Four Color Theorems
- Every planar graph satisfies (the Five Color Theorem, proved in full below) and, in fact, (the Four Color Theorem).
- Graph Coloring › The Five and Four Color Theorems
- The handshake for trees, and two leaves
- A tree with vertices has edges, so by the handshake lemma .
- Trees › Leaves and Edge Counts
- Tree: four faces of one idea
- A graph on vertices is a tree if it is connected and has no cycles.
- Trees › What Makes a Tree
- Triangle-free graphs and the bound
- The Turán number is the maximum number of edges a triangle-free graph on vertices can have.
- Extremal Graph Theory and Ramsey Theory › Mantel's Theorem
- Two ways to explore a graph
- Breadth-first search (BFS) from a vertex visits vertices in order of their distance from : it keeps a queue, starts with at distance , and whenever it dequeues a vertex it enqueues every unvisited neighbor of at distance .
- Graph Algorithms › Breadth-First and Depth-First Search
- Vertex covers and Konig's theorem
- A vertex cover is a set touching every edge (each edge has at least one endpoint in ).
- Bipartite Graphs and Matchings › Konig's Theorem and Vertex Covers
- Vertices, edges, order and size
- A (simple) graph consists of a finite set of vertices together with a set of edges, each edge an unordered pair of distinct vertices.
- Graphs and Degrees › What Is a Graph?
- Walks, trails, paths and cycles
- A walk is a sequence with each the edge ; its length is the number of edges.
- Walks, Paths and Connectivity › Walks, Trails, Paths and Cycles