Solveeit Logo

Question

Question: How do you evaluate the definite integral \[\int {\log xdx} \] from \(\left[ {2,4} \right]\)?...

How do you evaluate the definite integral logxdx\int {\log xdx} from [2,4]\left[ {2,4} \right]?

Explanation

Solution

In this question they have given logxdx\int {\log xdx} and asked us to solve it by using parts method. We will have to take any one term as uu and the other as dvdv and have to find its derivative and the value of vv. Then we need to substitute it in the formula I=uvvduI = uv - \smallint vdu and then simply and solve it to find the correct answer.

Formula used: Formula for integrating in parts method:
I=uvvduI = uv - \smallint vdu

Complete step by step solution:
In this question they have given logxdx\int {\log xdx} and asked us to solve it by using parts method.
We know that the formula for using part method is I=uvvduI = uv - \smallint vdu
First we need to decide which one to choose as uu and which one as dvdv.
Let us take u=logxu = \log x and dv=dx.dv = dx.
Now, we need to find the derivative of uuand the value of vv
u=logx\Rightarrow u = \log x
dudx=ddxlogx\Rightarrow \dfrac{{du}}{{dx}} = \dfrac{d}{{dx}}\log x
dudx=1x\Rightarrow \dfrac{{du}}{{dx}} = \dfrac{1}{x}
With this we need to find dudu, which is
du=1xdx\Rightarrow du = \dfrac{1}{x}dx
Now we know that dv=dx.dv = dx.
dvdx=1\Rightarrow \dfrac{{dv}}{{dx}} = 1
v=1dx\Rightarrow v = \int {1dx}
v=x\Rightarrow v = x
Now, substituting in the formula, I=uvvduI = uv - \smallint vdu
logxdx=x(logx)1x.xdx\Rightarrow \int {\log xdx} = x(\log x) - \smallint \dfrac{1}{x}.xdx
Sampling it,
logxdx=x(logx)dx\Rightarrow \int {\log xdx} = x(\log x) - \smallint dx
logxdx=x(logx)x+C\Rightarrow \int {\log xdx} = x(\log x) - x + C
Therefore, the integration of given II is(logx)dx=xlogxx+C\int {(\log x)dx = } x\log x - x + C
Now applying the limit of
24logxdx=(4log44)(2(log2)2)\Rightarrow \int\limits_2^4 {\log xdx} = \left( {4\log 4 - 4} \right) - \left( {2(\log 2) - 2} \right)
4log2242log2+2\Rightarrow 4\log {2^2} - 4 - 2\log 2 + 2
8log22log22\Rightarrow 8\log 2 - 2\log 2 - 2
Simplifying it, we get
6log22\Rightarrow 6\log 2 - 2

Therefore 6log226\log 2 - 2 is the answer.

Note: Integration by Parts is a special method of integration that is often useful when two functions are multiplied together, but is also helpful in other ways. This method is used to find the integrals by reducing them into standard form. We do not add any constant while finding the integral of the second function.