Graph Theory practicum

For math and applied math MSc students

Spring 2023

Lecturer: Zoltán Király

Tuesday, 14:15-15:45, 3.715


Only for my students


Announcements


Practicum 1. (II. 28.)

Degree sequences of trees, multigraphs, loopless multigraphs, loopless connected multigraphs, bipartite multigraphs, and connected bipartite multigraphs.
Algorithm of Havel and Hakimi.

Hw 1: Degree sequence of a simple bipartite graph.
Hw 2: Out-degree sequence of a Tournament.
Hw 3: If in a directed graph G the longest path has length m then G has a chromatic number at most m+1.


Practicum 2. (III. 7.)

Discussion of the Homework.
Orientation lemma, the existence of a strongly connected orientation with prescribed in-degrees.
G is k-colorable iff there is an acyclic orientation where every path has length at most k-1.
Admissible and precise potential.

Hw 4: G is a directed graph. For every undirected cycle C, there are at least |C|/k edges going in both directions. Then G is k-colorable ( if k>1).
Hw 5: If everybody knows 4 other people then they can be seated around round tables such that everybody knows his/her neighbors. (At least 3 people per table).
Hw 6: Prove the equivalence of Froebenius' theorem and the orientation lemma.


Practicum 3. (III. 14.)

Discussion of the Homework.
Eulerian tours in undirected and directed graphs.

G is a strong digraph and Eulerian (for every vertex its in-degree=out-degree). T is a spanning in-arborescence rooted at vertex s.
Algorithm: starting from s, at a vertex v we choose an outgoing edge not used before. Further rule: from a vertex v, we may use the outgoing arborescence edge iff we already used all the other edges.
Claim: this gives an Eulerian walk.

Edge-coloring theorem of Kőnig.

Hw 7: G is a directed graph having a vertex with out-degree at least 3. Then the number of Eulerian tours is even.
Hw 8: We define graphs G(k,n) as follows. The vertices are vectors of length k with coordinates integers between 1 and n. There is a directed edge from vertex (a_1,a_2,...,a_k) to vertex (a_2,...,a_k,b) for every b.
Part a) G(k,n) is Eulerian, and has an Eulerian tour.
Part b) G(k,n) is Hamiltonian.
Hw 9: G is a digraph. Prove that the number of Eulerian tours is divisible by the product of numbers (delta(v)-1)!.
Hw 10: G is 3-regular. Prove that G has a 'proper' orientation iff it is bipartite. Here an orientation is proper iff every in-degree is at most 2 and connected vertices have different in-degrees.
Hw 11: Part a) We have an n by n Latin square. The first k rows are filled properly. Prove that we can finish the filling.
Part b) Now the upper left kxl rectangle are filled properly. What is the condition when we are able to finish?
Part c) M is a non-negative nxn matrix where every row sum and every column sum is n. Prove that we can write M(i,j) integers between 1 and n into every cell (i,j) such that every row and every column contains every numbers between 1 and n.


Practicum 4. (III. 21.)

Discussion of the Homework.

Extra homework for extra points: give a direct proof for the fact that in a strong directed Euler graph the number of spanning in-arborescences rooted in s is the same as the number of spanning in-arborescences rooted in t.

Traveling through a maze.

T-joins and T-odd orientations.

Hw 12: The edges of G are partitioned into classes E_1..E_k. Prove that G has a smooth orientation (for every vertex the difference between in-degree and out-degree is at most 1), which induces a smooth orientation on every G_i.
Hint: (if you are going to use it, you must prove it) G is Eulerian, at every vertex the incident edges are divided into pairs. Then there exists an Eulerian orientation in which at every vertex every pair is well-oriented: one edge is oriented toward v, and the other edge of the pair is oriented from v.
Hw 13: G is a connected multigraph with n vertices and m edges. Then the number of cycles is at most 2^{m-n+1}-1.
Hw 14: When can we write numbers +1 or -1 at every edge in a connected graph G, such that at every vertex the absolute value of the sum on the incident edges is at most 1?
Hw 15: Part a). In hockey usually the winner gets 3 points but if it wins in the elongation then it gets 2 points and the other team gets 1 point. When can a given score sequence be the result of a tournament?
Part b). Tournament in card game `ulti': every triple (n-choose-3) plays a party, and in each party the unique winner gets 1 point. When can a given sequence be the score vector?
Hw 16: When a mixed graph G does have an Eulerian orientation?


Practicum 5 (III. 28.)

Discussion of the Homework.

Orientation lemma for hypergraphs.

OPEN PROBLEM: When can d_1...d_n be the result of a football tournament?

OPEN PROBLEM: Give a necessary and sufficient condition for a graph having a T-odd strong orientation?

Ear-decompositions.

Block decompositions.

Hw 17: G is 2-connected, x is an arbitrary vertex. Then there are at least 2 neighbors y such that G-x-y is connected. (Alternatively, G/xy is 2-connected.)
Hw 18: G is 2 edge-connected -> there exists a strong smooth orientation.
Hw 19: G is 2-connected, s and t are vertices. Prove that it is possible to acyclically orient G such that all edges are on a directed s->t path.
Hw 20: a) If G is 2 edge-connected, e and f is a cutting edge pair, f and g is a cutting edge pair, then e and g is also a cutting edge pair.
b) G is 2 edge-connected, e~f if e=f, or e and f is a cutting edge pair. What characterizes the equivalence class of a given edge e?
Hw 21: G is 2-connected, T is a vertex set, 0<k<|T|. Then there is a partition V=X\cup Y such that G[X] and G[Y] are connected and |X\cap T|=k.

Extra credit assignments, first round. Deadline is April 25, 12:15 pm. Each exercise must be submitted after a \newpage but altogether in 1 pdf. Unless otherwise indicated, a good solution submitted is worth 2 points. The exercises.


Practicum 6 (IV. 4.)

Discussion of the Homework.

Froebenius --> Hall --> Ore.
Gallai identities.

Tutte's theorem, deficiency, barrier, factor-critical graphs.
Def: A barrier X is strong if every odd component of G-X is factor-critical.

Hw 22: G is a connected graph. When we have an acyclic orientation, where there is exactly one source and exactly one sink?
Hw 23: Prove that 2 \nu(G) = n - def(G), where \nu(G) is the size of a maximum matching. ( Only Tutte's theorem can be used).
Hw 24: X is a set of vertices. When we have a matching covering X? ( Only Tutte's theorem can be used).
Hw 25: G is a 3-regular 2 edge-connected graph. Then G has a perfect matching.


Practicum 7 (IV. 11.)

Discussion of the Homework.

For each barrier there is a strong barrier containing it.
Tutte's theorem remains true with q' which counts the factor-critical components.

Graph F is factor-critical iff its blocks are factor-critical.

Which bipartite graphs are factor-critical? Prove Froebenius from Tutte.

If barrier B contains strong barrier A, then B can intersect only the even components of G-A.

Hw 26: A connected graph F is factor-critical iff the empty set is the unique barrier.
Hw 27: G is connected. Define A as the intersection of all strong barriers. Let D be the union of odd components of G-A and C be the union of even components of G-A. Prove as much interesting statements about these sets as you can. (You may use ECA 13).
Hw 28: G is 2-connected and 2d-regular. The the edge set can be decomposed into two d-regular graphs iff nd is even. Moreover, the edge set can always be decomposed into d 2-regular graphs.


Practicum 7 (IV. 18.)

Discussion of the Homework.

Dulmage-Mendelsohn.

Planar graphs, duality, the connection of spanning trees with the spanning trees of the dual. Euler's formula and its consequences.

When can be the faces of a planar graph colored by two colors?


Practicum 8 (IV. 25.)

Discussion of the following ECAs: 1, 2, 3, 5, 9, 13.

Extra credit assignments, second round. Deadline is May 16, 12:15 pm. Each exercise must be submitted after a \newpage but altogether in 1 pdf. Unless otherwise indicated, a good solution submitted is worth 2 points.
The exercises.

Hw 29: G is planar, Hamiltonian. Then, its countries can be colored using four colors. (Of course, the four-color theorem cannot be used!)
Hw 30: G is a planar graph where each face is a hexagon (including the outer face). Does it follow that G has a perfect matching?
Hw 31: If the outer face of a planar graph is a pentagon and all other faces are triangles, then it cannot be Eulerian.
Hw 32: G is a planar, strongly connected directed graph. Prove that there is a face with left orientation, and there is another face with right orientation.


Practicum 9 (V. 2.)

Discussion of the Homework.

Alternating orientation of the edges of a 4-regular planar graph.
Five-color theorem (with two proofs).
Four-color theorem in the case the maximum degree is 5 but the graph is not 5-regular.
Fault-finding in a wrong proof for four-color theorem (Kempe, 1879).

G is a 3-regular 2-connected planar graph. Its faces can be colored using four colors iff its edges are 3-colorable (Tait, 1880).
If the faces of a 2 edge-connected planar graph can always be colored using four colors (this is the four-color theorem), then the faces and vertices can be colored at the same time by four colors (adjacent vertices can have the same color, but adjacent faces cannot, and an adjacent vertex-face pair neither can have the same color).
G is a 3-regular 2-connected planar graph. Its faces can be colored using four colors iff the vertices can be labeled with +1 or -1 such that the sum on every face is divisible by 3.

Hw 33: In a simple 4-regular planar graph, when does a two-coloring of the edges exist which alternates at all the vertices? (At every vertex the four incident edges should be red-blue-red-blue.)
Hw 34: There are some lines on the plane such that at most 2 lines pass through any point. The vertices of a planar graph are the intersection points, and two vertices are adjacent if the corresponding segment does not contain any other vertex. Prove that this graph can be colored using 3 colors.
Hw 35: A triangulated planar graph is 3-colorable iff it is Eulerian.
Hw 36: For which values of n does a connected simple 4-regular planar graph on n vertices exist?


Practicum 10 (V. 9.)

Discussion of the Homework.

The vertices of a simple planar graph can be colored using two colors such that no country is monochromatic.

List-coloring, Brooks for 3-connected graphs, Brooks for connected graphs.
G is bipartite. Then G and its complement are perfect graphs. L(G) and its complement are perfect graphs.


Practicum 11 (V. 16.)

Discussion of the following ECAs: 6b, 10, 12, 14, 15c, 15d, 17a, 18 (sketch).


Practicum 12 (V. 23.) 14:00--16:00

Midterm exam.