JEE Challenger
More from Integrals

Evaluation of Definite Integral Involving Greatest Integer Function

Let [][\cdot] denote the greatest integer function. Then the value of 03(ex+ex[x]!)dx\int_{0}^{3} \left( \frac{e^x + e^{-x}}{[x]!} \right) dx is :

Options

A

e2+e31e21e3e^2 + e^3 - \frac{1}{e^2} - \frac{1}{e^3}

B

12(e2+e31e21e3)\frac{1}{2} \left( e^2 + e^3 - \frac{1}{e^2} - \frac{1}{e^3} \right)

Correct
C

e2+e312e212e3e^2 + e^3 - \frac{1}{2e^2} - \frac{1}{2e^3}

D

12(e2+e3)1e21e3\frac{1}{2} \left( e^2 + e^3 \right) - \frac{1}{e^2} - \frac{1}{e^3}

Step-by-Step Solution

To evaluate the definite integral I=03(ex+ex[x]!)dxI = \int_{0}^{3} \left( \frac{e^x + e^{-x}}{[x]!} \right) dx where [x][x] denotes the greatest integer function, we break the interval of integration [0,3][0, 3] into sub-intervals based on the step values of [x][x]:

  1. For x[0,1)x \in [0, 1), [x]=0    [x]!=0!=1[x] = 0 \implies [x]! = 0! = 1
  2. For x[1,2)x \in [1, 2), [x]=1    [x]!=1!=1[x] = 1 \implies [x]! = 1! = 1
  3. For x[2,3)x \in [2, 3), [x]=2    [x]!=2!=2[x] = 2 \implies [x]! = 2! = 2

Using these values, the integral II can be split into three separate integrals: I=01ex+ex0!dx+12ex+ex1!dx+23ex+ex2!dxI = \int_{0}^{1} \frac{e^x + e^{-x}}{0!} dx + \int_{1}^{2} \frac{e^x + e^{-x}}{1!} dx + \int_{2}^{3} \frac{e^x + e^{-x}}{2!} dx

Substitute the factorial values into the integral: I=01(ex+ex)dx+12(ex+ex)dx+1223(ex+ex)dxI = \int_{0}^{1} (e^x + e^{-x}) dx + \int_{1}^{2} (e^x + e^{-x}) dx + \frac{1}{2} \int_{2}^{3} (e^x + e^{-x}) dx

The first two integrals can be combined into a single integral from 00 to 22: 02(ex+ex)dx=[exex]02=(e2e2)(e0e0)=e2e2\int_{0}^{2} (e^x + e^{-x}) dx = \left[ e^x - e^{-x} \right]_{0}^{2} = \left( e^2 - e^{-2} \right) - \left( e^0 - e^0 \right) = e^2 - e^{-2}

Now, evaluate the third integral: 1223(ex+ex)dx=12[exex]23=12(e3e3(e2e2))\frac{1}{2} \int_{2}^{3} (e^x + e^{-x}) dx = \frac{1}{2} \left[ e^x - e^{-x} \right]_{2}^{3} = \frac{1}{2} \left( e^3 - e^{-3} - (e^2 - e^{-2}) \right)

Adding these two results together gives: I=(e2e2)+12(e3e3)12(e2e2)I = (e^2 - e^{-2}) + \frac{1}{2} (e^3 - e^{-3}) - \frac{1}{2} (e^2 - e^{-2})

Combine like terms: I=12(e2e2)+12(e3e3)I = \frac{1}{2} (e^2 - e^{-2}) + \frac{1}{2} (e^3 - e^{-3}) I=12(e2+e31e21e3)I = \frac{1}{2} \left( e^2 + e^3 - \frac{1}{e^2} - \frac{1}{e^3} \right)

Hence, the correct option is B.

Evaluation of Definite Integral Involving Greatest Integer Function | Mathematics PYQ Solution - JEE Challenger