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

The sum of the absolute minimum and the absolute maximum values of the function $f(x) = |3x - x^2 + 2| - x$ in the interval $[-1, 2]$ is

$A$ square piece of tin of side $30\,cm$ is to be made into a box without a top by cutting a square of side $x$ from each corner and folding up the flaps to form a box. If the volume of the box is maximum,then its surface area (in $cm^2$) is equal to $............$.

If $f(x) = x^2e^{-2x}, x > 0$,then the maximum value of $f(x)$ is ......

If a line is moving between the coordinate axes such that the sum of the intercepts made by it on the coordinate axes is always $12$,then the equation of that line which forms a triangle of maximum area with the coordinate axes is

The maximum value of $xy$ subject to $x+y=7$ is

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