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 either $\vec{a}=\vec{0}\ \ \text{or}\ \ \vec{b}=\vec{0},\ \ \text{then}\ \ \vec{a}\times\vec{b}=\vec{0}.$ Is the converse true? Justify your answer with an example.
In each of the show that the given differential equation is homogeneous and solve each of them. $(\text{x}-\text{y})\ \text{dy}- (\text{x}+\text{y})\ \text{dx}=0$
If $\sqrt{1-\text{x}^2}+\sqrt{1-\text{y}^2}=\text{a}(\text{x}-\text{y}),$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{\sqrt{1-\text{y}^2}}{1-\text{x}^2}$
Evaluate the following integrals:
$\int\sin^7\text{x}\text{ dx}$
Find the area, lying above $x$-axis and included between the circle $x^2+y^2=8 x$ and the parabola $y^2=4 x$.
Show that the points $\text{A}\big(2\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\big),\ \text{B}\big(\hat{\text{i}}-3\hat{\text{j}}-5\hat{\text{k}}\big),$ $\text{C}\big(3\hat{\text{i}}-4\hat{\text{j}}-4\hat{\text{k}}\big)$ are the vertices of a right angled triangle.
A shopkeeper has $3$ varieties of pens $'A', 'B'$ and $'C'$. Meenu purchased $1$ pen of each variety for a total of Rs $21$. Jeevan purchased $4$ pens of $'A'$ variety $3$ pens of $'B'$ variety and $2$ pens of $'C'$ variety for Rs $60$. While Shikha purchased $6$ pens of $'A'$ variety, $2$ pens of $'B'$ variety and $3$ pens of $'C'$ variety for Rs $70$. Using matrix method, find cost of each variety of pen.
Three cards are cdrawn successively with replacement from a well shffled deck of 52 cards. A random variable X denotes the number of hearts in the three cards drawn. Determine the probability distribution of X.
the cartesian equation of a line are $\frac{\text{x}-5}{3}=\frac{\text{y}+4}{7}=\frac{\text{z}-6}{2}.$ Find a vector equation for the line.
$\text{Find}: \int(x + 3) \sqrt{3 - 4x - x^{2}} dx.$