Why is
Integrate[Boole[x < 1], q]
resulting in
Piecewise[{{x, x <= 1}}, 1]
I'd expect
Piecewise[{{x, x <= 1}}, 0]
Because for x > 1 we just integrate Boole[False].
|
Why is
resulting in
I'd expect
Because for |
||||
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.
Integrate[Boole[x < 1], {x, 2, 3}]– belisarius Feb 27 at 13:47Piecewise[{x, x <= 1}}, 0]would simply be wrong. I'm voting to close this question as too localized--it's based on a mathematical misconception and is not relevant to Mathematica. – whuber Feb 27 at 14:42Piecewise[{{x, x <= 1}}, 0]is simply an incorrect answer. Think of it as $F(x) = \int_c^x f(t) \, dt$. – Szabolcs Feb 27 at 14:56