In the proof, the concept of the smallest length minimality of the walk W plays a crucial role in reaching the contradiction, which ultimately supports the proposition. Let's explain step by step how this works:
-
Assumption of Minimal Odd Walk: The proof begins by considering W, a closed walk of the smallest odd length in the graph. The term "smallest" is essential because it assumes that no shorter closed walk exists in the graph that also has an odd length. This minimal length constraint is fundamental for setting up the condition under which the proof will find a contradiction.
-
Analysis of W's Structure: The proof then examines the structure of W. If W is already a simple cycle (i.e., no vertices are repeated except the starting and ending vertex), then it itself is an odd cycle, and the proposition is confirmed. However, the complication arises if W is not a simple cycle.
-
Decomposition into Two Closed Walks: If W is not a cycle, there must be at least one vertex that is repeated, which allows us to decompose W into two smaller closed walks, W1 and W2. These two walks originate from traversing from the first occurrence of a repeating vertex to its second occurrence and vice versa, completing the loop.
-
Odd Length Analysis of W1 and W2: The total length of W1 and W2 combined is equal to the length of W, which is odd. Since the sum of two integers can only be odd if one of them is odd and the other is even, it follows that either W1 or W2 must have an odd length.
-
Contradiction Arises: Here comes the crucial use of the minimality of W. If one of W1 or W2 is a closed walk with odd length that is shorter than W, this contradicts the original assumption that W was the closed walk of the smallest odd length in the graph. It’s this contradiction that is critical, as it invalidates the existence of any shorter odd closed walk than W, thus forcing us to conclude that the repeat analysis was flawed, and that W must indeed have been a simple cycle initially.
-
Conclusion of the Proof: Through establishing this contradiction under the assumption that W is not a simple cycle, the concept of the minimality of W's length ensures that no shorter odd closed walks could exist. Hence, the original W or a part of its structure (a cycle in W) must itself be an odd cycle, which satisfies the proposition.
Thus, the condition of W being the smallest odd length closed walk is essential for leveraging the contradiction argument that brings about the core conclusion of the proof.
Step 5: Adding the Edge to T
Adding this edge e to T will connect two previously disjoint components of T. Importantly, adding e to T does not create a cycle within T. Why? Because prior to adding e, there was no path in T between x and y (they were in different components). So, the only way to travel from x to y in T ∪ {e} is by using the new edge e. Hence, no cycle can be formed by adding e.
To prove that every tournament (a complete, directed graph with exactly one directed edge between each pair of vertices) has at least one monarch (a vertex from which every other vertex can be reached within 2 steps or fewer), let's use the method of contradiction.
Step 1: Assume the opposite
Suppose there is a tournament ( G ) that has no monarchs. This means there is no single vertex ( v ) in ( G ) from which all other vertices can be reached either directly or through exactly one intermediary vertex.
Step 2: Consider a vertex with maximum reachability
In ( G ), consider a vertex ( u ) from which the maximum number of vertices can be reached within 1 or 2 steps. Let's say ( u ) can reach vertices in set ( R ) (where ( R ) includes ( u ) and any vertices directly reachable from ( u ), plus any vertices reachable from ( u ) via one intermediate vertex). Let ( S ) be the set of all other vertices in ( G ) not reachable within 2 steps from ( u ).
Step 3: Properties of sets ( R ) and ( S )
- Since ( u ) reaches the maximum number of vertices, any vertex ( v \in S ) reaches strictly fewer vertices within 2 steps than ( u ) does.
- By definition of ( S ), there are no direct edges from ( u ) to any vertex in ( S ), and vertices in ( S ) cannot be reached from ( u ) via any single intermediary vertex in ( R ) (since all vertices reachable from ( u ) by two steps are already in ( R )).
Step 4: Explore the nature of edges from ( S ) to ( R )
Consider any vertex ( s \in S ). Since ( s ) is not in ( R ), ( s ) does not have an edge to ( u ) (otherwise ( s ) would be in ( R ) by being able to reach ( u )). Therefore, ( u ) has an edge directed towards each ( s \in S ).
Similarly, since ( s ) cannot reach ( u ) directly or indirectly in one step (passing through another vertex in ( R )), for every vertex ( x \in R ) (vertices reached by ( u )), the edge must be directed from ( x ) to ( s ) (otherwise, ( s ) could reach ( u ) via ( x ), contradicting the assumption that ( s \notin R )).
Step 5: Final contradiction
Since each vertex ( x \in R ) has an outgoing edge to each ( s \in S ), each ( s ) can indeed reach ( u ) within two steps (from ( s ) to some ( x ) in ( R ), and from ( x ) to ( u )). This contradicts our original assumption that members of ( S ) could not reach ( u ) in two steps.
Thus, our initial assumption that no monarch exists in ( G ) must be false. Therefore, every tournament must have at least one monarch, as some vertex—specifically, the vertex ( u ) considered here—meets the criteria of reaching all other vertices in two steps or fewer.
To demonstrate that every tournament has a king (a vertex from which every other vertex can be reached via a direct edge or through exactly one intermediate vertex), let’s go through this proof step by step.
Step 1: Definition and Setup
We start by considering a tournament ( T ), which by definition is a directed graph such that for each pair of vertices ( u, v ), there is exactly one directed edge between them, either ( u \to v ) or ( v \to u ). We need to find a "king," a vertex ( v ) such that for every vertex ( u ) in the graph, there is a directed path either ( v \to u ) directly, or ( v \to w \to u ) for some vertex ( w ).
Step 2: Choosing the Vertex with Maximum Out-degree
Select the vertex ( v ) in ( T ) that has the maximum out-degree. This means ( v ) has direct edges to the largest number of other vertices. Let's define two sets based on ( v ):
- ( A ) (out-neighborhood of ( v )): All vertices that ( v ) can reach directly.
- ( B ) (in-neighborhood of ( v )): All vertices from which there's a direct edge to ( v ).
Step 3: Establishing Reachability
Our goal is to show that for every vertex in the in-neighborhood ( B ), there is a path from ( v ) of length 1 or 2. Clearly, there is already a length 1 path ( v \to u ) for every ( u ) in ( A ) since ( u ) is directly reachable from ( v ).
Step 4: Analyzing the In-neighborhood
Consider any ( u ) in ( B ). For ( v ) to be a king, you need there to be a vertex ( w ) in ( A ) such that there's a directed edge ( w \to u ). This would make a path ( v \to w \to u ).
Step 5: Dealing with a Counterexample
Suppose no such ( w ) exists. That means ( u ) must have edges coming from all ( w ) in ( A ) pointing to ( u ), i.e., ( u ) beats everyone that ( v ) beats. But since ( v ) also points to every ( w ) in ( A ), ( u ) also beats ( v ), making ( u )'s out-degree greater than ( v )'s, contradicting the fact that ( v ) was chosen for having the maximum out-degree.
Step 6: Conclusion
Thus, there cannot be a counterexample where no such ( w ) exists. Consequently, there must be a directed path ( v \to w \to u ) for every ( u ) in ( B ), which proves ( v ) can reach every other vertex directly or in two steps, establishing ( v ) as a king.
By proving both cases for members of ( A ) and ( B ), the proof shows that ( v ) reaches every vertex in ( T ) either directly or via one intermediary vertex, confirming the presence of a king in every tournament.
To prove that in every complete binary tree with ( n ) leaves, the number of internal nodes is ( n-1 ), we can use a proof by contradiction. Let's break down the steps:
Step 1: Overview and Definitions
A complete binary tree is a type of binary tree where every level, except possibly the last, is completely filled, and all nodes are as left as possible. Let’s denote:
- ( n ): the number of leaf nodes in the tree.
- ( k ): the number of internal nodes (non-leaf nodes).
- Internal nodes are defined as nodes that have at least one child.
The tree property of interest is that all internal nodes in a full binary tree have exactly two children (due to the binary tree condition).
Step 2: Assertion Based on the Tree Structure
A known tree property is that the total number of nodes ( N ) in a binary tree is the sum of the number of leaves ( n ) and the number of internal nodes ( k ):
[ N = n + k ]
By another property of binary trees, any binary tree with ( k ) internal nodes has a total of ( k+1 ) leaves (if every internal node has exactly two children, and since the tree is binary and complete, except for the last layer allowed to be incomplete but filled left to right).
Step 3: Assume to Contradict
Assume that the number of internal nodes ( k ) is not ( n-1 ). Let's analyze any other possibility:
- Assume ( k > n-1 ),
- Or assume ( k < n-1 ).
Step 4: First Case ( k > n-1 )
If ( k > n-1 ), then we have:
[ k \geq n ]
[ n + k \geq n + n = 2n ]
But according to the tree properties related to leaves and internal nodes:
[ N = k + n \leq 2k + 1 ]
This would mean that ( 2k + 1 \geq 2n ) suggesting ( k+1 \geq n ) which does not match with the given structure of complete binary trees unless ( k = n-1 ). Following this logic strictly through, if ( k \geq n ), the tree would violate the properties of a binary tree entering a logical contradiction about the structural form of binary trees.
Step 5: Second Case ( k < n-1 )
If ( k < n-1 ), then:
[ n + k < n + (n-1) = 2n-1 ]
Given ( k ) internal nodes produces ( k+1 ) leaves, if ( k ) is less than ( n-1 ), then the number of leaves ( k+1 ) becomes less than ( n ), contradicting the given that there are ( n ) leaves.
Step 6: Conclusion
Since assuming ( k \neq n-1 ) leads to contradictions in both directions, our initial assumption must be incorrect. Therefore, in a complete binary tree with ( n ) leaves, the number of internal nodes must indeed be ( n-1 ).