The value of \(\int_{-\frac{\pi}{4}}^{\frac{\pi}{4}}\displaystyle\left(x^3+x\cos x+\tan^5x+1\right)dx\) is:
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(\displaystyle\frac{\pi}{2}\)
Over a symmetric interval [−a, a], the integral of an odd function (\(f(-x) = -f(x)\)) is 0.
\((-x)^3 = -x^3\)
\((-x)\cos(-x) = -x\cos x\)
\(\tan^5(-x) = -\tan^5x\)
So \(x^3\), \(x\cos x\) and \(\tan^5x\) are odd, and they are continuous on \(\left[-\frac{\pi}{4}, \frac{\pi}{4}\right]\), so their integrals over this interval are 0. Only the constant term remains:
\(\displaystyle I = \int_{-\frac{\pi}{4}}^{\frac{\pi}{4}}1\,dx\)
\(\displaystyle = \frac{\pi}{4}-\left(-\frac{\pi}{4}\right)\)
\(\displaystyle = \frac{\pi}{2}\)
Why the other options are incorrect
Option (1) 0 — Incorrect. The constant 1 is an even function; its integral \(\frac{\pi}{2}\) does not vanish.
Option (2) 2 — Incorrect. The remaining integral is the length of the interval, \(\frac{\pi}{2}\), not 2.
Option (4) 1 — Incorrect. The integrand is 1, but the integral is 1 times the length \(\frac{\pi}{2}\) of the interval.