Second-order necessaryxˉ local min ⇒∇2f(xˉ) is PSD.
Sufficient∇f(xˉ)=0 and ∇2f(xˉ) PD ⇒xˉ is a strict local min.
Convexity
For S convex, f is convex if
f(λx+(1−λ)y)≤λf(x)+(1−λ)f(y),∀x,y∈S,λ∈[0,1]
f is convex iff −f is concave, iff its epigraph is a convex set.
Support theorem For f differentiable on an open convex S,
f convex⟺f(x)≥tangent hyperplanef(xˉ)+∇f(xˉ)T(x−xˉ)∀x,xˉ∈S
and f is strictly convex iff the inequality is strict for x=xˉ. For f∈C2, f is convex iff ∇2f(x) is PSD for all x∈S, and ∇2f(x) PD for all x implies f strictly convex.
Global Optimality
For f convex and differentiable on an open convex S,
xˉ global min⟺xˉ local min⟺∇f(xˉ)=0
since with ∇f(xˉ)=0 the support theorem gives f(x)≥f(xˉ) for all x. If f is strictly convex, the global min (if it exists) is unique.
Newton's Method
We seek ∇f(x)=0 for f∈C2. Approximate f around xˉ with its second-order Taylor polynomial,
g(x)=f(xˉ)+∇f(xˉ)T(x−xˉ)+21(x−xˉ)T∇2f(xˉ)(x−xˉ)
so g,∇g,∇2g match f,∇f,∇2f at xˉ. The next iterate is the stationary point of g,
Descent directiond is a descent direction at xˉ if ∇f(xˉ)Td<0. If ∇f(xˉ)=0 and ∇2f(xˉ) is PD, the Newton direction is a descent direction, since the inverse of a PD matrix is PD,
∇f(xˉ)T(−[∇2f(xˉ)]−1∇f(xˉ))<0
Steepest Descent
For f continuously differentiable and x(0)∈Rn, iteratively solve the line search (greedy)