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

Differentiate the following functions with respect to x:
$\tan^{-1}\Big(\frac{4\text{x}}{1-4\text{x}^2}\Big),-\frac{1}{2}<\text{x}<\frac{1}{2}$
Let $\text{A}=\begin{bmatrix}1&1&1\\0&1&1\\0&0&1\end{bmatrix}$ Use the principle of mathematical induction to show that
$\text{A}^\text{n}=\begin{bmatrix}1&\text{n}&\frac{\text{n}(\text{n}+1)}{2}\\0&1&\text{n}\\0&0&1\end{bmatrix}$ for every positive integer n.
Let $\vec{\text{u}},\vec{\text{v}}$ and $\vec{\text{w}}$ be vectors such $\vec{\text{u}}+\vec{\text{v}}+\vec{\text{w}}=\vec{0}.$ If $|\vec{\text{u}}|=3,|\vec{\text{v}}|=4$ and $|\vec{\text{w}}|=5,$ then find $\vec{\text{u}}.\vec{\text{v}}+\vec{\text{v}}.\vec{\text{w}}+\vec{\text{w}}.\vec{\text{u}}.$
Evaluate the following integrals:
$\int\sqrt{1+\text{x}-2\text{x}^2}\text{dx}$
The x-intercept of the tangent line to a curve is equal to the ordinate of the point of contact. Find the particular curve through the point (1, 1).
Find the approximate change in the surface area of a cube of side x metres caused by decreasing the side by $1\%.$
Evaluate the following integrals:$\int\frac{1}{2\text{x}^2-\text{x}-1}\text{dx}$
Find the equation of the plane passing through the line of intersection of the planes $2x - y = 0$ and $3z - y= 0$ and perpendicular to the plane $4x + 5y - 3z = 8$.
Show that lines $\frac{x+1}{-10}=\frac{y+3}{-1}=\frac{z-4}{1}$ and $\frac{x+10}{-1}=\frac{y+1}{-3}=\frac{z-1}{4}$ intersect each other. Find the co-ordinates of their point of intersection.
In a large bulk of items, $5$ percent of the items are defective. What is the probability that a sample of $10$ items will include not more than one defective item?