§ Farkas Lemma
§ Statement
- Either Ax=b, x≥0 has a solution, or
- There exists y such that ATy≥0, and yTb<0. (separating hyperplane).
§ Why both cannot occur at the same time
- See that yTAx=yTb, so if yTA≥0, and there is a solution vector x≥0 such that Ax=b, then yTb=yT(Ax)=(yTA)x≥0.
- This contradicts yTb<0.
§ Geometric Proof
§ Geometric Lemma
- Let K be a closed covex nonempty set in Rn.
- Let b∈Rn, b∈K.
- Define a projection pb of b onto K as the point x∈K such that ∣∣b−x∣∣ is minimized.
- Then, for all z∈K, (b−pb)T(z−pb)≤0.
- That is, for any point outside the convex set, the vector pointing to the point outside makes a non-acute angle with any vector pointing from the projection to a point in the convex set.
§ Proof of Farkas Lemma
- Assume Ax=b, x≥0 has no solution.
- Let K={Ax:x≥0} be the "positive cone" generated by the columns of A.
- These are, intuitively, all linear combinations of the hyperplanes that define the polytope.
- Note that bink (since Ax=b, x≥0 has no solution).
- Let pb be the projection of b onto K. This has a vector w such that p=Aw, for some w≥0.
- Now, we know by the geometric lemma that (b−pb)T(z−pb)≤0 for all z∈K.
- We can rewrite this as (b−Aw)T(Ax−Aw)≤0 for all x≥0. (substitute z=Ax, x≥0).
- TODO
§ Farkas as Interpolant