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

Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=4^{\sin\text{x}}\text{ on }[0,\pi]$
If $\vec{\text{a}}$ be the position vector whose tip is (5, -3), find the coordinates of a point B such that $\overrightarrow{\text{AB}}=\vec{\text{a}}$, the coordinates of A being (4, -1).
The rate of growth of a population is proportional to the number present. If the population of a city doubled in the past 25 year, and the present population is 100000, when will the city have a population of 500000?
Find the equation of the normal to the curve $ay^2 = x^3 $ at the point $(am^2, am^3).$
Let R be a relation on the set N given by R = {(a, b): a = b - 2, b > 6}. Then,
  1. (2, 4) ∈ R
  2. (3, 8) ∈ R
  3. (6, 8) ∈ R
  4. (8, 7) ∈ R
verify that $\text{y}^2=4\text{a}(\text{x}+\text{a})$ is a solution of the differential equation $\Big\{1-\Big(\frac{\text{dy}}{\text{dx}}\Big)^2\Big\}=2\text{x}\frac{\text{dy}}{\text{dx}}.$
Using integration, find the area of the region bounded by the triangle whose vertices are (-1, 0), (1, 3) and (3, 2).
A man rides his motorcycle at the speed of 50km/ hour. He has to spend Rs. 2 per km on petrol. If he rides it at a faster speed of 80km/ hour, the petrol cost increases to Rs. 3 per km. He has atmost Rs. 120 to spend on petrol and one hour’s time. He wishes to find the maximum distance that he can travel.
Express this problem as a linear programming problem.
Let $A=\{1,2,3, \ldots .9\}$ and $R$ be the relation in $A \times A$ defined by $(a, b) R(c, d)$ if $a+d=b+c$ for $(a, b),(c, d)$ in $A \times A$. Prove that R is an equivalence relation and also obtain the equivalence class $[(2,5)]$.
Write the set of values of 'a' for which $\text{f}(\text{x})=\log_\text{a}\text{x}$ is increasing in its domain.