First we observe the integrand carefully. We have to evaluate the definite integral
I=∫12exxx(2+logex)dx.
Whenever a product of two familiar functions appears together with a linear expression in logex, it is often useful to check if this product is the derivative of some simpler‐looking expression. With that idea in mind, let us define
F(x)=exxx.
We shall now differentiate F(x) with respect to x. We will need the following two facts:
• The derivative of the exponential function is itself, that is
dxd(ex)=ex.
• The derivative of the special power function xx. Using the logarithmic differentiation rule we first write xx=exlogex and then differentiate:
dxd(xx)=xx(logex+1).
Now we apply the product rule of differentiation, which states
dxd(u⋅v)=u′v+uv′.
Taking u=ex and v=xx, we get
F′(x)=dxd(ex)⋅xx+ex⋅dxd(xx)=exxx+exxx(logex+1)=exxx[1+(logex+1)]=exxx(logex+2).
Notice that the bracket (logex+2) is exactly the same as (2+logex). Therefore we can write
F′(x)=exxx(2+logex).
This shows that our original integrand is precisely the derivative F′(x). Hence, by the Fundamental Theorem of Calculus, we can integrate immediately:
I=∫12F′(x)dx=F(2)−F(1).
Let us now substitute the definition F(x)=exxx.
We have
F(2)=e2⋅22=e2⋅4=4e2,
and
F(1)=e1⋅11=e⋅1=e.
Therefore,
I=F(2)−F(1)=4e2−e.
This result can be factorised to see it in the same form as the given options:
4e2−e=e(4e−1).
The expression e(4e−1) corresponds to Option C.
Hence, the correct answer is Option C.