next up previous
Next: About this document ...

Discrete Math, First series, Notes, 6/22/04
REU 2004

Instructor: László Babai
Scribes: Charilaos Skiadas, Eric Patterson, and Travis Schedler


\begin{exercise}[Dominoes]
Prove: if we remove two opposite corners
from the ...
...an \lq\lq Ah-ha'' proof: clear, convincing, no cases to
distinguish.
\end{exercise}

\begin{exercise}
% latex2html id marker 788
[Triominoes]
Remove a corner from ...
...ino can either \lq\lq stand'' or \lq\lq lie.'' Look for an \lq\lq Ah-ha'' proof.
\end{exercise}

\begin{exercise}
% latex2html id marker 790
[Knight's trail]
Consider a knight ...
...ch cell. Prove that this is impossible.
Find an \lq\lq Ah-ha'' proof.
\end{exercise}

% latex2html id marker 1216
\includegraphics[height=1.5in, width=1.5in]{knight}

Graph of knight moves on a $ 4 \times 4$ chessboard.
Hint: Show that from any trail of the knight's moves, if you delete 4 cells, the trail splits into no more than 5 connected parts. (A set $ S$ of cells is connected from the knight's point of view if the knight can move from any cell of $ S$ to any other cell of $ S$ without leaving $ S$.)


\begin{exercise}
% latex2html id marker 792
A mouse finds a $3\times 3\times 3$ ...
...m, the other
inspired by the solution of the dominoes problem.
\end{exercise}


\begin{exercise}
% latex2html id marker 794
96 kids wait for us to split an $8\t...
.... Find the fastest method.
(This is another \lq\lq Ah-ha'' problem.)
\end{exercise}


\begin{exercise}
% latex2html id marker 796
$n$\ teams play a straight-eliminati...
...y
before the winner is declared? (An \lq\lq Ah-ha'' problem
again.)
\end{exercise}

$ \ast\qquad\ast\qquad\ast$

Study the handout for the basic definitions involving graphs, including complete graphs, (complete) bi(multi-)partite graphs, (induced) subgraphs, the degree of a vertex, complement of a graph and Hamilton cycles. In particular, recall that an isomorphism from the graph $ \mathcal{G}=(V,E)$ to the graph $ \mathcal{H}=(W,F)$ is a bijection $ f:V\to W$ between the vertices that preserves the adjacency relation, i.e. for any two vertices $ x,y\in V$, $ x,y$ are adjacent in $ \mathcal{G}$ iff (if and only if) $ f(x),f(y)$ are adjacent in $ \mathcal{H}$. $ \mathcal{G}$ is said to be isomorphic to $ \mathcal{H}$ if there exists an isomorphism from $ \mathcal{G}$ to $ \mathcal{H}$.
\begin{exercise}
Show that isomorphism of graphs is a transitive relation.
\end{exercise}

\begin{exercise}
% latex2html id marker 802Show that the number of functions $f:A\to B$\ is $\vert B\vert^{\vert A\vert}$.
\end{exercise}

$ \ast\qquad\ast\qquad\ast$

We defined decision tree and the related concepts of root, node, leaves, parent, and child. For example, flipping $ n$ coins can be made into a decision tree with $ 2^n$ leaves. Similarly, we can make a decision tree from the moves in a chess game, but the tree is more complicated. For example, the leaves will not all be at the same level since different games end after different numbers of moves. Furthermore, the possible moves at each node are dependent on the preceding moves or the history. Although the decision tree for a chess game is far too large to store in a computer (it has more configurations than the number of atoms in the earth), such trees can on principle be analyzed in a finite time for a winning strategy.

First, assign a value of B, W, or D to the leaves of the tree if the outcome is a black win, a white win, or a draw, respectively. The nodes above the leaves can be assigned a value of B, W, or D if there is an optimal strategy for black to win, white to win, or a draw. Suppose the node $ x$ is a white move. Then the value of $ x$ is W if % latex2html id marker 1394
$ \exists$ W child of $ x,$ B if all children are B, and D if there is no W child and % latex2html id marker 1398
$ \exists$ D child.

Definition 2.1   A strategy function for white is a function from the set of histories preceding a white move to the set of possible next moves. A winning strategy function for white makes moves to nodes with value W.

If a winning strategy exists for white, then the root must have value W, and there is a W child all of whose children are W. Each of these children must have a W child all of whose children are W, etc.

Theorem 2.2   If a finite game only has win or lose outcomes, then one of the players has a winning strategy.

This theorem can be used to solve the Divisor Game problem. (Hint: Proof by contradiction.)


\begin{exercise}
% latex2html id marker 806
Exercise $6.1.5$\ p. 44 of the notes.
\end{exercise}

Definition 2.3   A Hamilton cycle is a subgraph that is an $ n$-cycle in a graph on $ n$ vertices. A graph is Hamiltonian if it has a Hamilton cycle.


\begin{exercise}
% latex2html id marker 808The $k\times \ell$\ grid is Hamiltonian if and only if $k\ell$\ is even and
$k,\ \ell \geq 2.$\end{exercise}

Method 1. Make the vertices of the grid into the cells of a chess board. Hint: How many steps do you move to get back to your starting color? How many steps do you move to get all the cells?

Method 2. Sam's hint: Use the lemma:

Lemma 2.4   If $ G$ is Hamiltonian then removing $ k$ vertices splits $ G$ into at most $ k$ connected components.

Definition 2.5   A graph $ G$ is bipartite if its vertices can be colored red and blue such that adjacent vertices have different colors.

Observe: if $ G$ is bipartite and Hamiltonian, then the two parts are equal. Exercise [*] is a consequence of this.

Method 3. Alex's hint: What goes up, must come down. What moves left, must return to the right.
\begin{exercise}
% latex2html id marker 810
[Dirac] Prove: if every vertex in a ...
... $\cal G$\ is Hamiltonian (i.e.~it contains
a Hamiltonian cycle).
\end{exercise}


\begin{exercise}
% latex2html id marker 812
Let $\cal G$\ be a graph with $n$\ v...
... If $m \geq
{ n-1 \choose 2} + 2$\ then $\cal G$\ is Hamiltonian.
\end{exercise}

Definition 2.6   A graph $ \cal G$ is bipartite if the set of vertices $ V$ partitions into two disjoint subsets, $ V_1$ and $ V_2$ (i.e. so that $ V_1 \cup V_2 = V$ and $ V_1 \cap V_2 = \emptyset$) such that no vertex of $ V_1$ is adjacent to any other vertex of $ V_1$, and no vertex of $ V_2$ is adjacent to any other vertex of $ V_2$. In other words, all edges of $ \cal G$ connect one vertex from $ V_1$ and one vertex from $ V_2$.

In other words, a graph is bipartite iff it is a subgraph of a complete bipartite graph (cf. p. 44 of the notes).


\begin{exercise}
% latex2html id marker 814
Prove that a graph $\cal G$\ is bipartite iff (if and only if) $\cal G$has no odd cycle.
\end{exercise}


\begin{exercise}
% latex2html id marker 816
Exercise 6.1.10, p. 45 of the notes.
\end{exercise}


\begin{exercise}
% latex2html id marker 818
Exercise 6.1.11, p. 45 of the notes.
\end{exercise}


next up previous
Next: About this document ...
Laszlo Babai 2004-06-27