Integral of xln(2-x) dx
The solution
Detail solution
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(x)=log(2−x) and let dv(x)=x.
Then du(x)=−2−x1.
To find v(x):
-
The integral of xn is n+1xn+1 when n=−1:
∫xdx=2x2
Now evaluate the sub-integral.
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−2(2−x)x2)dx=−2∫2−xx2dx
-
There are multiple ways to do this integral.
Method #1
-
Rewrite the integrand:
2−xx2=−x−2−x−24
-
Integrate term-by-term:
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−x)dx=−∫xdx
-
The integral of xn is n+1xn+1 when n=−1:
∫xdx=2x2
So, the result is: −2x2
-
The integral of a constant is the constant times the variable of integration:
∫(−2)dx=−2x
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−x−24)dx=−4∫x−21dx
-
Let u=x−2.
Then let du=dx and substitute du:
∫u1du
-
The integral of u1 is log(u).
Now substitute u back in:
log(x−2)
So, the result is: −4log(x−2)
The result is: −2x2−2x−4log(x−2)
Method #2
-
Rewrite the integrand:
2−xx2=−x−2x2
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−x−2x2)dx=−∫x−2x2dx
-
Rewrite the integrand:
x−2x2=x+2+x−24
-
Integrate term-by-term:
-
The integral of xn is n+1xn+1 when n=−1:
∫xdx=2x2
-
The integral of a constant is the constant times the variable of integration:
∫2dx=2x
-
The integral of a constant times a function is the constant times the integral of the function:
∫x−24dx=4∫x−21dx
-
Let u=x−2.
Then let du=dx and substitute du:
∫u1du
-
The integral of u1 is log(u).
Now substitute u back in:
log(x−2)
So, the result is: 4log(x−2)
The result is: 2x2+2x+4log(x−2)
So, the result is: −2x2−2x−4log(x−2)
So, the result is: 4x2+x+2log(x−2)
-
Add the constant of integration:
2x2log(2−x)−4x2−x−2log(x−2)+constant
The answer is:
2x2log(2−x)−4x2−x−2log(x−2)+constant
The answer (Indefinite)
[src]
/ 2 2
| x x *log(2 - x)
| x*log(2 - x) dx = C - x - 2*log(-2 + x) - -- + -------------
| 4 2
/
∫xlog(2−x)dx=C+2x2log(2−x)−4x2−x−2log(x−2)
The graph
−45+2log(2)
=
−45+2log(2)
Use the examples entering the upper and lower limits of integration.