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

Three bags contain balls as shown in the table below:
Bag Number of White balls Number of Black balls Number of Red balls
I 1 2 3
II 2 1 1
III 4 3 2
A bag is chosen at random and two balls are drawn from it. They happen to be white and red. What is the probability that they came from the III bag?
Evaluate the following integrals:
$\int_{0}^\limits{\frac{\pi}{2}}\frac{\text{x}+\sin\text{x}}{1+\cos\text{x}}\text{ dx}$
Find the angle between the vectors with direction ratios proportional to 1, -2, 1 and 4, 3, 2.
Find the value of $\tan^{-1}\Big(\frac{\text{x}}{\text{y}}\Big)-\tan^{-1}\Big(\frac{\text{x-y}}{\text{x+y}}\Big)$
Form the differential equation of the family of circles having centre on y-axis and radius 3 units.
A and B throw a pair of dice alternately. A wins the game if he gets a total of 6 and B wins if she gets a total of 7. It A starts the game, find the probability of winning the game by A in third throw of the pair of dice.
Evaluate the following integrals:
$\int\limits^{\pi}_0\frac{\text{x}}{1+\cos\alpha\sin\text{x}}\text{ dx},0<\alpha<\pi$
Find the value of k if f(x) is continuous at $\text{x}=\frac{\pi}{2},$ where
$\text{f}\text{(x)}=\begin{cases}\frac{\text{k}\cos\text{x}}{\pi-2\text{x}}, &\text{ x}\neq\frac{\pi}{2}\\3, &\text{ x}=\frac{\pi}{2}\end{cases}$ 
Find graphically, the maximum value of $\text{z = 2x + 5y},$ subject to constraints given below:
$2x + 4y \leq 8$
$3x + y \leq 6$
$x + y \leq 4$
$x\geq 0, y\geq 0$
Solve the following differential equation
$\sin\Big(\frac{\text{dy}}{\text{dx}}\Big)=\text{K};\text{y}(0)=1$