Mathematics · lesson 5 of 5
Convexity and constrained optimization
Values on a line segment lie below the corresponding chord of function values.
Learn the ideas
Prerequisites: Gradients, inequalities and matrices.
Convex function
Values on a line segment lie below the corresponding chord of function values.
First-order criterion
For differentiable convex f, f(y)≥f(x)+∇f(x)·(y−x).
Global minima
A stationary point of a differentiable convex function is a global minimizer; strict convexity gives at most one.
Constraints
Lagrange multipliers and KKT conditions require their own regularity and feasibility checks.
Worked examples
Find the x-coordinate minimizing f(x,y)=x²+2y²−6x.
The x derivative is 2x−6; setting it to zero gives 3, and the Hessian is positive definite.
3
For a differentiable convex function, a zero gradient implies what?
The supporting-hyperplane inequality gives f(y)≥f(x).
A global minimum
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.