Integrals: Tricky Questions Solved (3)

hard 3 min read

Question

Evaluate 0π/2sinxsinx+cosxdx\displaystyle \int_0^{\pi/2} \frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}} \, dx. This is a JEE Main classic that tests the king’s property of definite integrals.

Solution — Step by Step

For any continuous ff on [a,b][a, b]:

abf(x)dx=abf(a+bx)dx\int_a^b f(x)\, dx = \int_a^b f(a + b - x)\, dx

For a=0a = 0, b=π/2b = \pi/2: replace xx with π/2x\pi/2 - x. Useful because sin(π/2x)=cosx\sin(\pi/2 - x) = \cos x and cos(π/2x)=sinx\cos(\pi/2 - x) = \sin x.

Let

I=0π/2sinxsinx+cosxdxI = \int_0^{\pi/2} \frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}}\, dx

Replacing xπ/2xx \to \pi/2 - x:

I=0π/2cosxcosx+sinxdxI = \int_0^{\pi/2} \frac{\sqrt{\cos x}}{\sqrt{\cos x} + \sqrt{\sin x}}\, dx

2I=0π/2sinx+cosxsinx+cosxdx=0π/21dx=π22I = \int_0^{\pi/2} \frac{\sqrt{\sin x} + \sqrt{\cos x}}{\sqrt{\sin x} + \sqrt{\cos x}}\, dx = \int_0^{\pi/2} 1\, dx = \frac{\pi}{2}

I=π4I = \frac{\pi}{4}

Why This Works

The king’s property exploits symmetry: when an integrand has a “partner” form related by xa+bxx \to a+b-x, adding the two expressions often collapses to something trivial. Here, sinx\sqrt{\sin x} and cosx\sqrt{\cos x} are partners, and adding II to its transformed self gives a constant integrand.

This is one of the four “magic tricks” of definite integrals (along with the property that integral over symmetric interval of an odd function is zero, the integral of an even function is twice the half-integral, and the periodicity property). JEE loves it.

Alternative Method

You could try direct substitution u=sinxu = \sin x or u=tanxu = \tan x, but they lead to gnarly elliptic-style integrals with no closed form. The king’s property is the only practical method here.

Whenever you see sinx/(sinx+cosx)\sqrt{\sin x}/(\sqrt{\sin x} + \sqrt{\cos x}) or similar “ratio with sin/cos\sin/\cos partner” structure on [0,π/2][0, \pi/2], the answer is almost always π/4\pi/4. Recognise this template and you can guess the answer in a few seconds, then verify with the king’s property.

Common Mistake

Two errors plague this template:

  1. Wrong substitution. Some students try xπxx \to \pi - x (Western half-angle) or xxx \to -x (symmetric interval). Neither works on [0,π/2][0, \pi/2] — the right move is xπ/2xx \to \pi/2 - x because that’s the limits’ midpoint reflection.

  2. Forgetting that the new integral has the same limits. When you substitute u=π/2xu = \pi/2 - x, du=dxdu = -dx, but the limits also flip (x=0u=π/2x = 0 \to u = \pi/2, x=π/2u=0x = \pi/2 \to u = 0). The two negatives cancel, and the integral keeps the same limits. Some students get confused and pick up an extra negative.

Final answer: I=π4I = \dfrac{\pi}{4}.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next