Skip to content

Commit

Permalink
10-trees: def revised
Browse files Browse the repository at this point in the history
  • Loading branch information
hengxin committed May 11, 2021
1 parent c8bfe7f commit 87d3268
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 3 deletions.
Binary file modified 10-trees/10-trees.pdf
Binary file not shown.
Binary file added 10-trees/figs/G-leaf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 10-trees/figs/trees-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 10-trees/figs/trees-movie.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
104 changes: 101 additions & 3 deletions 10-trees/parts/def.tex
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,105 @@

%%%%%%%%%%%%%%%
\begin{frame}{}
\fig{width = 0.30\textwidth}{figs/keep-calm-prove-it}
\begin{definition}[Internal Vertex (内部顶点); Leaf (叶子)]
In a tree $T$ with \blue{$\ge 2$} vertices, for a vertex $v$ in $T$, if
\[
\deg(v) = 1
\]
then $v$ is called a \red{leaf};
otherwise, $v$ is an \red{internal vertex}.
\end{definition}

\pause
\vspace{0.30cm}
\fig{width = 0.50\textwidth}{figs/CaterpillarTree}

\pause
\begin{lemma}
Any tree $T$ with \blue{$\ge 2$} vertices contains \red{$\ge 1$} leaf.
\end{lemma}

\pause
\begin{center}
Otherwise, $\forall v \in V.\; \degree(v) \ge 2 \implies T \text{ has cycles}$.
\end{center}
\end{frame}
%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%
\begin{frame}{}
\begin{lemma}
Any tree $T$ with \blue{$\ge 2$} vertices contains \red{$\ge 2$} leaves.
\end{lemma}

\pause
\vspace{0.30cm}
\[
\sum_{v \in V} \degree(v) = 2n - 2
\]

\pause
\vspace{0.50cm}
\begin{center}
Consider the two endpoints of any \red{maximal} (nontrivial) path in $T$.
\pause \\[5pt]
They are leaves of $T$.
\end{center}
\end{frame}
%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%
\begin{frame}{}
\begin{lemma}
Deleting a \red{leaf} from a tree $T$ with $n$ vertices
produces a tree with $n-1$ vertices.
\end{lemma}

\pause
\vspace{0.30cm}
\begin{center}
\fig{width = 0.40\textwidth}{figs/G-leaf}

\vspace{0.20cm}
$G' = G - v$ is \violet{connected} and \purple{acyclic}.

\pause
\vspace{0.50cm}
\blue{A leaf does \red{\it not} belong to any paths connecting two other vertices.}
\end{center}
\end{frame}
%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%
\begin{frame}{}
\begin{definition}[Irreducible Tree]
An \red{irreducible tree} is a tree $T$ where
\[
\forall v \in V(T).\; \degree(v) \neq 2.
\]
\end{definition}

\pause
\vspace{0.30cm}
\begin{columns}
\column{0.50\textwidth}
\fig{width = 0.80\textwidth}{figs/trees-10}
\column{0.50\textwidth}
\pause
\fig{width = 0.80\textwidth}{figs/trees-movie}
\end{columns}

\pause
\vspace{0.30cm}
\begin{center}
\blue{Homeomorphically} Irreducible Trees of size $n = 10$
\end{center}
\end{frame}
%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%
\begin{frame}{}
\begin{theorem}
\begin{theorem}[\cyan{(We call it)} Tree Theorem]
Let $T$ be an undirected graph with $n$ vertices. \\[3pt]
Then the following statements are \red{equivalent}:
\begin{enumerate}[(1)]
Expand All @@ -51,6 +143,7 @@

%%%%%%%%%%%%%%%
\begin{frame}{}
\fig{width = 0.30\textwidth}{figs/keep-calm-prove-it}
\end{frame}
%%%%%%%%%%%%%%%

Expand All @@ -72,4 +165,9 @@
%%%%%%%%%%%%%%%
\begin{frame}{}
\end{frame}
%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%
\begin{frame}{}
\end{frame}
%%%%%%%%%%%%%%%

0 comments on commit 87d3268

Please sign in to comment.