Question
Evaluate the definite integral:
∫0π/2sinx+cosxsinxdx
Solution — Step by Step
The property: ∫0af(x)dx=∫0af(a−x)dx. Apply with a=π/2.
Let I=∫0π/2sinx+cosxsinxdx.
Replace x→π/2−x: sin(π/2−x)=cosx, cos(π/2−x)=sinx.
I=∫0π/2cosx+sinxcosxdx
2I=∫0π/2sinx+cosxsinx+cosxdx=∫0π/21dx=2π
I=4π
Final answer: I=4π.
Why This Works
The “king property” exploits the symmetry of the interval [0,a] about its midpoint. Many integrals that look impossible to evaluate by direct anti-differentiation fall instantly to this trick, especially trig integrals on [0,π/2].
The pattern to recognise: an integrand of the form f(x)+g(x)f(x) where f and g swap under the substitution x→a−x. Adding the two forms makes the denominator cancel.
Alternative Method
You could attempt direct anti-differentiation: write sinx=21[(sinx+cosx)+(sinx−cosx)], split the fraction, and integrate. The sinx−cosx piece integrates to a logarithm. It works, but takes 5x longer than the king property.
The four standard properties for definite integrals — “king” (f(x)→f(a−x)), additive split, even/odd, and periodicity — show up in roughly 1 out of every 3 JEE definite integrals. Drill them.
Common Mistake
Students sometimes forget that the king property requires the limits to be [0,a] (or, equivalently, [a,b] with the substitution x→a+b−x). Applying it to [1,3] without adjusting the substitution gives wrong answers.