Question
$\int\frac{1}{1+\tan\text{x}}\text{ dx}=$
  1. $\log_\text{e}(\text{x}+\sin\text{x})+\text{C}$
  2. $\log_\text{e}(\sin\text{x}+\cos\text{x})+\text{C}$
  3. $2\sec^2\frac{\text{x}}{2}+\text{C}$
  4. $\frac{1}{2}\big[\text{x}+\log(\sin\text{x}+\cos\text{x})\big]+\text{C}$

Answer

  1. $\frac{1}{2}\big[\text{x}+\log(\sin\text{x}+\cos\text{x})\big]+\text{C}$

Solution:

$\text{I}=\int\frac{1}{1+\tan\text{x}}\text{ dx}$

$=\int\frac{\cos\text{x}}{\sin\text{x}+\cos\text{x}}\text{ dx}$

Numerator can be written as,

$\cos\text{x}=\text{A}(\sin\text{x}+\cos\text{x})+\text{B}\frac{\text{d}(\sin\text{x}+\cos\text{x})}{\text{dx}}$

$\cos\text{x}=(\text{A}-\text{B})\sin\text{x}+(\text{A}+\text{B})\cos\text{x}$

$\text{A}-\text{B}=0$ and $\text{A}+\text{B}=1$

$\text{A}=\frac{1}{2}=\text{B}$

$\text{I}=\int\frac{\big[\frac{1}{2}(\sin\text{x}+\cos\text{x})+\frac{1}{2}(\cos\text{x}-\sin\text{x})\big]\text{dx}}{\sin\text{x}+\cos\text{x}}$

$\text{I}=\frac{1}{2}\int\Big(1+\frac{\cos\text{x}-\sin\text{x}}{\sin\text{x}+\cos\text{x}}\Big)\text{dx}$

$\text{I}=\frac{1}{2}\big[1+\int(\sin\text{x}+\cos\text{x})\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