QlarIITy

MathematicsIIT-JEE 2010 · Paper 1Integer

For any real number xx, let [x][x] denote the largest integer less than or equal to xx. Let ff be a real valued function defined on the interval [−10,10][-10, 10] byf(x)={x−[x]if [x] is odd,1+[x]−xif [x] is evenf(x)=\begin{cases} x-[x] & \text{if } [x] \text{ is odd,} \\ 1+[x]-x & \text{if } [x] \text{ is even} \end{cases}Then the value of π210∫−1010f(x)cos⁡πx dx\frac{\pi^{2}}{10}\int_{-10}^{10} f(x)\cos \pi x\ dx is

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A function built from the parity of [x][x] is periodic, so a long integral reduces to a multiple of one short piece.

Concept refresher. If gg has period TT, then ∫0nTg=n∫0Tg\int_{0}^{nT}g=n\int_{0}^{T}g. If g(2a−x)=g(x)g(2a-x)=g(x), then ∫02ag=2∫0ag\int_{0}^{2a}g=2\int_{0}^{a}g.

Approach. Identify ff as a period-2 triangle wave, reduce the integral to [0,1][0,1], then integrate by parts.

  1. Step 1: Understand f

    On [0,1)[0,1): [x]=0[x]=0 (even), so f(x)=1−xf(x)=1-x. On [1,2)[1,2): [x]=1[x]=1 (odd), so f(x)=x−1f(x)=x-1. Since only the parity of [x][x] and x−[x]x-[x] matter, f(x+2)=f(x)f(x+2)=f(x): ff is a triangle wave with f=1f=1 at even integers and f=0f=0 at odd integers.

  2. Step 2: Reduce the integral

    f(x)cos⁡πxf(x)\cos \pi x has period 2, and the interval [−10,10][-10,10] has length 20:

    ∫−1010f(x)cos⁡πx dx=10∫02f(x)cos⁡πx dx\int_{-10}^{10}f(x)\cos \pi x\ dx=10\int_{0}^{2}f(x)\cos \pi x\ dx

    Also f(2−x)=f(x)f(2-x)=f(x) and cos⁡π(2−x)=cos⁡πx\cos \pi(2-x)=\cos \pi x, so

    ∫02f(x)cos⁡πx dx=2∫01(1−x)cos⁡πx dx\int_{0}^{2}f(x)\cos \pi x\ dx=2\int_{0}^{1}(1-x)\cos \pi x\ dx
  3. Step 3: Integrate by parts

    ∫01(1−x)cos⁡πx dx=[(1−x)sin⁡πxπ]01+1π∫01sin⁡πx dx=0+1π⋅2π=2π2\int_{0}^{1}(1-x)\cos \pi x\ dx=\left[\frac{(1-x)\sin \pi x}{\pi}\right]_{0}^{1}+\frac{1}{\pi}\int_{0}^{1}\sin \pi x\ dx=0+\frac{1}{\pi}\cdot\frac{2}{\pi}=\frac{2}{\pi^{2}}
  4. Step 4: Assemble

    ∫−1010f(x)cos⁡πx dx=10⋅2⋅2π2=40π2,π210⋅40π2=4\int_{-10}^{10}f(x)\cos \pi x\ dx=10\cdot 2\cdot\frac{2}{\pi^{2}}=\frac{40}{\pi^{2}},\qquad \frac{\pi^{2}}{10}\cdot\frac{40}{\pi^{2}}=4

Answer. 4

Common slips

  • Using only [0,10][0,10] (five periods) gives 20π2\frac{20}{\pi^{2}} and a final value 2.
  • A sign error in integration by parts gives −2π2-\frac{2}{\pi^{2}} and a final value −4-4.

Key takeaway

The trap. Students integrate over only [0,10][0,10] or slip a sign in integration by parts, getting 2 or −4-4 instead of 4.

How toppers think. They sketch ff on [0,2][0,2], spot a period-2 triangle wave symmetric about x=1x=1, and reduce everything to ∫01(1−x)cos⁡πx dx\int_{0}^{1}(1-x)\cos\pi x\ dx.

Remember. ∫0nTg=n∫0Tg\int_{0}^{nT}g=n\int_{0}^{T}g for period TT, and ∫01(1−x)cos⁡πx dx=2π2\int_{0}^{1}(1-x)\cos\pi x\ dx=\frac{2}{\pi^{2}}.

More on Symmetry & Periodicity