Integral of x/(2-x) dx
The solution
Detail solution
-
There are multiple ways to do this integral.
Method #1
-
Rewrite the integrand:
2−xx=−1−x−22
-
Integrate term-by-term:
-
The integral of a constant is the constant times the variable of integration:
∫(−1)dx=−x
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−x−22)dx=−2∫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: −2log(x−2)
The result is: −x−2log(x−2)
Method #2
-
Rewrite the integrand:
2−xx=−x−2x
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−x−2x)dx=−∫x−2xdx
-
Rewrite the integrand:
x−2x=1+x−22
-
Integrate term-by-term:
-
The integral of a constant is the constant times the variable of integration:
∫1dx=x
-
The integral of a constant times a function is the constant times the integral of the function:
∫x−22dx=2∫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: 2log(x−2)
The result is: x+2log(x−2)
So, the result is: −x−2log(x−2)
-
Add the constant of integration:
−x−2log(x−2)+constant
The answer is:
−x−2log(x−2)+constant
The answer (Indefinite)
[src]
/
|
| x
| ----- dx = C - x - 2*log(-2 + x)
| 2 - x
|
/
∫2−xxdx=C−x−2log(x−2)
The graph
−1+2log(2)
=
−1+2log(2)
Use the examples entering the upper and lower limits of integration.