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

Formal Definitions in Graph Theory

College Depth 66 in the knowledge graph ☐ I know this ☆ Set as goal
26topics build on this
283prerequisites beneath it
See this on the map →
Introduction to Graph Theory→→Adjacency Matrix and Spectral Graph TheoryDegree Sequences and the Erdős–Gallai Theorem+7 more
graph-theory foundations definitions

Core Idea

Graph theory formalizes the study of objects (vertices) and their pairwise relationships (edges). Directed and undirected graphs, simple graphs, multigraphs, and weighted graphs each have precise definitions capturing different relationship structures. Understanding these foundational distinctions is essential for all further work in graph theory.

How It's Best Learned

Study simple examples (friendship networks, web links, transportation systems) and verify which definition each satisfies. Draw both small examples and counterexamples to reinforce why each definition excludes certain structures.

Common Misconceptions

Explainer

Graph theory's power comes from the precision of its definitions. An informal idea like "a network of connected things" is intuitive but imprecise — it doesn't tell you whether connections can be one-directional, whether two objects can have multiple distinct connections, or whether connections have strengths. The formal definitions fix all of these choices explicitly, and knowing which choice fits your problem is the first skill of applied graph theory.

The most fundamental object is a simple graph: a pair G = (V, E) where V is a finite set of vertices and E is a set of unordered pairs of distinct vertices. "Unordered" means edges are symmetric — if {u, v} ∈ E, then {v, u} is the same edge, not a separate one. "Distinct" means no vertex is connected to itself (no loops). "Set of pairs" means at most one edge between any two vertices. A simple graph captures symmetric, binary relationships between distinct objects — friendship, adjacency on a map, or reachability in a maze.

Relaxing the constraints yields richer models. A multigraph allows multiple edges between the same pair of vertices — useful when two cities have multiple direct flight routes, or two circuits have multiple parallel wires. A directed graph (or digraph) replaces unordered pairs with ordered pairs: edge (u, v) goes from u to v, but (v, u) is a separate edge in the other direction. Directed graphs model asymmetric relationships — web links (a page links to another, not necessarily vice versa), dependencies (A requires B, but B does not require A), or one-way streets. A weighted graph assigns a real number to each edge; this weight can represent distance, cost, capacity, probability, or any other quantity that characterizes the connection.

Each definition is a deliberate choice that shapes what questions you can ask. In a simple graph, you can ask "Is there a path from u to v?" In a weighted graph, you can ask "What is the shortest-weight path?" In a directed graph, you can ask "Is there a directed path from u to v?" — a question with a different answer than "from v to u?" The formal definition is not bureaucracy; it is the specification of the model. A theorem proven for simple graphs may fail for multigraphs, and a shortest-path algorithm designed for weighted graphs has no meaning on unweighted ones.

Getting comfortable with formal definitions in graph theory is preparation for rigorous mathematical argument. When you prove a theorem about graphs, you prove it about every graph satisfying the definition — not just the specific example you drew. That universality is what makes the definitions valuable. As you move to degree sequences, graph products, and structural theorems, these definitions will be the shared foundation that lets you apply general results to specific cases confidently.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts Through 10 → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Formal Definitions in Graph Theory

Longest path: 67 steps · 283 total prerequisite topics

Prerequisites (1)

Leads To (9)