Question:medium

Find the sum of maximum and minimum values of \(f(x) = \sin x\,(1 + \cos x)\) in the interval \([0, \pi]\).

Show Hint

Differentiate, solve cos x + cos 2x = 0 in [0, pi], and compare f at the critical point and endpoints.
Updated On: Oct 22, 2026
Show Solution

Solution and Explanation

Step 1: Check the sign of f on the interval.
On $[0, \pi]$ we have $\sin x \geq 0$ and $1 + \cos x \geq 0$. So $f(x) \geq 0$ everywhere.
Also $f(0) = 0$ and $f(\pi) = 0$. So the minimum value is 0.

Step 2: Locate the maximum with the first derivative.
\[ f^{\prime}(x) = \cos x + \cos^2 x - \sin^2 x = 2\cos^2 x + \cos x - 1 \]
This factors as $(2\cos x - 1)(\cos x + 1)$.

Step 3: Study the sign change.
For $0 < x < \pi/3$, $\cos x > \tfrac{1}{2}$ and $\cos x + 1 > 0$, so $f^{\prime}(x) > 0$. The function rises.
For $\pi/3 < x < \pi$, $\cos x < \tfrac{1}{2}$, so $f^{\prime}(x) < 0$. The function falls.
So the maximum is at $x = \pi/3$.

Step 4: Compute the maximum.
\[ f\left(\tfrac{\pi}{3}\right) = \sin\tfrac{\pi}{3}\left(1 + \cos\tfrac{\pi}{3}\right) = \tfrac{\sqrt{3}}{2} \times \tfrac{3}{2} = \tfrac{3\sqrt{3}}{4} \]

Step 5: Add.
The sum of the maximum and minimum is $\tfrac{3\sqrt{3}}{4} + 0$.

Final Answer:
\[ \boxed{\frac{3\sqrt{3}}{4}} \]
Was this answer helpful?
0