Integral of 1/x(xln(x)-x+c) dx
The solution
Detail solution
-
There are multiple ways to do this integral.
Method #1
-
Let u=x1.
Then let du=−x2dx and substitute −du:
∫(−u2cu+log(u1)−1)du
-
The integral of a constant times a function is the constant times the integral of the function:
∫u2uc+log(u1)−1du=−∫u2uc+log(u1)−1du
-
Let u=log(u1).
Then let du=−udu and substitute du:
∫(−c−ueu+eu)du
-
Integrate term-by-term:
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−ueu)du=−∫ueudu
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(u)=u and let dv(u)=eu.
Then du(u)=1.
To find v(u):
-
The integral of the exponential function is itself.
∫eudu=eu
Now evaluate the sub-integral.
-
The integral of the exponential function is itself.
∫eudu=eu
So, the result is: −ueu+eu
-
The integral of a constant is the constant times the variable of integration:
∫(−c)du=−uc
-
The integral of the exponential function is itself.
∫eudu=eu
The result is: −uc−ueu+2eu
Now substitute u back in:
−clog(u1)−ulog(u1)+u2
So, the result is: clog(u1)+ulog(u1)−u2
Now substitute u back in:
clog(x)+xlog(x)−2x
Method #2
-
Rewrite the integrand:
xc+(xlog(x)−x)=xc+log(x)−1
-
Integrate term-by-term:
-
The integral of a constant times a function is the constant times the integral of the function:
∫xcdx=c∫x1dx
-
The integral of x1 is log(x).
So, the result is: clog(x)
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(x)=log(x) and let dv(x)=1.
Then du(x)=x1.
To find v(x):
-
The integral of a constant is the constant times the variable of integration:
∫1dx=x
Now evaluate the sub-integral.
-
The integral of a constant is the constant times the variable of integration:
∫1dx=x
-
The integral of a constant is the constant times the variable of integration:
∫(−1)dx=−x
The result is: clog(x)+xlog(x)−2x
-
Add the constant of integration:
clog(x)+xlog(x)−2x+constant
The answer is:
clog(x)+xlog(x)−2x+constant
The answer (Indefinite)
[src]
/
|
| x*log(x) - x + c
| ---------------- dx = C - 2*x + c*log(x) + x*log(x)
| x
|
/
∫xc+(xlog(x)−x)dx=C+clog(x)+xlog(x)−2x
∞sign(c)−2
=
∞sign(c)−2
Use the examples entering the upper and lower limits of integration.