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

If $\text{A} = \begin{pmatrix} \cos \alpha & -\sin \alpha & 0 \\ \sin \alpha & \cos \alpha & 0 \\ 0 & 0 & 1 \end{pmatrix},$ find adj.A and verify that $\text{A(adj. A) = (adj.A)A} | \text{A} = | \text{I}_{3}.$
Evaluate:$\int\frac{\text{x + 2}}{\text{2x}^{2}+\text{6x + 5}}\text{dx}$.
From the differential equation of the family of circles in the second quadrant and touching the coordinate axes.
To maintain his health a person must fulfil certain minimum daily requirements for several kinds of nutrients. Assuming that there are only three kinds of nutrients-calcium, protein and calories and the person's diet consists of only two food items, I and II, whose price and nutrient contents are shown in the table below:
 
Food I
(per Ib)
Food II
(per Ib)
Minimum daliy requarement
for the nutrient
Calcium
10
5
20
Protein
5
4
20
Calories
2
6
13
Price (Rs)
60
100
 
What combination of two food items will satisfy the daily requirement and entail the least cost? Formulate this as a LPP.
If $\text{y}=\frac{\text{e}^\text{x}-\text{e}^{-\text{x}}}{\text{e}^{\text{x}}+\text{e}^{-\text{x}}},$ prove that $\frac{\text{dy}}{\text{dx}}=1-\text{y}^2$
If $\text{A}=\begin{bmatrix}2&-3&-5\\-1&4&5\\1&-3&-4\end{bmatrix}$ and $\text{B}=\begin{bmatrix}2&-2&-4\\-1&3&4\\1&-2&-3\end{bmatrix},$ show that AB = A and BA = B.
Show that the vectors $\overrightarrow{\text{a}},\overrightarrow{\text{b}} \text{and}{\overrightarrow{\text{c}}}$ are coplanar $\overrightarrow{\text{a}} +\overrightarrow{\text{b}}, \overrightarrow{\text{b}}+\overrightarrow{\text{c}}\text{and} \overrightarrow{\text{c}} + \overrightarrow{\text{a}}$ are coplanar.
Prove that:
$\begin{vmatrix}\frac{\text{a}^2+\text{b}^2}{\text{c}}&\text{c}&\text{c}\\\text{a}&\frac{\text{b}^2+\text{c}^2}{\text{a}}&\text{a}\\\text{b}&\text{b}&\frac{\text{c}^2+\text{a}^2}{\text{b}}\end{vmatrix}=4\text{abc}$
Find the vector equation of the plane which is at a distance of $\frac{6}{\sqrt{29}}$ from the origin and its normal vector from the origin is $2\hat{\text{i}}-3\hat{\text{j}}+4\hat{\text{k}}$ Also, find its cartesian form.
Solve the following system of equations by matrix method:$\frac{2}{\text{x}}-\frac{3}{\text{y}}+\frac{3}{\text{z}}=10$
$\frac{1}{\text{x}}+\frac{1}{\text{y}}+\frac{1}{\text{z}}=10$
$\frac{3}{\text{x}}-\frac{1}{\text{y}}+\frac{2}{\text{z}}=13$