Section 4: Graph Traversability

There are two notions of traversability— traversing through all the vertices, or all the edges.

4.1: Eulerian Graphs

We ask: Can we begin at a vertex in a graph, and traverse all edges exactly once?

It’s okay to repeat vertices!

If the start and end vertex are different, it is a Eulerian Trail. Otherwise, if they are the same, it is a Eulerian Circuit, and we say is Eulerian.

Example: Eulerian Trails

graph LR
1 o--o 2 & 3;
2 o--o 4 & 5;
3 o--o 4 & 5;
4 o--o 5;
2 o--o 3;

An eulerian trail exists, but NOT an eulerian circuit. One possible trail is given as follows:

Example: Lack of Eulerian Trail

graph LR
1 o--o 2 & 2 & 3;
2 o--o 3 & 4 & 4;
3 o--o 4;

This is a graphical representation of the “Seven Bridges of Konigsberg”.

There does not exist any possible eulerian or trail circuit for the graph.

Theorem

Let be a connected (multi) graph. Then, is Eulerian if and only if every vertex has an even degree.

Corollary: Graph has an Eulerian trail if and only if exactly 2 vertices have odd degree.

4.2: Hamiltonian Graphs

We ask: Can we begin at a vertex in a graph, and traverse all vertices exactly once?

We cannot repeat any vertices or edges! We don’t have to use all the edges, however.

A cycle (no vertex repeated except the start and end) in graph that contains every vertex is known as a Hamiltonian cycle of , and if such a cycle exists we say is Hamiltonian.

A Hamiltonian path is a path containing all vertices.

Let be the total components of graph after deleting vertex set and all edges incident to these vertices.

A graph is -tough if

For every that disconnects . The toughness of is the smallest for which is -tough,

Intuitively, the toughness value of a graph is small if we can delete only a few vertices, and separate the graph into many disconnected components.

Deleting a few vertices breaks the graph up into many subcomponents!

Example: Toughness in the Petersen Graph

graph LR
1 o--o 6;
2 o--o 7;
3 o--o 8;
4 o--o 9; 
5 o--o 10;
1 o--o 2 o--o 3 o--o 4 o--o 5 o--o 1;
6 o--o 7 o--o 8 o--o 9 o--o 10 o--o 6;

If we delete 7 vertices: 1, 3, 6 to 10, we get 2 components. Then, the toughness we calculate from this is , which is an upper bound of the graph’s actual toughness (maybe we can find a value smaller!)

Similarly, we could delete 4 vertices to get 3 components, giving us toughness ! It can actually be proven that this is the minimum.

This graph is a very common “counterexample” for many claims in graph theory!

Theorem

The toughness of the Petersen Graph is .

This means that the Petersen Graph is 1-tough, 1/2-tough, etc.

We define toughness, as we may be curious in finding if a Hamiltonian cycle can be found given some toughness of the graph!

Theorem: Necessity Condition for Hamiltonian Graphs

If is Hamiltonian, then . In other words, for all disconnecting subsets , we have .

The contrapositive of the theorem is quite useful to disprove Hamiltonicity! We find the existence of a set such that .

Note that the converse of the theorem is not true. If , that does not necessarily mean that the graph is Hamiltonian. As a counterexample, consider the Petersen Graph, with , but shown to not be Hamiltonian.

Then, what toughness value is enough?

Conjecture:

It used to be conjectured that worked for Hamiltonian graphs, which was disproved in 2000. This is an open problem:

Is there a threshold such that every -tough graph is Hamiltonian?

It is known that , but no exact number is yet known.

Then, do we know any sufficiencies for Hamiltonian Graphs (given a condition, we know the graph is Hamiltonian)? Well, intuitively we should think of graphs wiht high degrees / lots of edges, as this gives us more connections to move around on.

Theorem (Ore's): Sufficiency for Hamiltonian Graphs

Let have order .

If for all 2 non-adjacent vertices , then is Hamiltonian.

This is quite useful for -regular graphs! Say we have a 6-regular graph on 10 vertices. Then, the graph must be Hamiltonian, as for any two vertices!

Note that the converse of the theorem does not hold. Consider the following counterexample.

Example: Failure of Ore's Converse

graph LR
1 o--o 2 o--o 3 o--o 4 o--o 5 o--o 1;

Then, for any two non-adjacent vertices, say ,

But is Hamiltonian!

4.3: Planar Graphs

A graph is planar if it ca be drawn in the plane so that no edges cross each other.

Example: Planar Graph

graph LR
1 o--o 2 o--o 3 o--o 4;
1 o--o 3; 2 o--o 4;

This is a planar graph, even though what we currently see has edges crossing! We can have go above 3 so that the edges don’t cross.

Every planar graph can divide the plane into regions (faces). Note that we include the space outside the edges graph as its own separate region.

If is on at least 3 vertices that is NOT a tree, every region / face is surrounded by at least 3 edges, known as its boundary.

Theorem: Euler's Identity

If is a connected, planar (potentially multi) graph with “n” vertices, “m” edges, and “f” faces, then

Intuitively, this is telling us that if we have too many edges, then we cannot have a planar graph!

Theorem

Let be a connected, planar graph of order , size . Then,

The contrapositive is very importnat! If , then we cannot have a planar graph!

Info

Corollary: If is planar, there is a vertex of degree 5 or less. If all vertices have degree 6 or more, then , yielding a contradiction.

Example

has edges. To be planar, . Because

cannot possibly be planar.


A subdivision of edge is the operation of replacing with the path . A subdivision of graph is the graph obtained from by successive edge subdivisions.

Example: Subdivided Graph

graph LR
1 o--o 2 o--o 3 o--o 4 o--o 1 o--o 5;
6[1] o--o 7[ ] o--o 8[2] o--o 9[ ] o--o 10[3] o--o 11[ ] o--o 12[4] o--o 13[ ] o--o 6 o--o 14[ ] o--o 15[5];

Clearly, if is planar, then any subdivision of is also planar! Similarly, the converse holds. If a subdivision is planar, then must also be planar!

Subdividing an edge doesn’t change how we can draw the graph!

This is important, as we can check for non-planar subgraphs to see if our graph is planar! For example we’ve shown that and are not planar. Hence, if has a subgraph that is , or a subdivision, it cannot be planar.

Amazingly, the converse of this statement holds!

Theorem: Kuratowski

A graph is planar if and only if does NOT contain or , or any subdivision of or .

Example: Petersen Graph

graph LR
1 o--o 6; 2 o--o 8; 3 o--o 10; 4 o--o 7; 5 o--o 9;
1 o--o 2 o--o 3 o--o 4 o--o 5 o--o 1;
6 o--o 7 o--o 8 o--o 9 o--o 10 o--o 6;

Let , . We can form graph

graph TD
1 o--o 2 & 5 & 6;

7 o--o 8 o--o 21[2];
7 o--o 4 o--o 51[5];
7 o--o 61[6];

10 o--o 3 o--o 22[2];
10 o--o 9 o--o 52[5];
10 o--o 62[6];

Note that during subdivisions, you can’t use the same vertices multiple times!

Thus, the Petersen Graph is not planar.

Example: Petersen Graph (2)

Show the Petersen graph is NOT planar by using the fact that it has girth 5.

We know . If it is planar, then

So, we must have 7 faces! Let denote the total edges on the boundary of face . With girth 5,

Every face is a cycle!
Every edge is counted at most twice in the sum, so

So, , meaning ! This gives us a contradiction!

Many graphs aren’t planar. But “how close to planar” are they? Could we define a measure for this?

The minimum number of edge crossings of a graph drawn on the plane is the crossing number of , denoted .

This is a very difficult question to find exactly! Bounds are known for K_ and , but its unknown what the exact formulas are.

This is a very topological question, and note that the number of edge crossings depends on the “surface” the graph is on! For example, can be drawn to be planar on a Torus!

The edge crossing on can be drawn to loop through the center of the Torus, avoiding an edge crossing!

If a graph is planar, then we can also draw it on a sphere without crossing! Now, if we attach “handles” onto the sphere to draw without crossings, then our question is the minimum number of “handles” we need to make the graph planar! In other words, for a planar graph, we can imagine a “bridge” that edges (possibly multiple) can take to avoid crossing others.

The genus of grpah is the fewest handles needed on the sphere to avoid any edge crossings.

Note that the Petersen graph has crossing number 2, but genus 1.

4.4: Graph Colorings

A proper coloring of a graph is labeling the vertices of so that each vertex is asigned 1 color, such that adjacencies have different colors. We say graph is -colorable if there is a proper coloring with colors.

The chromatic number of , denoted , is the fewest number of colors such that is -colorable.

Example

Let’s color a map! Vertices are countries / states, with an adjacency if two regions share a border.

Theorem: 4 Color Theorem (Appel, Haken, 1976)

Any map (planar graph) can be colored with 4 colors.

Note that an explicit coloring of a graph yields an upper bound on the chromatic number!

Theorem

is bipartite with at least 1 edge if and only if .

Lower Bounds on

A subset of vertices is an independent set if no two vertices are adjacent in . It is maximal if no more vertices can be added to . It is maximum if it has the largest cardinality of all independent sets for a graph. The value of the maximum, the independence number, is denoted .

Example: Maximum Independent Set

graph LR
1 o--o 2 & 3;
2 o--o 6 & 3;
6 o--o 5;
3 o--o 4 & 5;
4 o--o 5;

A possible independent set is . This is maximum!

Another possible independent set is . This is maximal, but not maximum!

Given a proper coloring of , each “color class” (group of vertices with the same color) is an independent set!

A clique is a complete subgraph of . The clique number of , denoted , is the order of the largest clique in the graph!

In the above example, (consider ), so clearly, at least 3 colors are needed. Observe, we have the following:

Theorem

For any graph ,

In other words, the clique number of the graph is the same as the independence number of ‘s complement.

Theorem

If has order , then

  1. : The chromatic number is bounded below by the clique number.

  2. : The chromatic number is bounded by number of vertices divided by the independence number.

Example

Consider a and graph, where each node in the cycle is connected to all nodes in the other cycle.

graph LR
1 o--o 2 o--o 3 o--o 1;
4 o--o 5 o--o 6 o--o 7 o--o 8 o--o 4;

Here, the clique number is , as we take 2 nodes from and 3 nodes from to form a graph.

Clearly, and . Furthermore, since everything in the joins to , they must use different colors. Thus, , even though .

Intuitively, we may think that as the smallest cycle in a graph increases in size, it may serve as a bound for the chromatic number! However, this intuition unfortunately doesn’t work. See the below theorem.

Theorem:

For any positive integers and , there exists a graph with girth (smallest cycle) greater than , and .

Upper Bounds on

Explicit colorings provide an upper bound on the chromatic number. Consider coloring the graph in a greedy manner:

  • Let be the vertices.
  • Color color 1.
  • Go to . If , color color 2. Otherwise, color color 1.
  • Repeat for all ‘s, coloring with the lowest index color NOT used by the neighbors of .

A consequence of this algorithm, is that at vertex , we use at most colors. As we do this for every vertex, we can bound the maximum colors needed above with the maximum degree!

The +1 is in case we need to use a new color!

Theorem

We have , where is the maximum degree in .

This was further refined as follows:

Theorem (Brooks)

We have (remove the +1) provided is NOT or an odd cycle (must be exactly equal to).

Example: Petersen Graph

graph LR
1 o--o 6; 2 o--o 8; 3 o--o 10; 4 o--o 7; 5 o--o 9;
1 o--o 2 o--o 3 o--o 4 o--o 5 o--o 1;
6 o--o 7 o--o 8 o--o 9 o--o 10 o--o 6;

We know that the Petersen Graph contains a , so it is NOT bipartite, meaning .

We furthermore know that it is not or , so by Brook’s theorem, . So, .

Critical Graphs

Graph is -critical if and for every proper subgraph , .

Basically, the graph is reduced so that any further deletion will change the chromatic number!

Example:

Consider a graph on Odd Cycles.

graph LR
1 o--o 2 o--o 3 o--o 4 o--o 5 o--o 6 o--o 7 o--o 1;

Here, , but the deletion of any vertex or edge turns the graph into a forest, making the graph Bipartite, so ! Thus, any graph on odd cycles is 3-critical.

Lemma

If is -critical, then , where is the minimum degree.

Theorem

We have

In other words, we can find an upper bound for our chromatic number if we go through all possible subgraphs of .

does not have to be -critical!

Example

graph LR
1 o--o 2 o--o 3 o--o 4 o--o 1;
1 o--o 3; 2 o--o 4;
1 o--o 5 & 6;
2 o--o 7 & 8;
3 o--o 9 & 10;
4 o--o 11 & 12;

Here, our minimum degree is 1. But if we removed all vertices 5 to 12, then our min degree would be 3! Because this is the “best” we can get, our chromatic number can be at most .

This is a better bound than Brooks!

Edge Colorings

An edge coloring of is an assignment of colors to edges such that edges incident to the same vertex are different colors.

The minimum colors needed is the chromatic index, .

Theorem (Vizing)

For any graph , , or . In other words, the chromatic index can only take on 2 possible values.

4.5: Mycielski’s Construction

We know that the chromatic number is bounded below by the clique number.

We let be a triangle-free graph (no ‘s) and construct a new graph with higher chromatic number, but same clique, but remains triangle free. Thus, and the new graph have clique number 2.

This section teaches us how to construct graphs super large, while keeping the clique number small! This shows that the “intuition” that smaller clique numbers are better doesn’t work the best.

Let have vertex set . We construct the graph as follows.

  1. Add vertices, denoted .
  2. Join to all of the ‘s.
  3. Join to the ‘s such that .

Example

Suppose we have initial graph

graph LR
v1 o--o v2 o--o v3;

Now, we add vertices, and join to all of the ‘s.

graph LR
v1 o--o v2 o--o v3;
w o--o u1 & u2 & u3;

For step 3,

  • For , join it to all neighbors of : .
  • For , join it to all neighbors of : .
  • For , join it to all neighbors of : .
graph LR
v1 o--o v2 o--o v3;
w o--o u1 & u2 & u3;
u1 o--o v2;
u2 o--o v1 & v3;
u3 o--o v2;

We prove below that under this algorithm, the new graph remains triangle free. In other words, the clique number remains 2.

We now show that the chromatic number increases by 1 for every additional construction we do.

We have proven the following:

Theorem: Mycielski

There exists graphs with , but is arbitrarily large.

The proofs also give us a way to color a graph constructed using Mycielski’s Construction! Color the base graph, and then follow the coloring scheme that was given above.