Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am integrating some difficult functions and using the conditional output to place bounds on parameters to ensure integrability, but it seems that not all of the conditions are being returned. The following simple example illustrates the issue.

When I perform the 1D integration

Integrate[Exp[b y], {y, 0, Infinity}]

I receive the correct output

ConditionalExpression[-(1/b), Re[b] < 0]

but when I perform the 2D integration

Integrate[Exp[a x + b y], {x, 0, Infinity}, {y, 0, Infinity}]

I only receive

ConditionalExpression[1/(a b), Re[a] < 0].

That is, the condition on the parameter b ensuring integrability is not returned. In this case does Mathematica only return the condition associated with the last integration step?

Thanks...

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

It seems you have to set GenerateConditions explicitly

Integrate[Exp[a x + b y], {x, 0, Infinity}, {y, 0, Infinity}, 
 GenerateConditions -> True]

(* ConditionalExpression[1/(a b), Re[b] < 0 && Re[a] < 0] *)
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.