Let and be convex differentiable functions on . Let and note that by convexity of the functions , the set is actually a convex set. We are interested in the infimum of the convex function on the convex set . Define the Lagrange function where . We first show the weak duality relation. Start with this simple remark: for all , Taking the supremum wrt on both sides yields: And taking now the infimum wrt on both sides, we finally get the weak duality relation: Note that in the lhs (left-hand side), the infimum is wrt and therefore, there is no constraint, which is nice… The rhs (right-hand side) is called the primal problem and the lhs the dual problem. Note, since is convex, that the dual problem is equivalent to
To obtain the equality in \eqref{eq:weak} (which is named the strong duality relation), we actually need some additional assumptions (for example the existence of a Slater point). But before that, let us check a very useful relation…
Lemma Assume that there exist such that and for all , we have either or . Then, the strong duality holds and
Definition We say that is a saddle point of the Lagrange function if for every ,
Saddle point Lemma If is a saddle point for then the strong duality holds, and the KKT conditions holds for .
We now assume the existence of Slater points: there exists such that for all , .
The convex Farkas lemma Assume that there exists a Slater point. Then, iff there exists such that for all , .
The Farkas lemma will imply the strong duality under the existence of a Slater point.
The necessary condition Assume that for some and that there exists a Slater point. Then there exist such that is a saddle point and by the Saddle point lemma, the strong duality holds.