Solve subject to and using the KKT conditions. Which constraint is active at the optimum, and why does the unconstrained minimum fail?
Linear algebra and optimisation, Constrained optimisation
Level L3 Intermediate. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can set up KKT conditions with multiple inequality constraints, test active/inactive cases systematically, and verify all four KKT groups.
Key idea
Rewrite both inequalities as , form the Lagrangian with non-negative multipliers , and use complementary slackness () to test which constraints are active. Because the objective is strictly convex and constraints are linear, any KKT point is the unique global minimum.
Steps
- Put constraints in standard form: and . Write the Lagrangian .
- Write all four KKT conditions: (1) Stationarity: and ; (2) Primal feasibility: ; (3) Dual feasibility: ; (4) Complementary slackness: and .
- Test Case 1 (neither constraint active, ): stationarity gives the unconstrained minimum , which fails primal feasibility because .
- Test Case 2 ( active, inactive: , ): stationarity gives and . Plugging into gives .
- Check remaining conditions for Case 2: , . Since ( is strictly inactive) and , all KKT conditions hold. Both remaining cases fail dual feasibility: Case 3 (, active: ) gives (also violating ) and , and Case 4 (both active) gives with .
- Conclude: because the problem is strictly convex with affine constraints, is the unique global minimum with . Only is active.
Common mistakes
- Writing with instead of while still requiring . Always rewrite as first.
- Assuming both constraints must be active once the unconstrained minimum is infeasible. Always check single-active cases before forcing both constraints active.
How long your answer should be
Half to one page; 5–6 minutes.
Last checked on 4 December 2026.
Read this
Previous in Linear algebra and optimisation: What is strong duality, what does Slater's condition state, and how do you derive the Lagrange dual of subject to and verify that the duality gap is zero?
Next in Linear algebra and optimisation: Applying power iteration to starting from for three steps, what is the estimate of the dominant eigenvalue from the Rayleigh quotient, and how fast does the method converge?