Analyzing the Setup
Whenever you encounter an integral with limits from −a to a, your brain should immediately light up. This is not a coincidence; it is a massive hint. We are looking at a symmetric interval for the integral:
The function we are integrating is f(x)=1+axcos2x. The numerator, cos2x, is a well-behaved even function, while the denominator, 1+ax, is the "chaos factor" that is neither even nor odd.
The Transformation
We utilize the 'King's Property' of definite integrals, which states:
∫abf(x)dx=∫abf(a+b−x)dx
Since our limits are −π and π, their sum is 0. Applying this property, our integral I is also equal to ∫−ππf(−x)dx.
Substituting −x into the function, the numerator remains cos2(−x)=cos2x because cosine is an even function. The denominator becomes:
The Magic Addition
Now, let us look at our transformed integral:
I=∫−ππaxax+1cos2xdx=∫−ππ1+axaxcos2xdx
We now have two versions of the same integral I. Adding them together, we get:
2I=∫−ππ1+axcos2xdx+∫−ππ1+axaxcos2xdx
Combining the numerators over the common denominator:
2I=∫−ππ1+axcos2x(1+ax)dx
The term (1+ax) cancels out completely, leaving us with:
Final Calculation
Since cos2x is an even function, we can simplify the integral to 2I=2∫0πcos2xdx, which implies:
Using the power-reduction identity cos2x=21+cos2x, we proceed:
I=∫0π21+cos2xdx=21[x+2sin2x]0π
Evaluating at the limits:
The final result is 2π.