<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wcipeg.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Tree%2FProof_of_properties_of_trees</id>
		<title>Tree/Proof of properties of trees - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wcipeg.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Tree%2FProof_of_properties_of_trees"/>
		<link rel="alternate" type="text/html" href="https://wcipeg.com/wiki/index.php?title=Tree/Proof_of_properties_of_trees&amp;action=history"/>
		<updated>2026-04-03T21:41:52Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.2</generator>

	<entry>
		<id>https://wcipeg.com/wiki/index.php?title=Tree/Proof_of_properties_of_trees&amp;diff=1323&amp;oldid=prev</id>
		<title>Brian at 05:31, 17 May 2011</title>
		<link rel="alternate" type="text/html" href="https://wcipeg.com/wiki/index.php?title=Tree/Proof_of_properties_of_trees&amp;diff=1323&amp;oldid=prev"/>
				<updated>2011-05-17T05:31:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 05:31, 17 May 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proof 2'': It is not difficult to devise an algorithm to generate a planar embedding of a tree. The details are left as an exercise to the reader.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proof 2'': It is not difficult to devise an algorithm to generate a planar embedding of a tree. The details are left as an exercise to the reader.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div align=&amp;quot;right&amp;quot;&amp;gt;&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div align=&amp;quot;right&amp;quot;&amp;gt;&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''Theorem'': In a binary tree with external path length &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;, internal path length &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; nodes, &amp;lt;math&amp;gt;E = I + 2N&amp;lt;/math&amp;gt;. (Caution: the statement &amp;lt;math&amp;gt;E = I + kN&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;-ary trees is ''not'', in general, true.)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''Proof'': By induction. For a tree with one node, we have &amp;lt;math&amp;gt;I = 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;N = 1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;E = 2&amp;lt;/math&amp;gt;, since the root potentially has two children, each at depth 1. Thus, &amp;lt;math&amp;gt;E = I + 2N&amp;lt;/math&amp;gt;, as expected. Now, assume that &amp;lt;math&amp;gt;E = I + 2(N-1)&amp;lt;/math&amp;gt; for all binary trees of &amp;lt;math&amp;gt;N-1&amp;lt;/math&amp;gt; vertices, where &amp;lt;math&amp;gt;N \geq 2&amp;lt;/math&amp;gt;. Then, consider a binary tree &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; vertices. Choose a leaf of this tree and suppose it is at depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;. Remove this from &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; to give the tree &amp;lt;math&amp;gt;T'&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;N-1&amp;lt;/math&amp;gt; vertices, internal path length &amp;lt;math&amp;gt;I'&amp;lt;/math&amp;gt;, external path length &amp;lt;math&amp;gt;E'&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;N-1&amp;lt;/math&amp;gt; nodes. The removal of the leaf node of depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; decreases the internal path length by &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;I' = I - d&amp;lt;/math&amp;gt;. It also removes two external nodes of depth &amp;lt;math&amp;gt;d+1&amp;lt;/math&amp;gt;, which decreases the external path length by &amp;lt;math&amp;gt;2(d+1)&amp;lt;/math&amp;gt;. But it introduces an external node of depth &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; (where the leaf formerly was), which increases the external path length by &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;E' = E - 2(d+1) + d = E - d - 2&amp;lt;/math&amp;gt;. By the inductive hypothesis, &amp;lt;math&amp;gt;E' = I' + 2(N-1)&amp;lt;/math&amp;gt;. Therefore &amp;lt;math&amp;gt;E - d - 2 = I - d + 2N - 2&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;E = I+2N&amp;lt;/math&amp;gt;.&amp;lt;div align=&amp;quot;right&amp;quot;&amp;gt;&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	<entry>
		<id>https://wcipeg.com/wiki/index.php?title=Tree/Proof_of_properties_of_trees&amp;diff=1315&amp;oldid=prev</id>
		<title>Brian: right-aligning QED</title>
		<link rel="alternate" type="text/html" href="https://wcipeg.com/wiki/index.php?title=Tree/Proof_of_properties_of_trees&amp;diff=1315&amp;oldid=prev"/>
				<updated>2011-04-06T21:04:23Z</updated>
		
		<summary type="html">&lt;p&gt;right-aligning QED&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:04, 6 April 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Suppose a simple graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices and it is connected and acyclic. Choose any vertex &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;. Clearly &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; has degree at least one, since the graph is connected. If &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; has degree one, stop. If not, choose any edge incident upon &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and denote the other endpoint &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; has degree one, stop; otherwise choose a different edge out of &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; and denote the other endpoint &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;; keep following this procedure until reaching a vertex of degree one. (This procedure must terminate, otherwise the vertices of the graph would be exhausted and a cycle would be formed, a contradiction.) Let &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; be &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; minus this vertex and its single incident edge. Clearly &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; is still connected and acyclic and has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; vertices; therefore it has &amp;lt;math&amp;gt;V-2&amp;lt;/math&amp;gt; edges by the inductive hypothesis. Therefore &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; edges.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Suppose a simple graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices and it is connected and acyclic. Choose any vertex &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;. Clearly &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; has degree at least one, since the graph is connected. If &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; has degree one, stop. If not, choose any edge incident upon &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and denote the other endpoint &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; has degree one, stop; otherwise choose a different edge out of &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; and denote the other endpoint &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;; keep following this procedure until reaching a vertex of degree one. (This procedure must terminate, otherwise the vertices of the graph would be exhausted and a cycle would be formed, a contradiction.) Let &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; be &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; minus this vertex and its single incident edge. Clearly &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; is still connected and acyclic and has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; vertices; therefore it has &amp;lt;math&amp;gt;V-2&amp;lt;/math&amp;gt; edges by the inductive hypothesis. Therefore &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; edges.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Suppose a simple graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices, is connected, and has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; edges. Since the graph is connected, all vertices have degree at least one. If every vertex has degree at least two, then the sum of degrees is at least &amp;lt;math&amp;gt;2V&amp;lt;/math&amp;gt;, so, by the handshake lemma, there are at least &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices, a contradiction; therefore at least one vertex must have degree one. Let &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; be the graph obtained by removing this vertex and its incident edge from &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; is still connected and it has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; vertices and &amp;lt;math&amp;gt;V-2&amp;lt;/math&amp;gt; edges; by the inductive hypothesis, it is acyclic. Adding a single vertex and connecting it ''via'' a single edge to regenerate &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; clearly does not introduce any cycles.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Suppose a simple graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices, is connected, and has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; edges. Since the graph is connected, all vertices have degree at least one. If every vertex has degree at least two, then the sum of degrees is at least &amp;lt;math&amp;gt;2V&amp;lt;/math&amp;gt;, so, by the handshake lemma, there are at least &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices, a contradiction; therefore at least one vertex must have degree one. Let &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; be the graph obtained by removing this vertex and its incident edge from &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; is still connected and it has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; vertices and &amp;lt;math&amp;gt;V-2&amp;lt;/math&amp;gt; edges; by the inductive hypothesis, it is acyclic. Adding a single vertex and connecting it ''via'' a single edge to regenerate &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; clearly does not introduce any cycles.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Suppose a simple graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is acyclic and has &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices and &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; edges. Assume &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is not connected. Then, partition &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; into two nonempty subgraphs &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;V_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;V_2&amp;lt;/math&amp;gt; vertices, respectively) such that there are no edges in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; between vertices from &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt;. Clearly both &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt; are acyclic. If &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; has at most &amp;lt;math&amp;gt;V_1-1&amp;lt;/math&amp;gt; edges and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt; has at most &amp;lt;math&amp;gt;V_2-1&amp;lt;/math&amp;gt; edges, then &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has at most &amp;lt;math&amp;gt;V_1 + V_2 - 2 = V - 2&amp;lt;/math&amp;gt; edges, a contradiction. Therefore, without loss of generality, assume &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; has at least &amp;lt;math&amp;gt;V_1&amp;lt;/math&amp;gt; edges. Since &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; is acyclic, the graph &amp;lt;math&amp;gt;G_1'&amp;lt;/math&amp;gt; obtained by removing enough edges from &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; so that there are only &amp;lt;math&amp;gt;V_1-1&amp;lt;/math&amp;gt; edges left is also acyclic. Now, by the inductive hypothesis, &amp;lt;math&amp;gt;G_1'&amp;lt;/math&amp;gt; is connected. Therefore, if we add any edge to &amp;lt;math&amp;gt;G_1'&amp;lt;/math&amp;gt; it will join two vertices that are already connected, and thus form a cycle. Therefore &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; is not acyclic, a contradiction.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Suppose a simple graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is acyclic and has &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices and &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; edges. Assume &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is not connected. Then, partition &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; into two nonempty subgraphs &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;V_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;V_2&amp;lt;/math&amp;gt; vertices, respectively) such that there are no edges in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; between vertices from &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt;. Clearly both &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt; are acyclic. If &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; has at most &amp;lt;math&amp;gt;V_1-1&amp;lt;/math&amp;gt; edges and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt; has at most &amp;lt;math&amp;gt;V_2-1&amp;lt;/math&amp;gt; edges, then &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has at most &amp;lt;math&amp;gt;V_1 + V_2 - 2 = V - 2&amp;lt;/math&amp;gt; edges, a contradiction. Therefore, without loss of generality, assume &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; has at least &amp;lt;math&amp;gt;V_1&amp;lt;/math&amp;gt; edges. Since &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; is acyclic, the graph &amp;lt;math&amp;gt;G_1'&amp;lt;/math&amp;gt; obtained by removing enough edges from &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; so that there are only &amp;lt;math&amp;gt;V_1-1&amp;lt;/math&amp;gt; edges left is also acyclic. Now, by the inductive hypothesis, &amp;lt;math&amp;gt;G_1'&amp;lt;/math&amp;gt; is connected. Therefore, if we add any edge to &amp;lt;math&amp;gt;G_1'&amp;lt;/math&amp;gt; it will join two vertices that are already connected, and thus form a cycle. Therefore &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; is not acyclic, a contradiction.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;div align=&amp;quot;right&amp;quot;&amp;gt;&lt;/ins&gt;&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;gt;&amp;lt;/div&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proposition'': There exists exactly one simple path between each pair of vertices in any tree.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proposition'': There exists exactly one simple path between each pair of vertices in any tree.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proof'': A tree is connected, therefore there exists at least one simple path between each pair of vertices. Suppose there exist two simple paths (or more) between the vertices &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;u \neq v&amp;lt;/math&amp;gt;, namely, &amp;lt;math&amp;gt;u = s_0, s_1, \ldots, s_m = v&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v = t_0, t_1, \ldots, t_n = v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; be the least &amp;lt;math&amp;gt;i &amp;gt; 0&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;s_p&amp;lt;/math&amp;gt; equals one of the &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;'s. Clearly such a &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; always exists because &amp;lt;math&amp;gt;s_m = t_n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m &amp;gt; 0&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; be such that &amp;lt;math&amp;gt;s_p = t_q&amp;lt;/math&amp;gt;; since both paths are simple, there is exactly one such &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;. Then consider the sequence of vertices &amp;lt;math&amp;gt;u = s_0, s_1, \ldots, s_p = t_q, t_{q-1}, \ldots, t_0 = u&amp;lt;/math&amp;gt;. Clearly no two of the &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;'s are equal, since they are drawn from a simple path; the same is true of the &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;'s. Also, &amp;lt;math&amp;gt;s_i \neq t_j&amp;lt;/math&amp;gt; unless &amp;lt;math&amp;gt;i = p, j = q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;i = 0, j = 0&amp;lt;/math&amp;gt;, because of the way &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; was selected. Therefore this sequence of vertices forms a simple cycle, a contradiction.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proof'': A tree is connected, therefore there exists at least one simple path between each pair of vertices. Suppose there exist two simple paths (or more) between the vertices &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;u \neq v&amp;lt;/math&amp;gt;, namely, &amp;lt;math&amp;gt;u = s_0, s_1, \ldots, s_m = v&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v = t_0, t_1, \ldots, t_n = v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; be the least &amp;lt;math&amp;gt;i &amp;gt; 0&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;s_p&amp;lt;/math&amp;gt; equals one of the &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;'s. Clearly such a &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; always exists because &amp;lt;math&amp;gt;s_m = t_n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m &amp;gt; 0&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; be such that &amp;lt;math&amp;gt;s_p = t_q&amp;lt;/math&amp;gt;; since both paths are simple, there is exactly one such &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;. Then consider the sequence of vertices &amp;lt;math&amp;gt;u = s_0, s_1, \ldots, s_p = t_q, t_{q-1}, \ldots, t_0 = u&amp;lt;/math&amp;gt;. Clearly no two of the &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;'s are equal, since they are drawn from a simple path; the same is true of the &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;'s. Also, &amp;lt;math&amp;gt;s_i \neq t_j&amp;lt;/math&amp;gt; unless &amp;lt;math&amp;gt;i = p, j = q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;i = 0, j = 0&amp;lt;/math&amp;gt;, because of the way &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; was selected. Therefore this sequence of vertices forms a simple cycle, a contradiction.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;div align=&amp;quot;right&amp;quot;&amp;gt;&lt;/ins&gt;&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;gt;&amp;lt;/div&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proposition'': Every tree is planar.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proposition'': Every tree is planar.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proof 1'': Since &amp;lt;math&amp;gt;K_5&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;K_{3,3}&amp;lt;/math&amp;gt; are not acyclic, neither are any of their subdivisions. Therefore no subdivision of either of these is a subgraph of any tree, as all subgraphs of any tree are acyclic. By [[Kuratowski's theorem]], all trees are therefore planar.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proof 1'': Since &amp;lt;math&amp;gt;K_5&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;K_{3,3}&amp;lt;/math&amp;gt; are not acyclic, neither are any of their subdivisions. Therefore no subdivision of either of these is a subgraph of any tree, as all subgraphs of any tree are acyclic. By [[Kuratowski's theorem]], all trees are therefore planar.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proof 2'': It is not difficult to devise an algorithm to generate a planar embedding of a tree. The details are left as an exercise to the reader.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;''Proof 2'': It is not difficult to devise an algorithm to generate a planar embedding of a tree. The details are left as an exercise to the reader.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;div align=&amp;quot;right&amp;quot;&amp;gt;&lt;/ins&gt;&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;gt;&amp;lt;/div&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	<entry>
		<id>https://wcipeg.com/wiki/index.php?title=Tree/Proof_of_properties_of_trees&amp;diff=1307&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;''Theorem'': For a simple graph, any two of these three statements, taken together, imply the third: * The graph is connected. * The graph is acyclic. * The number of vertices in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wcipeg.com/wiki/index.php?title=Tree/Proof_of_properties_of_trees&amp;diff=1307&amp;oldid=prev"/>
				<updated>2011-04-06T04:47:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;Theorem&amp;#039;&amp;#039;: For a simple graph, any two of these three statements, taken together, imply the third: * The graph is connected. * The graph is acyclic. * The number of vertices in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;''Theorem'': For a simple graph, any two of these three statements, taken together, imply the third:&lt;br /&gt;
* The graph is connected.&lt;br /&gt;
* The graph is acyclic.&lt;br /&gt;
* The number of vertices in the graph is exactly one more than the number of edges.&lt;br /&gt;
&lt;br /&gt;
''Proof'': By induction. In a graph with one vertex, all three statements hold, so the claim is trivially true. Now suppose that the claim holds for all simple graphs with &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; vertices (where &amp;lt;math&amp;gt;V \geq 2&amp;lt;/math&amp;gt;). We show it holds for all graphs with &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices:&lt;br /&gt;
* Suppose a simple graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices and it is connected and acyclic. Choose any vertex &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;. Clearly &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; has degree at least one, since the graph is connected. If &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; has degree one, stop. If not, choose any edge incident upon &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and denote the other endpoint &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; has degree one, stop; otherwise choose a different edge out of &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; and denote the other endpoint &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;; keep following this procedure until reaching a vertex of degree one. (This procedure must terminate, otherwise the vertices of the graph would be exhausted and a cycle would be formed, a contradiction.) Let &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; be &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; minus this vertex and its single incident edge. Clearly &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; is still connected and acyclic and has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; vertices; therefore it has &amp;lt;math&amp;gt;V-2&amp;lt;/math&amp;gt; edges by the inductive hypothesis. Therefore &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; edges.&lt;br /&gt;
* Suppose a simple graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices, is connected, and has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; edges. Since the graph is connected, all vertices have degree at least one. If every vertex has degree at least two, then the sum of degrees is at least &amp;lt;math&amp;gt;2V&amp;lt;/math&amp;gt;, so, by the handshake lemma, there are at least &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices, a contradiction; therefore at least one vertex must have degree one. Let &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; be the graph obtained by removing this vertex and its incident edge from &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;G'&amp;lt;/math&amp;gt; is still connected and it has &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; vertices and &amp;lt;math&amp;gt;V-2&amp;lt;/math&amp;gt; edges; by the inductive hypothesis, it is acyclic. Adding a single vertex and connecting it ''via'' a single edge to regenerate &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; clearly does not introduce any cycles.&lt;br /&gt;
* Suppose a simple graph &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is acyclic and has &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; vertices and &amp;lt;math&amp;gt;V-1&amp;lt;/math&amp;gt; edges. Assume &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; is not connected. Then, partition &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; into two nonempty subgraphs &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;V_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;V_2&amp;lt;/math&amp;gt; vertices, respectively) such that there are no edges in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; between vertices from &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt;. Clearly both &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt; are acyclic. If &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; has at most &amp;lt;math&amp;gt;V_1-1&amp;lt;/math&amp;gt; edges and &amp;lt;math&amp;gt;G_2&amp;lt;/math&amp;gt; has at most &amp;lt;math&amp;gt;V_2-1&amp;lt;/math&amp;gt; edges, then &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; has at most &amp;lt;math&amp;gt;V_1 + V_2 - 2 = V - 2&amp;lt;/math&amp;gt; edges, a contradiction. Therefore, without loss of generality, assume &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; has at least &amp;lt;math&amp;gt;V_1&amp;lt;/math&amp;gt; edges. Since &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; is acyclic, the graph &amp;lt;math&amp;gt;G_1'&amp;lt;/math&amp;gt; obtained by removing enough edges from &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; so that there are only &amp;lt;math&amp;gt;V_1-1&amp;lt;/math&amp;gt; edges left is also acyclic. Now, by the inductive hypothesis, &amp;lt;math&amp;gt;G_1'&amp;lt;/math&amp;gt; is connected. Therefore, if we add any edge to &amp;lt;math&amp;gt;G_1'&amp;lt;/math&amp;gt; it will join two vertices that are already connected, and thus form a cycle. Therefore &amp;lt;math&amp;gt;G_1&amp;lt;/math&amp;gt; is not acyclic, a contradiction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Proposition'': There exists exactly one simple path between each pair of vertices in any tree.&lt;br /&gt;
&lt;br /&gt;
''Proof'': A tree is connected, therefore there exists at least one simple path between each pair of vertices. Suppose there exist two simple paths (or more) between the vertices &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;u \neq v&amp;lt;/math&amp;gt;, namely, &amp;lt;math&amp;gt;u = s_0, s_1, \ldots, s_m = v&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v = t_0, t_1, \ldots, t_n = v&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; be the least &amp;lt;math&amp;gt;i &amp;gt; 0&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;s_p&amp;lt;/math&amp;gt; equals one of the &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;'s. Clearly such a &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; always exists because &amp;lt;math&amp;gt;s_m = t_n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m &amp;gt; 0&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; be such that &amp;lt;math&amp;gt;s_p = t_q&amp;lt;/math&amp;gt;; since both paths are simple, there is exactly one such &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;. Then consider the sequence of vertices &amp;lt;math&amp;gt;u = s_0, s_1, \ldots, s_p = t_q, t_{q-1}, \ldots, t_0 = u&amp;lt;/math&amp;gt;. Clearly no two of the &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;'s are equal, since they are drawn from a simple path; the same is true of the &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;'s. Also, &amp;lt;math&amp;gt;s_i \neq t_j&amp;lt;/math&amp;gt; unless &amp;lt;math&amp;gt;i = p, j = q&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;i = 0, j = 0&amp;lt;/math&amp;gt;, because of the way &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; was selected. Therefore this sequence of vertices forms a simple cycle, a contradiction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Proposition'': Every tree is planar.&lt;br /&gt;
&lt;br /&gt;
''Proof 1'': Since &amp;lt;math&amp;gt;K_5&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;K_{3,3}&amp;lt;/math&amp;gt; are not acyclic, neither are any of their subdivisions. Therefore no subdivision of either of these is a subgraph of any tree, as all subgraphs of any tree are acyclic. By [[Kuratowski's theorem]], all trees are therefore planar.&lt;br /&gt;
&lt;br /&gt;
''Proof 2'': It is not difficult to devise an algorithm to generate a planar embedding of a tree. The details are left as an exercise to the reader.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;_\blacksquare&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>