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

Answer

It is given that $f(x) = \cos^2 x + \sin x, x \in[0, \pi]$
$f^\prime$(x) = 2 cos x (-sin x) + cos x
= -2 sin x cos x + cos x
Now, if $f^\prime$(x) = 0
$\Rightarrow$ 2 sin x cos x = cos x
$\Rightarrow$ cos x (2 sin x - 1) = 0
$\Rightarrow$ sin x = $\frac{1}{2}$ or cos x = 0
$\Rightarrow$ $x=\frac{\pi}{6},\frac{5\pi}{6}$ or $\frac{\pi}{2}$ as $\mathrm{x} \in[0, \pi]$
Next, evaluating the value of f at critical points $x=\frac{\pi}{2}$ and $x=\frac{\pi}{6}$ and at the end points of the interval $[0, \pi]$, (i.e. at x = 0 and $x=\pi$ ), we get,
$f\left(\frac{\pi}{6}\right)=\cos ^{2} \frac{\pi}{6}+\sin \frac{\pi}{6}=\left(\frac{\sqrt{3}}{2}\right)^{2}+\frac{1}{2}=\frac{5}{4}$
$f(\frac{5\pi}{6}) = cos^2(\frac{5\pi}{6})+ sin(\frac{5\pi}{6}) = cos^2(\pi-\frac\pi6)+sin(\pi-\frac\pi6)=cos^2\frac\pi6-sin\frac\pi6=\frac54$
$f(0) = \cos^2 0 + \sin 0 = 1 + 0 = 1$
$f(\pi)=\cos ^{2} \pi+\sin \pi = (-1)^2 + 0 = 1$
$f\left(\frac{\pi}{2}\right)=\cos ^{2} \frac{\pi}{2}+\sin \frac{\pi}{2}=0+1=1$
Therefore, the absolute maximum value of f is $\frac{5}{4}$ occurring at x = $\frac{\pi}{6}$ and the absolute minimum value of f is 1 occurring at x = 1, $\frac{\pi}{2}$ and $\pi$.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Two cards are selected at random from a box which contains five cards numbered $1, 1, 2, 2, $ and $3.$ Let $X$ denote the sum and $Y$ the maximum of the two numbers drawn. Find the probability distribution, mean and variance of $X$ and $Y.$
Find the equation of the normal lines to the curve $3x^2 - y^2 = 8$ which are parallel to the line $x + 3y = 4.$
In a class, 5% of the boys and 10% of the girls have an IQ of more than 150. In this class, 60% of the students are boys. If a student is selected at random and found to have an IQ of more than 150, find the probability that the student is a boy.
Integrate the function in Exercise:
$\sin^{-1}\Big(\frac{2\text{x}}{1+\text{x}^2}\Big)$
Evaluate the following integrals:
$\int\limits_{0}^{\frac{\pi}{4}}\frac{\sin\text{x}+\cos\text{x}}{3+\sin2\text{x}}\text{ dx}$
$\text{if} \overrightarrow{\text{r}} = x\hat{\text{i}} + y\hat{\text{j}} + z\hat{\text{k}}, \text{find} \overrightarrow(\text{r} \times \hat{\text{i}}). (\overrightarrow{\text{r}} \times \text{j}) + xy$
If $\text{A}=\begin{bmatrix}1&1\\0&1\end{bmatrix},$ prove that $\text{A}^\text{n}=\begin{bmatrix}1&\text{n}\\0&1\end{bmatrix}$ for all positive integers n.
Maximum Z = 2x + 3y
Subject to
$\text{x}+\text{y}\geq1$
$10\text{x}+\text{y}\geq5$
$\text{x}+10\text{y}\geq1$
$\text{x},\text{y}\geq0$
$\text{Let A} = \begin{pmatrix} 2 & -1 \\ 3 & 4 \\ \end{pmatrix}, = \text{B} = \begin{pmatrix} 5 & 2 \\ 7 & 4 \\ \end{pmatrix}, \text{C} = \begin{pmatrix} 2 & 5 \\ 3 & 8 \\ \end{pmatrix},$find a matrix D such that CD – AB = O.
Find $\frac{\text{dy}}{\text{dx}}$ in the following cases:
$\sin\text{ xy}+\cos(\text{x}+\text{y})=1$