Mathematicians write a graph as where is the set of vertices and is the set of edges. For example, and .
An edge means there is a connection from vertex to vertex . In an undirected graph, is the same as .
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.