QlarIITy

MathematicsJEE Main 2026 · 2 AprilSingle correct

Let [.][.] denote the greatest integer function. Then the value of∫03(ex+e−x[x]!)dx\int_0^3 \left(\frac{e^x + e^{-x}}{[x]!}\right)dxis :

  1. Option A: e2+e3−1e2−1e3e^2 + e^3 - \frac{1}{e^2} - \frac{1}{e^3}
  2. Option B: 12(e2+e3−1e2−1e3)\frac{1}{2}\left(e^2 + e^3 - \frac{1}{e^2} - \frac{1}{e^3}\right)
  3. Option C: e2+e3−12e2−12e3e^2 + e^3 - \frac{1}{2e^2} - \frac{1}{2e^3}
  4. Option D: 12(e2+e3)−1e2−1e3\frac{1}{2}\left(e^2 + e^3\right) - \frac{1}{e^2} - \frac{1}{e^3}
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. The greatest integer function is constant on each unit interval, so the integral becomes a sum of ordinary integrals.

Concept refresher. The greatest integer function satisfies [x]=k[x] = k for k≤x<k+1k \leq x < k + 1 with kk an integer, so an integral containing [x][x] is split at the integers:

∫0nf(x,[x])dx=∑k=0n−1∫kk+1f(x,k) dx\int_0^n f\left(x, [x]\right)dx = \sum_{k=0}^{n-1} \int_k^{k+1} f(x, k)\ dx

and ∫(ex+e−x)dx=ex−e−x+C\int \left(e^x + e^{-x}\right)dx = e^x - e^{-x} + C.

Approach. Split [0,3][0, 3] at x=1x = 1 and x=2x = 2, where [x]![x]! takes the values 0!=10! = 1, 1!=11! = 1 and 2!=22! = 2, integrate each piece, and add.

  1. Step 1: Split the interval

    On each unit interval the denominator is a fixed number, so the integral breaks into three pieces:

    ∫01(ex+e−x)dx+∫12(ex+e−x)dx+12∫23(ex+e−x)dx\begin{aligned} &\int_0^1 \left(e^x + e^{-x}\right)dx \\[4pt] &+ \int_1^2 \left(e^x + e^{-x}\right)dx \\[4pt] &+ \frac{1}{2}\int_2^3 \left(e^x + e^{-x}\right)dx \end{aligned}
  2. Step 2: Integrate the first two pieces

    Both have denominator 11, so together they cover [0,2][0, 2] with antiderivative ex−e−xe^x - e^{-x}:

    [ex−e−x]02=e2−1e2\left[e^x - e^{-x}\right]_0^2 = e^2 - \frac{1}{e^2}
  3. Step 3: Integrate the last piece

    On the last interval [2,3)[2, 3) the denominator is 2!=22! = 2, so the factor 12\frac{1}{2} stays outside:

    12[ex−e−x]23=12(e3−1e3−e2+1e2)\frac{1}{2}\left[e^x - e^{-x}\right]_2^3 = \frac{1}{2}\left(e^3 - \frac{1}{e^3} - e^2 + \frac{1}{e^2}\right)
  4. Step 4: Add the pieces

    Adding the two results, the terms in e2e^2 and 1e2\frac{1}{e^2} are halved:

    e2−1e2+12(e3−1e3−e2+1e2)=12(e2+e3−1e2−1e3)\begin{aligned} &e^2 - \frac{1}{e^2} + \frac{1}{2}\left(e^3 - \frac{1}{e^3} - e^2 + \frac{1}{e^2}\right) \\[4pt] &= \frac{1}{2}\left(e^2 + e^3 - \frac{1}{e^2} - \frac{1}{e^3}\right) \end{aligned}

Answer. (B) 12(e2+e3−1e2−1e3)\frac{1}{2}\left(e^2 + e^3 - \frac{1}{e^2} - \frac{1}{e^3}\right)

Sanity check. Numerically the three pieces are about 2.3502.350, 4.9034.903 and 6.3916.391, which add to about 13.6413.64, and the expression in (B) is about 13.6413.64 as well.

Why the other options are wrong

  • (A) This value, about 27.2927.29, is the sum (e2−1e2)+(e3−1e3)\left(e^2 - \frac{1}{e^2}\right) + \left(e^3 - \frac{1}{e^3}\right) with no factor 12\frac{1}{2} anywhere; the integral is half of it, about 13.6413.64.
  • (C) Halving only the terms 1e2\frac{1}{e^2} and 1e3\frac{1}{e^3} gives this value, about 27.3827.38; the factor 12\frac{1}{2} multiplies e2e^2 and e3e^3 as well.
  • (D) Halving only e2+e3e^2 + e^3 gives this value, about 13.5513.55; the terms −1e2-\frac{1}{e^2} and −1e3-\frac{1}{e^3} are halved too, which gives about 13.6413.64.

Key takeaway

The trap. The factor 12\frac{1}{2} appears only on the last piece, but after combining it halves every term.

How toppers think. They merge the pieces with the same factor first, here [0,2][0, 2], to save a step.

Remember. ∫0nf(x,[x])dx=∑k=0n−1∫kk+1f(x,k) dx\int_0^n f\left(x, [x]\right)dx = \sum_{k=0}^{n-1} \int_k^{k+1} f(x, k)\ dx.

More on Symmetry & Periodicity