Multivariable Optimization
You can reduce Q by moving both controls, but a constraint may prevent that motion. This chapter separates unconstrained and constrained critical points and checks local versus global conclusions.
- Constrained optimization: Finding extrema while restricting the input to a feasible set.
Test a free critical point
At an interior local extremum of a differentiable scalar function, . For , the system , gives the origin. Its Hessian has positive eigenvalues and , so the origin is a strict local minimum. Because , it is also the unique global minimum.
For a function at a stationary point, a positive-definite Hessian gives a strict local minimum, a negative-definite Hessian a strict local maximum, and an indefinite Hessian a saddle. A semidefinite Hessian is inconclusive without more information.
Restrict the allowed directions
Now impose . Along this line write :
The constrained minimum is at , where the full gradient is not zero.
A Lagrange multiplier expresses the necessary condition at a regular constrained extremum, provided are and . The gradient of must annihilate tangent directions to the constraint. Here gives the same point and .
Check sufficiency and the domain
Multiplier equations give candidates, not automatic extrema. For second-order constrained tests, use the Hessian of restricted to tangent directions and the appropriate regularity hypotheses. With several constraints, their gradients must be independent.
On a compact feasible set, continuity ensures global extrema; inspect boundary and singular points too. On a noncompact constraint, a local test alone does not establish a global optimum. Our explicit completed square supplies the global conclusion for this line.
Basic practice
Prepare
Reuse Q and its Hessian. Compare the whole plane with the line x + y = 1.
Record assumed inputs, predictions, and exact calculations separately. If you use software, label rounded outputs; no physical measurement is implied.
Predict
Can a constrained minimum have a nonzero full gradient?
Execute
- Solve the free stationary equations and classify the origin.
- Minimize Q on x + y = 1 by substitution.
- Solve the Lagrange equations and compare the candidate, value, and multiplier.
Observe and record
| Case or quantity | Prediction | Exact result or argument | Error or software check |
|---|---|---|---|
| Unconstrained minimum | |||
| Line-constrained minimum | |||
| Multiplier and tangent check |
Check after working: The free minimum is 0 at the origin; the constrained minimum is 3/4 at (1/2, 1/2), with λ = 3/2. The constrained gradient is nonzero but perpendicular to the allowed line.
Optional extension
Find the minimum and maximum of Q on the unit circle using the eigen-directions of its Hessian.
Keep and continue
Keep the tangent-direction interpretation. Next, solve the nonlinear system F = 0 by Jacobian corrections.
Previous: The Hessian and Taylor Expansion