Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

3: Constrained Extrema of Quadratic Forms

( \newcommand{\kernel}{\mathrm{null}\,}\)

In this section it is convenient to write X=[x1x2xn].

An eigenvalue of a square matrix A=[aij]ni,j=1 is a number λ such that the system

AX=λX, or, equivalently, (AλI)X=0,

has a solution X0. Such a solution is called an eigenvector of A. You probably know from linear algebra that λ is an eigenvalue of A if and only if

det(AλI)=0.

Henceforth we assume that A is symmetric (aij=aji,1i,jn). In this case,

det(AλI)=(1)n(λλ1)(λλ2)(λλn),

where λ1,λ2,,λn are real numbers.

The function Q(X)=ni,j=1aijxixj is a quadratic form. To find its maximum or minimum subject to ni=1x2i=1, we form the Lagrangian

L=Q(X)λni=1x2i.

Then

Lxi=2nj=1aijxj2λxi=0,1in,

so

nj=1aijxj0=λxi0,1in.

Therefore, X0 is a constrained critical point of Q subject to ni=1x2i=1 if and only if  AX0=λX0 for some λ; that is, if and only if λ is an eigenvalue and X0 is an associated unit eigenvector of A. If AX0=X0 and nix2i0=1, then

Q(X0)=ni=1(nj=1aijxj0)xi0=ni=1(λxi0)xi0=λni=1x2i0=λ;

therefore, the largest and smallest eigenvalues of A are the maximum and minimum values of Q subject to ni=1x2i=1.

Example 3.1

[example:6]

Find the maximum and minimum values

Q(X)=x2+y2+2z22xy+4xz+4yz subject to the constraint x2+y2+z2=1.

Solution

The matrix of Q is

A=[112112222]

and

det(AλI)=|1λ1211λ2222λ|=(λ+2)(λ2)(λ4),

so

λ1=4,λ2=2,λ3=2

are the eigenvalues of A. Hence, λ1=4 and λ3=2 are the maximum and minimum values of Q subject to Equation ???.

To find the points (x1,y1,z1) where Q attains its constrained maximum, we first find an eigenvector of A corresponding to λ1=4. To do this, we find a nontrivial solution of the system

(A4I)[x1y1z1]=[312132222][x1y1z1]=[000].

All such solutions are multiples of [112]. Normalizing this to satisfy Equation ??? yields

X1=16[x1y1z1]=±[111].

To find the points (x3,y3,z3) where Q attains its constrained minimum, we first find an eigenvector of A corresponding to λ3=2. To do this, we find a nontrivial solution of the system

(A+2I)[x3y3z3]=[312132224][x3y3z3]=[000].

All such solutions are multiples of [111]. Normalizing this to satisfy Equation ??? yields

X3=[x2y2z2]=±13[111].

As for the eigenvalue λ2=2, we leave it you to verify that the only unit vectors that satisfy AX2=2X2 are

X2=±12[111].

For more on this subject, see Theorem [theorem:4].


This page titled 3: Constrained Extrema of Quadratic Forms is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by William F. Trench.

Support Center

How can we help?