Mathwords logoMathwords

Simple Graph — Definition, Formula & Examples

A simple graph is a graph where each pair of vertices is connected by at most one edge, and no edge connects a vertex to itself. It is the most basic type of graph studied in discrete mathematics.

A simple graph G=(V,E)G = (V, E) consists of a nonempty set VV of vertices and a set EE of unordered pairs of distinct elements of VV, called edges. The conditions E(V2)E \subseteq \binom{V}{2} ensure that GG has no loops (edges from a vertex to itself) and no parallel edges (multiple edges between the same pair of vertices).

Key Formula

0E(n2)=n(n1)20 \le |E| \le \binom{n}{2} = \frac{n(n-1)}{2}
Where:
  • nn = The number of vertices, $|V|$
  • E|E| = The number of edges in the simple graph

Worked Example

Problem: Determine whether a graph on vertices {A, B, C, D} with edge set {(A,B), (A,C), (B,C), (C,D)} is a simple graph, and find the maximum number of edges it could have.
Check for loops: No edge connects a vertex to itself (e.g., no (A,A)), so there are no loops.
Check for parallel edges: Each pair of vertices appears at most once in the edge set. For instance, (A,B) is listed only once. So there are no multiple edges.
Compute maximum edges: With 4 vertices, the maximum number of edges in a simple graph is given by the formula.
(42)=432=6\binom{4}{2} = \frac{4 \cdot 3}{2} = 6
Answer: The graph is a simple graph with 4 edges. The maximum possible number of edges on 4 vertices is 6 (which would be the complete graph K4K_4).

Why It Matters

Simple graphs are the default model in most graph theory courses and algorithms. When you study shortest paths, coloring, or network flow, the underlying structure is almost always assumed to be a simple graph unless stated otherwise. Recognizing this assumption helps you correctly apply degree-sum formulas and edge-count bounds.

Common Mistakes

Mistake: Assuming every graph is simple by default when the problem involves multigraphs or pseudographs.
Correction: A multigraph allows parallel edges and a pseudograph allows both parallel edges and loops. Always check the problem statement — if loops or repeated edges are present, the graph is not simple, and results like the maximum edge formula (n2)\binom{n}{2} do not apply.