Find the absolute maximum and minimum values of the function $f$ given by $f(x) = \cos^{2} x + \sin x$,where $x \in [0, \pi]$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
Given $f(x) = \cos^{2} x + \sin x$.
First,we find the derivative $f'(x) = 2 \cos x(-\sin x) + \cos x = -2 \sin x \cos x + \cos x$.
Setting $f'(x) = 0$,we get $\cos x(1 - 2 \sin x) = 0$.
This implies $\cos x = 0$ or $\sin x = \frac{1}{2}$.
For $x \in [0, \pi]$,the critical points are $x = \frac{\pi}{6}$ and $x = \frac{\pi}{2}$.
Now,we evaluate $f(x)$ at the critical points and the endpoints $x = 0$ and $x = \pi$:
$f(0) = \cos^{2} 0 + \sin 0 = 1 + 0 = 1$.
$f(\pi) = \cos^{2} \pi + \sin \pi = (-1)^{2} + 0 = 1$.
$f(\frac{\pi}{6}) = \cos^{2} \frac{\pi}{6} + \sin \frac{\pi}{6} = (\frac{\sqrt{3}}{2})^{2} + \frac{1}{2} = \frac{3}{4} + \frac{1}{2} = \frac{5}{4}$.
$f(\frac{\pi}{2}) = \cos^{2} \frac{\pi}{2} + \sin \frac{\pi}{2} = 0 + 1 = 1$.
Comparing these values,the absolute maximum value is $\frac{5}{4}$ and the absolute minimum value is $1$.

Explore More

Similar Questions

If the area of a right-angled triangle with hypotenuse $5$ is maximum,then its perimeter is

At what value of $x$ is the function $f(x) = x(1 - x^2)$ maximum for $0 \leq x \leq 2$?

The maximum volume (in cubic units) of the cylinder which can be inscribed in a sphere of radius $12$ units is

Find the points at which the function $f$ given by $f(x)=(x-2)^{4}(x+1)^{3}$ has
$(i)$ local maxima
$(ii)$ local minima
$(iii)$ point of inflexion

$A$ closed vessel tapers to a point both at its top $E$ and its bottom $F$ and is fixed with $EF$ vertical. When the depth of the liquid in it is $x \, \text{cm}$,the volume of the liquid in it is $V(x) = x^2 (15 - x) \, \text{cu. cm}$. The length $EF$ is ........ $\text{cm}$.

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo