Question:medium

Find the value of \( \int_0^{\pi/2} \frac{\sqrt{\cos x}}{\sqrt{\cos x} + \sqrt{\sin x}} \, dx \).

Show Hint

Use \(\int_0^a f(x)dx = \int_0^a f(a-x)dx\) with \(a = \pi/2\), then add the two integrals.
Show Solution

Solution and Explanation

Step 1: Plan:
We use the reflection idea: a definite integral over $[0, a]$ does not change if $x$ is replaced by $a - x$. The sum of the original and the reflected integrand turns out to be simply 1.

Step 2: Write the reflected integral:
Call the given integral $I$. After the substitution $x \to \frac{\pi}{2} - x$, the cosine becomes sine and the sine becomes cosine, so
\[ I = \int_0^{\pi/2} \frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}}\,dx \]

Step 3: Add the two forms of I:
Adding the original and the reflected form, the numerators combine to match the common denominator:
\[ I + I = \int_0^{\pi/2} \left( \frac{\sqrt{\cos x}}{\sqrt{\cos x} + \sqrt{\sin x}} + \frac{\sqrt{\sin x}}{\sqrt{\cos x} + \sqrt{\sin x}} \right) dx = \int_0^{\pi/2} 1\,dx \]
The last integral is $\left[x\right]_0^{\pi/2} = \frac{\pi}{2}$, so $2I = \frac{\pi}{2}$.

Step 4: Solve for I:
Dividing by 2 gives $I = \frac{\pi}{4}$. A numerical check of the integral gives 0.7854, which matches $\frac{\pi}{4}$.

Final Answer:
Using the reflection property, the integral equals the value below. \[ \boxed{\frac{\pi}{4}} \]
Was this answer helpful?
0