Find the least value of the function [tex]F(x,y)=x^{3}+y^{3}-3xy[/tex] on the set [tex]K[/tex] defined by the inequalities [tex]0\le x+y\le 2[/tex] and [tex]-2\le x-y\le 2[/tex].
Solution:
[tex]K[/tex] is the closed square with vertices [tex](-1, 1)[/tex], [tex](1, -1)[/tex], [tex](2, 0)[/tex], [tex](0, 2)[/tex]. It is compact and [tex]F[/tex] is continuous, so by Weierstrass' theorem the least value exists; it is attained either at a stationary point inside [tex]K[/tex] or on the boundary. Stationary points:
[tex]F_x=3x^{2}-3y=0,\quad F_y=3y^{2}-3x=0\ \Rightarrow\ y=x^{2},\ x^{4}=x\ \Rightarrow\ (0, 0),\ (1, 1)[/tex]
Both points lie on the boundary (on the sides [tex]x+y=0[/tex] and [tex]x+y=2[/tex], respectively), so there are no stationary points inside [tex]K[/tex], and we examine the four sides. On the side [tex]y=-x[/tex], [tex]-1\le x\le 1[/tex]:
[tex]F=3x^{2}\in[0, 3][/tex]
On the side [tex]y=2-x[/tex], [tex]0\le x\le 2[/tex]:
[tex]F=9x^{2}-18x+8=9(x-1)^{2}-1\in[-1, 8][/tex]
and the minimum [tex]-1[/tex] is attained at [tex]x=1[/tex], i.e. at the point [tex](1, 1)[/tex]. On the side [tex]y=x-2[/tex], [tex]1\le x\le 2[/tex]:
[tex]F=2x^{3}-9x^{2}+18x-8,\quad F'=6\left(x^{2}-3x+3\right)\gt 0[/tex]
(the discriminant of the quadratic is negative), so [tex]F[/tex] increases from [tex]3[/tex] to [tex]8[/tex]. On the side [tex]y=x+2[/tex], [tex]-1\le x\le 0[/tex]:
[tex]F=2x^{3}+3x^{2}+6x+8,\quad F'=6\left(x^{2}+x+1\right)\gt 0[/tex]
so again [tex]F[/tex] increases from [tex]3[/tex] to [tex]8[/tex]. Comparing all values on the boundary, the least value of [tex]F[/tex] on [tex]K[/tex] is
[tex]\min_{K}F=F(1,1)=-1[/tex]