Farkas' Lemma and Theorems of the Alternative

Farkas' Lemma states that exactly one of two complementary systems is feasible, giving a short certificate of infeasibility for linear systems. This lesson introduces the equality and inequality forms and how to verify Farkas certificates.

Step 1 of 157%

Tutorial

Introduction

A theorem of the alternative is a statement of the form: "Exactly one of these two systems is feasible." The most famous such theorem in linear programming is Farkas' Lemma.

Farkas' Lemma. Let ARm×nA \in \mathbb{R}^{m \times n} and bRm.b \in \mathbb{R}^m. Then exactly one of the following systems has a solution:

(I)Ax=b,x0\textbf{(I)} \quad Ax = b, \quad x \geq 0 (II)ATy0,bTy>0\textbf{(II)} \quad A^T y \leq 0, \quad b^T y > 0

The two systems cannot both be feasible. If x0x \geq 0 solves (I) and yy satisfies the constraints of (II), then

bTy=(Ax)Ty=xT(ATy)0,b^T y = (Ax)^T y = x^T (A^T y) \leq 0,

since x0x \geq 0 and ATy0A^T y \leq 0 -- contradicting bTy>0.b^T y > 0.

The deeper content is that at least one of (I) or (II) is always feasible. This follows from the Strong Duality Theorem applied to an auxiliary LP.

A vector yy satisfying both constraints of (II) is called a Farkas certificate: it is a short, easily verifiable proof that (I) has no solution.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle