Explanation
Concept
-
Integration by parts: A method to find integrals of products. The formula is given by:
∫uvdx=u∫vdx−∫(dxdu×∫vdx)dx+C, where u=u(x) and v=v(x).
-
ILATE rule: Usually, the preference order for choosing u is based on Inverse, Logarithm, Algebraic, Trigonometric, and Exponent functions.
-
Formula: ∫x2−a21dx=2a1logx+ax−a+C.
Calculation
Let I=∫1+exxexdx.
Take 1+ex=t2 ... (1).
Differentiating both sides with respect to x, we get:
exdx=2tdt.
From equation (1), we have:
ex=t2−1
⇒x=log(t2−1)
Now, substituting these values into the integral:
I=∫t2log(t2−1)2tdt
=2×∫tlog(t2−1)×tdt
=2∫log(t2−1)dt
Using the integration by parts rule:
=2[log(t2−1)×t−∫t2−12t×tdt]
=2tlog(t2−1)−4∫t2−1t2dt
=2tlog(t2−1)−4∫[1+t2−11]dt
=2tlog(t2−1)−4t−4×21log(t+1t−1)+C
=2tlog(t2−1)−4t−2log(t+1t−1)+C
=2t(log(t2−1)−2)−2log(t+1t−1)+C
Resubstitute the value of t=1+ex and log(t2−1)=x:
=2(x−2)1+ex−2log1+ex+11+ex−1+C
=(2x−4)1+ex−2log1+ex+11+ex−1+C
By comparing this result with the original equation, we find:
f(x)=2x−4
Correct Option: 2