The value of $\sqrt{2} \int \frac{\sin x d x}{\sin \left(x-\frac{\pi}{4}\right)}$ is

The value of $\sqrt{2} \int \frac{\sin x d x}{\sin \left(x-\frac{\pi}{4}\right)}$ is
  1. $x+\log \left|\cos \left(x-\frac{\pi}{4}\right)\right|+c$
  2. $x-\log \left|\sin \left(x-\frac{\pi}{4}\right)\right|+c$
  3. $x+\log \left|\sin \left(x-\frac{\pi}{4}\right)\right|+c$
  4. $x-\log \left|\cos \left(x-\frac{\pi}{4}\right)\right|+c$

Solution

$ \begin{aligned} & \sqrt{2} \int \frac{\sin x d x}{\sin \left(x-\frac{\pi}{4}\right)}=\sqrt{2} \int \frac{\sin \left(x-\frac{\pi}{4}+\frac{\pi}{4}\right) d x}{\sin \left(x-\frac{\pi}{4}\right)} \\ & =\sqrt{2} \int\left(\cos \frac{\pi}{4}+\cot \left(x-\frac{\pi}{4}\right) \sin \frac{\pi}{4}\right) d x \\ & =\int d x+\int \cot \left(x-\frac{\pi}{4}\right) d x \\ & =x+\ln \left|\sin \left(x-\frac{\pi}{4}\right)\right|+c . \end{aligned} $

Asked in: JEE Main 2008

Practice more Indefinite Integration questions on Aicharya