Question:

If \( f(x) = \max(\sin x, \cos x) \) and \( g(x) = \min(\sin x, \cos x) \), then \[ \int_0^{\pi/2} f(x) dx + \int_0^{\pi/2} g(x) dx = \]

Show Hint

Sum of max and min of two values equals their total, which simplifies integrals.
Updated On: May 19, 2025
  • \( 2\sqrt{2} + 2 \)
  • \( 2\sqrt{2} - 2 \)
  • 2
  • \( 2\sqrt{2} \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Since max and min functions cover both \( \sin x \) and \( \cos x \), their sum is \( \sin x + \cos x \), so integral becomes: \[ \int_0^{\pi/2} (\sin x + \cos x) dx = [-\cos x + \sin x]_0^{\pi/2} = (1 + 1) = 2 \]
Was this answer helpful?
0
0