1 / | | |x - y| dy | / 0
Integral(|x - y|, (y, 0, 1))
2 2 (-x + Min(1, Max(0, x + 1))) __1, 1 /1 3 | \ __0, 2 /3, 1 | \ x __1, 1 /1 3 | \ __0, 2 /3, 1 | \ ----------------------------- - /__ | | -x + Min(1, Max(0, x + 1))| - /__ | | -x + Min(1, Max(0, x + 1))| - -- + /__ | | 1 - x| + /__ | | 1 - x| 2 \_|2, 2 \2 0 | / \_|2, 2 \ 2, 0 | / 2 \_|2, 2 \2 0 | / \_|2, 2 \ 2, 0 | /
=
2 2 (-x + Min(1, Max(0, x + 1))) __1, 1 /1 3 | \ __0, 2 /3, 1 | \ x __1, 1 /1 3 | \ __0, 2 /3, 1 | \ ----------------------------- - /__ | | -x + Min(1, Max(0, x + 1))| - /__ | | -x + Min(1, Max(0, x + 1))| - -- + /__ | | 1 - x| + /__ | | 1 - x| 2 \_|2, 2 \2 0 | / \_|2, 2 \ 2, 0 | / 2 \_|2, 2 \2 0 | / \_|2, 2 \ 2, 0 | /
(-x + Min(1, Max(0, 1 + x)))^2/2 - meijerg(((1,), (3,)), ((2,), (0,)), -x + Min(1, Max(0, 1 + x))) - meijerg(((3, 1), ()), ((), (2, 0)), -x + Min(1, Max(0, 1 + x))) - x^2/2 + meijerg(((1,), (3,)), ((2,), (0,)), 1 - x) + meijerg(((3, 1), ()), ((), (2, 0)), 1 - x)
Use the examples entering the upper and lower limits of integration.