Lecture 17 - Quadratic Forms (More Applications)

Last week we talked about isometries and positive operators. We finished up that section, so see previous lecture notes for information on that.

But recall the definition of quadratic forms:

Quadratic Forms

A quadratic form in n commuting variables is a homogeneous polynomial of degree 2 in terms of those variables.

Taylor Polynomials

Recall from Calc III that we have Taylor Polynomials, which is an approximation at a point of some function f:RR. For instance the degree 1 Taylor polynomial approximation is:

f(x)f(a)+f(a)(xa)

centered at x=a. For degree 2:

f(x)f(a)+f(a)(xa)+f(a)2(xa)2

Notice that if we have f(a)=0, then f(a)(xa)=0 so then the function approximation just looks flat. We can ask if we have a maximum/minimum there though. It all comes down to the rightmost f(a)2(xa)2 term:

This idea can extend to 3rd, 4th, ..., n-th derivates to make similar arguments.

Two or More Variable Taylor Polynomials

The Degree 1 approximation is:

f(x,y)f(a,b)+fx(a,b)(xa)+fy(a,b)(yb)

The Degree 2 (Quadratic) approximation is:

f(x,y)f(a,b)+fx(a,b)(xa)+fy(a,b)(yb)+12[fxx(a,b)(xa)2+2fxy(a,b)(xa)(yb)+fyy(a,b)(yb)2]This is a quadratic form!

And similar to the one variable case, if our tangent plane points straight up, namely if the fx(a,b)(xa)+fy(a,b)(yb) term is zero, we are at a critical point, notice the right braced term can be written as a matrix:

[xayb][fxx(a,b)fxy(a,b)fxy(a,b)fyy(a,b)]A[xayb]x

We can simplify:

f(x,y)f(a,b)+xTAx

Here A is just an operator (it really represents and operator).

As such, let Q(x)=xTAx. It's a quadratic form, but we want to look at the extreme values of Q(x). We don't really care about necessarily maximizing Q in terms of output value since we saw before that:

Q(αx)=α2Q(x)

so we could get any arbitrary large value from Q. However, we can ask, out of all vectors x that live on the unit circle, what vector x maximizes Q:

Note

Since we have an α2 here, then the alpha only can point and extend in only one direction. This will be dictated by x! If x makes a positive inner product, those are our maxes and for a negative inner product, it makes minimums!

An Aside

As an aside, we'll want to thus define our inner product x,yε. Where:

x,yε=x,(A+εI)y

we claim that ,ε is an inner product. Going through the list of:

  1. Positive-definiteness (mainly comes from it via ,)
  2. Conjugate linearity (not needed since we're working in R)
  3. Linearity (mainly uses linearity from ,)

Cauchy-Schwartz then says that:

|x,yε|x,(A+εI)xy,(A+εI)y

If we let ε0 then:

|x,yε|x,Axy,Ay

As a result, then:

  1. |x,Ay|2x,Axy,Ay
  2. If y,Ay=0 then Ay=0 (comes from (1))

Using these on Quadratic Forms

Going back, we can make a theorem using these:

Theorem

An extremal value of Q(x) on x=1:

  1. occurs at an eigenvector of A
  2. is an eigenvalue of A

Here we know that A is symmetric by our requirements.

Proof
Suppose m is the minimum value of Q(x) with x=1. Then Q(x)m for all x=1 by the definition of being a minimum. Thus:

Q(x)m0xTAxxTmx0(since x=1)xT(AmI)x0x,(AmI)x0(AmI)x=0by (2) priorx is an eigenvector w/ e-val m


Notice that since A is a positive operator, then we only will get all the eigenvalues as positive or negative, showing maximums or minimums. Notice for our 2nd degree case, we only have a 2x2 matrix, so we only have two eigenvalues:

Conclusion

  • If both λ's are positive, then A is positive-definite
  • If both λ's are negative, then A is negative-definite
  • If the λ's have different sign, then A is indefinite

The way to check this, we have to use the determinant. We'll give a quick definition just for this case:

determinant

The determinant of an operator TL(V) is the product of its eigenvalues (up to multiplicity).
As such, the determinant of M(T) is equal to the determinant of the operator T.

So looking at our matrix A for this problem:

A=[fxx(a,b)fxy(a,b)fxy(a,b)fyy(a,b)]

Then:

det(A)=fxxfyy(a,b)fxy2(a,b)=D

If D>0 then the λ's must have the same sign, since the determinant is the product of the eigenvalues (so you are at a local max or min).

If D<0 then they don't share the same sign. Then A is an indefinite matrix (we have a saddle point)

If D=0 then we have one λ=0, so it's flat in one direction (but possibly not for the other direction).

So if we have D>0, how do we know if we have a maximum or a minimum? We can just plug in any x on the unit circle and see if we have a sign change. As an easy example, if we plug in i^ then we get:

i^TAi^=fxx(a,b)

so if fxx>0 at this point then it's a minimum. If it's <0 it's a maximum. But this can be arbitrary! We can have it be j^ to give:

j^TAj^=fyy(a,b)