We have to evaluate the definite integral
I=∫1e{(ex)2x−(xe)x}logexdx.
It will be convenient to treat the two parts separately. First observe the simple but very useful differentiation facts.
For the function y1(x)=(ex)2x, take natural logarithm on both sides:
lny1=2x(lnx−1).
Differentiating this with respect to x gives
y11dxdy1=2lnx.
Therefore
dxdy1=2lnx(ex)2x.
Re-writing, we get the integral representation
(ex)2xlnxdx=21d[(ex)2x].
Now consider the second function y2(x)=(xe)x. Its logarithm is
lny2=x(1−lnx).
Differentiating again with respect to x gives
y21dxdy2=1−lnx−xx=−lnx.
Hence
dxdy2=−lnx(xe)x,
and so
(xe)xlnxdx=−d[(xe)x].
Armed with these two differential identities we can attack the given integral. Split it into two parts:
I=∫1e(ex)2xlnxdx−∫1e(xe)xlnxdx.
Using the first identity, the first integral becomes
∫1e(ex)2xlnxdx=21∫1ed[(ex)2x]=21[(ex)2x]1e.
The second identity transforms the second integral as follows:
∫1e(xe)xlnxdx=−∫1ed[(xe)x]=−[(xe)x]1e.
But in I this entire integral appears with a minus sign, so
−(second integral)=+[(xe)x]1e.
Putting the two transformed pieces together we have
I=21[(ex)2x]1e+[(xe)x]1e.
Now we only have to substitute the limits x=1 and x=e.
First bracket:
At x=e, (ee)2e=12e=1.
At x=1, (e1)2=e21.
So
21(1−e21)=21−2e21.
Second bracket:
At x=e, (ee)e=1e=1.
At x=1, (1e)1=e.
Thus
[⋯]1e=1−e.
Combining these two evaluated expressions gives
I=(21−2e21)+(1−e)=23−e−2e21.
Hence, the correct answer is Option A.