Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
$\int_0^{\pi / 4}[\sqrt{\tan x}+\sqrt{\cot x}] d x$ is equal to
MathematicsDefinite IntegrationJEE Main
Options:
  • A $\frac{\pi}{\sqrt{2}}$
  • B $\frac{\pi}{2}$
  • C $\frac{3 \pi}{\sqrt{2}}$
  • D $\pi$
Solution:
1401 Upvotes Verified Answer
The correct answer is: $\frac{\pi}{\sqrt{2}}$
$$
\begin{aligned}
& I=\int_0^{\pi / 4} \sqrt{\tan x}+\sqrt{\cot x} d x \\
&=\int_0^{\pi / 4}\left(\frac{\sqrt{\sin x}}{\sqrt{\cos x}}+\frac{\sqrt{\cos x}}{\sqrt{\sin x}}\right) d x \\
&=\int_0^{\pi / 4} \frac{\sin x+\cos x}{\sqrt{\sin x \cos x}} d x \\
&=\int_0^{\pi / 4} \frac{\sqrt{2}(\sin x+\cos x)}{\sqrt{2 \sin x \cos x}} d x \\
&=\sqrt{2} \int_0^{\pi / 4} \frac{\sin x+\cos x}{\sqrt{1-(\sin x-\cos x)^2}} d x
\end{aligned}
$$
Let $\quad \sin x-\cos x=t$
$$
\Rightarrow \quad(\cos x+\sin x) d x=d t
$$
$$
\begin{aligned}
\therefore I & =\sqrt{2} \int_0^{\pi / 4} \frac{d t}{\sqrt{1-t^2}} \\
& =\sqrt{2}\left[\sin ^1 t\right]_0^{\pi / 4} \\
& =\sqrt{2}\left[\sin ^1(\sin x-\cos x)\right]_0^{\pi / 4} \\
& =\sqrt{2}\left[\sin ^1\left(\sin \frac{\pi}{4}-\cos \frac{\pi}{4}\right)-\sin ^1\left(\sin \infty^{\circ}-\cos \infty^{\circ}\right)\right] \\
& =\sqrt{2}\left[\sin ^1 0-\sin ^1(-1)\right] \\
& =\sqrt{2}\left[0+\frac{\pi}{2}\right]=\sqrt{2} \frac{\pi}{2}=\frac{\pi}{\sqrt{2}}
\end{aligned}
$$

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.