Question
Evaluate the following intregals:
$\int\frac{1}{2+\sin\text{x}+\cos\text{x}}\text{dx}$

Answer

Let $\text{I}=\int\frac{1}{2+\sin\text{x}+\cos\text{x}}\text{dx}$
Putting $\sin\text{x}=\frac{2\tan\frac{\text{x}}{2}}{1+\tan^2\frac{\text{x}}{2}},\cos\text{x}=\frac{1-\tan^2\frac{\text{x}}{2}}{1+\tan^2\frac{\text{x}}{2}}$
$\text{I}=-\int\frac{1}{2+\begin{pmatrix}\frac{2\tan\frac{\text{x}}{2}}{1+\tan^2\frac{\text{x}}{2}}\end{pmatrix}+\begin{pmatrix}\frac{1-\tan^2\frac{\text{x}}{2}}{1+\tan^2\frac{\text{x}}{2}}\end{pmatrix}}\text{dx}$
$=\int\frac{\begin{pmatrix}1+\tan^2\frac{\text{x}}{2}\end{pmatrix}}{2+2\tan^2\frac{\text{x}}{2}+2\tan\frac{\text{x}}{2}+1-\tan^2\frac{\text{x}}{2}}\text{dx}$
$=\int\frac{\begin{pmatrix}\sec^2\frac{\text{x}}{2}\end{pmatrix}}{\tan^2\frac{\text{x}}{2}+\tan\frac{\text{x}}{2}+3}\text{dx}$
Let $\tan\frac{\text{x}}{2}=\text{t}$
$\frac{1}{2}\sec^2\frac{\text{x}}{2}\text{dx}=\text{dt}$
$\text{I}=\int\frac{2\text{dt}}{\text{t}^2+2\text{t}+3}$
$\text{I}=2\int\frac{\text{dt}}{\text{t}^2+2\text{t}+1-1+3}$
$\text{I}=2\int\frac{\text{dt}}{(\text{t}+1)^2+(\sqrt2)^2}$
$=\frac{2}{\sqrt2}\tan^{-1}\Big(\frac{\text{t}+1}{\sqrt2}\big)+\text{C}$
$\text{I}=\sqrt{2}\tan^{-1}\Big(\frac{\tan\frac{\text{x}}{2}+1}{\sqrt2}\Big)+\text{C}$

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

Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}0&\text{x}&\text{y}\\-\text{x}&0&\text{z}\\-\text{y}&-\text{z}&0\end{vmatrix}$
Find $\frac{\text{dy}}{\text{dx}}$
$y = x^n + n^x + x^x + n^n$​​​​​​​
Find a unit vector perpendicular to each of the vectors $\vec{\text{a}}+\vec{\text{b}}$ and $\vec{\text{a}}-\vec{\text{b}},$ where $\vec{\text{a}}=3\hat{\text{i}}+2\hat{\text{j}}+2\hat{\text{k}}$ and $\vec{\text{b}}=\hat{\text{i}}+2\hat{\text{j}}-2\hat{\text{k}}.$
If $\text{xy}=1,$ prove that $\frac{\text{dy}}{\text{dx}}+\text{y}^2=0$
Evaluate the integral in Exercise:
$\int\limits^{1}_{0}\sin^{-1}\bigg(\frac{2\text{x}}{1+\text{x}^{2}}\bigg)\text{dx}$
Show that the points whose position vectors are$\vec{\text{a}}=4\hat{\text{i}}-3\hat{\text{j}}+\hat{\text{k}}, \vec{\text{b}}=2\hat{\text{i}}-4\hat{\text{j}}+5\hat{\text{k}},\vec{\text{c}}=\hat{\text{i}}-\hat{\text{j}}$ from a right triangle.
Differentiate the following functions with respect to x:
$\log\sqrt{\frac{1-\cos\text{x}}{1+\cos\text{x}}}$
Find the solution of the differential equation $\cos\text{ y dy}+\cos\text{x}\sin\text{ y dx}=0$ given that $\text{y}=\frac{\pi}{2},$ when $\text{x}=\frac{\pi}{2}.$
Solve the following differential equation:
$\frac{\text{dy}}{\text{dx}}=\frac{\text{y}}{\text{x}}-\sqrt{\frac{\text{y}^2}{\text{x}^2}-1}$
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{2}}_0\frac{\sin^\text{n}\text{x}}{\sin^\text{n}\text{x}+\cos^\text{n}\text{x}}\text{ dx}$