If $\int \frac{\sin x}{\cos x(1+\cos x)} d x=f(x)+c$, then $f(x)$ is equal to

If $\int \frac{\sin x}{\cos x(1+\cos x)} d x=f(x)+c$, then $f(x)$ is equal to
  1. $\log \left|\frac{1+\cos x}{\cos x}\right|$
  2. $\log \left|\frac{\cos x}{1+\cos x}\right|$
  3. $\log \left|\frac{\sin x}{1+\sin x}\right|$
  4. $\log \left|\frac{1+\sin x}{\sin x}\right|$

Solution

$\text { Let } I=\int \frac{\sin x}{\cos x(1+\cos x)} d x$ Put $\cos x=t \Rightarrow-\sin x d x=d t$ $\begin{aligned} \Rightarrow \quad I & =\int \frac{-d t}{t(1+t)} \\ & =-\int\left[\frac{1}{t}-\frac{1}{(1+t)}\right] d t \\ & =-[\log t-\log (1+t)]+c \\ & =\log \left(\frac{t+1}{t}\right)+c \end{aligned}$ $\begin{aligned} & \text { But } I=\int(x)+c \\ & \therefore \quad \log \left(\frac{\cos x+1}{\cos x}\right)+c=f(x)+c \\ & \Rightarrow \quad f(x)=\log \left(\frac{1+\cos x}{\cos x}\right) \end{aligned}$

Asked in: MHT CET Full Test 8

Practice more Indefinite Integration questions on Aicharya