The absolute maximum value of the function \(f(x) = \sin x + \cos x\), \(x \in [0, \pi]\) is:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(\sqrt{2}\)
On a closed interval, the absolute maximum is the largest of the values at the critical points and at the end points.
\(f'(x) = \cos x - \sin x = 0\)
\(\tan x = 1\)
\( \displaystyle x = \frac{\pi}{4} \quad \text{in } [0, \pi] \)
Values of f:
\(f(0) = 0 + 1 = 1\)
\( \displaystyle f\left(\frac{\pi}{4}\right) = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \sqrt{2} \)
\(f(\pi) = 0 - 1 = -1\)
The largest value is \(\sqrt{2}\).
NCERT (2026-27 edition):
Maxima and Minima
