Jump to content

Science:Math Exam Resources/Courses/MATH105/April 2013/Question 04 (b)/Solution 1

From UBC Wiki

From part a), the critical points are (x,y)=(0,0),(12,1) and the first partial derivatives are

∂f∂x=y(1−2x)e−2x−y=0∂f∂y=x(1−y)e−2x−y=0

The second partial derivatives are given by

∂2f∂x2=y(−2)e−2x−y+y(1−2x)(−2)e−2x−y=−2ye−2x−y(1+1−2x)=−4ye−2x−y(1−x)=4ye−2x−y(x−1)∂f∂x∂y=y(1−2x)e−2x−y=(1−2x)e−2x−y+y(1−2x)(−1)e−2x−y=(1−2x)e−2x−y(1+y)=(1−y−2x+2xy)e−2x−y∂2f∂y2=x(−1)e−2x−y+x(1−y)(−1)e−2x−y=xe−2x−y(−1−1+y)=xe−2x−y(y−2)

To classify the critical points, we need to compute the Hessian matrix, H, of the function f(x,y):

H(x,y)=[∂2f∂x2∂2f∂x∂y∂2f∂x∂y∂2f∂y2]=[4y(x−1)e−2x−y(1−y−2x+2xy)e−2x−y(1−y−2x+2xy)e−2x−yx(y−2)e−2x−y].

Evaluating H at the critical point (x,y)=(0,0) gives

H(0,0)=[0110].

The determinant of H at the point (0,0) is equal to (0⋅0)−(1⋅1)=−1, which is less than zero. Hence the point (0,0) is a saddle point.

Evaluating H at the critical point (x,y)=(1/2,1) gives

H(12,1)=[−2e−200−12e−2].

The determinant of H at the point (1/2,1) is equal to (−2e−2)⋅(−12e−2)−0⋅0=e−4 which is greater than zero and so (1/2,1) is not a saddle point of f and must be either a local max or min. Since ∂2f∂x2(12,1)=−2e−2 is less than zero, the point (1/2,1) is a local maximum of f.

Therefore, (x,y) = (0,0) is a saddle point and (x,y) = (1/2,1) is a local maximum.