Graphs and Basic Definitions
Graph theory forms the mathematical foundation for studying networks, relationships, and structures across computer science, operations research, and discrete mathematics. A graph provides an abstract model for representing pairwise relationships between objects.
A graph consists of:
- A finite set of vertices (or nodes)
- A set of edges
Each edge connects two distinct vertices. If edge , we say and are adjacent and that is incident to both and .
The number of vertices is the order of the graph, while is its size. For vertex , the degree counts the number of edges incident to . The neighborhood consists of all vertices adjacent to .
- Complete graph : Every pair of distinct vertices is adjacent ()
- Empty graph : No edges ()
- Path graph : Vertices with edges for
- Cycle graph : Path with additional edge (requires )
- Bipartite graph: Vertex set partitions as where all edges connect vertices from to
The complete bipartite graph has vertex sets and with all nine possible edges between and . This graph is non-planar and plays a crucial role in Kuratowski's theorem.
A subgraph of satisfies and . If contains all edges from with both endpoints in , then is an induced subgraph, denoted .
The handshaking lemma states that , since each edge contributes 2 to the total degree sum. This implies that every graph has an even number of odd-degree vertices.
Graph isomorphism captures structural equivalence: graphs and are isomorphic (written ) if there exists a bijection preserving adjacency. Understanding graph structure through invariants like degree sequences and symmetries is fundamental to graph theory.