Question
Evaluate $\int_{-\pi}^\pi(\cos a x-\sin b x)^2 d x$.

Answer


$\text { Given, } I=\int_{-\pi}^\pi(\cos a x-\sin b x)^2 d x$
$=\int_{-\pi}^\pi\left(\cos ^2 a x+\sin ^2 b x-2 \cos a x \sin b x\right) d x$
$=\int_{-\pi}^\pi\left(\cos ^2 a x+\sin ^2 b x\right) d x-2 \int_{-\pi}^\pi \cos a x \sin b x d x$
$=I_1-I_2$
Let,
$I_1=\int_{-\pi}^\pi\left(\cos ^2 a x+\sin ^2 b x\right) d x \text { ( be an even function) }$
$=2 \int_0^\pi\left(\cos ^2 a x+\sin ^2 b x\right) d x$
$=2 \int_0^\pi\left(\frac{1+\cos 2 a x}{2}+\frac{1-\cos 2 b x}{2}\right) d x$
$=\int_0^\pi(1+\cos 2 a x+1-\cos 2 b x) d x$
$=\int_0^\pi(2+\cos 2 a x-\cos 2 b x) d x$
$=\left(2 x+\frac{\sin 2 a x}{2 a}-\frac{\sin 2 b x}{2 b}\right)_0^\pi$
$=\left(2 \pi+\frac{\sin 2 a \pi}{2 a}-\frac{\sin 2 b \pi}{2 b}\right)-0$
$=2 \pi+\frac{\sin 2 a \pi}{2 a}-\frac{\sin 2 b \pi}{2 b}$
$I_2=2 \int_{-\pi}^\pi(\cos a x \sin b x) d x \text { ( be a odd function) }$
$=0\binom{\because \int_{-a}^a f(x)=2 \int_0^a f(x) d x, \text { if } f(x) \text { is even }}{0, \text { if } f(x) \text { is odd }}$
$\therefore I=I_1-I_2=2 \pi+\frac{\sin 2 a \pi}{2 a}-\frac{\sin 2 b \pi}{2 b}$

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

Find the area of the triangle with vertices A(1, 1, 2), B(2, 3, 5) and C(1, 5, 5).
Reduce the equation 2x - 3y - 6z = 14 to the normal form and, hence, find the length of the perpendicular from the origin to the plane. Also, find the direction cosines of the normal to the plane.
Show that $\text{f}(\text{x})=\cos^2\text{x}$ is a decreasing function on $\Big(0,\frac{\pi}{2}\Big).$
Show that the normals to the following parirs of planes are perpendicular other.
$\vec{\text{r}}\cdot(2\hat{\text{i}}-\hat{\text{j}}+3\hat{\text{k}})=5$ and $\vec{\text{r}}\cdot(2\hat{\text{i}}-\hat{\text{j}}-2\hat{\text{k}})=5$
If $A$ and $B$ are square matrices of the same order such that $AB = BA,$ then prove by induction that $AB’’ = B’’A.$ Further prove that $(AB)’’ = A’’B’’$ for all $n \Rightarrow N.$
Find the cartesian equation of the line which passes through the point (-2, 4, -5) and parallel to the line given by $\frac{\text{x}+3}{3}=\frac{\text{y}-4}{5}=\frac{\text{z}+8}{6}.$
Using determinants show that the following points are collinear:
$(1, -1), (2, 1)$ and $(4, 5)$
Evaluate the definite integral in Exercise:
$\int\limits_\frac{\pi}{2}^{\pi}\text{e}^{\text{x}}\bigg(\frac{1-\sin\text{x}}{1+\cos\text{x}}\bigg)\text{dx}$
Discuss the continuity of the function f(x) at the point $\text{x}=\frac{1}{2}$ where
$\text{f}\text{(x)}=\begin{cases}\text{x}, & 0\leq\text{x} < \frac{1}{2}\\\frac{1}{2},&\text{x}=\frac{1}{2}\\1-\text{x}, &\frac{1}{2}< \text{x}\leq 1\end{cases}$ 
In the following, determine the values of constants involved in the definition so that the given function is continuous:
$\text{f(x)}=\begin{cases}\text{kx}+5,&\text{if }\text{ x}\leq2\\\text{x}-1,&\text{if }\text{ x}>2\end{cases}$