How is the Lagrange dual function g(λ,ν) defined for a constrained optimisation problem, why is g(λ,ν) always concave even when the primal problem is non-convex, and how do you prove weak duality (d∗≤p∗)?

Linear algebra and optimisation, Duality
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.

What's being asked

Whether you can define the dual function cleanly, explain its universal concavity, and give the two-line proof of weak duality.

Key idea

For each fixed x, the Lagrangian L(x,λ,ν) is an affine function of (λ,ν). Taking the pointwise infimum over x yields a concave function g(λ,ν) that always lower-bounds the primal optimal value p∗.

Steps

  1. Write the primal problem min⁡xf0(x) subject to fi(x)≤0 (i=1,…,m) and hj(x)=0 (j=1,…,p), with optimal value p∗. Define the Lagrangian L(x,λ,ν)=f0(x)+∑i=1mλifi(x)+∑j=1pνjhj(x), where λ∈Rm and ν∈Rp are the inequality and equality Lagrange multipliers.
  2. Define the Lagrange dual function: g(λ,ν)=inf⁡xL(x,λ,ν).
  3. Show g is always concave: for each fixed x, L(x,λ,ν) is linear (affine) in (λ,ν), and therefore concave in (λ,ν). The pointwise infimum of any family of concave functions is concave—regardless of whether f0,fi,hj are convex.
  4. Prove weak duality: let x~ be any primal-feasible point (fi(x~)≤0, hj(x~)=0) and let λ≥0 (entrywise). Then ∑iλifi(x~)≤0 and ∑jνjhj(x~)=0, so L(x~,λ,ν)≤f0(x~).
  5. Take the infimum over x on the left: g(λ,ν)=inf⁡xL(x,λ,ν)≤L(x~,λ,ν)≤f0(x~). Since this holds for every feasible x~ and every λ≥0, taking the infimum over x~ and supremum over λ≥0,ν gives d∗=sup⁡λ≥0,νg(λ,ν)≤p∗.

Common mistakes

How long your answer should be

Half a page; 4–5 minutes.

Last checked on 4 December 2026.

Read this

Previous in Linear algebra and optimisation: What is a subgradient of a convex function at a non-differentiable point, and what is the subdifferential of f(w)=∣w∣ at w=0? Why can the subgradient method increase the objective on some steps, and why must its step size decay instead of staying constant?
Next in Linear algebra and optimisation: How do step decay, 1/t decay and cosine annealing learning-rate schedules differ, and why do the Robbins–Monro conditions (∑t=1∞ηt=∞, ∑t=1∞ηt2<∞) require the step size to decay neither too fast nor too slow for SGD convergence?