Mathematics (JEE)HardJEE Main

∫₀^π |cos x − sin x| dx equals:

  1. A. 2√2
  2. B. 2
  3. C. √2
  4. D. 0

Correct answer: A. 2√2

cos x − sin x = √2 cos(x + π/4). As x runs over [0, π], x + π/4 runs over an interval of length π, on which ∫|cos| = 2. So the integral is 2√2.

More Definite Integrals and Area questions

Exams that ask this topic