Lecture from 27.11.2024 | Video: Videos ETHZ
We often need to prove not only that solutions exist but also that they don’t exist. Proving non-existence requires a “certificate of inexistence”—an object whose existence implies the nonexistence of a solution to the original problem.
Certificates for Unsolvable Linear Systems
Let’s start with systems of linear equations: , where and . How can we prove that no solution exists?
Theorem: Certificate of Inexistence for Linear Systems
The system has no solution if and only if there exists a vector such that and .
Let’s break down the proof of this theorem.
Proof:
1. () Certificate implies no solution (Proof by contradiction):
-
Assume a solution exists: Suppose a vector exists such that and . Let’s assume, for the sake of contradiction, that there’s also a solution to .
-
Reaching a contradiction: If , we can multiply both sides by to get . Since , this simplifies to . But this contradicts our initial assumption that .
-
Conclusion: Our assumption that a solution exists must be false. The existence of guarantees that has no solution.
2. () No solution implies the existence of a certificate:
-
Fundamental Subspaces: Remember that the four fundamental subspaces of a matrix (column space of , nullspace of , column space of , nullspace of ) have specific orthogonality relationships: The column space of is orthogonal to the nullspace of (), and the column space of is orthogonal to the nullspace of ().
-
No solution means b is not in the column space: If there’s no solution to , it means the vector doesn’t lie in the column space of (denoted as ).
-
Projection onto the orthogonal complement: This tells us that the projection of onto the orthogonal complement of , which is , is not the zero vector. Let’s call this non-zero projection .
-
Satisfying the conditions: Because is in the nullspace of (), we have , which means . Furthermore, since is a non-zero projection of , we have . This vector is our certificate of inexistence.
The vector acts as proof that the system is unsolvable.
Moving from Equality to Inequality Constraints
Let’s generalize to systems of linear inequalities: , with and . We use rational numbers to avoid numerical issues. How do we determine if a solution exists, and if not, how do we certify it?
Challenges with Inequalities
Can we directly extend the certificate idea from equalities to inequalities? If we have and multiply by , we get: The problem is that if has both positive and negative entries, multiplying the inequality by might flip some inequality signs. This prevents a clear contradiction.
Non-negative Certificates
The solution: require . This ensures that multiplying by preserves the inequality directions. If we find a such that and , we have a certificate.
Why ?
If such a exists and we assume a solution to exists, we get: This is a contradiction (), proving that no solution can exist.
Theorem: Farkas Lemma (Variant)
The system has no solution if and only if there exists a vector such that , , and .
Proof (Partial):
1. () Certificate implies no solution (Proof by contradiction):
-
Assume a certificate exists, and assume there’s a solution to .
-
Multiplying by the non-negative gives . Since , we have . But we also know , leading to the contradiction .
-
Therefore, no solution can exist.
(The full proof of Farkas Lemma, including the other direction, will be covered later.)
1D Case Example
Consider these inequalities:
Finding a Contradiction
Adding inequalities (1) and (4) gives , implying . Combining this with from inequality (1) leads to a contradiction.
Formalizing the Certificate
Multiply inequality (1) by 5 and inequality (4) by 3:
Adding them yields , a contradiction. The certificate is . Let’s verify:
This satisfies all conditions (, , ).
Important Note on the Certificate Vector
Other vectors can work as certificates, as long as they satisfy the required conditions. For instance, would also be a valid certificate in this example.
This example shows how a linear combination of inequalities (represented by ) reveals a contradiction, proving the system is unsolvable.
What Happens in Higher Dimensions?
In higher dimensions (), describes a polyhedron, a region bounded by hyperplanes.
The Challenge: How do we determine if this polyhedron is empty (no solution)?
The Approach: Project the polyhedron onto lower-dimensional spaces. If the original polyhedron is empty, its projection must also be empty.
Projection and its Implications:
If and we project it onto a subspace, the projection is also a polyhedron. Crucially:
- is nonempty if and only if is nonempty. If the projection is empty, the original polyhedron is empty, and the system has no solution.
The Projection Process: Projection involves eliminating variables, eventually reducing the problem to one dimension. We’ll explore this process in detail later.
Projections of Sets and the Farkas Lemma: A Guided Exploration
Our goal is to develop a method for determining if a system of linear inequalities has a solution. We’ll use the concept of projection to simplify this problem.
Projection of a Set of Inequalities
Definition: Rational Polyhedra
A rational polyhedron is defined by a finite set of linear inequalities with rational coefficients:
where and . Rational coefficients ensure computational procedures terminate. A polyhedron represents the feasible region of the inequalities. Why use rationals? This avoids complexities with irrational numbers and ensures that algorithms based on these concepts will always finish.
Projection onto a Subspace
To project onto a lower-dimensional subspace defined by a subset of variables , we use the following definition:
contains components of with indices in , and represents the remaining variables. This projection extracts all possible values of variables in consistent with the original inequalities. What does this mean? Imagine shining a light onto the polyhedron from a specific direction and observing the shadow cast onto a lower-dimensional surface. The shadow represents the projection. We are checking which coordinates in the lower dimensional space are consistent with at least one solution in the higher dimensional space.
The Critical Equivalence
The key property of projection is:
A non-empty (a solution exists) is equivalent to a non-empty projection . This is fundamental to our strategy. If the “shadow” is empty, the object casting the shadow must also be empty.
Why is this important?
- Dimensionality Reduction: If is empty for any , then is empty, meaning no solution exists. This lets us analyze simpler, lower-dimensional problems. If we can show that the shadow is empty, we know the original object must be empty too.
- Algorithmic Implications: This suggests an algorithm: project onto progressively lower dimensions until we reach a one-dimensional problem, which is easy to solve. Keep projecting until the problem becomes simple enough to solve directly.
Open Question: How do we describe with a finite set of linear inequalities? This will allow us to repeat the projection process. We’ll answer this next.
The One-Dimensional Case: A Foundation
Consider a one-dimensional polyhedron :
where ( for all ) and . Each inequality constrains .
Explicit Representation
Rewrite each inequality as:
- if
- if
Thus:
This represents an interval. In other words, must lie within certain bounds.
Finding the Bounds
Define:
- (minimum upper bound) What is the smallest upper bound placed on ?
- (maximum lower bound) What is the largest lower bound placed on ?
Then:
Condition for Non-emptiness
is non-empty (has a solution) if and only if:
The lower bound must be less than or equal to the upper bound for a solution to exist. If the lower bound is greater than the upper bound, there is no value of that can satisfy all the constraints.
Equivalence with a Linear Combination
The condition is equivalent to:
Let’s illustrate with examples.
Example 1: Feasible System
- (or )
Here, , , , . Since , the system is feasible ( is a solution). We can find a value of that satisfies both inequalities.
Let . means , so . Then . The condition holds.
Example 2: Infeasible System
- (or )
Here, , , , . Since , there’s no solution. The lower bound is greater than the upper bound. There is no value of that can satisfy both inequalities.
If (from ), then . For , we have , but . The condition is violated. We found a non-negative such that and .
Important
A with and certifies infeasibility. If no such exists, the system is feasible. This is core to Farkas’ Lemma. The existence of this special vector provides a concrete way to prove that the system has no solution. This is a powerful tool for reasoning about the solvability of systems of inequalities.
Elimination of One Variable: Projecting to a Lower Dimension
We now have a method for analyzing 1D systems. But how do we reduce higher-dimensional problems to 1D? We’ll use an algorithm to eliminate one variable at a time through projection.
Let . We’ll eliminate .
A less confusing explanation
Algorithm
-
Partitioning: Group inequalities based on the sign of ‘s coefficient ():
- (no ) The inequalities in this set do not involve the variable we are trying to eliminate.
- (positive coefficient) The inequalities in this set have a positive coefficient for the variable we are trying to eliminate.
- (negative coefficient) The inequalities in this set have a negative coefficient for the variable we are trying to eliminate.
-
Rewriting and Combining:
- : For each , rewrite as: . Isolate by dividing by its coefficient. Let and
- : For each , rewrite as : Let and . This makes the notation consistent with the other inequalities.
- : For each , rewrite as: . Isolate , remembering to flip the inequality. Let and
- Constructing the Lower-Dimensional Polyhedron:
To eliminate , we need to ensure that for any values of the other variables, there exists a value of that satisfies all constraints. This is the core idea behind projection.
For each pair of inequalities and , combine them:
This ensures that every lower bound on is less than or equal to every upper bound on . Importantly, this new inequality does not include .
The projected polyhedron in is then:
We’ve projected onto a lower dimension! Repeat this process to eliminate more variables. We now have a polyhedron described by inequalities in one fewer variable. We can repeat this process until we reach a one-dimensional problem, which we can analyze directly using the methods we discussed earlier.
Example: Projecting from 2D to 1D
Consider the system:
-
Partitioning: , , .
-
Rewriting:
- : ;
- : ;
-
Constructing Q: Combine inequalities:
- (always true)
Therefore, . is non-empty, so the original 2D system is also non-empty.
Example: Empty Set
Let’s modify the system slightly:
Using the same procedure, we get the following inequalities:
This results in which has no solution. The projection is empty, indicating the original system has no solution.
Theorem 3: The Projection Theorem: Formalizing Projection
This theorem proves that our variable elimination algorithm correctly produces a polyhedron that represents the projection of the original polyhedron. In simpler terms, it confirms that our method of eliminating a variable creates a new, valid system of inequalities that describes the “shadow” of the original feasible region in a lower-dimensional space.
Theorem 3: The Projection Theorem
Let be a rational polyhedron (, ). Let . Let be the set obtained by eliminating using our algorithm. Then:
- is a polyhedron.
- .
This theorem has two important parts:
- is a polyhedron: The result of the elimination process is still a well-defined polyhedron (a region defined by linear inequalities). This ensures we can continue applying the elimination process.
- : This polyhedron is exactly the projection we want. It represents all possible values of the remaining variables that are consistent with the original system of inequalities. This means that if we find a solution in the projected space (), we can guarantee there’s a corresponding solution in the original higher-dimensional space (). Conversely, if there’s no solution in , there can’t be a solution in either.
Proof
Part 1: is a Polyhedron
Our algorithm constructs using a finite number of linear inequalities in variables:
-
Inequalities from (those not involving ) are directly included in : . These inequalities already constrain the remaining variables without needing to consider .
-
Combining inequalities from and creates new inequalities in variables: . This step cleverly encodes the constraints on into constraints on the remaining variables. Essentially, these new inequalities say: “For these values of the other variables, there exists some value of that works.”
Why does combining inequalities eliminate a variable?
Think of it this way: The inequalities in give upper bounds on , while those in give lower bounds. For a solution to exist, there must be some value of that satisfies both a lower and an upper bound simultaneously. By saying that every lower bound must be less than or equal to every upper bound, we guarantee that such a value of exists without explicitly needing to refer to it anymore.
Because is defined by a finite set of linear inequalities in variables, it’s a polyhedron in . The algorithm produces a new system of inequalities, and this system defines a polyhedron in a lower-dimensional space.
Part 2:
We’ll prove this by showing two set inclusions: and . This is a standard way to show that two sets are equal: prove that each set contains the other.
(a) :
Intuition: If a point is in the projection, it must satisfy the new constraints
If a point (values for ) is in the projection of , that means there was some value of that made it a valid solution in the original higher-dimensional space. Therefore, that point must also satisfy the new constraints in , which were specifically designed to capture the essence of the eliminated variable.
If , then there exists an such that . This means satisfies all original inequalities. Consequently, for any and , we must have:
This is just restating that must lie between its lower and upper bounds. But this precisely implies that satisfies the inequalities defining (which were formed by combining these lower and upper bounds). Therefore, . If a point is in the projection, it must satisfy the inequalities in the new system .
(b) :
Intuition: If a point satisfies the new constraints, it must be in the projection
If a point satisfies the new constraints in , it means that for those values of the remaining variables, there was a feasible range for the eliminated variable . We can then pick any value within that feasible range to construct a solution that exists in the original higher-dimensional space, thus confirming that the point is indeed in the projection.
If , then satisfies all inequalities in . Define:
- (maximum lower bound on )
- (minimum upper bound on )
Since , the combined inequalities guarantee that . This is crucial: it means there’s a non-empty range for . Choose any . This is guaranteed to be possible due to the condition. This step effectively “reconstructs” a value for the eliminated variable.
Now, let’s verify that satisfies the original inequalities in :
- For , . Satisfied because we chose to be less than or equal to the minimum upper bound.
- For , . Satisfied because we chose to be greater than or equal to the maximum lower bound.
- For , the inequalities are satisfied since by assumption. These inequalities didn’t involve anyway.
Thus, satisfies all original inequalities, so , and therefore, . So, .If a point satisfies the inequalities in , it must be in the projection of .
Since and , we conclude that . The algorithm produces a new system of inequalities that exactly captures the projection of the original polyhedron. This completes the proof. This confirms that the elimination algorithm correctly computes the projection. We can now use this algorithm to reduce the dimensionality of our problem systematically.
Use These Projections Repeatedly
The real power of the projection theorem lies in its ability to be applied repeatedly. This allows us to systematically reduce the dimensionality of a problem until we reach a one-dimensional polyhedron, which we know how to solve by simply comparing its upper and lower bounds.
Lemma: Repeated Projections
Let , , and . For indices , consider the index sets (eliminating the last variables) and (eliminating the last variables, where ). Then:
Intuition: The Shadow of a Shadow
Think of projecting a 3D object onto a 2D plane, and then projecting that 2D shadow onto a 1D line. This is the same as directly projecting the 3D object onto the 1D line. The order of projections doesn’t matter when we are ultimately projecting onto a subset of the final variables. We’re essentially eliminating variables in stages.
Proof: The proof is straightforward. Projecting onto eliminates the last variables. Projecting the result onto eliminates a further variables. In total, we’ve eliminated the last variables, which is exactly what does directly.
The Elimination Process Algebraically
Let’s describe projection algebraically. This provides a more abstract but powerful way to understand the process.
Definition:
Given , , and , let be the submatrix of containing the first columns. Define:
- (the original polyhedron)
- (all possible linear combinations initially)
For , define:
- . This defines a set of non-negative vectors that are orthogonal to the last i columns of . These vectors will be used to form specific linear combinations of the inequalities.
Understanding
represents the set of valid “certificate” vectors after eliminating the last variables. The condition ensures that these certificate vectors effectively “cancel out” the eliminated variables when applied to the system of inequalities, allowing us to focus on the remaining variables.
- . This describes the projected polyhedron using linear combinations of the original inequalities, weighted by the vectors in .
Theorem: Algebraic Projection
, where . This theorem states that the algebraic description is equivalent to the geometric projection .
Proof:
-
Part 1: We need to show that if a point is in the geometric projection, it’s also in the algebraically defined set.
Let . This means there exists a such that the combined vector is in the original polyhedron , so it satisfies .
Now, consider any . By definition, is non-negative and orthogonal to the last columns of . Multiplying the inequality by (and remembering that cancels out the last columns), we get: .
Since this holds for all , we have .
-
Part 2: This is the more challenging direction, often proven by induction on . We need to show that if a point is in the algebraically defined set, it must also be in the geometric projection. The detailed proof of this part relies on techniques beyond the scope of this guided explanation, but the core idea is as follows:
-
Base Case (i=1): This corresponds to the Projection Theorem (Theorem 3) we already proved, which establishes the equivalence for eliminating a single variable.
-
Inductive Step: Assuming the theorem holds for eliminating variables (), we need to show it holds for eliminating variables. This typically involves applying the Fourier-Motzkin elimination procedure and using the inductive hypothesis to argue that a solution in implies the existence of a corresponding solution in the projection .
-
Since both inclusions hold, we have . The algebraic description captures the geometric projection process precisely.
Farkas Lemma: A Certificate of Infeasibility
Farkas’ Lemma is a cornerstone result that provides a definitive way to determine if a system of linear inequalities has a solution. It gives us a concrete “certificate” to prove that no solution exists.
Theorem: Farkas' Lemma
Let and . Then exactly one of the following two possibilities is true:
- Feasible System: There exists such that . (The system has a solution)
- Infeasible System (with Certificate): There exists such that , , and . (The system has no solution, and proves it) This is our certificate of infeasibility.
The Power of Farkas' Lemma
Farkas’ Lemma provides a powerful duality: either there’s a solution to the original system, or there’s a “certificate” (the vector ) that proves there isn’t. This either/or property is incredibly useful in optimization and constraint satisfaction problems. Finding such a certificate definitively proves that there is no solution to the system of inequalities.
Proof (Using Projections):
-
Applying the algebraic projection repeatedly until all variables are eliminated, we get . This represents projecting the original polyhedron down to a zero-dimensional space - essentially asking if there’s any feasible point left. is either empty or a single point.
-
Now, the first statement of Farkas’ Lemma ( has a solution) is equivalent to saying that the original polyhedron is non-empty.
-
The second statement of Farkas’ Lemma (the existence of the certificate ) is equivalent to saying that the final projection is empty—meaning there’s no solution. We proved earlier that a polyhedron is non-empty if and only if its projection is non-empty.
Therefore, if there’s no solution ( is empty), repeated projections will eventually lead to an empty set ( is empty), which guarantees the existence of a certificate satisfying the conditions in the second statement of the lemma.
Continue here: 22 Determinants, Permutations, Properties, Cofactors, Cramers Rule