Solveeit Logo

Question

Question: The value of \[\int {\log \left( x \right)dx} \] is A. \(x\log \left( {\dfrac{x}{e}} \right) + c\...

The value of log(x)dx\int {\log \left( x \right)dx} is
A. xlog(xe)+cx\log \left( {\dfrac{x}{e}} \right) + c
B. x2log(x)+c{x^2}\log (x) + c
C. exlog(x)+c{e^x}\log (x) + c
D. (x+1)log(x)+c(x + 1)\log (x) + c

Explanation

Solution

this is a question of indefinite integration. We can use by-parts integration. We can use part integration to solve this integral. We can use log(x) as the first function and 11 as the second function. Also, we can assume this integral to be equal to II, and then we can proceed with our calculation.

Formula used:
uvdx=[uvdxu(vdx)dx]\int {uvdx = \left[ {u\int {vdx - \int {u'\left( {\int {vdx} } \right)dx} } } \right]}

Complete step by step answer:
let the given integral be equal to II.
I=logxdxI = \int {\log xdx}
Using by-parts integration,
Take the first function as logx\log x and the second function as 11.
I=[log(x)1dxd(logx)dx×(1dx)dx]I = \left[ {\log (x)\int {1dx} - \int {\dfrac{{d\left( {\log x} \right)}}{{dx}} \times \left( {\int {1dx} } \right)dx} } \right]
Integration of 11 is x.
I=[logx(x)d(logx)dx×xdx]I = \left[ {\log x\left( x \right) - \int {\dfrac{{d\left( {\log x} \right)}}{{dx}} \times xdx} } \right]
Differentiation of log(x) is 1x\dfrac{1}{x}.
I=[log(x)xxdx]I = \,\left[ {\log \left( x \right) - \int {\dfrac{x}{x}dx} } \right]
On dividing, we get
I = \left[ {\log \left( x \right) - \int {1dx} } \right] \\\
\Rightarrow I = x\log \left( x \right) - x + c \\\
Here, c is the constant of integration. We can also write 11 as log(e).Therefore,
I = \left[ {x\log (x) - x\log (e) + c} \right] \\\
Taking x common,
I=x[log(x)log(e)]+c I = x\left[ {\log \left( x \right) - \log \left( e \right)} \right] + c \\\
Now, using the property of logarithm,
\log \left( {\dfrac{a}{b}} \right) = \log \left( a \right) - \log \left( b \right) \\\
I=xlog(xe)+c\therefore I = x\log \left( {\dfrac{x}{e}} \right) + c

Hence, the correct answer is option A.

Note: Using 11 as a function in by-parts integration is a standard format of integration. There is one alternative to this question. You can also differentiate the options and after differentiation, the option which matches with the integral will be the correct answer. On differentiation, the constant of integration becomes zero. We can use this method in simple questions but not in complex ones.