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

If $\text{f}\text{(x)}=\begin{cases}\text{e}^\frac{1}{\text {x}}, & \text{if} \text{ x}\neq 0\\1, & \text{if}\text{x} = 0\end{cases}$ find whethe f is continuous at x = 0.
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\sin\text{x}-\sin2\text{x}\text{ on }[0,\pi]$
For any vector $\vec{a}$, prove that :
$|\overrightarrow{ a } \times \hat{ i }|^2+|\overrightarrow{ a } \times \hat{ j }|^2+|\overrightarrow{ a } \times \hat{ k }|^2= 2 |\overrightarrow{ a }|^2$
The two adjacent sides of a parallelogram are $2\hat{i} - 4\hat{j} - 5\hat{k} \text{ and } 2\hat{i} + 2\hat{j} + 3\hat{k}.$ Find the two unit vectors parallel its diagonals. Using the diagonal vectors, find the area of the parallelogram.
A pair of dice is thrown 4 times. If getting a doublet is considered a success, find the probability distribution of number of successes.
Discuss the continuity of the cosine, cosecant, secant and cotangent functions.
Find the area enclosed by the parabolas $y= 4x - x^2$ and $y = x^2 - x.$
Solve the differential equation $(\text{y}+3\text{x}^2)\frac{\text{dx}}{\text{dy}}=\text{x}$
Using integration, find the area of the region bounded by the triangle whose vertices are (–1, 2), (1, 5) and (3, 4).
Let $X$ be a discrete random variable whose probability distribution is defined as follows:
$\text{P}(\text{X}=\text{x})=\begin{cases}\text{k}(\text{x}+1) & \text{for}\text{ x}= 1,2,3,4\\2\text{kx} & \text{for}\text{ x } =5,6,7\\0&\text{otherwise} \end{cases}$
where k is a constant. Calculate:
  1. The value of $A$ if $E(X) = 2.94$
  2. Variance of $X$.
  3. Standard deviation of $X$.