Step 1: Set up the integral and apply definite integral property
We denote the given standard integral as I. To eliminate the variable x from the numerator, we apply the property ∫0af(x)dx=∫0af(a−x)dx, where a=π.
Step 2: Substitute x with (π - x)
Using trigonometric identities sin(π−x)=sinx and cos(π−x)=−cosx, we see that cos2(π−x)=(−cosx)2=cos2x. The denominator remains unchanged.
Step 3: Add both equations to eliminate x
Adding the two expressions for I eliminates the xsinx term, leaving only πsinx in the numerator.
Step 4: Substitute t=cosx
When x=0, t=cos(0)=1. When x=π, t=cos(π)=−1. Substituting these gives 2I=π∫1−11+t2−dt=π∫−111+t2dt.
Step 5: Evaluate the resulting integral
The anti-derivative of 1+t21 is tan−1(t). Evaluating from −1 to 1 yields tan−1(1)−tan−1(−1)=4π−(−4π)=2π. Multiplying by π gives 2I=2π2, so I=4π2.