example of tests for local extrema in Lagrange multiplier method


Let n∈ℕ+ and c∈ℝ. We want to find the local extrema of the function

f:ℝn→ℝ,x↦∑1≤i<j≤nxi⁢xj

subject to the condition g=0, where

g:ℝn→ℝ,x↦∑1≤i≤nxi-c.

The first and second orderPlanetmathPlanetmath partial derivativesMathworldPlanetmath are for all i,j∈{1,…,n}

∂i⁡f⁢(x)=∑k≠ixk,∂i⁡g⁢(x)=1,
∂i⁡∂j⁡f⁢(x)=1-δi,j,∂i⁡∂j⁡g⁢(x)=0,

where δi,j is the Kroenecker-delta. Thus the necessary condition f′⁢(x)=λ⁢g′⁢(x) together with g⁢(x)=0 gives the system of equations

∑j≠ixj=λ,i∈{1,…,n},
∑1≤j≤nxj=c.

By summing the first n equations and then substituting in the last we get

(n-1)⁢c=n⁢λ,
xi=∑1≤j≤nxj-∑j≠ixj=c-λ=cn,i∈{1,…,n}.

Thus there is only one point, where local extremum is possible. We apply the test in the parent entry to the matrix

D2⁢(f-λ⁢g)⁢(x)=[1-δi,j]i,j=1n=n⁢P-I,

where P is the matrix containing 1/n in all entries, and I is the identity matrixMathworldPlanetmath. P is a rank one projection. Therefore the second derivative has spectrum σ⁢(n⁢P-I)={n-1,-1}, where -1 has multiplicity n-1, and n-1 has multiplicity 1. Thus the second derivative of f-λ⁢g is indefinit, so it has no local extrema. However the nullspaceMathworldPlanetmath of g′⁢(x) is precisely the nullspace of P, thus the second derivative is strictly negative on the tangent space Tx⁢(M), so the vector (c/n,…,c/n) is a local maximum of f subject to g=0.

Title example of tests for local extrema in Lagrange multiplier method
Canonical name ExampleOfTestsForLocalExtremaInLagrangeMultiplierMethod
Date of creation 2013-03-22 19:12:19
Last modified on 2013-03-22 19:12:19
Owner scineram (4030)
Last modified by scineram (4030)
Numerical id 9
Author scineram (4030)
Entry type Example
Classification msc 26B12
Classification msc 49K35
Classification msc 49-00