I just ran across this:
Assuming[x > 0, Integrate[1/t^2, {t, 1, x}]]
gives the output
ConditionalExpression[(-1 + x)/x, x > 1]
which is clearly too restricted. The correct conditional should be x>0
.
The result doesn't evaluate at x=1/2
, but
Integrate[ 1/t^2, {t, 1, 1/2} ]
correctly evaluates to -1
.
Any thoughts for a workaround?
I'm on OSX with Mathematica 9.0.1.0.
EDIT:
The result cannot be explained by Mathematica having a strong requirement of the upper boundary being strictly greater than the lower boundary of the integral. This can be seen when integrating over functions without singularity or by moving the singularity but not the lower boundary. In this case the conditional is also shifted, despite the unchanged lower boundary.
So there must be some (unintented) interaction between mixed constant and variable boundaries and singularities.
GenerateConditions -> False
? $\endgroup$ – Michael E2 Nov 26 '14 at 14:30Assuming[x > 0, Integrate[1/t^2, {t, 1, x}]]
, then in here1
is min, and x is max. According to help. Hence x has to be greater than 1. In the second example, when you wroteIntegrate[ 1/t^2, {t, 1, 1/2} ]
here you are giving numerical values for the limits, so it knows that the upper limit is less than the lower limit? $\endgroup$ – Nasser Nov 26 '14 at 14:32