Question
Evaluate the following integrals:
$\int\limits^1_{-1}|\text{x}\cos\pi\text{x}|\text{dx}$

Answer

Let $\text{I}=\int\limits^1_{-1}|\text{x}\cos\pi\text{x}|\text{dx}$
Consider $\text{f(x)}=|\text{x}\cos\pi\text{x}|$
$\text{f}(-\text{x})=\big|(\text{x})\cos\pi(-\text{x})\big|=|-\text{x}\cos\pi\text{x}|=|\text{x}\cos\pi\text{x}|\text{f(x)}$
$\therefore\ \text{I}=\int\limits^1_{-1}|\text{x}\cos\pi\text{x}|\text{dx}$
$=2\int\limits^1_{-1}|\text{x}\cos\pi\text{x}|\text{dx}$ $\begin{bmatrix}\int\limits^{\text{a}}_{-\text{a}}\text{f(x)}\text{dx}=\begin{cases}2\int\limits^{\text{a}}_{0}\text{f(x)}\text{dx},&\text{ if }\text{f}(-\text{x})=\text{f(x)}\\0,&\text{ if }\text{f}(-\text{x})=-\text{f}(\text{x})\end{cases}\end{bmatrix}$
Now,
$|\text{x}\cos\pi\text{x}|=\begin{cases}\text{x}\cos\pi\text{x},&\text{if }0\leq\text{x}\leq\frac{1}{2}\\-\text{x}\cos\pi\text{x},&\text{if }\frac{1}{2}\text{x}\leq1\end{cases}$
$\therefore\ \text{I}=2\Bigg[\int\limits^{{1}/{2}}_0\text{x}\cos\pi\text{x dx}+\int\limits^1_{1/2}(-\text{x}\cos\text{dx})\text{dx}\Bigg]$
$=2\Big(\frac{1}{2\pi}\sin\frac{\pi}{2}-0\Big)-\frac{2}{\pi}\times\Big[\Big(-\frac{\cos\pi\text{x}}{\pi}\Big)\Big]^{\frac{1}{2}}_0\\-2\Big(\frac{1}{\pi}\sin\pi-\frac{1}{2\pi}\sin\frac{\pi}{2}\Big)+\frac{2}{\pi}\times\Big(-\frac{\cos\pi\text{x}}{\pi}\Big)\Big]^1_{\frac{1}{2}}$
$=\frac{1}{\pi}+\frac{2}{\pi^2}\Big(\cos\frac{\pi}{2}-\cos0\Big)+\frac{1}{\pi}-\frac{2}{\pi}\Big(\cos\pi-\cos\frac{\pi}{2}\Big)$
$=\frac{1}{\pi}-\frac{2}{\pi^2}+\frac{1}{\pi}+\frac{2}{\pi^2}$
$=\frac{2}{\pi}$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Prove that:
$\begin{vmatrix}\text{z}&\text{x}&\text{y}\\\text{z}^2&\text{x}^2&\text{y}^2\\\text{z}^4&\text{x}^4&\text{y}^4 \end{vmatrix}=\begin{vmatrix}\text{x}&\text{y}&\text{z}\\\text{x}^2&\text{y}^2&\text{z}^2\\\text{x}^4&\text{y}^4&\text{z}^4 \end{vmatrix}=\begin{vmatrix}\text{x}^2&\text{y}^2&\text{z}^2\\\text{x}^4&\text{y}^4&\text{z}^2\\\text{x}&\text{y}&\text{z}\end{vmatrix}$
$=\text{xyz}(\text{x}-\text{y})(\text{y}-\text{z})(\text{z}-\text{x})(\text{x}+\text{y}+\text{z}).$
Find the distance of the point (3, 3, 3) from the plane $\vec{\text{r}}\cdot(5\hat{\text{i}}+2\hat{\text{j}}-7\hat{\text{k}})+9=0$
Evaluate the following intregals:
$\int\frac{\text{x}}{(\text{x}+1)(\text{x}^2+1)}\ \text{dx}$
Solve for $x: \tan^{-1}(x - 1) + \tan^{-1}x + \tan^{-1}(x + 1) = \tan^{-1} 3x.$
Using differentials, find the approximate values of the following:
$\sqrt{49.5}$
A die is thrown 5 times. Find the probability that an odd number will come up exactly three times.
Form the differential equation of the family of ellipses having foci on y-axis and centre at origin.
If $a_1, a_2, a_3, ..., a_n$ is an arithmetic progression with common difference d, then evaluate the following expression.
$\tan\bigg[\tan^{-1}\Big(\frac{\text{d}}{1+\text{a}_1\text{a}_2}\Big)+\tan^{-1}\Big(\frac{\text{d}}{1+\text{a}_2\text{a}_3}\Big)+\tan^{-1}\Big(\frac{\text{d}}{1+\text{a}_3\text{a}_4}\Big)+\ .....\ +\tan^{-1}\Big(\frac{\text{d}}{1+\text{a}_{\text{n}-1}\text{a}_\text{n}}\Big)\bigg]$
Evaluate the following integrals:
$\int\text{x}^3\tan^{-1}\text{x dx}$
The slope of the tangent at a point P(x, y) on a curve is $\frac{-\text{x}}{\text{y}}$. If the curve passs es through the point (3, -4). Find the equation of the curve.