Absolute Value Function:∣f(x)∣ is equal to f(x) when f(x)≥0 and −f(x) when f(x)<0. To evaluate integrals involving absolute values, we must determine the intervals where the expression inside the absolute value is positive or negative.
Integration by Parts: The formula for integration by parts is ∫udv=uv−∫vdu. This is used to integrate products of functions, particularly when one function becomes simpler upon differentiation and the other is easily integrable.
Definite Integral Properties: The definite integral ∫abf(x)dx represents the signed area under the curve y=f(x) from x=a to x=b. When dealing with absolute values, we split the integral into sub-intervals where the integrand's sign is constant.
2. Step-by-Step Solution
Step 1: Analyze the integrand and the interval of integration.
We need to evaluate −1∫23(∣π2xsin(πx))dx. The integrand is ∣π2xsin(πx)∣. Since π2 is a positive constant, the sign of xsin(πx) determines the sign of the integrand. We need to find the intervals where xsin(πx)≥0 and xsin(πx)<0 within [−1,23].
Step 2: Determine the sign of xsin(πx) in the interval [−1,23].
The zeros of sin(πx) occur when πx=nπ, which means x=n for integer n. In our interval, these zeros are x=−1,0,1. The function x changes sign at x=0.
Let's analyze the sign of xsin(πx) in the sub-intervals:
Interval [−1,0]:
For x∈(−1,0), x is negative.
For x∈(−1,0), πx∈(−π,0). In this range, sin(πx) is negative.
Therefore, for x∈(−1,0), xsin(πx)=(negative)×(negative)=positive.
At x=−1 and x=0, xsin(πx)=0.
So, on [−1,0], xsin(πx)≥0.
Interval [0,1]:
For x∈(0,1), x is positive.
For x∈(0,1), πx∈(0,π). In this range, sin(πx) is positive.
Therefore, for x∈(0,1), xsin(πx)=(positive)×(positive)=positive.
At x=0 and x=1, xsin(πx)=0.
So, on [0,1], xsin(πx)≥0.
Interval [1,23]:
For x∈(1,23), x is positive.
For x∈(1,23), πx∈(π,23π). In this range, sin(πx) is negative.
Therefore, for x∈(1,23), xsin(πx)=(positive)×(negative)=negative.
At x=1, xsin(πx)=0.
So, on [1,23], xsin(πx)≤0.
Step 3: Split the integral based on the sign analysis.
From Step 2, we have:
∣xsin(πx)∣=xsin(πx) for x∈[−1,1].
∣xsin(πx)∣=−xsin(πx) for x∈[1,23].
So, the integral becomes:
∫−123(∣π2xsin(πx))dx=π2(∫−11xsin(πx)dx+∫123(−xsin(πx))dx)=π2(∫−11xsin(πx)dx−∫123xsin(πx)dx)
Step 4: Evaluate the indefinite integral ∫xsin(πx)dx using integration by parts.
Let u=x and dv=sin(πx)dx.
Then du=dx and v=∫sin(πx)dx=−π1cos(πx).
Using the integration by parts formula:
∫xsin(πx)dx=x(−π1cos(πx))−∫(−π1cos(πx))dx=−πxcos(πx)+π1∫cos(πx)dx=−πxcos(πx)+π1(π1sin(πx))+C=−πxcos(πx)+π21sin(πx)+C
Step 5: Evaluate the definite integrals.
First integral: ∫−11xsin(πx)dx
Let F(x)=−πxcos(πx)+π21sin(πx).
∫−11xsin(πx)dx=F(1)−F(−1)F(1)=−π1cos(π)+π21sin(π)=−π1(−1)+π21(0)=π1F(−1)=−π−1cos(−π)+π21sin(−π)=π1(−1)+π21(0)=−π1∫−11xsin(πx)dx=π1−(−π1)=π2
Second integral: ∫123xsin(πx)dx∫123xsin(πx)dx=F(23)−F(1)F(23)=−π23cos(23π)+π21sin(23π)=−2π3(0)+π21(−1)=−π21
We already found F(1)=π1.
∫123xsin(πx)dx=−π21−π1
Step 6: Substitute the definite integral values back into the main expression.∫−123(∣π2xsin(πx))dx=π2(∫−11xsin(πx)dx−∫123xsin(πx)dx)=π2(π2−(−π21−π1))=π2(π2+π21+π1)=π2(π3+π21)=π2(π23π+1)=3π+1
3. Common Mistakes & Tips
Sign Errors with Absolute Value: Carefully determine the sign of the expression inside the absolute value over each sub-interval. A common mistake is to assume the sign is constant or to incorrectly identify the intervals.
Integration by Parts Application: Ensure the correct choice of u and dv. Differentiating x simplifies it to a constant, which is generally a good strategy. Also, be meticulous with the signs and constants during integration by parts.
Evaluating Trigonometric Functions: Accurately recall or calculate the values of trigonometric functions at the limits of integration, especially for angles like π,−π,23π.
4. Summary
The problem involved integrating a function with an absolute value. We first analyzed the sign of xsin(πx) over the given interval [−1,23]. We found that xsin(πx) is non-negative on [−1,1] and non-positive on [1,23]. This allowed us to split the integral into two parts, removing the absolute value by either keeping the original expression or negating it. We then used integration by parts to find the indefinite integral of xsin(πx). Finally, we evaluated the definite integrals over the respective sub-intervals and combined the results, multiplying by π2 at the end, to arrive at the final answer.
5. Final Answer
The final answer is 1+3π. This corresponds to option (C).