Sufficient & Necessary Conditions for Global Optima


Advertisements

Theorem

Let f be twice differentiable function. If ˉx is a local minima, then f(ˉx)=0 and the Hessian matrix H(ˉx) is a positive semidefinite.

Proof

Let dRn. Since f is twice differentiable at ˉx.

Therefore,

f(ˉx+λd)=f(ˉx)+λf(ˉx)Td+λ2dTH(ˉx)d+λ2dTH(ˉx)d+

λ2d2β(ˉx,λd)

But f(ˉx)=0 and β(ˉx,λd)0 as λ0

f(ˉx+λd)f(ˉx)=λ2dTH(ˉx)d

Since ˉx is a local minima, there exists a δ>0 such that f(x)f(ˉx+λd),λ(0,δ)

Theorem

Let f:SRn where SRn be twice differentiable over S. If f(x)=0 and H(ˉx) is positive semi-definite, for all xS, then ˉx is a global optimal solution.

Proof

Since H(ˉx) is positive semi-definite, f is convex function over S. Since f is differentiable and convex at ˉx

f(ˉx)T(xˉx)f(x)f(ˉx),xS

Since f(ˉx)=0,f(x)f(ˉx)

Hence, ˉx is a global optima.

Theorem

Suppose ˉxS is a local optimal solution to the problem f:SR where S is a non-empty subset of Rn and S is convex. minf(x) where xS.

Then:

  • ˉx is a global optimal solution.

  • If either ˉx is strictly local minima or f is strictly convex function, then ˉx is the unique global optimal solution and is also strong local minima.

Proof

Let ˉx be another global optimal solution to the problem such that xˉx and f(ˉx)=f(ˆx)

Since ˆx,ˉxS and S is convex, then ˆx+ˉx2S and f is strictly convex.

f(ˆx+ˉx2)<12f(ˉx)+12f(ˆx)=f(ˆx)

This is contradiction.

Hence, ˆx is a unique global optimal solution.

Corollary

Let f:SRnR be a differentiable convex function where ϕSRn is a convex set. Consider the problem minf(x),xS,then ˉx is an optimal solution if f(ˉx)T(xˉx)0,xS.

Proof

Let ˉx is an optimal solution, i.e, f(ˉx)f(x),xS

f(x)=f(ˉx)0

f(x)=f(ˉx)+f(ˉx)T(xˉx)+xˉxα(ˉx,xˉx)

where α(ˉx,xˉx)0 as xˉx

f(x)f(ˉx)=f(ˉx)T(xˉx)0

Corollary

Let f be a differentiable convex function at ˉx,then ˉx is global minimum iff f(ˉx)=0

Examples

  • f(x)=(x21)3,xR.

    f(x)=0x=1,0,1.

    2f(±1)=0,2f(0)=6>0.

    f(±1)=0,f(0)=1

    Hence, f(x)1=f(0)f(0)f(x)xR

  • f(x)=xlogx defined on S={xR,x>0}.

    fx=1+logx

    fx=1x>0

    Thus, this function is strictly convex.

  • f(x)=ex,xR is strictly convex.