Evaluate $\int_{-1}^{\frac{3}{2}}|x \sin (\pi x)| d x$

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(A) Let $f(x) = |x \sin(\pi x)|$. The function $x \sin(\pi x)$ is non-negative on $[-1, 1]$ and non-positive on $[1, \frac{3}{2}]$.
Thus,$|x \sin(\pi x)| = \begin{cases} x \sin(\pi x) & \text{for } -1 \leq x \leq 1 \\ -x \sin(\pi x) & \text{for } 1 < x \leq \frac{3}{2} \end{cases}$
Therefore,$\int_{-1}^{\frac{3}{2}} |x \sin(\pi x)| dx = \int_{-1}^{1} x \sin(\pi x) dx - \int_{1}^{\frac{3}{2}} x \sin(\pi x) dx$.
Using integration by parts,$\int x \sin(\pi x) dx = -\frac{x \cos(\pi x)}{\pi} + \frac{\sin(\pi x)}{\pi^2}$.
Evaluating the first integral: $\left[ -\frac{x \cos(\pi x)}{\pi} + \frac{\sin(\pi x)}{\pi^2} \right]_{-1}^{1} = (-\frac{1 \cdot (-1)}{\pi} + 0) - (-\frac{-1 \cdot (-1)}{\pi} + 0) = \frac{1}{\pi} - (-\frac{1}{\pi}) = \frac{2}{\pi}$.
Evaluating the second integral: $\left[ -\frac{x \cos(\pi x)}{\pi} + \frac{\sin(\pi x)}{\pi^2} \right]_{1}^{\frac{3}{2}} = (0 + \frac{\sin(3\pi/2)}{\pi^2}) - (-\frac{1 \cdot (-1)}{\pi} + 0) = -\frac{1}{\pi^2} - \frac{1}{\pi}$.
Subtracting the two results: $\frac{2}{\pi} - (-\frac{1}{\pi^2} - \frac{1}{\pi}) = \frac{3}{\pi} + \frac{1}{\pi^2}$.

Explore More

Similar Questions

The value of the integral $\int_{-1}^1 \frac{|x+2|}{x+2} \, dx$ is

The value of the integral $\int_{-1}^1 \left( \frac{x^3 + |x| + 1}{x^2 + 2|x| + 1} \right) dx$ is equal to:

Let $f(x) + 2f\left(\frac{1}{x}\right) = x^2 + 5$ and $2g(x) - 3g\left(\frac{1}{x}\right) = x$ for $x > 0$. If $\alpha = \int_1^2 f(x) dx$ and $\beta = \int_1^2 g(x) dx$,then the value of $9\alpha + \beta$ is:

If $f(x) = \int_{-1}^{x} |t| dt$,then for any $x \geq 0$,$f(x)$ is equal to

If $\phi(t)=\begin{cases} 1, & \text{for } 0 \leq t < 1 \\ 0, & \text{otherwise} \end{cases}$, then $\int_{-3000}^{3000} \left( \sum_{r'=2014}^{2016} \phi(t-r') \phi(t-2016) \right) dt$ is

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo