Graph Theory
From Privateer
Contents |
Graphs
What is a graph?
A graph is a set of verticies, edges, and an incidence relation that associates edges with verticies. A graph is often denoted . The vertex set of is then , the set of edges of is .
This definition is all that constitutes a graph. See the House Graph for a simple example.
Generally, graphs are finite (that is, they have a finite number of edges and verticies), though there are some exceptions.
Basic Definitions and Terminology
Degree
The degree of a vertex is the number of edges incident with it. If there are 3 edges connected to a vertex, it has degree 3. represents the minimum degree of any vertex in a graph . represents the maximum degree of any vertex in a graph. The maximum degree of the house graph is 3, the minimum degree is 2.
Simple Graph
A simple graph is a graph with no loops or multiedges.
- Loop: A loop is an edge with the same vertex at both end points.
- Multiedge: more than one edge between two verticies.
Loops & Multiedges
Examples
Peterson Graph
The Peterson graph is the simple graph whose verticies are the 2-element subsets of a 5-element set, and whose edges are the pairs of disjoint 2-element subsets.
See: Peterson Graph
Complete Graph
The complete graph, denoted , is the graph with verticies, where each vertex is adjacent to every other vertex. Thus the degree of all verticies in is equal to .
See: K2, K2, K3, K4, K5, K6, K7, K8
Regular Graphs
A regular graph is a graph in which the degree of every vertex is equal. All of the hypercubes are regular graphs, as are the complete graphs.
Hyper Cubes
Examples: Q0, Q1, Q2, Q3, Q4, Q5
Directed Graphs
A directed graph is a graph with directions applied to the edges. The directions can be thought of as a road map with "one way" streets.
Ways to Represent a Graph
As you have seen from the examples above, the most common way to represent a graph is by drawing it out. Dots represent verticies, lines between the dots represent edges. Here are some other ways to represent graphs:
Edge and Vertex List
An Edge and Vertex list is a list of all of the verticies and edges in a graph, and their incidence relation.
The house graph might be represented like this:
Edge List
Because the edges in graphs are always connected by at least two verticies, it is possible to simplify the above by just writing an edge list.
The edge list of the house graph:
As you can see, this edge list encodes all of the edges and all of the verticies, including which verticies are incident with each other.
Adjacency Matrix
An adjacency matrix is a special binary valued matrix that shows which verticies are incident with each other in a simple graph. The rows and columns are the verticies of the graph listed in the same order. The cells of the matrix are 1 of there is an edge between the two verticies or 0 if there is no edge between the two verticies. The diagonal of the matrix will always be zero. The adjacency matrix is also a symmetric matrix.
The adjacency matrix of the house graph:
| 0 | 1 | 0 | 0 | 1 | |
| 1 | 0 | 1 | 0 | 1 | |
| 0 | 1 | 0 | 1 | 0 | |
| 0 | 0 | 1 | 0 | 1 | |
| 1 | 1 | 0 | 1 | 0 |
Incidence Matrix
Graph Isomorphisms and Automorphisms
Bipartitions and N-partitions
Examples
Complete bipartite graphs: K12, K23, K13, K34
Walking Graphs
Paths
Königsberg Bridge Problem
Euler wondered, whilst wondering about Königsberg, whether it was possible to see the entire city without crossing the same bridge twice. In other words, is it possible to cross all of the bridges in the city exactly once and end up where you started?
Königsberg had seven bridges, crossing the Pregel river. This question translates nicely into a problem of Graph Theory.
Image:Königsberg Bridge Illustration.png
By numbering the bridges and the banks of the river, you can create the following graph:
Image:Königsberg Bridge Graph.png
Try it yourself. Pick a starting vertex, say , and attempt to find a path that takes you along each edge and returns you to . You should find it a pretty difficult task. Actually, it turns out that it is impossible to do on this graph.
Eulerean Circuits
Subgraphs
a graph is a subgraph of a graph if:
1) the vertex set of is a subset of the vertex set of ; , and
2) the edge set of is a subset of the edge set of ;
For example, :
Vertex Deleted Subgraphs
A vertex deleted subgraph is a subgraph of a graph with a vertex removed.
This is the complete set of single vertex deleted subgraphs of the House Graph.
You might ask yourself whether, given a complete set of vertex deleted graphs for some graph , if you could figure out what the original graph was. Some properties of the origignal graph jump out. For example, the size of the set of vertex deleted subgraphs is equal to the number of verticies in the original graph. It seems reasonable that given the entire set of vertex deleted subgraphs that you could recreate the entire graph. And, in many cases this is possible. However, there is no proof for any graph, and this is an open problem called the reconstruction conjecture.
Degree Sequences


