Question
Question: How do you integrate \(x\ln \left( 1+x \right)dx?\)...
How do you integrate xln(1+x)dx?
Solution
Here as you know that we have to integrate the following expression xln(1+x)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=xex−∫exdx=xex−ex+c
Complete step by step solution:
As per the question, xln(1+x)dx
Let,
u=x+1
⇒du=dx
⇒x=u−1
Therefore the modified equation will be, and also integrate.
∫(u−1)lnudu
⇒∫ulnudu−∫lnudu
With these two integrals in mind, you can do integration by points consuming you ahead by know the integral of lnx
The ∫lnu let,
⇒s=lnu
⇒ds=u1du
⇒dt=udu
⇒t=2u2
Thus,
⇒St=∫tds
=[2u2lnu−∫2u2−u1du]−∫lnudu
Here, you have to put the value of s,t and ds.
⇒=2u2lnu−21∫udu−∫lnudu
Here, u and u2=u×u get canceled from u2 only one u will get ′a′ will remain.
Here the integration of ∫udu is 2u2
Therefore the modified equation will be,
=2u2lnu−21.2u2−(ulnu−u)
⇒=2u2lnu−uu2−(uln−u)
As after opening bracket ′−u′ converted into ′+u′
⇒=2u2lnu−uu2−ulnu+u
⇒=2u2lnu−ulnu−uu2+u
Replace, x+1 on the place of u
dx on the place of du
x on the place of u−1
Hence,
=2(x+1)2ln(x+1)−(x+1)ln(x+1)−4(x+1)2+x
And 1 gets embedded into C.
=2(x+1)2ln(x+1)−(x+1)ln(x+1)−4(x+1)2+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)
Then,
⇒∫f(x)dx=g(x)∫h(x)dx−∫dxdg(x).(h(x)dx)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,
⇒ ∫x.exdx is the integral you need to evaluate.
If you see, use ex as the first function and x as the second and integrate by parts.
⇒ ∫xexdx=ex∫xdx−∫(exxdx)dx
=ex2x2−∫ex.2x2dx+c
If you apply integration by parts to the second term. You again get a term with a x3 and so on.
This not only complicates the problem but spells disaster.
But, if you had chosen ′x′ to be first and ′ex′ to be second the integral would have been simply to evaluate.
⇒ ∫x.exdx=x∫exdx−∫(dxd.x∫exdx)dx
⇒ ∫x.exdx=exx.ex+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)
Replace the given term by ′u′ which will get easy to solve and also save time again replacing ′u′ by ′x′ after getting the solution.