Using Lagrange multipliers, find the point on the line that minimises , and what is the minimum value?
Linear algebra and optimisation, Constrained optimisation
Level L2 Elementary. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can form the Lagrangian for an equality constraint, solve the stationarity equations, and verify the solution.
Key idea
Form , set all partial derivatives with respect to , and the Lagrange multiplier to zero, and solve the resulting linear system.
Steps
- Write the Lagrangian , where is unrestricted in sign because the constraint is an equality.
- Set the stationarity derivatives to zero: , and .
- Substitute and into the constraint : .
- Recover and compute the minimum value . Geometrically, is the orthogonal projection of the origin onto the line , and its squared distance is .
Common mistakes
- Restricting for an equality constraint. Unlike inequality multipliers, an equality multiplier can be positive, negative or zero.
- Forgetting to check that the stationary point is a minimum rather than a maximum; here is strictly convex on the affine line, so the unique stationary point is the global minimum.
How long your answer should be
Half a page; 3 minutes.
Last checked on 4 December 2026.
Read this
Previous in Linear algebra and optimisation: For what values of the constant is convex, for what values is it strictly convex, and what is its minimum when ?
Next in Linear algebra and optimisation: How does projected gradient descent handle a closed convex constraint set , what is the Euclidean projection onto (a) a box and (b) the non-negative orthant , and what does one step from with give for ?