Solveeit Logo

Question

Question: Find the integral of \(\int {\left( {x + 1} \right)} \log xdx\)...

Find the integral of (x+1)logxdx\int {\left( {x + 1} \right)} \log xdx

Explanation

Solution

Hint : To solve this problem, we will first separate the main term into two terms by opening the bracket. Then, we need to use the integration by parts method for the integration of both the terms. For that, we will first decide which term can be taken as u and which can be taken as v. Here, we will take logarithmic function as u in while doing integration by parts.
Formula used:
Integration by parts of two terms u and v is given by:
uvdx=uvdxu(vdx)dx\int {uvdx = u\int {vdx - \int {u'\left( {\int {vdx} } \right)} } } dx
Where, uu is the function u(x)u\left( x \right) , vv is the function v(x)v\left( x \right) and uu' is the derivative of function u(x)u\left( x \right) .

Complete step-by-step answer :
We are asked to find the integration of (x+1)logxdx\int {\left( {x + 1} \right)} \log xdx
I=(x+1)logxdxI = \int {\left( {x + 1} \right)} \log xdx
We will separate the main term into two terms by opening the bracket.
I=xlogxdx+1logxdxI = \int x \log xdx + \int {1 \cdot \log xdx}
Thus, we now have two integrations, I=I1+I2I = {I_1} + {I_2}
I1=xlogxdx{I_1} = \int {x\log xdx}
Here, we will take u=logxu = \log xand v=xv = x.
Now, we will apply the integration by parts rule uvdx=uvdxu(vdx)dx\int {uvdx = u\int {vdx - \int {u'\left( {\int {vdx} } \right)} } } dx
I1=logxxdx(d(logx)dxxdx)dx I1=logx(x22)(1xx22)dx I1=x2logx2x2dx I1=x2logx2x24+c1   \Rightarrow {I_1} = \log x\int {xdx} - \int {\left( {\dfrac{{d\left( {\log x} \right)}}{{dx}}\int {xdx} } \right)} dx \\\ \Rightarrow {I_1} = \log x\left( {\dfrac{{{x^2}}}{2}} \right) - \int {\left( {\dfrac{1}{x} \cdot \dfrac{{{x^2}}}{2}} \right)} dx \\\ \Rightarrow {I_1} = \dfrac{{{x^2}\log x}}{2} - \int {\dfrac{x}{2}} dx \\\ \Rightarrow {I_1} = \dfrac{{{x^2}\log x}}{2} - \dfrac{{{x^2}}}{4} + {c_1} \;
Here, c1{c_1}is the constant of integration.
I2=1logxdx{I_2} = \int {1 \cdot \log xdx}
Here, we will take u=logxu = \log xand v=1v = 1.
Now, we will apply the integration by parts rule uvdx=uvdxu(vdx)dx\int {uvdx = u\int {vdx - \int {u'\left( {\int {vdx} } \right)} } } dx

I2=logx1dx(d(logx)dx1dx)dx I2=logxx(1xx)dx I2=xlogx1dx I2=xlogxx+c2   \Rightarrow {I_2} = \log x\int {1dx} - \int {\left( {\dfrac{{d\left( {\log x} \right)}}{{dx}}\int {1dx} } \right)} dx \\\ \Rightarrow {I_2} = \log x \cdot x - \int {\left( {\dfrac{1}{x} \cdot x} \right)} dx \\\ \Rightarrow {I_2} = x\log x - \int 1 dx \\\ \Rightarrow {I_2} = x\log x - x + {c_2} \;

Here, c2{c_2}is the constant of integration.
We know that

I=I1+I2 I=x2logx2x24+c1+xlogxx+c2 I=x2logx2x24+xlogxx+c1+c2 I=x2logx2x24+xlogxx+c   I = {I_1} + {I_2} \\\ \Rightarrow I = \dfrac{{{x^2}\log x}}{2} - \dfrac{{{x^2}}}{4} + {c_1} + x\log x - x + {c_2} \\\ \Rightarrow I = \dfrac{{{x^2}\log x}}{2} - \dfrac{{{x^2}}}{4} + x\log x - x + {c_1} + {c_2} \\\ \Rightarrow I = \dfrac{{{x^2}\log x}}{2} - \dfrac{{{x^2}}}{4} + x\log x - x + c \;

Where, c=c1+c2c = {c_1} + {c_2} is the constant of integration.
Thus, our final answer is: (x+1)logxdx=x2logx2x24+xlogxx+c\int {\left( {x + 1} \right)} \log xdx = \dfrac{{{x^2}\log x}}{2} - \dfrac{{{x^2}}}{4} + x\log x - x + c
So, the correct answer is “x2logx2x24+xlogxx+c\dfrac{{{x^2}\log x}}{2} - \dfrac{{{x^2}}}{4} + x\log x - x + c
”.

Note : Here, we have used integration by parts method which is a special method of integration that is often useful when two functions are multiplied together. In this rule it is very important to choose write functions as u and v. There is a helpful rule to remember for choosing which function to take as u. This rule is called ILATE rule, where I stands for inverse trigonometric functions, L stands for logarithmic functions, A stands for algebraic functions, T stands for trigonometric functions and E stands for exponential functions.