The value of the integral \(I=\int_{-3}^{3}\displaystyle |x|\,dx\) is:
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 9
\(|x|\) is an even function, so the integral over \([-3, 3]\) is twice the integral over \([0, 3]\), where \(|x| = x\):
\(\displaystyle I = 2\int_{0}^{3}x\,dx\)
\(\displaystyle = 2\left[\frac{x^2}{2}\right]_{0}^{3}\)
\(= 9\)
Why the other options are incorrect
Option (1) 18 — Incorrect. This is twice the correct value: \(2\int_{0}^{3}x\,dx\) is already 9.
Option (2) 0 — Incorrect. This is the value for the odd function x; \(|x|\) is never negative, so its integral is positive.
Option (4) −9 — Incorrect. The integrand \(|x| \ge 0\), so the integral cannot be negative.