Question 12 of 82intermediate🔧 ApplyNumerical4 marks

Find the absolute maximum and minimum values of the function f given by f(x) = cos² x + sin x, x ∈ [0, π].

Correct Answer

Absolute maximum value is 5/4 (or 1.25) at x = π/6; Absolute minimum value is 1 at x = 0, π/2, and π.

Exercise: Miscellaneous Exercise on Chapter 6 | Q: 11 | (Chapter: 38)
For More Understanding

Explanation

This solution follows the method demonstrated in Example 27 of the provided text. To find the absolute maximum and minimum values of a function on a closed interval, we first find the derivative to locate critical points. We then evaluate the function at these critical points and at the endpoints of the interval. Comparing these values allows us to identify the absolute extrema.

Solution Steps

  1. Step 1: Find the derivative of the function. We have f(x)=cos2x+sinxf(x) = \cos^2 x + \sin x. Differentiating with respect to xx, we get: f(x)=2cosx(sinx)+cosxf'(x) = 2 \cos x (-\sin x) + \cos x f(x)=2sinxcosx+cosxf'(x) = -2 \sin x \cos x + \cos x f(x)=cosx(12sinx)f'(x) = \cos x (1 - 2 \sin x).

  2. Step 2: Find the critical points. Set f(x)=0f'(x) = 0. This gives cosx=0\cos x = 0 or 12sinx=01 - 2 \sin x = 0. For cosx=0\cos x = 0 in x[0,π]x \in [0, \pi], we have x=π2x = \frac{\pi}{2}. For 12sinx=01 - 2 \sin x = 0, we have sinx=12\sin x = \frac{1}{2}. In x[0,π]x \in [0, \pi], this gives x=π6x = \frac{\pi}{6}. Thus, the critical points in the interval are x=π6x = \frac{\pi}{6} and x=π2x = \frac{\pi}{2}.

  3. Step 3: Evaluate the function at critical points and endpoints. We evaluate f(x)f(x) at x=0,π6,π2,πx = 0, \frac{\pi}{6}, \frac{\pi}{2}, \pi.

    1. At endpoint x=0x = 0: f(0)=cos20+sin0=1+0=1f(0) = \cos^2 0 + \sin 0 = 1 + 0 = 1.
    2. At critical point x=π6x = \frac{\pi}{6}: f(π6)=cos2π6+sinπ6=(32)2+12=34+12=54f\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{3}{4} + \frac{1}{2} = \frac{5}{4}.
    3. At critical point x=π2x = \frac{\pi}{2}: f(π2)=cos2π2+sinπ2=0+1=1f\left(\frac{\pi}{2}\right) = \cos^2 \frac{\pi}{2} + \sin \frac{\pi}{2} = 0 + 1 = 1.
    4. At endpoint x=πx = \pi: f(π)=cos2π+sinπ=(1)2+0=1f(\pi) = \cos^2 \pi + \sin \pi = (-1)^2 + 0 = 1.
  4. Step 4: Compare the values. The values obtained are 1,54,1,11, \frac{5}{4}, 1, 1. The maximum value is 54\frac{5}{4} and the minimum value is 11. Thus, the absolute maximum value is 54\frac{5}{4} occurring at x=π6x = \frac{\pi}{6}, and the absolute minimum value is 11 occurring at x=0,π2,πx = 0, \frac{\pi}{2}, \pi.