Global Extrema of Functions
Solved Problems
Example 1.
Find the global maximum and minimum of the function in the given interval: \[f\left( x \right) = {x^2} - 2x + 5,\] where \(x \in \left[ { - 1,4} \right].\)
Solution.
The function is defined and differentiable for all \(x \in \mathbb{R}.\) Determine its stationary points:
This local extremum point belongs to the interval \(\left( { - 1,4} \right).\) We compute the values of the function at \(x = 1\) and at the endpoints of the interval:
Consequently, the maximum value of the function is equal \(f\left( 4 \right) = 13,\) and the minimum value is \(f\left( 1 \right) = 4.\)
Example 2.
Calculate the difference \(d\) between the global maximum and global minimum values of \[f\left( x \right) = {x^2} - 4x + 6\] in the interval \(\left[ { - 2,4} \right].\)
Solution.
Find the derivative:
Solve the equation \(f^\prime\left( c \right) = 0\) to determine the critical points:
We must evaluate \(f\left( x \right)\) at the critical point \(x = 2\) and at the endpoints \(x = -2,\) \(x = 4:\)
Thus, the global maximum value is 18 and the global minimum value is 2, so the difference \(d\) is equal to
Example 3.
Find the global extrema of the function \[f\left( x \right) = {x^3} - 6{x^2} - 15x + 100\] in the interval \(\left[ { - 3,6} \right].\)
Solution.
Write the derivative of the function:
Determine the critical points by solving the equation \(f^\prime\left( c \right) = 0:\)
Now we evaluate the function at these points and at the endpoints of the interval:
We see that \(\left( {5,0} \right)\) is the global minimum point and \(\left( {-1,108} \right)\) is the global maximum point.
Example 4.
Find the global maximum and minimum of the function on the given interval: \[f\left( x \right) = x + \frac{2}{x},\] where \(x \in \left[ {0.5,2} \right].\)
Solution.
This function is not defined at \(x = 0,\) but this point is not included in the given interval. Differentiating, we find the points of local extremum:
As you can see, only the point \(x = \sqrt 2\) falls in the interval \(\left[ {0.5,2} \right].\) Calculate the values of the function at the extremum point \(x = \sqrt 2\) and at the boundary points of the interval:
So the maximum value of the function in this interval is equal to \(4.5\) at the point \(x = 0.5,\) and the minimum value is \(2.83\) at \(x = \sqrt 2.\)
Example 5.
Find the global maximum and global minimum of the function \[f\left( x \right) = {x^2} - \frac{{16}}{x}\] in the interval \(\left[ { - 4, - 1} \right].\)
Solution.
Note that the domain of \(f\left( x \right)\) does not contain \(x = 0,\) and this point is not in the interval \(\left[ { - 4, - 1} \right].\)
Compute the derivative:
Solve the equation \(f^\prime\left( c \right) = 0\) to determine the critical points:
Calculate the function values at the critical point and at the boundaries of the interval:
Thus, the global (absolute) minimum occurs at \(\left( { - 2,12} \right),\) and the global maximum is attained at \(\left( { - 4,20} \right).\)
Example 6.
Find the global extrema of the function \[f\left( x \right) = 3{x^4} - 6{x^2} + 2\] in the interval \(\left[ { - 2,2} \right].\)
Solution.
This function is defined and differentiable on the whole real axis. In this case, all local extrema can be found from the equation \(f'\left( x \right) = 0:\)
As it can be seen, the function has three local extrema and all these points fall in the given interval \(\left[ { - 2,2} \right].\) Calculate the values of the function at the points of extremum and at the endpoints of the interval:
Since the function is even, we can write:
Thus, the function has the minimum value \(-1\) at two points: at \(x = -1\) and \(x = 1.\) The maximum value \(26\) is also attained at two points: at \(x = -2\) and \(x = 2.\) A schematic graph of the function is given in Figure \(8.\)
Example 7.
Find the global and global minimum of the function \[f\left( x \right) = {x^4} - 8{x^2} + 3\] within the interval \(\left[ { - 1,2} \right].\)
Solution.
The function \(f\left( x \right)\) is differentiable everywhere. Its derivative is given by
So, the function has the following critical points
Evaluate the function value at the critical points and at the endpoints of the interval \(\left[ { {- 1},{2}} \right]:\)
The maximum value is \(3\) at \(x = 0,\) and the minimum value is \(-13\) at \(x = 2.\)
Example 8.
Find the global extrema of the function \[f\left( x \right) = {x^4} - 2{x^2} - 1\] on \(\left[ {0, + \infty } \right).\)
Solution.
Take the derivative:
Determine the critical points:
Only \(c = 0\) and \(c = 1\) belong to the given interval. The function has no other critical points, so we must calculate the following function values:
The last point \(\left( {1, - 2} \right)\) is a global minimum. The function has no global maximum since \(\lim\limits_{x \to \infty } f\left( x \right) = + \infty .\)
Example 9.
Find the global maximum and minimum of the function in the given interval: \[f\left( x \right) = x\left| {x - 2} \right|,\] where \(x \in \left[ {0,3} \right].\)
Solution.
By expanding the absolute value, we can re-write the function in the form:
As it can be seen, the function consists of two quadratic functions \({f_1}\left( x \right) = - {x^2} + 2x\) and \({f_2}\left( x \right) = {x^2} - 2x.\) The function has a kink at the point \(x = 2,\) where the two branches are connected (Figure \(11\)), i.e. the derivative does not exist at this point.
Determine the other critical points of both branches of the function:
Here the root \(x = 1\) makes sense only for the first branch of solutions, which exists for \(x \lt 2.\) Next, we calculate the values of the function at the critical points \(x = 1,\) \(x = 2\) and at the endpoints of the interval at \(x = 0\) and \(x = 3:\)
This shows that the function has the minimum value \(y = 0\) at two points: at \(x = 0\) and \(x = 2.\) The maximum value is respectively \(f\left( 3 \right) = 3.\)
Example 10.
Find the global maximum and minimum of the function \[f\left( x \right) = \sqrt {3 - 2x}\] in the interval \(\left[ { - 3,1} \right).\)
Solution.
The function is defined under the condition
The interval specified in the problem falls into the domain of the function. The function is differentiable on this interval. Therefore its extrema (if they exist) can be determined from the equation \(f'\left( x \right) = 0.\) Find the derivative:
It follows that the equation \(f'\left( x \right) = 0\) has no solutions, i.e. the function has no local extrema. Since the derivative is negative, the function \(f\left( x \right)\) is monotonically decreasing on the interval \(\left[ { - 3,1} \right].\) Calculating the value of the function at the boundary points:
we find that the maximum value is equal to \(3\) at \(x = -3\) and the minimum value is \(1\) at \(x = 1.\)