Example 1. For the independent variables , , under the constraints , find the maximum and minimum values of the function .
Problem 797
Official solution
Solve: First, determine the range of values for and . It is the closed region of a quadrilateral with vertices , , , , and (Figure 1).
Let , i.e., . From analytic geometry, it is known that when the parameter is fixed, represents
a line on the plane with a slope of
-2 and a y-intercept of . Therefore, the maximum and minimum intercepts of the moving line with a slope of -2 as it passes through region D are the maximum and minimum values of the function .
From the characteristics of the region, it is easy to see that the moving line with a slope of -2 has the maximum y-intercept when it passes through point , and the minimum y-intercept when it passes through point .