Question
Question: Evaluate the given integral: \(\int{\dfrac{\left( x+1 \right)dx}{x\left( 1+x{{e}^{x}} \right)}}\)...
Evaluate the given integral: ∫x(1+xex)(x+1)dx
Solution
Hint: Start by simplification of the integral by multiplying the numerator and the denominator by ex. After simplification, let the ex be t and solve the integral.
Complete step-by-step solution -
Before starting the solution, let us discuss the important formulas of indefinite integration.
Some important formulas are:
∫exdx=ex+c
∫xndx=n+1xn+1
Now let us start with the integral given in the above question.
∫x(1+xex)(x+1)dx
Now we will divide and multiply the above integral by ex . On doing so, we get
∫xex(1+xex)ex(x+1)dx
Now to convert the integral to a form from where we can directly integrate it, we let xex to be t.
∴dxd(xex)=dxdt
⇒ex(1+x)dx=dt
So, if we substitute the terms in the integral in terms of t, our integral becomes:
∫t(1+t)dt
Now adding and subtracting t to the numerator of the above integral, we get
∫t(1+t)(1+t−t)dt
=∫(t(1+t)(1+t)−t(1+t)t)dt
Now we know that ∫(f(x)−g(x))dx=∫f(x)dx−∫g(x)dx .
∫t(1+t)(1+t)dt−∫t(1+t)tdt
=∫t1dt−∫(1+t)1dt
Now we know that ∫xdx is equal to lnx +c. So, our integral comes out to be:
ln(t)−ln(1+t)+c
Now we will substitute the value of t as assumed by us to convert our answer in terms of x.
lnxex−ln(1+xex)+c
Now we know that lna−lnb=lnba .
ln1+xexxex+c
So, we can say that the value of ∫x(1+xex)(x+1)dx is equal to ln1+xexxex+c .
Note: Don’t forget to substitute the assumed variable in your integrated expression to reach the final answer. Also, you need to remember all the basic formulas that we use for indefinite integrals as they are used in definite integrations as well.