1 / | | (x - log(x)) dx | / 0
Integral(x - log(x), (x, 0, 1))
Integrate term-by-term:
The integral of is when :
The integral of a constant times a function is the constant times the integral of the function:
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:
So, the result is:
The result is:
Now simplify:
Add the constant of integration:
The answer is:
/ 2 | x | (x - log(x)) dx = C + x + -- - x*log(x) | 2 /
Use the examples entering the upper and lower limits of integration.