Let [∙] denote the greatest integer function. Then the value of ∫limits03([x]!ex+e−x)dx is:[JEE Main 2 apr 2026 Shift 1]
📖 Explanation
Definite integrals involving the greatest integer function are best evaluated by partitioning the interval of integration at every integer boundary, as the integrand remains constant between these points. For the integral ∫03[x]!ex+e−xdx, the integer boundaries are 1 and 2, which allow splitting the integral into three sub-intervals: [0,1), [1,2), and [2,3).
In the first interval 0≤x<1, the value of [x] is 0, so [x]! becomes 0!=1. The integral simplifies to ∫01(ex+e−x)dx, which evaluates to [ex−e−x]01=e−e1. For the second interval 1≤x<2, the value of [x] is 1, making [x]! equal to 1!=1. The integral becomes ∫12(ex+e−x)dx, resulting in [ex−e−x]12=(e2−e21)−(e−e1). Finally, in the third interval 2≤x<3, the value of [x] is 2, so [x]! becomes 2!=2. This leads to ∫232ex+e−xdx, which evaluates to \frac{1}{2} \[e^x - e^{-x}]_2^3 = \frac{1}{2}(e^3 - \frac{1}{e^3}) - \frac{1}{2}(e^2 - \frac{1}{e^2})$.
Summing these contributions, the initial terms (e−e1) cancel out, leaving (e2−e21)−21(e2−e21)+21(e3−e31). This further simplifies to 21(e2−e21)+21(e3−e31), which combines to 21(e2+e3−e21−e31).