Solveeit Logo

Question

Question: How do you use the closed interval method to find the absolute maximum and minimum values of the fun...

How do you use the closed interval method to find the absolute maximum and minimum values of the function f(x)=x2sinxf\left( x \right)=x-2\sin x on the interval [π4,π2]\left[ -\dfrac{\pi }{4},\dfrac{\pi }{2} \right] ?

Explanation

Solution

For the given question where we need to find the maxima and minima firstly, we need to find the derivative of the function and equate it to zero and then we need to find the local minima and maxima and then compare all values and give the maxima and minima.

Complete step-by-step solution:
In the given question we need to find the absolute maximum and minimum values of the function f(x)=x2sinxf\left( x \right)=x-2\sin x. So, for this we first need to check whether the given function is continuous or not and we can clearly see that polynomial and trigonometric functions are continuous. Therefore, their difference is also continuous and hence the given function is continuous and we have the closed bounded interval, therefore the function will have the maxima and minima.
So, now we will firstly check the local minima and maxima of the function.
So, for that f(x)=12cosxf'\left( x \right)=1-2\cos x
Now,
f(x)012cosx0 2cosx1 cosx12 xπ3 \begin{aligned} & f'\left( x \right)\ge 0\Rightarrow 1-2\cos x\ge 0 \\\ & \Rightarrow 2\cos x\le 1 \\\ & \Rightarrow \cos x \le \dfrac{1}{2} \\\ & \Rightarrow x\ge \dfrac{\pi }{3} \\\ \end{aligned}
Therefore, we get that the function grows in π3xπ2\dfrac{\pi }{3}\le x\le \dfrac{\pi }{2} and declines in π4xπ3-\dfrac{\pi }{4}\le x\le \dfrac{\pi }{3} .
So, now we can see that f’(x) is zero only at one point of the domain which is π3\dfrac{\pi }{3} .
Therefore, we need to compare values at these three points now
π3\dfrac{\pi }{3},π4-\dfrac{\pi }{4},π2\dfrac{\pi }{2}.
f(π3)=0.684f\left( \dfrac{\pi }{3} \right)=-0.684
f(π4)=0.628f\left( -\dfrac{\pi }{4} \right)=0.628
f(π2)=0.43f\left( \dfrac{\pi }{2} \right)= -0.43
And now we clearly say that the function has global minima at f(π3)f\left( \dfrac{\pi }{3} \right) and maxima at f(π4)f\left( -\dfrac{\pi }{4} \right).

Note: In the given question, we need to remember that we need to be careful in order to find the roots as sometimes we find the second derivative and equate it to zero and then find the values and compare them to get the answers.