MATH 251 Lecture 18

From Notes
Jump to navigation Jump to search

« previous | Wednesday, February 29, 2012 | next »


Quadratic Forms

Q(x,y)=ax2+2bxy+cy2

For the second derivative test, we replace f(x,y) with its second order Taylor polynomial:

f(x0+Δx,y0+Δy)f(x0,y0)+12(fxx(x0,y0)(Δx)2+2fxy(x0,y0)ΔxΔy+fyy(x0,y0)(Δy)2)


Classification

Examine the values of Q(x,y) for f(x,y) on the unit circle x2+y2=1. Find two relative extrema λ1 and λ2

if all positive
a paraboloid whose vertex represents a minimum
if all negative
a paraboloid whose vertex represents a maximum
if mixed
a saddle surface
if some value on degenerate
a parabolic cylinder representing a line of minimum or maximum values

Lagrange Multipliers

Useful for finding extrema along a curve or surface domain (just the problem we were discussing earlier).

Find relative extrema of f(x,y) for (x,y) constrained by g(x,y)=C.

g(x,y)=C represents a level curve of the function g

The general idea is to follow the curve g(x,y)=C along the direction of f to find the maximum value. At all extrema points, f and g will be parallel. Since they are parallel, one will be a scalar multiple of the other.

We're left with the following 3 equations with unknown values x, y, and λ.

{fx=λgxfy=λgyg(x,y)=C


Example

Going back to our previous line of thought, find the extrema of 2xy=f(x,y)=Q(x,y) on g(x,y)=x2+y2=1:

Q=2y,2xg=2x,2y

Thus our three equations are {2y=λ2x2x=λ2yx2+y2=1

Solving these equations gives λ=±1 OR x=0.

  • If x=0, then y=0, and (0,0) is not on our unit circle. We need a nonzero solution.
  • If λ=1, then x=y, and the points are (22,22), (22,22)
  • If λ=1, then x=y, and the points are (22,22), (22,22)

Plugging all solutions for a respective λ into Q(x,y) gives the same λ value... Coincidence? I think not!

For Quadratic forms, the Lagrange multipliers λ are actually equal to the relative extrema. The values for λ are called eigenvalues, and the characteristic polynomial we solved for λ was λ21=0

In this case, Q is mixed

Matrix Form

For Q(x,y)=ax2+2bxy+cy2,

Q(x,y)=[A(xy)](xy), where A=(abbc)


Q=2ax+2by,2bx+2cy.

The Lagrange multiplier method states that Q=λg

2ax+2by=λ2x2bx+2cy=λ2y

This can be simplified down to A(xy)=λ(xy)

For our previous problem Q=2xy, A=(0110), which produces the same two equations for lambda with our constraint curve. <math>\begin{cases} y = \lambda x \\ x = \lambda y \\ x^2+y^2 = 1 \end{cases}