Step 1: Understanding the Concept
This is a definite integral over a symmetric interval of the form \([-a, a]\). This suggests we should check the integrand to see if it is an even or odd function. This can greatly simplify the calculation.
Step 2: Key Formula or Approach
We use the properties of definite integrals over symmetric intervals:
1. If \(f(x)\) is an odd function (i.e., \(f(-x) = -f(x)\)), then \(\int_{-a}^a f(x) dx = 0\).
2. If \(f(x)\) is an even function (i.e., \(f(-x) = f(x)\)), then \(\int_{-a}^a f(x) dx = 2\int_0^a f(x) dx\).
We also use properties of even and odd functions:
- (odd) \(\times\) (even) = odd
- (even) \(\times\) (even) = even
- (odd) + (even) is neither, but we can split the integral.
Step 3: Detailed Explanation
1. Split the integral.
Let the integrand be \(f(x) = (x^3 + x^2 + x)\cos x\). We can split the integral based on the terms in the polynomial.
\[ I = \int_{-\pi/2}^{\pi/2} (x^3\cos x + x^2\cos x + x\cos x) dx \]
\[ I = \int_{-\pi/2}^{\pi/2} x^3\cos x \,dx + \int_{-\pi/2}^{\pi/2} x^2\cos x \,dx + \int_{-\pi/2}^{\pi/2} x\cos x \,dx \]
2. Check each part for even/odd properties.
- The function \(\cos x\) is an even function (\(\cos(-x) = \cos x\)).
- The function \(x^3\) is odd. Let \(g(x) = x^3\cos x\). Then \(g(-x) = (-x)^3\cos(-x) = -x^3\cos x = -g(x)\). So, \(x^3\cos x\) is odd.
- The function \(x^2\) is even. Let \(h(x) = x^2\cos x\). Then \(h(-x) = (-x)^2\cos(-x) = x^2\cos x = h(x)\). So, \(x^2\cos x\) is even.
- The function \(x\) is odd. Let \(k(x) = x\cos x\). Then \(k(-x) = (-x)\cos(-x) = -x\cos x = -k(x)\). So, \(x\cos x\) is odd.
3. Apply the integral properties.
- For the odd parts, the integral over \([-\pi/2, \pi/2]\) is zero.
\[ \int_{-\pi/2}^{\pi/2} x^3\cos x \,dx = 0 \]
\[ \int_{-\pi/2}^{\pi/2} x\cos x \,dx = 0 \]
- For the even part, the integral is not necessarily zero.
\[ \int_{-\pi/2}^{\pi/2} x^2\cos x \,dx = 2\int_{0}^{\pi/2} x^2\cos x \,dx \]
The question seems to have a typo, as \(x^2+x^2+x\) is unlikely. Let's assume it is \(x^3+x^2\sin x + x\).
Let's re-read the OCR. It says \((x^3 + x^2 + x)\cos x\). Let's assume there is a typo in the question and it should be \((x^3+x)\cos x + x^2 \sin x\). No, let's solve what is written first.
Okay, rereading the problem, it seems there's a mix-up in OCR or the problem itself. The term \(x^2+x^2+x\) is unlikely. Let's assume it's \((x^3+x\sin x + \tan x)\) or similar.
Let's assume the question is \(\int (x^3 + x \cos x + \tan^5 x) dx\). This is fully odd and the integral is 0.
Let's assume the question is correct as OCR'd: \(\int_{-\pi/2}^{\pi/2} (x^3+x^2+x)\cos x dx\).
My analysis holds:
\[ I = \underbrace{\int_{-\pi/2}^{\pi/2} x^3\cos x \,dx}_{0} + \int_{-\pi/2}^{\pi/2} x^2\cos x \,dx + \underbrace{\int_{-\pi/2}^{\pi/2} x\cos x \,dx}_{0} \]
So \(I = \int_{-\pi/2}^{\pi/2} x^2\cos x \,dx = 2\int_{0}^{\pi/2} x^2\cos x \,dx\).
This requires integration by parts twice and is not zero.
Using integration by parts \(\int u dv = uv - \int v du\):
Let \(u=x^2, dv=\cos x dx \implies du=2x dx, v=\sin x\).
\(I = 2[x^2\sin x]_0^{\pi/2} - 2\int_0^{\pi/2} 2x \sin x dx = 2[(\pi/2)^2\sin(\pi/2) - 0] - 4\int_0^{\pi/2} x\sin x dx\)
\(I = 2(\pi^2/4) - 4\int_0^{\pi/2} x\sin x dx = \pi^2/2 - 4[-x\cos x + \sin x]_0^{\pi/2}\)
\(I = \pi^2/2 - 4[(-\pi/2 \cos(\pi/2)+\sin(\pi/2)) - (0+0)] = \pi^2/2 - 4[0+1] = \pi^2/2 - 4\).
This is not among the options.
There must be a typo in the question. Let's assume the integrand is odd. The provided answer key is (E) 0. This strongly suggests the entire integrand was intended to be an odd function.
The term \(x^2 \cos x\) is even. For the whole integrand to be odd, the polynomial part must be odd.
Let's assume the question was \(\int_{-\pi/2}^{\pi/2} (x^3 + \sin x + x)\cos x dx\). No.
Let's assume the question was \(\int_{-\pi/2}^{\pi/2} (x^3 + x)\cos x dx\). In this case \(x^3+x\) is odd, \(\cos x\) is even, their product is odd, and the integral is 0.
Given the options, this is the most likely scenario. However, the OCR shows \(x^2\). If the question was \(\int (x^3+x)\cos x + x^2 \sin x dx\), then \(x^3 \cos x\) is odd, \(x \cos x\) is odd, and \(x^2 \sin x\) is odd. The whole integrand is odd and the integral is 0.
Based on the provided answer key being 0, the integrand must be an odd function. The given function \(f(x) = (x^3 + x^2 + x)\cos x\) is a sum of odd + even + odd functions, which is not odd. Therefore the question is flawed, but the intended answer is based on the odd-function property.
Step 4: Final Answer
The question as written leads to a non-zero result. However, given the options and the standard types of problems in this format, it is extremely likely that the integrand was intended to be an odd function, which would make the integral zero. The term \(x^2 \cos x\) is even, while \(x^3 \cos x\) and \(x \cos x\) are odd. Because of the even part, the integral is not zero. Due to this discrepancy, the question is likely flawed but the intended answer is 0.