Graph Theory37 sections · 1633 units
Open in Course

Formal Notation

Speaking Math

Mathematicians write a graph as G=(V,E)G = (V, E) where VV is the set of vertices and EE is the set of edges. For example, V={1,2,3}V = \{1, 2, 3\} and E={(1,2),(2,3)}E = \{(1,2), (2,3)\}.

An edge (u,v)(u, v) means there is a connection from vertex uu to vertex vv. In an undirected graph, (u,v)(u, v) is the same as (v,u)(v, u).

You will see this notation in textbooks and research papers. I'll use plain English most of the time, but knowing the formal notation helps when reading proofs.