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

Similar questions

If $y = (1 + {x^{1/4}})(1 + {x^{1/2}})(1 - {x^{1/4}})$, then ${{dy} \over {dx}}=$
The solution set of the inequation 2x + y > 5 is:
$\int_{\frac{-\pi}{4}}^{\frac{\pi}{4}}\frac{\text{dx}}{1+\cos2\text{x}}\text{dx}$ is equal to:
  1. 1
  2. 2
  3. 3
  4. 4
The function defined by $f(x)\, = \,\left\{ {\begin{array}{*{20}{c}}{{{\left( {{x^2} + {e^{\frac{1}{{2 - x}}}}} \right)}^{ - 1}}}&,&{x \ne 2}\\k&,&{x = 2}\end{array}} \right.$, is continuous from right at the point $x = 2$, then $k$ is equal to
Choose the correct answer from the given four option.
The solution of $\frac{\text{d}\text{y}}{\text{d}\text{x}}+\text{y}=\text{e}^{\text{-x}},\text{ y}(0)$is:
  1. $\text{y}=\text{e}^{\text{x}}(\text{x}-1)$
  2. $\text{y}=\text{x}\text{e}^{-\text{x}}$
  3. $\text{y}=\text{x}\text{e}^{\text{x}}+1$
  4. $\text{y}=(\text{x}+1)\text{e}^{-\text{x}}$
If $a = i - j,b = i + j,\,\,\,c = i + 3j + 5k$  and  $n$ is a unit vector such that $b.n = 0,a.n = 0$ then the value of $|c\;.\;n|$ is equal to
The order the matrix is $\begin{bmatrix}2&\text{amp; }3&\text{amp; }4\\9&\text{amp; }8&\text{amp; }7\end{bmatrix}$ is:
  1. 4 × 3
  2. 3 × 2
  3. 2 × 3
  4. 3 × 1
If $y=e^{\frac{1}{2} \log \left(1+\tan ^2 x\right)}$, then $\frac{d y}{d x}$ is equal to
If $[x]$ denotes the greatest integer less than or equal to $x$, then the value of the integral $\int_{-\pi / 2}^{\pi / 2}[[x]-\sin x] d x$ is equal to:
If the function $f$ defined as $f(x)\, = \frac{1}{x} - \frac{{k - 1}}{{{e^{2x}} - 1}}$ ,$x\, \ne \,0,$ is continuous at $x = 0.$ then the ordered pair  $(k,f(0))$ is equal to?