1 / | | log(x - 2) dx | / 0
Integral(log(x - 2), (x, 0, 1))
There are multiple ways to do this integral.
Let .
Then let and substitute :
Use integration by parts:
Let and let .
Then .
To find :
The integral of a constant is the constant times the variable of integration:
Now evaluate the sub-integral.
The integral of a constant is the constant times the variable of integration:
Now substitute back in:
Use integration by parts:
Let and let .
Then .
To find :
The integral of a constant is the constant times the variable of integration:
Now evaluate the sub-integral.
Rewrite the integrand:
Integrate term-by-term:
The integral of a constant is the constant times the variable of integration:
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
The integral of is .
Now substitute back in:
So, the result is:
The result is:
Now simplify:
Add the constant of integration:
The answer is:
/ | | log(x - 2) dx = 2 + C - x + (x - 2)*log(x - 2) | /
-1 + 2*log(2) + pi*I
=
-1 + 2*log(2) + pi*I
-1 + 2*log(2) + pi*i
(0.386294361119891 + 3.14159265358979j)
(0.386294361119891 + 3.14159265358979j)
Use the examples entering the upper and lower limits of integration.