Solveeit Logo

Question

Question: How do you integrate \(x\ln \left( 1+x \right)dx?\)...

How do you integrate xln(1+x)dx?x\ln \left( 1+x \right)dx?

Explanation

Solution

Here as you know that we have to integrate the following expression xln(1+x)dxx\ln \left( 1+x \right)dx Integration is the way of inverse process of differentiation. Instead of differentiating the function, you are given the derivative of a function. You are given the derivative of a function and asked to find its primitive i.e. original function. Such a process is called integration or anti-differentiation. Use integration by parts. Integration by parts is like the product rule of integration to find the product of functions in terms of the integral of the product of their derivatives of antiderivative. In fact it is derived from the product rule it states that.
xexdx=xexexdx=xexex+c\int{x{{e}^{x}}dx=x{{e}^{x}}-\int{{{e}^{x}}dx=x{{e}^{x}}-{{e}^{x}}+c}}

Complete step by step solution:
As per the question, xln(1+x)dxx\ln \left( 1+x \right)dx
Let,
u=x+1u=x+1
du=dx\Rightarrow du=dx
x=u1\Rightarrow x=u-1
Therefore the modified equation will be, and also integrate.
(u1)lnudu\int{\left( u-1 \right)\ln udu}
ulnudulnudu\Rightarrow \int{u\ln udu}-\int{\ln udu}
With these two integrals in mind, you can do integration by points consuming you ahead by know the integral of lnx\ln x
The lnu\int{\ln u} let,
s=lnu\Rightarrow s=\ln u
ds=1udu\Rightarrow ds=\dfrac{1}{u}du
dt=udu\Rightarrow dt=udu
t=u22\Rightarrow t=\dfrac{{{u}^{2}}}{2}
Thus,
St=tds\Rightarrow St=\int{tds}
=[u2lnu2u221udu]lnudu=\left[ \dfrac{{{u}^{2}}\ln u}{2}-\int{\dfrac{{{u}^{2}}}{2}-\dfrac{1}{u}du} \right]-\int{\ln udu}
Here, you have to put the value of s,ts,t and ds.ds.
=u2lnu212udulnudu\Rightarrow =\dfrac{{{u}^{2}}\ln u}{2}-\dfrac{1}{2}\int{udu-\int{\ln udu}}
Here, uu and u2=u×u{{u}^{2}}=u\times u get canceled from u2{{u}^{2}} only one uu will get a'a' will remain.
Here the integration of udu\int{udu} is u22\dfrac{{{u}^{2}}}{2}
Therefore the modified equation will be,
=u2lnu212.u22(ulnuu)=\dfrac{{{u}^{2}}\ln u}{2}-\dfrac{1}{2}.\dfrac{{{u}^{2}}}{2}-\left( u\ln u-u \right)
=u2lnu2u2u(ulnu)\Rightarrow =\dfrac{{{u}^{2}}\ln u}{2}-\dfrac{{{u}^{2}}}{u}-\left( u\ln -u \right)
As after opening bracket u'-u' converted into +u'+u'
=u2lnu2u2uulnu+u\Rightarrow =\dfrac{{{u}^{2}}\ln u}{2}-\dfrac{{{u}^{2}}}{u}-u\ln u+u
=u2lnu2ulnuu2u+u\Rightarrow =\dfrac{{{u}^{2}}\ln u}{2}-u\ln u-\dfrac{{{u}^{2}}}{u}+u
Replace, x+1x+1 on the place of uu
dxdx on the place of dudu
xx on the place of u1u-1
Hence,
=(x+1)2ln(x+1)2(x+1)ln(x+1)(x+1)24+x=\dfrac{{{\left( x+1 \right)}^{2}}\ln \left( x+1 \right)}{2}-\left( x+1 \right)\ln \left( x+1 \right)-\dfrac{{{\left( x+1 \right)}^{2}}}{4}+x
And 11 gets embedded into C.C.
=(x+1)2ln(x+1)2(x+1)ln(x+1)(x+1)24+x+C=\dfrac{{{\left( x+1 \right)}^{2}}\ln \left( x+1 \right)}{2}-\left( x+1 \right)\ln \left( x+1 \right)-\dfrac{{{\left( x+1 \right)}^{2}}}{4}+x+C

Additional Information:
When one has to integrate a product of two functions, integration by parts is useful.
If f(x)=g(x).h(x)f(x)=g(x).h(x)
Then,
f(x)dx=g(x)h(x)dxddxg(x).(h(x)dx)dx\Rightarrow \int{f(x)dx=g(x)\int{h(x)dx-\int{\dfrac{d}{dx}g(x).\left( h(x)dx \right)}dx}}
This is called integration by parts.
The integral of the product of two functions may be vertically given as.
“first function into integral of the second minus integral of the derivative of the first into integral of the second '' Which is nothing but integration by parts. Now, one thing that must be noted is that the correct choice of first function and second function can either make or break a problem. The correct choice can vastly simplify and an incorrect one can put you in a lot of trouble.
For instance,
\Rightarrow x.exdx\int{x.{{e}^{x}}dx} is the integral you need to evaluate.
If you see, use ex{{e}^{x}} as the first function and xx as the second and integrate by parts.
\Rightarrow xexdx=exxdx(exxdx)dx\int{x{{e}^{x}}dx}={{e}^{x}}\int{xdx-\int{\left( {{e}^{x}}xdx \right)}dx}
=exx22ex.x22dx+c={{e}^{x}}\dfrac{{{x}^{2}}}{2}-\int{{{e}^{x}}.\dfrac{{{x}^{2}}}{2}dx+c}
If you apply integration by parts to the second term. You again get a term with a x3{{x}^{3}} and so on.
This not only complicates the problem but spells disaster.
But, if you had chosen x'x' to be first and ex'{{e}^{x}}' to be second the integral would have been simply to evaluate.
\Rightarrow x.exdx=xexdx(ddx.xexdx)dx\int{x.{{e}^{x}}dx=x\int{{{e}^{x}}dx-\int{\left( \dfrac{d}{dx}.x\int{{{e}^{x}}dx} \right)dx}}}
\Rightarrow x.exdx=exx.ex+c\int{x.{{e}^{x}}dx={{e}^{x}}x.{{e}^{x}}+c}

Note: Integration by parts is used only where we have to find the integral product of functions in terms of integral of the product of their derivative or anti-derivative.
Apply integration by parts that is f(x)=g(x).h(x)f(x)=g(x).h(x)
Replace the given term by u'u' which will get easy to solve and also save time again replacing u'u' by x'x' after getting the solution.