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

Answer

It is given that f(x) = cos2 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) = cos2 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

If $\text{y}=\text{e}^{\text{x}}+\text{e}^{-\text{x}},$ prvoe that $\frac{\text{dy}}{\text{dx}}=\sqrt{\text{y}^2-4}$
Integrate the function in Exercise:
$\frac{1}{\text{x}^{\frac{1}{2}}+\text{x}^{\frac{1}{3}}}$
$\Bigg[\text{Hint:}\frac{1}{\text{x}^{\frac{1}{2}}+\text{x}^{\frac{1}{3}}}=\frac{1}{\text{x}^{\frac{1}{3}}\bigg(1+\text{x}^{\frac{1}{6}}\bigg)},\text{put}\ \text{x}=\text{t}^{6}\Bigg]$
If the lines $\frac{\text{x}-1}{-3}=\frac{\text{y}-2}{-2\text{k}}=\frac{\text{z}-3}{2}$ and $\frac{\text{x}-1}{\text{k}}=\frac{\text{y}-2}{1}=\frac{\text{z}-3}{5}$ are perpendicular, find the value of k and, hence find the equation of the plane containing these lines.
There are 2 families A and B. There are 4 men, 6 women and 2 children in family A, and 2 men, 2 women and 4 children in family B. The recommended daily amount of calories is 2400 for men, 1900 for women, 1800 for children and 45 grams of proteins for men, 55 grams for women and 33 grams for children. Represent the above information using matrices. Using matrix multiplication, calculate the total requirement of calories and proteins for each of the 2 families. What awareness can you create among people about the balanced diet from this question?
Differentiate the function (sin x)x + sin–1$\sqrt{x}$ w.r.t. x.
Find the distance between the lines l1 and l2 given by

$\vec{\text{r}}=\hat{\text{i}}+2\hat{\text{j}}-4\hat{\text{k}}+\lambda\big(2\hat{\text{i}}+3\hat{\text{j}}+6\hat{\text{k}}\big)$ and, $\vec{\text{r}}=3\hat{\text{i}}+3\hat{\text{j}}-5\hat{\text{k}}+\mu\big(2\hat{\text{i}}+3\hat{\text{j}}+6\hat{\text{k}}\big)$

Find the area of the region bounded by the curve y2 = 4x and the line x = 3.
Find the cartesian and vector equations of a line which passes through the point (1, 2, 3) and is parallel to the line $\frac{-\text{x}-2}{1}=\frac{\text{y}+3}{7}=\frac{2\text{z}-6}{3}.$
Three cards are drawn at random (without replacement) from a well shuffled pack of 52 cards. Find the probability distribution of number of red cards. Hence, find the mean of the distribution.
If the vectors $\vec{\text{a}}=2\hat{\text{i}}-3\hat{\text{j}}$ and $\vec{\text{b}}=-6\hat{\text{i}}+\text{m}\hat{\text{j}}$ are collinear, find tghe value of m.