Integral of x-1/x(ln(x)-x)^2 dx
The solution
Detail solution
-
Integrate term-by-term:
-
The integral of xn is n+1xn+1 when n=−1:
∫xdx=2x2
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−x(−x+log(x))2)dx=−∫x(−x+log(x))2dx
-
There are multiple ways to do this integral.
Method #1
-
Let u=x1.
Then let du=−x2dx and substitute −du:
∫(−u3u2log(u1)2−2ulog(u1)+1)du
-
The integral of a constant times a function is the constant times the integral of the function:
∫u3u2log(u1)2−2ulog(u1)+1du=−∫u3u2log(u1)2−2ulog(u1)+1du
-
Let u=log(u1).
Then let du=−udu and substitute du:
∫(−u2+2ueu−e2u)du
-
Integrate term-by-term:
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−u2)du=−∫u2du
-
The integral of un is n+1un+1 when n=−1:
∫u2du=3u3
So, the result is: −3u3
-
The integral of a constant times a function is the constant times the integral of the function:
∫2ueudu=2∫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: 2ueu−2eu
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−e2u)du=−∫e2udu
-
Let u=2u.
Then let du=2du and substitute 2du:
∫2eudu
-
The integral of a constant times a function is the constant times the integral of the function:
-
The integral of the exponential function is itself.
∫eudu=eu
So, the result is: 2eu
Now substitute u back in:
2e2u
So, the result is: −2e2u
The result is: −3u3+2ueu−2e2u−2eu
Now substitute u back in:
−3log(u1)3+u2log(u1)−u2−2u21
So, the result is: 3log(u1)3−u2log(u1)+u2+2u21
Now substitute u back in:
2x2−2xlog(x)+2x+3log(x)3
Method #2
-
Rewrite the integrand:
x(−x+log(x))2=xx2−2xlog(x)+log(x)2
-
Let u=x1.
Then let du=−x2dx and substitute −du:
∫(−u3u2log(u1)2−2ulog(u1)+1)du
-
The integral of a constant times a function is the constant times the integral of the function:
∫u3u2log(u1)2−2ulog(u1)+1du=−∫u3u2log(u1)2−2ulog(u1)+1du
-
Let u=log(u1).
Then let du=−udu and substitute du:
∫(−u2+2ueu−e2u)du
-
Integrate term-by-term:
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−u2)du=−∫u2du
-
The integral of un is n+1un+1 when n=−1:
∫u2du=3u3
So, the result is: −3u3
-
The integral of a constant times a function is the constant times the integral of the function:
∫2ueudu=2∫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: 2ueu−2eu
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−e2u)du=−∫e2udu
-
Let u=2u.
Then let du=2du and substitute 2du:
∫2eudu
-
The integral of a constant times a function is the constant times the integral of the function:
-
The integral of the exponential function is itself.
∫eudu=eu
So, the result is: 2eu
Now substitute u back in:
2e2u
So, the result is: −2e2u
The result is: −3u3+2ueu−2e2u−2eu
Now substitute u back in:
−3log(u1)3+u2log(u1)−u2−2u21
So, the result is: 3log(u1)3−u2log(u1)+u2+2u21
Now substitute u back in:
2x2−2xlog(x)+2x+3log(x)3
Method #3
-
Rewrite the integrand:
x(−x+log(x))2=x−2log(x)+xlog(x)2
-
Integrate term-by-term:
-
The integral of xn is n+1xn+1 when n=−1:
∫xdx=2x2
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−2log(x))dx=−2∫log(x)dx
-
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
So, the result is: −2xlog(x)+2x
-
Let u=x1.
Then let du=−x2dx and substitute −du:
∫(−ulog(u1)2)du
-
The integral of a constant times a function is the constant times the integral of the function:
∫ulog(u1)2du=−∫ulog(u1)2du
-
Let u=log(u1).
Then let du=−udu and substitute −du:
∫(−u2)du
-
The integral of a constant times a function is the constant times the integral of the function:
∫u2du=−∫u2du
-
The integral of un is n+1un+1 when n=−1:
∫u2du=3u3
So, the result is: −3u3
Now substitute u back in:
−3log(u1)3
So, the result is: 3log(u1)3
Now substitute u back in:
3log(x)3
The result is: 2x2−2xlog(x)+2x+3log(x)3
So, the result is: −2x2+2xlog(x)−2x−3log(x)3
The result is: 2xlog(x)−2x−3log(x)3
-
Add the constant of integration:
2xlog(x)−2x−3log(x)3+constant
The answer is:
2xlog(x)−2x−3log(x)3+constant
The answer (Indefinite)
[src]
/
|
| / 2\ 3
| | (log(x) - x) | log (x)
| |x - -------------| dx = C - 2*x - ------- + 2*x*log(x)
| \ x / 3
|
/
∫(x−x(−x+log(x))2)dx=C+2xlog(x)−2x−3log(x)3
Use the examples entering the upper and lower limits of integration.