Question
Question: Evaluate the value of \(\int {x\log \left( {1 + x} \right)dx} \) A. \(\dfrac{{\left( {2{x^2} + 2}...
Evaluate the value of ∫xlog(1+x)dx
A. 4(2x2+2)ln(x+1)−x2+2x+C
B. 2(2x2+2)ln(x+1)−x2−2x+C
C. 4(2x2−2)ln(x+1)−x2+2x+C
D. 2(2x2−2)ln(x+1)−x2+4x+C
Solution
Firstly, let I=∫xlog(1+x)dx .
Then, find the value of integral using the formula ∫f(x)g(x)dx=f(x)∫g(x)dx−∫[dxdf(x)⋅∫g(x)dx]dx , here f(x)=log(1+x) and g(x)=x .
Thus, solve it further and choose the correct answer.
Complete step-by-step answer:
Here, we have to find the value of ∫xlog(1+x)dx .
Let I=∫xlog(1+x)dx
Since, we know that the integral of the product of two functions f(x) and g(x) is ∫f(x)g(x)dx=f(x)∫g(x)dx−∫[dxdf(x)⋅∫g(x)dx]dx .
So, we will find the integral of I, by using the above formula, where f(x)=log(1+x) and g(x)=x .
⇒I=log(1+x)⋅∫xdx−∫[dxdlog(1+x)⋅∫xdx]dx
⇒I=2x2log(1+x)−∫1+x1×2x2dx
⇒I=2x2log(1+x)−21∫x+1x2dx … (1)
Let, ∫x+1x2dx=I1
⇒I1=∫x+1x2dx
=∫x+1x2−1+1dx =∫x+1x2−1dx+∫x+11dx =∫x+1(x+1)(x−1)dx+log(1+x) =∫(x−1)dx+log(1+x) =2x2−x+log(1+x)+C
Thus, I1=2x2−x+log(1+x)+C .
Now, substitute the value of I1=2x2−x+log(1+x) in equation (1).
⇒I=2x2log(1+x)−21[2x2−x+log(1+x)]+C
⇒I=2x2log(1+x)−21(2x2−x)−21log(1+x)+C
⇒I=(x2−1)×21log(1+x)−21(2x2−2x)+C
⇒I=(2x2−1)log(1+x)−(4x2−2x)+C
Now, taking LCM
⇒I=42(x2−1)log(1+x)−(x2−2x)+C
⇒I=4(2x2−2)log(1+x)−x2+2x+C
Thus, we get ⇒∫xlog(1+x)dx=4(2x2−2)log(1+x)−x2+2x+C .
So, option (C) is correct.
Note: The formula for integration by parts is given by ∫f(x)g(x)dx=f(x)∫g(x)dx−∫[dxdf(x)⋅∫g(x)dx]dx .
In the formula for integration by parts, f(x) and g(x) are chosen by the method of ILATE.
ILATE is known as Inverse trigonometric functions, Logarithm functions, Algebraic functions, Trigonometric functions and Exponential functions.
The function f(x) must be a function lying before the function g(x) in the ILATE rule.
In the given question, we chose f(x)=log(1+x) and g(x)=x , because log(1+x) is a logarithm function and x is an algebraic function and in ILATE rule logarithm functions lie before algebraic functions.