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 velocity of a particle which starts from rest is given by the following table. The total distance travelled (in metre) by the particle in $10 \ s$, using the Trapezoidal rule, is:
$t \ (\text{in second})$$0$$2$$4$$6$$8$$10$
$v \ (\text{in m/s})$$0$$12$$16$$20$$35$$60$

$\int_0^{\pi /4} {\frac{{\sec x}}{{1 + 2{{\sin }^2}x}}} dx$ is equal to

Difficult
View Solution

If $\int_{0}^{a} \sqrt{\frac{a - x}{x}} dx = \frac{K}{2}$,then $K = . . . . . .$.

$\int_0^1 \frac{1}{\sqrt{3+2x-x^2}} dx =$

Let $\lim _{c \rightarrow 0} \int_c^x \frac{b t \cos 4 t - a \sin 4 t}{t^2} d t = \frac{a \sin 4 x}{x} - 1$. Find the values of $a$ and $b$.

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