>> Integrate[x^a, {x, 1, Infinity}] returns an answer that incorporates
>> assumptions:
>> If[Re[a] < -1, -(1/(1 + a)), Integrate[x^a, {x, 1, ∞}, Assumptions
>> ->
>> Re[a] >= -1]]
>>
>> If you want me to unpack that or have a more instructive example,
>> just
>> ask.
>>
> Forgot about that kind of case in Solve, but I was mainly thinking of
> Integrate.
Yeah. Note that Integrate doesn't return something like a piecewise
function
{{solution-1, condition-1},........,{solution-n, condition-n}} but an
expression ("If" statement) that evaluates to the correct answer once
"a" is defined or assumptions are made about it. The If statement can
be simplified by passing the expression to
Simplify[ expr, Assumptions -> a < -2 ]
> Been some time since I have touched Mathematica :)
Half your luck.
D
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---