The integral ∫−132∣π2xsin⁡(πx)∣ dx\int_{-1}^{\frac{3}{2}} \left| \pi^2 x \sin(\pi x) \right| \, dx is equal to:

Answer: 3π+13\pi + 1

Step-by-step solution

Step 1: Analyze the integrand and absolute value

The integrand is f(x)=π2xsin⁡(πx)f(x) = \pi^2 x \sin(\pi x). We need to evaluate the integral of its absolute value. The absolute value function changes the sign of negative values to positive. Therefore, we need to determine the intervals where f(x)f(x) is positive and where it is negative within the integration limits of x=−1x = -1 to x=32x = \frac{3}{2}.

Step 2: Determine the sign of the integrand

We analyze the sign of xsin⁡(πx)x \sin(\pi x) in different intervals. For x∈[−1,0]x \in [-1, 0], both xx and sin⁡(πx)\sin(\pi x) are non-positive, so their product is non-negative. For x∈[0,1]x \in [0, 1], both xx and sin⁡(πx)\sin(\pi x) are non-negative, so their product is non-negative. For x∈[1,32]x \in [1, \frac{3}{2}], xx is positive but sin⁡(πx)\sin(\pi x) is non-positive (since πx\pi x is in [π,3π2][\pi, \frac{3\pi}{2}]), so their product is non-positive. Thus, f(x)≥0f(x) \ge 0 for x∈[−1,1]x \in [-1, 1] and f(x)≤0f(x) \le 0 for x∈[1,32]x \in [1, \frac{3}{2}].

Step 3: Split the integral

Based on the sign analysis, we split the integral into two parts. For x∈[−1,1]x \in [-1, 1], ∣f(x)∣=f(x)|f(x)| = f(x), and for x∈[1,32]x \in [1, \frac{3}{2}], ∣f(x)∣=−f(x)|f(x)| = -f(x). We can factor out π2\pi^2 from the integrals.

Step 4: Apply integration by parts

We use integration by parts for ∫xsin⁡(πx) dx\int x \sin(\pi x) \, dx. Let u=xu = x and dv=sin⁡(πx) dxdv = \sin(\pi x) \, dx. Then du=dxdu = dx and v=−1πcos⁡(πx)v = -\frac{1}{\pi} \cos(\pi x). Applying the formula ∫u dv=uv−∫v du\int u \, dv = uv - \int v \, du, we get the indefinite integral.

Step 5: Evaluate the definite integrals

Now we substitute the limits of integration into the antiderivative. For the first integral from −1-1 to 11: (−1πcos⁡(π)+1π2sin⁡(π))−(−−1πcos⁡(−π)+1π2sin⁡(−π))=(1π+0)−(1π+0)=0\left( -\frac{1}{\pi} \cos(\pi) + \frac{1}{\pi^2} \sin(\pi) \right) - \left( -\frac{-1}{\pi} \cos(-\pi) + \frac{1}{\pi^2} \sin(-\pi) \right) = \left( \frac{1}{\pi} + 0 \right) - \left( \frac{1}{\pi} + 0 \right) = 0. For the second integral from 11 to 32\frac{3}{2}: (−3/2πcos⁡(3π2)+1π2sin⁡(3π2))−(−1πcos⁡(π)+1π2sin⁡(π))=(0−1π2)−(1π+0)=−1π2−1π\left( -\frac{3/2}{\pi} \cos(\frac{3\pi}{2}) + \frac{1}{\pi^2} \sin(\frac{3\pi}{2}) \right) - \left( -\frac{1}{\pi} \cos(\pi) + \frac{1}{\pi^2} \sin(\pi) \right) = \left( 0 - \frac{1}{\pi^2} \right) - \left( \frac{1}{\pi} + 0 \right) = -\frac{1}{\pi^2} - \frac{1}{\pi}. Combining these with the negative sign for the second integral and multiplying by π2\pi^2, we get I=π2[0−(−1π2−1π)]=π2[1π2+1π]=1+πI = \pi^2 \left[ 0 - \left( -\frac{1}{\pi^2} - \frac{1}{\pi} \right) \right] = \pi^2 \left[ \frac{1}{\pi^2} + \frac{1}{\pi} \right] = 1 + \pi. Wait, let's recheck the first integral. [−xπcos⁡(πx)+1π2sin⁡(πx)]∣−11=(−1πcos⁡(π)+1π2sin⁡(π))−(−−1πcos⁡(−π)+1π2sin⁡(−π))=(−1π(−1)+0)−(1π(−1)+0)=1π−(−1π)=2π\left[ -\frac{x}{\pi} \cos(\pi x) + \frac{1}{\pi^2} \sin(\pi x) \right] \Big|_{-1}^{1} = \left( -\frac{1}{\pi} \cos(\pi) + \frac{1}{\pi^2} \sin(\pi) \right) - \left( -\frac{-1}{\pi} \cos(-\pi) + \frac{1}{\pi^2} \sin(-\pi) \right) = \left( -\frac{1}{\pi}(-1) + 0 \right) - \left( \frac{1}{\pi}(-1) + 0 \right) = \frac{1}{\pi} - \left( -\frac{1}{\pi} \right) = \frac{2}{\pi}. So the first part is π2(2π)=2π\pi^2 \left( \frac{2}{\pi} \right) = 2\pi. The second part is −π2[(0−1π2)−(1π+0)]=−π2[−1π2−1π]=1+π-\pi^2 \left[ \left( 0 - \frac{1}{\pi^2} \right) - \left( \frac{1}{\pi} + 0 \right) \right] = -\pi^2 \left[ -\frac{1}{\pi^2} - \frac{1}{\pi} \right] = 1 + \pi. Adding them: 2π+1+π=3π+12\pi + 1 + \pi = 3\pi + 1. Let's re-evaluate the first integral carefully. I1=∫−11π2xsin⁡(πx) dxI_1 = \int_{-1}^{1} \pi^2 x \sin(\pi x) \, dx. Since xsin⁡(πx)x \sin(\pi x) is an even function ((−x)sin⁡(−πx)=(−x)(−sin⁡(πx))=xsin⁡(πx)(-x)\sin(-\pi x) = (-x)(-\sin(\pi x)) = x\sin(\pi x)), I1=2π2∫01xsin⁡(πx) dxI_1 = 2 \pi^2 \int_{0}^{1} x \sin(\pi x) \, dx. 2π2[−xπcos⁡(πx)+1π2sin⁡(πx)]∣01=2π2[(−1πcos⁡(π)+1π2sin⁡(π))−(0+0)]=2π2[−1π(−1)+0]=2π2[1π]=2π2 \pi^2 \left[ -\frac{x}{\pi} \cos(\pi x) + \frac{1}{\pi^2} \sin(\pi x) \right] \Big|_{0}^{1} = 2 \pi^2 \left[ \left( -\frac{1}{\pi} \cos(\pi) + \frac{1}{\pi^2} \sin(\pi) \right) - \left( 0 + 0 \right) \right] = 2 \pi^2 \left[ -\frac{1}{\pi}(-1) + 0 \right] = 2 \pi^2 \left[ \frac{1}{\pi} \right] = 2\pi. This is correct. Now for the second integral: I2=∫132−π2xsin⁡(πx) dx=−π2[−xπcos⁡(πx)+1π2sin⁡(πx)]∣132I_2 = \int_{1}^{\frac{3}{2}} -\pi^2 x \sin(\pi x) \, dx = -\pi^2 \left[ -\frac{x}{\pi} \cos(\pi x) + \frac{1}{\pi^2} \sin(\pi x) \right] \Big|_{1}^{\frac{3}{2}}. I2=−π2[(−3/2πcos⁡(3π2)+1π2sin⁡(3π2))−(−1πcos⁡(π)+1π2sin⁡(π))]I_2 = -\pi^2 \left[ \left( -\frac{3/2}{\pi} \cos(\frac{3\pi}{2}) + \frac{1}{\pi^2} \sin(\frac{3\pi}{2}) \right) - \left( -\frac{1}{\pi} \cos(\pi) + \frac{1}{\pi^2} \sin(\pi) \right) \right]. I2=−π2[(0+1π2(−1))−(−1π(−1)+0)]I_2 = -\pi^2 \left[ \left( 0 + \frac{1}{\pi^2}(-1) \right) - \left( -\frac{1}{\pi}(-1) + 0 \right) \right]. I2=−π2[−1π2−1π]=1+πI_2 = -\pi^2 \left[ -\frac{1}{\pi^2} - \frac{1}{\pi} \right] = 1 + \pi. Total integral I=I1+I2=2π+(1+π)=3π+1I = I_1 + I_2 = 2\pi + (1 + \pi) = 3\pi + 1.

More from this chapter

All Integrals solutions →

Solve your own maths question free →