Analyzing the Setup
Imagine you are standing before a complex integral, one that spans from −10 to 10. At first glance, the function f(x) seems erratic, shifting its definition based on the parity of the greatest integer function [x].
It feels like a trap, a mountain of algebra waiting to crush your spirit. But take a breath. In the world of JEE Advanced, complexity is often a mask for hidden symmetry. Let us peel back that mask.
Decoding the Sawtooth Wave
First, let us demystify f(x). The definition tells us that f(x) behaves differently depending on whether [x] is even or odd.
For x∈[0,1), [x]=0, which is even, so f(x)=1+0−x=1−x. For x∈[1,2), [x]=1, which is odd, so f(x)=x−1.
If you sketch this, you will see a beautiful, repeating triangle wave. It rises and falls with a period of T=2. This periodicity is our greatest ally.
The Power of Periodicity
Now, look at the integrand: f(x)cos(πx). We know f(x) repeats every 2 units.
The period of cos(πx) is π2π=2. Since both components of our product repeat every 2 units, their product h(x)=f(x)cos(πx) must also repeat every 2 units.
The entire interval from −10 to 10 is 20 units long, meaning we have exactly 10 identical cycles. Instead of integrating over the whole range, we can use the property:
∫−1010f(x)cos(πx)dx=10∫02f(x)cos(πx)dx
The Art of Integration
We must split our integral at x=1 because the definition of f(x) changes there. We are left with two integrals:
I1=∫01(1−x)cos(πx)dxandI2=∫12(x−1)cos(πx)dx
Let us tackle I1 using integration by parts. We set u=1−x and dv=cos(πx)dx.
The boundary terms, involving sin(πx), vanish at both 0 and 1. We are left with the integral of πsin(πx), which yields:
[π(1−x)sin(πx)]01+∫01πsin(πx)dx=0+[−π2cos(πx)]01=π22
For I2, we follow the same path with u=x−1. Again, the boundary terms vanish at 1 and 2. The integration leads us to the exact same result: π22.
The sum of these two integrals is:
The Grand Finale
We are almost at the finish line. We have the integral for one period as π24. Multiplying by our 10 cycles, the total integral becomes:
The question asks for the value of 10π2∫−1010f(x)cos(πx)dx. Substituting our result:
The π2 terms cancel out, and 40 divided by 10 gives us a clean, satisfying 4. You see? What seemed like a terrifying calculus problem was just a test of your ability to see the underlying rhythm of the function.