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

$\int_0^3 \left(\sin \left(\frac{\pi}{3} x\right) - \cos \left(\frac{\pi}{3} x\right)\right) dx =$

$\int_0^1 \sin ^{-1}\left(\frac{2 x}{1+x^2}\right) d x=$

$\int\limits_1^e {\left( {\frac{{{{\tan }^{ - 1}}x}}{x} + \frac{{\ln x}}{{1 + {x^2}}}} \right)} \,dx$ is equal to

If $f(x)=\sin ^6 x+\cos ^6 x+2 \sin ^3 x \cos ^3 x$, then $\int_0^{\pi / 4} \frac{\sin ^2 2 x}{f(x)} d x=$

The value of $\int_{0}^{2} [x^{2}] dx$ is equal to, where $[.]$ denotes the Greatest Integer Function $(GIF)$.

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