In this mathematics, engineering, and calculus tutorial, we explain how to calculate the minimum and maximum values of functions of two variables. This tutorial is important for a number of real-life engineering and physics problems. The YouTube tutorial accompanying this tutorial is given below. First, we briefly summarize theoretical results, and then, we give several examples at the end of this tutorial.
Theoretical Background
We consider a real-valued function
(1)
We want to determine (local) minimal and maximal values of such functions.
We assume that the function
(2)
First, we state the following theorem
THEOREM 1 (CRITICAL POINTS AND EXTREME VALUES): If the function
(3)
That is, if the function has a minimum or maximum at the point
The point
(4)
Here it should be kept in mind that not all critical points produce minimum or maximum. One example is a saddle point. We will explain this later on when we do several examples. The next theorem gives us conditions for (local) minimum or maximum.
THEOREM 2(SECOND ORDER TEST): Let us suppose that the point
(5)
where
(6)
where we used the fact that
- If
and , then the function has a local minimum at the critical point . - If
and , then the function has a local maximum at the critical point . - If
, then the function does not have a local minimum at the critical point and the function does not have a local maximum at the critical point . The point is then called the saddle point of the function .
Here, it is very important to emphasize that if