Indefinite IntegrationeasyFree

Integral of eˣ(x−1)(x−lnx)/x² | JEE

JEE Maths question with a full step-by-step solution.

Question
∫ex(x−1)(x−ln⁡x)x2 dx\displaystyle\int \dfrac{e^{x}(x-1)(x-\ln x)}{x^{2}}\,dx is equal to
Aex(x−ln⁡xx)+ce^{x}\left(\dfrac{x-\ln x}{x}\right)+c
Bex(x−ln⁡x+1x)+ce^{x}\left(\dfrac{x-\ln x+1}{x}\right)+c
Cex(ln⁡x−xx)+ce^{x}\left(\dfrac{\ln x-x}{x}\right)+c
Dex(x−ln⁡x−1x)+ce^{x}\left(\dfrac{x-\ln x-1}{x}\right)+ccorrect
Solution
Step 1: Substitute t=exxt=\dfrac{e^{x}}{x}. Differentiating by the quotient rule,
dt=ex⋅x−ex⋅1x2 dx=ex(x−1)x2 dxdt=\dfrac{e^{x}\cdot x-e^{x}\cdot 1}{x^{2}}\,dx=\dfrac{e^{x}(x-1)}{x^{2}}\,dx
which is one factor of the integrand. Step 2: Express the remaining factor through tt. Taking logarithms of t=exxt=\dfrac{e^{x}}{x},
ln⁡t=x−ln⁡x\ln t=x-\ln x
so the factor (x−ln⁡x)(x-\ln x) equals ln⁡t\ln t. Step 3: Rewrite the whole integral:
I=∫(x−ln⁡x)⋅ex(x−1)x2 dx=∫ln⁡t dtI=\int (x-\ln x)\cdot\dfrac{e^{x}(x-1)}{x^{2}}\,dx=\int \ln t\,dt
Step 4: Integrate by parts: ∫ln⁡t dt=tln⁡t−t+c\displaystyle\int \ln t\,dt=t\ln t-t+c. Step 5: Back-substitute t=exxt=\dfrac{e^{x}}{x} and ln⁡t=x−ln⁡x\ln t=x-\ln x:
I=exx(x−ln⁡x)−exx+c=ex[(x−ln⁡x)−1]x+c=ex(x−ln⁡x−1x)+cI=\dfrac{e^{x}}{x}(x-\ln x)-\dfrac{e^{x}}{x}+c=\dfrac{e^{x}\big[(x-\ln x)-1\big]}{x}+c=e^{x}\left(\dfrac{x-\ln x-1}{x}\right)+c
Correct answer: (4)
Still stuck on this question?Ask your doubt on WhatsApp
Similar questions

Solve more, learn faster

Sign up free to solve more JEE Maths questions and explore doMath — timed drills, mastery sprints, bookmarks, and chapter-wise progress tracking.