Locate relative maxima, minima and saddle points of functions of two variables. Several examples with detailed solutions are presented. 3-Dimensional graphs of functions are shown to confirm the existence of these points. More on Optimization Problems with Functions of Two Variables in this web site.
Solution to Example 2:
Find the first partial derivatives \( f_x \) and \( f_y \).
\( f_x(x,y) = 4x - 4y \)
\( f_y(x,y) = - 4x + 4y^3 \)
Determine the critical points by solving the equations \( f_x(x,y) = 0 \) and \( f_y(x,y) = 0 \) simultaneously. Hence
\( 4x - 4y = 0 \)
\( - 4x + 4y^3 = 0 \)
The first equation gives \( x = y \). Substitute \( x \) by \( y \) in the equation \( - 4x + 4y^3 = 0 \) to obtain.
\( - 4y + 4y^3 = 0 \)
Factor and solve for \( y \).
\( 4y(-1 + y^2) = 0 \)
\( y = 0 \), \( y = 1 \) and \( y = -1 \)
We now use the equation \( x = y \) to find the critical points.
\( (0 , 0) \), \( (1 , 1) \) and \( (-1 , -1) \)
We now determine the second order partial derivatives.
\( f_{xx}(x,y) = 4 \)
\( f_{yy}(x,y) = 12y^2 \)
\( f_{xy}(x,y) = -4 \)
We now use a table to study the signs of \( D \) and \( f_{xx}(a,b) \) and use the above theorem to decide on whether a given critical point is a saddle point, relative maximum or minimum.
| critical point \( (a,b) \) | (0,0) | (1,1) | (-1,1) |
| \( f_{xx}(a,b) \) | 4 | 4 | 4 |
| \( f_{yy}(a,b) \) | 0 | 12 | 12 |
| \( f_{xy}(a,b) \) | -4 | -4 | -4 |
| D | -16 | 32 | 32 |
| saddle point | relative minimum | relative minimum |
Solution to Example 3:
First partial derivatives \( f_x \) and \( f_y \) are given by.
\( f_x(x,y) = - 4x^3 + 4y \)
\( f_y(x,y) = - 4y^3 + 4x \)
We now solve the equations
\( f_y(x,y) = 0 \) and
\( f_x(x,y) = 0 \) to find the critical points..
\( - 4x^3 + 4y = 0 \)
\( - 4y^3 + 4x = 0 \)
The first equation gives \( y = x^3 \). Combined with the second equation, we obtain.
\( - 4(x^3)^3 + 4x = 0 \)
Which may be written as.
\( x(x^4 - 1)(x^4 + 1) = 0 \)
Which has the solutions.
\( x = 0 \), \( -1 \) and \( 1 \).
We now use the equation \( y = x^3 \) to find the critical points.
\( (0 , 0) \), \( (1 , 1) \) and \( (-1 , -1) \)
We now determine the second order partial derivatives.
\( f_{xx}(x,y) = -12x^2 \)
\( f_{yy}(x,y) = -12y^2 \)
\( f_{xy}(x,y) = 4 \)
The table below shows the signs of \( D \) and \( f_{xx}(a,b) \). Then the above theorem is used to decide on what type of critical points it is.
| critical point \( (a,b) \) | (0,0) | (1,1) | (-1,1) |
| \( f_{xx}(a,b) \) | 0 | -12 | -12 |
| \( f_{yy}(a,b) \) | 0 | -12 | -12 |
| \( f_{xy}(a,b) \) | 4 | 4 | 4 |
| D | -16 | 128 | 128 |
| saddle point | relative maximum | relative maximum |