The value of the integral \(\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\displaystyle\left(x+x^3+x^5\right)dx\) is
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 0
Let \(f(x) = x + x^3 + x^5\). Then
\(f(-x) = -x - x^3 - x^5 = -f(x)\)
so f is an odd function. For an odd function, \(\int_{-a}^{a} f(x)\,dx = 0\), because the areas on the two sides of the origin cancel. Hence
\( \displaystyle \int_{-\pi/2}^{\pi/2}\left(x+x^3+x^5\right)dx = 0 \)