Solution:
Concept: After the substitution logx=t, with dx=etdt, a fraction such as (1+t)2t can be split by writing the numerator as (1+t)−1. The result is a function plus its derivative, and ∫et[f(t)+f′(t)]dt=etf(t)+C.
Step 1 — Choose the substitution.
The integrand needs x>0 and 1+logx=0 (that is, x=e1). We put logx=t.
logx=t
x=et
dx=etdt
Step 2 — Rewrite the integral in t.
The fraction becomes (1+t)2t and dx becomes etdt.
I=∫et(1+t)2tdt
Step 3 — Split the fraction.
We write the numerator t as (1+t)−1 and divide each part by (1+t)2.
(1+t)2t=(1+t)2(1+t)−1
(1+t)2t=1+t1−(1+t)21
Step 4 — Choose f(t).
We take f(t)=1+t1; its derivative is f′(t)=−(1+t)21, the second part.
I=∫et[f(t)+f′(t)]dt
I=1+tet+C
Step 5 — Return to x.
We use et=x and t=logx.
I=1+logxx+C
Step 6 — Check by differentiating.
By the quotient rule, the derivative of 1+logxx is (1+logx)2(1+logx)−1, which is the integrand.
Therefore, ∫(1+logx)2logxdx=1+logxx+C, for x>0, x=e1.