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

The position vectors of points A, B and C are $\lambda\hat{\text{i}}+3\hat{\text{j}},12\hat{\text{i}}+\mu\hat{\text{j}}\text{ and }11\hat{\text{i}}-3\hat{\text{j}}$ respectively. If C divides the line segment joining A and B in the ratio 3:1, find the value of $\lambda\text{ and }\mu$
Solve the following differential equation:
$(1+\text{x}^2)\frac{\text{dy}}{\text{dx}}-2\text{xy}=(\text{x}^2+2)(\text{x}^2+1)$
Find the maximum and the minimum values, if any, without using derivaives of the following functions:f(x) = -|x + 1| + 3 on R.
A pair of dice is thrown 4 times. If getting a doublet is considered a success, find the probability of two successes.
A company manufactures two types of sweaters: type A and type B. It costs Rs. 360 to make a type A sweater and Rs. 120 to make a type B sweater. The company can make at most 300 sweaters and spend at most Rs. 72000 a day. The number of sweaters of type B cannot exceed the number of sweaters of type A by more than 100. The company makes a profit of Rs. 200 for each sweater of type A and Rs. 120 for every sweater of type B.
Evaluate the following integrals:
$\int\sin^3\sqrt{\text{x}}\text{dx}$
Evaluate the following:
$\int\limits^\pi_0\text{x}\sin\text{x}\cos^2\text{xdx}$
Find $\frac{\text{dy}}{\text{dx}}$
$y = e^x + 10^x + x^x$
Let $\text{A} = \text{R} \times \text{R}$ and let $*$ be a binary operation on A defined by $\text{(a, b)} {*} \text{(c, d)} = \text{(ad + bc, bd)}$ for all $\text{(a, b), (c, d)} \in \text{R} \times \text{R}.$
  1. Show that $*$ is commutative on A.
  2. Show that $*$ is associative on A.
  3. Find the identity element of $*$ in A.
Show that the differential equation of $x^{2} \frac{d y}{d x}=x^{2}-2 y^{2}+x y$ is homogeneous and solve it.