📚 The CoCalc Library - books, templates and other resources
cocalc-examples / martinthoma-latex-examples / presentations / Diskrete-Mathematik / LaTeX / Strukturen.tex
132941 viewsLicense: OTHER
\subsection{Strukturen in Graphen}1\begin{frame}{Kantenzug, Länge eines Kantenzuges und Verbindung von Ecken}2\begin{block}{Kantenzug, Länge eines Kantenzuges und Verbindung von Ecken}3Sei $G = (E, K)$ ein Graph.45Dann heißt eine Folge $k_1, k_2, \dots, k_s$ von Kanten, zu denen es Ecken6$e_0, e_1, e_2, \dots, e_s$ gibt, so dass7\begin{itemize}8\item $k_1 = \Set{e_0, e_1}$9\item $k_2 = \Set{e_1, e_2}$10\item \dots11\item $k_s = \Set{e_{s-1}, e_s}$12\end{itemize}13gilt ein \textbf{Kantenzug}, der \textcolor{purple}{$e_0$} und \textcolor{blue}{$e_s$} \textbf{verbindet} und $s$14seine \textbf{Länge}.15\end{block}1617\adjustbox{max size={\textwidth}{0.2\textheight}}{18\begin{tikzpicture}19\node (a)[vertex] at (1,1) {};20\node (b)[vertex] at (2,5) {};21\node (c)[vertex] at (3,3) {};22\node (d)[vertex] at (5,4) {};23\node (e)[vertex] at (3,6) {};24\node (f)[vertex] at (5,6) {};25\node (g)[vertex] at (7,6) {};26\node (h)[vertex] at (7,4) {};27\node (i)[vertex] at (6,2) {};28\node (j)[vertex] at (8,7) {};29\node (k)[vertex] at (9,5) {};30\node (l)[vertex] at (13,6) {};31\node (m)[vertex] at (11,7) {};32\node (n)[vertex] at (15,7) {};33\node (o)[vertex] at (16,4) {};34\node (p)[vertex] at (10,2) {};35\node (q)[vertex] at (13,1) {};36\node (r)[vertex] at (16,1) {};37\node (s)[vertex] at (17,4) {};38\node (t)[vertex] at (19,6) {};39\node (u)[vertex] at (18,3) {};40\node (v)[vertex] at (20,2) {};41\node (w)[vertex] at (15,4) {};4243\foreach \from/\to in {a/c,c/b,c/d,d/f,f/g,g/h,h/d,d/g,h/f,i/k,k/j,k/l,l/m,m/n,n/o,o/t,t/v,v/u,s/r,o/q,q/p,u/t}44\draw[line width=2pt] (\from) -- (\to);4546\node (i)[vertex,purple] at (6,2) {};47\node (v)[vertex,blue] at (20,2) {};48\draw[line width=4pt, red] (i) -- (k) -- (l) -- (m) -- (n) -- (o) -- (t) -- (v);49\end{tikzpicture}50}51\end{frame}5253\begin{frame}{Geschlossener Kantenzug}54\begin{block}{Geschlossener Kantenzug}55Sei $G = (E, K)$ ein Graph und $A = (k_1, k_2, \dots, k_s)$ ein Kantenzug56mit $k_1 = \Set{e_0, e_1}$ und $k_s = \Set{e_{s-1}, e_s}$.5758A heißt \textbf{geschlossen} $:\Leftrightarrow e_0 = e_s$ .59\end{block}6061Ein Kantenzug wird durch den Tupel $(e_0, \dots, e_s) \in E^{s+1}$62charakterisiert.6364\begin{gallery}65\galleryimage{walks/k-16-walk}66\galleryimage{walks/star-graph-walk}67\galleryimage{walks/tree-walk}68\galleryimage{walks/walk-6}69\end{gallery}70\end{frame}7172\begin{frame}{Weg}73\begin{block}{Weg}74Sei $G = (E, K)$ ein Graph und $A = (k_1, k_2 \dots, k_s)$ ein Kantenzug.7576A heißt \textbf{Weg} $:\Leftrightarrow \forall_{i, j \in 1, \dots, s}: i \neq j \Rightarrow k_i \neq k_j$ .77\end{block}7879\pause8081\begin{exampleblock}{Salopp}82Ein Kantenzug, bei dem man keine Kante mehrfach abläuft, ist ein Weg.83\end{exampleblock}8485\pause8687Achtung: Knoten dürfen mehrfach abgelaufen werden!88\end{frame}8990\begin{frame}{Kreis}91\begin{block}{Kreis}92Sei $G = (E, K)$ ein Graph und $A = (k_1, k_2 \dots, k_s)$ ein Kantenzug.9394A heißt \textbf{Kreis} $:\Leftrightarrow A$ ist geschlossen und ein Weg.95\end{block}9697\pause9899Manchmal wird das auch "`einfacher Kreis"' genannt.100101\pause102103\begin{gallery}104\galleryimage[Green]{graphs/circle-one-facet}105\galleryimage[Green]{graphs/circle-two-facets}106\end{gallery}107\end{frame}108109\begin{frame}{Aufgabe 5}110\begin{block}{Zeigen Sie: }111Wenn in einem Graphen $G=(E,K)$ jede Ecke min. Grad 2 hat, dann112besitzt $G$ einen Kreis einer Länge $>0$.113\end{block}114115\pause116117Sei $e_0 \in E$ eine beliebige Ecke aus $G$. Da $e_0$ min. Grad 2 hat,118gibt es eine Kante $k_0$.119120\pause121122Diese verbindet $e_0$ mit einer weiteren Ecke $e_1$, die wiederum123min. Grad 2 hat usw.124125\pause126127$G$ hat endlich viele Ecken. Man erreicht also irgendwann eine128Ecke $e_j$, die bereits als $e_i$ durchlaufen wurde. Die Ecken129$e_i, \dots, e_j = e_i$ bilden also eine Kreis $\blacksquare$130\end{frame}131132\begin{frame}{Zusammenhängender Graph}133\begin{block}{Zusammenhängender Graph}134Sei $G = (E, K)$ ein Graph.135136$G$ heißt \textbf{zusammenhängend} $:\Leftrightarrow \forall e_1, e_2 \in E: $137Es ex. ein Kantenzug, der $e_1$ und $e_2$ verbindet138\end{block}139140\begin{gallery}141\galleryimage[red]{graphs/graph-1}142\galleryimage[red]{graphs/graph-2}143\galleryimage[Green]{graphs/k-3-3}144\galleryimage[Green]{graphs/k-5}\\145\galleryimage[Green]{graphs/k-16}146\galleryimage[Green]{graphs/graph-6}147\galleryimage[Green]{graphs/star-graph}148\galleryimage[Green]{graphs/tree}149\end{gallery}150\end{frame}151152153