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

Find two positive numbers whose sum is $16$ and the sum of whose cubes is minimum.

The radius of the cylinder of maximum volume,which can be inscribed in a sphere of radius $R$ is

Difficult
View Solution

If the function $f(x) = \frac{x}{5} + \frac{5}{x}, (x \neq 0)$ attains its relative maximum value at $x = a$, then $\sqrt{a^2 + 2a - 6} = $

If $p$ and $q$ are respectively the global maximum and global minimum of the function $f(x) = x^2 e^{2x}$ on the interval $[-2, 2]$,then $p e^{-4} + q e^4 =$

If a running track of $500 \ ft$. is to be laid out enclosing a playground,the shape of which is a rectangle with a semicircle at each end,then the length of the rectangular portion such that the area of the rectangular portion is to be maximum is (in feet).

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