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

Answer

Let $\text{I}=\int\frac{1}{1-\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}{1-\frac{2\tan\frac{\text{x}}{2}}{1+\tan^2\frac{\text{x}}{2}}+\frac{1-\tan^2\frac{\text{x}}{2}}{1+\tan^2\frac{\text{x}}{2}}}$
$=\int\frac{1+\tan^2\frac{\text{x}}{2}}{1+\tan^2\frac{\text{x}}{2}-2\tan\frac{\text{x}}{2}+1-\tan^2\frac{\text{x}}{2}}\ \text{dx}$
$=\int\frac{\sec^2\frac{\text{x}}{2}}{2-2\tan\frac{\text{x}}{2}}\ \text{dx}$
Let $\tan\frac{\text{x}}{2}=\text{t}$
$\frac{1}{2}\sec^2\frac{\text{x}}{2}\text{dx}=\text{dt}$
$=\frac{2}{2}\int\frac{\text{dt}}{1-\text{t}}$
$=-\log|1-\text{t}|+\text{C}$
$\text{I}=-\log\big|1-\tan\frac{\text{x}}{2}\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

Evaluate the following integrals as limit of sum:
$\int\limits^{3}_{0}\big(2\text{x}^2+3\text{x}+5\big)\text{dx}$
Find the equation of a plane which passes through the point (3, 2, 0) and contains the line $\frac{\text{x}-3}{1}=\frac{\text{y}-6}{5}=\frac{\text{z}-4}{4}$
Two schools P and Q want to award their selected students on the values of Tolerance, Kindness and Leadership. The school P wants to award ₹ x each, ₹ y each and ₹ z each for the three respective values to 3, 2 and 1 students respectively with a total award money of ₹ 2,200School Q wants to spend ₹ 3,100 to award its 4, 1 and 3 students on the respective values (by giving the same award money to the three values as school P). If the total amount of award for one prize on each values is ₹ 1,200, using matrices, find the award money for each value.
Apart from these three values, suggest one more value which should be considered for award.
If $\text{y}=\sqrt{\text{x}}+\frac{1}{\sqrt{\text{x}}},$ prove that $2\text{x}\frac{\text{dy}}{\text{dx}}=\sqrt{\text{x}}-\frac{1}{\sqrt{\text{x}}}$
Sketch the graph of $\text{y}=|\text{x}+3|$ and evaluate $\int\limits^0_{-6}|\text{x}+3|\text{ dx}.$
If $\text{x}=\frac{\sin^3\text{t}}{\sqrt{\cos^2\text{t}}},\text{y}=\frac{\cos^3\text{t}}{\sqrt{\cos2\text{t}}},$ find $\frac{\text{dy}}{\text{dx}}$
Solve the following differential equations:

$(1+\text{x})(1+\text{y}^2)\text{dx}+(1+\text{y})(1+\text{x}^2)\text{dy}=0$

Evaluate the following integrals:
$\int\text{x}^3\tan^{-1}\text{x dx}$
Prove that $\begin{vmatrix}a^2&bc&ac+c^2\\a^2+ab&b^2&ac\\ab&b^2+bc&c^2\end{vmatrix}=4a^2b^2c^2$
Find the equations of the tangent and the normal to the following curves at the indicated points.
$\text{y}=\text{x}^2+4\text{x}+1\text{ at }\text{x}=3$