Analyzing the Setup
Welcome, future engineer. Today, we are not just solving a math problem; we are dissecting a beautiful piece of calculus architecture. We are looking at the integral:
I=∫−ππ1+cos2x2x(1+sinx)dx
At first glance, this looks like a monster. The numerator is a product, the denominator is a trigonometric mess, and the limits are intimidating. But in the JEE Advanced arena, complexity is often a mask for elegance. Let us peel it back.
Phase 1
The Power of Parity
Whenever you see limits like [−π,π], your brain should immediately fire a signal: Symmetry! We are dealing with a symmetric interval.
The first step is to split the integral into two distinct parts by expanding the numerator:
I=∫−ππ1+cos2x2xdx+∫−ππ1+cos2x2xsinxdx
Let us call the first part f1(x) and the second f2(x).
Look at f1(x)=1+cos2x2x. If we replace x with −x, we get:
f1(−x)=1+cos2(−x)2(−x)=−1+cos2x2x=−f1(x)
This is an odd function. The area under an odd function over a symmetric interval is exactly zero. The positive area on the right cancels the negative area on the left. Just like that, the first half of our problem vanishes into thin air.
Phase 2
The King's Gambit
Now we focus on f2(x)=1+cos2x2xsinx. Testing for parity again, we find:
f2(−x)=1+cos2(−x)2(−x)sin(−x)=1+cos2x2xsinx=f2(x)
This is an even function. For even functions, we can simplify the integral to:
I=2∫0π1+cos2x2xsinxdx=4∫0π1+cos2xxsinxdx
Now, we deploy the most powerful weapon in our arsenal: King's Property. This property states that ∫0af(x)dx=∫0af(a−x)dx.
We replace x with (π−x). Our integral becomes:
I=4∫0π1+cos2(π−x)(π−x)sin(π−x)dx
Since sin(π−x)=sinx and cos2(π−x)=cos2x, the denominator remains untouched. We now have two versions of I. Adding them together, the x and −x terms in the numerator cancel out, leaving us with:
The variable x is gone!
Phase 3
The Final Substitution
We are left with I=2π∫0π1+cos2xsinxdx. This is a standard integral.
We use the substitution t=cosx, which gives dt=−sinxdx. Remember to change your limits: when x=0, t=1; when x=π, t=−1.
The integral transforms into:
By using the negative sign to flip the limits back to [−1,1], we get:
This is the classic integral of tan−1(t). Evaluating this, we get:
I=2π[tan−1(t)]−11=2π(4π−(−4π))=2π(2π)=π2
And there it is. Through symmetry, the King's Property, and a clean substitution, we have arrived at the final answer: π2. This is the beauty of physics and math—no matter how complex the start, there is always a path to elegance.