Advertisements
Advertisements
Question
Evaluate the following integral:
Advertisements
Solution
\[\text{Let I} =\int_{- 1}^1 \left| xcos\pi x \right|dx\]
Consider
\[f\left( - x \right) = \left| \left( - x \right)cos\pi\left( - x \right) \right| = \left| - xcos\pi x \right| = \left| xcos\pi x \right| = f\left( x \right)\]
\[\therefore I = \int_{- 1}^1 \left| xcos\pi x \right|dx\]
\[ = 2 \int_0^1 \left| xcos\pi x \right|dx ...............\left[ \int_{- a}^a f\left( x \right)dx = \begin{cases}2 \int_0^a f\left( x \right)dx, & \text{if }f\left( - x \right) = f\left( x \right) \\ 0, & \text{if }f\left( - x \right) = - f\left( x \right)\end{cases} \right]\]
Now,
\[\left| xcos\pi x \right| = \begin{cases}xcos\pi x, & \text{if }0 \leq x \leq \frac{1}{2} \\ - xcos\pi x, & \text{if }\frac{1}{2} < x \leq 1\end{cases}\]
\[\therefore I = 2\left[ \int_0^\frac{1}{2} xcos\pi xdx + \int_\frac{1}{2}^1 \left( - xcos\pi x \right)dx \right]\]
\[ = \left.2\left[ x \frac{sin\pi x}{\pi}\right|_0^\frac{1}{2} -\left. \frac{1}{\pi} \int_0^\frac{1}{2} sin\pi xdx \right] - 2\left[ x \frac{sin\pi x}{\pi}\right|_\frac{1}{2}^1 - \frac{1}{\pi} \int_\frac{1}{2}^1 sin\pi xdx \right]\]
\[ = 2\left( \frac{1}{2\pi}\sin\frac{\pi}{2} - 0 \right) - \left.\frac{2}{\pi} \times \left( - \frac{cos\pi x}{\pi} \right)\right|_0^\frac{1}{2} - \left.2\left( \frac{1}{\pi}sin\pi - \frac{1}{2\pi}\sin\frac{\pi}{2} \right) + \frac{2}{\pi} \times \left( - \frac{cos\pi x}{\pi} \right)\right|_\frac{1}{2}^1 \]
\[ = \frac{1}{\pi} + \frac{2}{\pi^2}\left( \cos\frac{\pi}{2} - \cos0 \right) + \frac{1}{\pi} - \frac{2}{\pi^2}\left( cos\pi - \cos\frac{\pi}{2} \right)\]
\[ = \frac{1}{\pi} - \frac{2}{\pi^2} + \frac{1}{\pi} + \frac{2}{\pi^2}\]
\[ = \frac{2}{\pi}\]
APPEARS IN
RELATED QUESTIONS
\[\int\limits_0^{( \pi )^{2/3}} \sqrt{x} \cos^2 x^{3/2} dx\]
Prove that:
Evaluate each of the following integral:
If \[f\left( x \right) = \int_0^x t\sin tdt\], the write the value of \[f'\left( x \right)\]
The value of \[\int\limits_0^{2\pi} \sqrt{1 + \sin\frac{x}{2}}dx\] is
The value of \[\int\limits_0^{\pi/2} \log\left( \frac{4 + 3 \sin x}{4 + 3 \cos x} \right) dx\] is
\[\int\limits_0^1 \cos^{- 1} \left( \frac{1 - x^2}{1 + x^2} \right) dx\]
\[\int\limits_0^{\pi/2} \frac{\sin^2 x}{\left( 1 + \cos x \right)^2} dx\]
\[\int\limits_0^1 \sqrt{\frac{1 - x}{1 + x}} dx\]
\[\int\limits_0^1 x \left( \tan^{- 1} x \right)^2 dx\]
\[\int\limits_0^1 \left( \cos^{- 1} x \right)^2 dx\]
\[\int\limits_0^{2\pi} \cos^7 x dx\]
\[\int\limits_0^a \frac{\sqrt{x}}{\sqrt{x} + \sqrt{a - x}} dx\]
Using second fundamental theorem, evaluate the following:
`int_0^1 "e"^(2x) "d"x`
Using second fundamental theorem, evaluate the following:
`int_0^(pi/2) sqrt(1 + cos x) "d"x`
Using second fundamental theorem, evaluate the following:
`int_1^2 (x - 1)/x^2 "d"x`
Evaluate the following:
`int_(-1)^1 "f"(x) "d"x` where f(x) = `{{:(x",", x ≥ 0),(-x",", x < 0):}`
Evaluate the following:
`int_0^oo "e"^(-4x) x^4 "d"x`
Choose the correct alternative:
`int_0^1 (2x + 1) "d"x` is
Choose the correct alternative:
`int_0^oo "e"^(-2x) "d"x` is
Choose the correct alternative:
If n > 0, then Γ(n) is
Evaluate `int sqrt((1 + x)/(1 - x)) "d"x`, x ≠1
