Analyzing the Setup
First, we define our integral as:
We are tasked with finding the value of I without knowing the explicit form of f(x). However, we are provided with the functional constraint:
This symmetry is the key to unlocking the solution.
The King's Property
The Secret Weapon
The King's Property states that for any integrable function g(x):
∫abg(x)dx=∫abg(a+b−x)dx
Applying this to our integral where a=0 and b=π, we replace x with (π−x):
Using the trigonometric identity sin(π−x)=sinx, the integral simplifies to:
The Symphony of Cancellation
Now, we add equation (1) and equation (2) together:
I+I=∫0πf(x)sinxdx+∫0πf(π−x)sinxdx
Combining the integrands under a single integral sign, we obtain:
2I=∫0π[f(x)+f(π−x)]sinxdx
Substituting the given constraint f(x)+f(π−x)=π2 into the expression, the unknown function f(x) is eliminated:
The Final Victory
Since π2 is a constant, we factor it out of the integral:
Evaluating the definite integral of sinx:
∫0πsinxdx=[−cosx]0π=−(cosπ−cos0)=−(−1−1)=2
Substituting this back into our equation for 2I:
Dividing both sides by 2, we arrive at the final result:
I=π2