- Understand the piecewise definition
The function is
f(x)={emin{x2,x−[x]},e[x−lnx],x∈[0,1)x∈[1,2]
where [t] is the greatest integer function.
We need to compute
I=∫02xf(x)dx
by splitting over [0,1) and [1,2].
- For x∈[0,1)
Since 0≤x<1, we have
[x]=0
so
x−[x]=x.
Thus,
min{x2,x−[x]}=min{x2,x}.
Now for 0≤x<1, we know
x2≤x,
so
min{x2,x}=x2.
Hence
f(x)=ex2,x∈[0,1).
Therefore,
I1=∫01xex2dx.
Use substitution:
u=x2⟹du=2xdx.
So,
I1=21∫01eudu=21(e−1).
- For x∈[1,2]
We need to simplify
[x−lnx].
For x∈[1,2], note that
- lnx∈[0,ln2],
- hence
x−lnx∈[1,2].
Let us determine its floor more carefully.
Define
g(x)=x−lnx.
Then
g′(x)=1−x1=xx−1≥0for x∈[1,2],
so g is increasing on [1,2].
Also,
g(1)=1,
g(2)=2−ln2<2.
Thus for all x∈[1,2],
1≤x−lnx<2.
Therefore,
[x−lnx]=1.
Hence
f(x)=e1=e,x∈[1,2].
So,
I2=∫12xedx=e∫12xdx=e[2x2]12=e⋅24−1=23e.
- Add both parts
Therefore,
I=I1+I2=21(e−1)+23e=2e−1+3e=24e−1=2e−21.
- Match with options
The value is
2e−21
which corresponds to Option B.
- Comparison with stored correct answer
Stored correct answer: B
Our derived answer is also B, so they agree.