1 / | | x - y | ----- dx | x | / 0
Integral((x - y)/x, (x, 0, 1))
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:
The integral of is .
So, the result is:
The result is:
Add the constant of integration:
The answer is:
/ | | x - y | ----- dx = C + x - y*log(x) | x | /
1 - oo*sign(y)
=
1 - oo*sign(y)
1 - oo*sign(y)
Use the examples entering the upper and lower limits of integration.