Global Extrema of Functions
Solved Problems
Example 11.
Find the global extrema of \[f\left( x \right) = \sqrt {5 - 4x} \] in the interval \(\left[ { - 1,1} \right].\)
Solution.
First we determine the domain of the function:
so the given function is defined on the interval \(\left( { - \infty ,\frac{5}{4}} \right].\)
Find the derivative:
We see that the first derivative is nowhere zero. It is undefined at \(x = \frac{5}{4},\) but this point does not belong to the interval \(\left[ { - 1,1} \right].\) Therefore, we must calculate the function value only at the endpoints of the interval:
We get the following answer:
Example 12.
Find the global maximum and global minimum of \[f\left( x \right) = {2^x}\] in the interval \(\left[ { - 1,3} \right].\)
Solution.
Take the derivative:
The derivative of the function exists at all \(x,\) but is never equal to 0. Therefore, the function has no critical points.
Hence, we must test the function values only at the endpoints:
Thus, the global maximum is \(8\) at \(x = 3,\) and global minimum is \(\frac{1}{2}\) at \(x = -1.\)
Example 13.
Find the global extrema of the function \[f\left( x \right) = \sqrt[3]{{{{\left( {x - 2} \right)}^2}}}\] in \(\left[ {1,4} \right].\)
Solution.
The function is defined over all \(x.\) Find the critical points:
We see that the first derivative is nowhere zero, but it does not exist at \(x = 2.\) Hence, this point is critical.
Clearly, we must evaluate the function at \(x = 1,2,4.\)
Thus, the global maximum is \(\sqrt[3]{4}\) at \(x = 4,\) and the global minimum is \(0\) at \(x = 2.\)
Example 14.
Find the global maximum and global minimum of \[f\left( x \right) = \frac{{{x^2}}}{{{2^x}}}\] in the interval \(\left[ { - 1,3} \right].\)
Solution.
We see that the function is defined and differentiable for all \(x \in \mathbb{R}.\) Therefore, all critical points can be found from the condition \(f'\left( x \right) = 0:\)
Found \(2\) points of local extremum: \({x_1} = 0\) and \({x_2} = \frac{2}{{\ln 2}}.\)
Now we can calculate the values of the function at these points and at the endpoints of the interval and determine the maximum and minimum values of the function on the given interval:
Consequently, the maximum value of the function is equal to \(2\) when \(x = -1,\) the minimum value is equal to \(0\) at \(x = 0.\)
Example 15.
Find the global extrema of the function \[f\left( x \right) = {e^{ - {x^2}}}.\]
Solution.
Here, the function is not restricted by any interval, so we will consider its change over the domain \(\left( { - \infty ,\infty } \right).\)
Compute the derivative:
Solve the equation \(f^\prime\left( c \right) = 0:\)
The point \(c = 0\) is critical. The function has no other critical points as the derivative exists everywhere.
The derivative changes sign from positive to negative when passing through the point \(c = 0.\) Therefore, this is a global maximum point. The \(y-\)coordinate at \(x = 0\) is
The function has no global minimum.
Answer:
Example 16.
Find the global extrema of \[f\left( x \right) = {x^2}{e^{ - x}}\] in the interval \(\left[ { - 1,1} \right].\)
Solution.
Take the derivative:
Determine the critical points:
The second critical point \({c_2} = 2\) lies outside the interval \(\left[ { - 1,1} \right],\) so we calculate the function values at \({c_1} = 0\) and at the endpoints \(-1\) and \(1:\)
As you can see, the global maximum is equal to \(e\) at \(x = -1,\) and the global minimum is \(0\) at \(x = 0.\)
Example 17.
Find the global maximum and global minimum of \[f\left( x \right) = \sqrt[x]{x}\] in the interval \(\left[ {2,3} \right].\)
Solution.
This function is defined and differentiable for \(x \gt 0.\) Its derivative can be found using logarithmic differentiation:
Equating the derivative to zero, we find the critical (stationary) points of the function:
Now we compute the value of the function at the critical point \(x = e\) (that falls in the given interval) and at the endpoints of the interval: at \(x = 2\) and \(x = 3:\)
Thus, the minimum value of the function is \(f\left( 2 \right) \approx 1,414,\) and the maximum values respectively is \(f\left( e \right) \approx 1,445.\)
Example 18.
Find the global maximum and global minimum of the function \[f\left( x \right) = \sin x - x\] in the interval \(\left[ { - \pi ,\pi } \right].\)
Solution.
Note that the function is defined and differentiable over all \(x.\) Take the derivative:
Solving the equation \(f^\prime\left( c \right) = 0,\) we get the critical points:
Hence, the function has one critical point in the interval \(\left[ { - \pi ,\pi } \right].\)
Compute \(f\left( x \right)\) at the critical point and at the endpoints of the given interval:
Comparing the data we find that the global maximum is attained at \(x = -\pi\) and equal to \(\pi.\) Respectively, the global minimum occurs at \(x = \pi\) and equal to \(-\pi.\)
Example 19.
Find the global maximum and minimum of the function in the given interval: \[f\left( x \right) = {\cos ^2}x - 2\sin x,\] where \(x \in \left[ {0,2\pi } \right].\)
Solution.
The derivative of the function is given by
Find the critical points by setting \(f'\left( x \right) = 0:\)
The following critical points fall in the interval \(\left[ {0,2\pi } \right]:\)
Now it is sufficient to calculate the values of the function at these points and at the endpoints of the interval to determine the global maximum and minimum:
The function has a period of \(2\pi.\) Therefore, \(f\left( {2\pi } \right) = f\left( 0 \right) = 1.\)
So, the maximum value of the function on the interval \(\left[ {0,2\pi } \right]\) is equal to \(2\) at \(x = {\frac{{3\pi }}{2}},\) and the minimum value is equal to \(-2\) at \(x = {\frac{{\pi }}{2}}.\)
Example 20.
Find the global maximum and minimum of the function in the given interval: \[f\left( x \right) = \arctan \frac{{1 - x}}{{1 + x}},\] where \(x \in \left[ {0,1} \right].\)
Solution.
Obviously, the function is defined everywhere on the real axis except the point \(x = -1,\) which does not fall into the given interval. Find the derivative:
As it can be seen, the derivative is nowhere zero. Therefore the function contains no other critical points besides \(x = -1.\) Hence, the function is monotonically decreasing (given that the derivative is negative everywhere in the domain). In this case, the maximum and minimum values of the function are attained at the endpoints of the interval:
The minimum value is equal to \(f\left( 1 \right) = 0,\) the maximum value is \(f\left( 0 \right) = {\frac{\pi }{4}}.\)
Example 21.
Find the global maximum and minimum of the function in the given interval: \[f\left( x \right) = \left| {\sin x - \frac{{\sqrt 3 }}{2}} \right|,\] where \(x \in \left[ {0,\pi } \right].\)
Solution.
As the function \(f\left( x \right)\) is everywhere non-negative, the minimum value is \(0\) and it is attained in the interval \(\left[ {0,\pi } \right]\) at the following critical points:
To determine the maximum value, we calculate the derivative of the function:
The critical points \(x = {\frac{\pi }{3}},\) \(x = {\frac{2\pi }{3}},\) that satisfy the equation \({\sin x = {\frac{{\sqrt 3 }}{2}}},\) have already been found above. Therefore, we consider only the solution
Thus, the global maximum is attained either at the point \(x = {\frac{\pi }{2}},\) or at the endpoints of the interval, i.e. at \(x = 0\) or \(x = \pi.\) Calculations lead to the following results:
Hence, the maximum value is \({\frac{{\sqrt 3 }}{2}} \approx 1,732\) and it is attained at two points: \(x = 0,\) \(x = \pi.\)