Question:hard

Prove that \( \displaystyle\int_0^{\pi/2} \left(\sqrt{\tan x} + \sqrt{\cot x}\right) dx = \pi\sqrt{2} \).

Show Hint

Write the integrand as \( \frac{\sin x + \cos x}{\sqrt{\sin x \cos x}} \) and put \( t = \sin x - \cos x \).
Then \( \sin x \cos x = \frac{1 - t^2}{2} \) and the limits become \( -1 \) to \( 1 \).
Show Solution

Solution and Explanation

Step 1: Use the property of definite integrals:
Let $I = \displaystyle\int_0^{\pi/2}\sqrt{\tan x}\,dx + \int_0^{\pi/2}\sqrt{\cot x}\,dx$.
The property $\displaystyle\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx$ with $a = \frac{\pi}{2}$ turns $\tan x$ into $\cot x$. So the two integrals are equal:
\[ I = 2\int_0^{\pi/2}\sqrt{\tan x}\,dx \]

Step 2: Substitute t = tan x:
Put $t = \tan x$, so $dx = \dfrac{dt}{1 + t^2}$. The limits $0$ and $\frac{\pi}{2}$ become $0$ and $\infty$:
\[ I = 2\int_0^{\infty}\frac{\sqrt{t}}{1 + t^2}\,dt \]
Now put $t = u^2$, so $dt = 2u\,du$ and $\sqrt{t} = u$:
\[ I = 4\int_0^{\infty}\frac{u^2}{1 + u^4}\,du \]

Step 3: Evaluate the rational integral:
Let $J = \displaystyle\int_0^{\infty}\frac{u^2}{1 + u^4}\,du$. Replace $u$ by $\frac{1}{u}$. This gives $J = \displaystyle\int_0^{\infty}\frac{du}{1 + u^4}$.
Add the two forms of $J$:
\[ 2J = \int_0^{\infty}\frac{1 + u^2}{1 + u^4}\,du = \int_0^{\infty}\frac{1 + \frac{1}{u^2}}{u^2 + \frac{1}{u^2}}\,du \]
Let $w = u - \dfrac{1}{u}$. Then $dw = \left(1 + \dfrac{1}{u^2}\right)du$ and $u^2 + \dfrac{1}{u^2} = w^2 + 2$. As $u$ goes from $0$ to $\infty$, $w$ goes from $-\infty$ to $\infty$:
\[ 2J = \int_{-\infty}^{\infty}\frac{dw}{w^2 + 2} = \frac{1}{\sqrt{2}}\left[\tan^{-1}\frac{w}{\sqrt{2}}\right]_{-\infty}^{\infty} = \frac{\pi}{\sqrt{2}} \]
So $J = \dfrac{\pi}{2\sqrt{2}}$.

Step 4: Find I:
\[ I = 4J = \frac{4\pi}{2\sqrt{2}} = \frac{2\pi}{\sqrt{2}} = \pi\sqrt{2} \]

Final Answer:
So $\displaystyle\int_0^{\pi/2}\left(\sqrt{\tan x} + \sqrt{\cot x}\right)dx = \pi\sqrt{2}$. \[ \boxed{\pi\sqrt{2}} \]
Was this answer helpful?
0