We wish to evaluate the integral
I=∫05ex−[x]x+[x]dx,
where [x] denotes the greatest integer less than or equal to x.
Between any two consecutive integers the quantity [x] is constant, so we split the whole interval [0,5] into the five sub-intervals [0,1),[1,2),[2,3),[3,4),[4,5).
On the generic sub-interval k≤x<k+1 (with the integer k=0,1,2,3,4) we set
x=k+t,0≤t<1.
Then we have
[x]=k,x−[x]=t,
and therefore
x+[x]=(k+t)+k=2k+t,ex−[x]=et.
So the integrand becomes
ex−[x]x+[x]=et2k+t=(2k+t)e−t.
Thus, on each sub-interval,
∫kk+1ex−[x]x+[x]dx=∫01(2k+t)e−tdt.
Summing over all five integers k=0 to 4, we obtain
I=∑k=04∫01(2k+t)e−tdt.
We now separate the terms containing k and the term containing t:
I=∑k=04[2k∫01e−tdt+∫01te−tdt].
The two needed definite integrals are
1. ∫01e−tdt=[−e−t]01=1−e−1.
2. For ∫01te−tdt we use integration by parts.
Taking u=t and dv=e−tdt we get du=dt,v=−e−t, hence
∫01te−tdt=[−te−t]01+∫01e−tdt=−e−1+1−e−1=1−2e−1.
Denote
A=∫01e−tdt=1−e−1,B=∫01te−tdt=1−2e−1.
Substituting these values we have
I=∑k=04(2kA+B)=A∑k=042k+5B.
The sum of the first five non-negative integers is 0+1+2+3+4=10, so
∑k=042k=2×10=20.
Thus
I=20A+5B=20(1−e−1)+5(1−2e−1)=(20+5)−(20+10)e−1=25−30e−1.
We are told that I=αe−1+β, so comparing gives
α=−30,β=25.
The condition 5α+6β=0 is satisfied, as indeed 5(−30)+6(25)=−150+150=0.
Finally, we need (α+β)2:
α+β=−30+25=−5⟹(α+β)2=(−5)2=25.
Hence, the correct answer is Option A.