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

Answer

Given, $\text{f}(\text{x})=\cos^{2}\text{x}+\sin\text{x}$
$\Rightarrow\text{f}'(\text{x})=2\cos\text{x}(-\sin\text{x})+\cos\text{x}$
$=-2\sin\text{x}\cos\text{x}+\cos\text{x}$
For a local maximum or a local minimum, We must have f'(x) = 0
$\Rightarrow-2\sin\text{x}\cos\text{x}+\cos\text{x}=0$
$\Rightarrow\cos\text{x}(2\sin\text{x}-1)=0$
$\Rightarrow\sin\text{x}=\frac{1}{2}\ \text{or}\ \cos\text{x}=0$
$\Rightarrow\text{x}=\frac{\pi}{6}\ \text{or}\ \frac{\pi}{2}\ [\therefore \text{x}\in(0,\pi)]$
Thus, the critical points of f are $0,\frac{\pi}{6},\frac{\pi}{2}\ \text{and}\ \pi$.
Now, $\text{f}(0)=\cos^{2}(0)+\sin(0)=1$
$\text{f}\Big(\frac{\pi}{6}\Big)=\cos^{2}\Big(\frac{\pi}{6}\Big)+\sin\Big(\frac{\pi}{6})=\frac{5}{4}$
$\text{f}\Big(\frac{\pi}{2}\Big)=\cos^{2}\Big(\frac{\pi}{2}\Big)+\sin\Big(\frac{\pi}{2}\Big)=1$
$\text{f}(\pi)=\cos^{2}(\pi)+\sin(\pi)=1$
Hence, the absolute maximum value when $\text{x}=\frac{\pi}{6}$ is $\frac{5}{4}$ and the absolute minimum value when $\text{x}=0,\frac{\pi}{2},\pi$ is 1.

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

Integrate the following w. r. t. x:

$\frac{2 \log x+3}{x(3 \log x+2)\left[(\log x)^2+1\right]}$

Evaluate $\begin{vmatrix}2&3&-5\\7&1&-2\\-3&4&1\end{vmatrix}$ by two methods.
Evaluate:
$\cos\Big(\sin^{-1}\frac{3}{5}+\sin^{-1}\frac{5}{13}\Big)$
The cost of 4 pencils, 3 pens and 2 erasers is ₹ 60. The cost of 2 pencils, 4 pens and 6 erasers is ₹ 90, whereas the cost of 6 pencils, 2 pens and 3 erasers is ₹ 70. Find the cost of each item by using matrices.
Find the maximum and minimum of the following functions:
f(x) = x log x
Find the value of $\lambda$ so that the following vectors are coplanar:
$\vec{\text{a}}=\hat{\text{i}}+3\hat{\text{j}},\vec{\text{b}}=5\hat{\text{k}},\vec{\text{c}}=\lambda\hat{\text{i}}-\hat{\text{j}}$
Find the points of local maxima or local minima and corresponding local maximum and local minimum values of the following functions. Also, find the points of inflection,
$\text{f}(\text{x})=(\text{x}+1)(\text{x}+2)^\frac{1}{3}$
Find the shortest distance between the lines $\bar{r}=(4 \hat{i}-\hat{j})+\lambda(\hat{i}+2 \hat{j}-3 \hat{k})$ and

$\bar{r}=(\hat{i}-\hat{j}+2 \hat{k})+\mu(\hat{i}+4 \hat{j}-5 \hat{k})$

The normal to a given curve at each point (x, y) on the curve passes through the point (3, 0). If the curve contains the point (3, 4), find its equation.
Find the vector equation of the plane through the line of intersection of the planes $x + y + z = 1$ and $2x + 3y + 4z = 5$ which is perpendicular to the plane $x - y + z = 0$.