Functions of Several Variables — Question 7

PDF ↗

Question 7

Without using derivatives, find the range and all global extrema of f(x,y)=7−2x2−2xy−y2+8x+6y.f(x,y)=7-2x^2-2xy-y^2+8x+6y. Hint: rewrite the quadratic as a sum of squares.

Original worksheet page 1: question and worked solution for 6-5-007
Show solutionHide solution

Question 7 – Solution

Strategy Complete squares in a way that respects the mixed term.

See the diagram in the original worksheet below.

Rewrite Since 2x2+2xy+y2=(x+y)2+x22x^2+2xy+y^2=(x+y)^2+x^2, f=7−(x+y)2−x2+8x+6y.f=7-(x+y)^2-x^2+8x+6y. Set u=x+yu=x+y. Then y=u−xy=u-x and f=7−u2−x2+2x+6u=17−(x−1)2−(u−3)2f=7-u^2-x^2+2x+6u=17-(x-1)^2-(u-3)^2.

Conclusion Therefore f(x,y)=17−(x−1)2−(x+y−3)2.\boxed{f(x,y)=17-(x-1)^2-(x+y-3)^2}. The global maximum is 1717 at x=1x=1, x+y=3x+y=3, hence (1,2)(1,2). There is no minimum, and the range is (−∞,17](-\infty,17].

Original worksheet page 2: question and worked solution for 6-5-007

Original worksheet layout. Use Enlarge or open the PDF for a closer view.