Integrals: Numerical Problems Set (11)

medium 2 min read

Question

Evaluate the definite integral:

0π/2sinxsinx+cosxdx\int_0^{\pi/2} \frac{\sin x}{\sin x + \cos x} \, dx

Solution — Step by Step

The property: 0af(x)dx=0af(ax)dx\int_0^a f(x) \, dx = \int_0^a f(a - x) \, dx. Apply with a=π/2a = \pi/2.

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

Replace xπ/2xx \to \pi/2 - x: sin(π/2x)=cosx\sin(\pi/2 - x) = \cos x, cos(π/2x)=sinx\cos(\pi/2 - x) = \sin x.

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

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

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

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

Why This Works

The “king property” exploits the symmetry of the interval [0,a][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][0, \pi/2].

The pattern to recognise: an integrand of the form f(x)f(x)+g(x)\frac{f(x)}{f(x) + g(x)} where ff and gg swap under the substitution xaxx \to a - x. Adding the two forms makes the denominator cancel.

Alternative Method

You could attempt direct anti-differentiation: write sinx=12[(sinx+cosx)+(sinxcosx)]\sin x = \frac{1}{2}[(\sin x + \cos x) + (\sin x - \cos x)], split the fraction, and integrate. The sinxcosx\sin x - \cos x 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(ax)f(x) \to f(a-x)), additive split, even/odd, and periodicity — show up in roughly 11 out of every 33 JEE definite integrals. Drill them.

Common Mistake

Students sometimes forget that the king property requires the limits to be [0,a][0, a] (or, equivalently, [a,b][a, b] with the substitution xa+bxx \to a + b - x). Applying it to [1,3][1, 3] without adjusting the substitution gives wrong answers.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next