Question
Question: Find the value of \[\int {\dfrac{{{e^x}}}{x}(x\log x + 1)dx} \]. (a). \[\dfrac{{{e^x}}}{x} + C\] ...
Find the value of ∫xex(xlogx+1)dx.
(a). xex+C
(b). xexlog∣x∣+C
(c). exlog∣x∣+C
(d). x(ex+log∣x∣)+C
(e). xex+log∣x∣+C
Solution
Hint: Separate the integrals into two terms separated by an addition. Simplify the first term using integration by parts and some terms will get cancelled to give the final answer.
Complete step-by-step answer:
The given integral has two terms separated by an addition. Let us make two integrals based on the rule of addition of integrals. Hence, we have:
I=∫xex(xlogx+1)dx
I=∫exlogxdx+∫xexdx...........(1)
Now, equation (1) has two parts, let's solve the first term to simplify the expression. Assign the first term to I’.
I′=∫exlogxdx
Let us use integration by parts to solve I’.
The formula for integration by parts is as follows:
∫udv=uv−∫vdu..........(2)
We have, u=logx and dv=exdx. Hence, we find du and v as follows:
Find du by differentiating u as follows:
du=x1dx.........(3)
Find v by integrating dv. We know that integration of ex is ex itself.
∫dv=∫exdx
v=ex............(4)
Substituting equation (3) and equation (4) in equation (5), we have:
∫exlogxdx=log∣x∣ex−∫xexdx..........(5)
We now substitute equation (5) back in equation (1) to get:
I=log∣x∣ex−∫xexdx+∫xexdx
We can observe that the second and the third term cancel each other. Also, we need to add the constant of integration because the integral can differ by a constant. Hence, the final expression is as follows:
I=exlog∣x∣+C
Hence, the correct answer is exlog∣x∣+C.
Therefore, the correct answer is option (c).
Note: You must be careful when choosing u and v for integration by parts. A logarithmic function should be given a higher preference for u than the exponential function.