The value of \(\int_{-1}^{1}\displaystyle |x|\,dx\) is
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → 1
Since \(|x| = -x\) for \(x \lt 0\) and \(|x| = x\) for \(x \ge 0\), the integral is split at 0:
\( \displaystyle \int_{-1}^{1}|x|\,dx = \int_{-1}^{0}(-x)\,dx + \int_{0}^{1}x\,dx \)
\( \displaystyle = \left[-\frac{x^2}{2}\right]_{-1}^{0} + \left[\frac{x^2}{2}\right]_{0}^{1} \)
\( \displaystyle = \frac{1}{2} + \frac{1}{2} = 1 \)
Note: The same question was also asked in CUET (UG) 2023 on 11-06-2023 (Slot 2) and 07-06-2023 (Slot 3).