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 from [2,4]?
Solution
In this question they have given ∫logxdxand asked us to solve it by using parts method. We will have to take any one term as u and the other as dv and have to find its derivative and the value of v. Then we need to substitute it in the formula I=uv−∫vdu and then simply and solve it to find the correct answer.
Formula used: Formula for integrating in parts method:
I=uv−∫vdu
Complete step by step solution:
In this question they have given ∫logxdx and asked us to solve it by using parts method.
We know that the formula for using part method is I=uv−∫vdu
First we need to decide which one to choose as u and which one as dv.
Let us take u=logx and dv=dx.
Now, we need to find the derivative of uand the value of v
⇒u=logx
⇒dxdu=dxdlogx
⇒dxdu=x1
With this we need to find du, which is
⇒du=x1dx
Now we know that dv=dx.
⇒dxdv=1
⇒v=∫1dx
⇒v=x
Now, substituting in the formula, I=uv−∫vdu
⇒∫logxdx=x(logx)−∫x1.xdx
Sampling it,
⇒∫logxdx=x(logx)−∫dx
⇒∫logxdx=x(logx)−x+C
Therefore, the integration of given I is∫(logx)dx=xlogx−x+C
Now applying the limit of
⇒2∫4logxdx=(4log4−4)−(2(log2)−2)
⇒4log22−4−2log2+2
⇒8log2−2log2−2
Simplifying it, we get
⇒6log2−2
Therefore 6log2−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.