Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Optimization / Smooth optimization

Optimality Conditions

Where the gradient vanishes, and how the Hessian tells a minimum from a maximum or a saddle.

3 min read · 2 sections · 2 checks

Contents 3 sections
  1. §1Formulating a problem
  2. §2First and second order
  3. ?Check yourself

By the end you can

  • Formulate an optimization problem with objective and constraints
  • Find critical points with the first-order condition
  • Classify them with the second-order condition

§1Formulating a problem

An optimization problem names decision variables xx, an objective f(x)f(x) to minimize (maximizing ff is minimizing −f-f), and constraints that restrict which xx are allowed.

min⁡x∈Rnf(x)subject togi(x)≤0,  hj(x)=0\min_{x \in \mathbb{R}^n} f(x) \quad \text{subject to} \quad g_i(x) \le 0,\; h_j(x) = 0

§2First and second order

Example 1Classify the critical point of f(x,y)=x2+3y2−4xf(x,y) = x^2 + 3y^2 - 4x

  1. ∇f=(2x−4,  6y)=0\nabla f = (2x - 4,\; 6y) = \mathbf{0} gives (2,0)(2, 0).

Check yourself

  1. Q1
    At a critical point, the Hessian has eigenvalues 33 and −1-1. The point is…
  2. Q2
    Maximizing ff is equivalent to minimizing…