why it takes forever to evaluate this integration
- To: mathgroup at smc.vnet.net
- Subject: [mg78957] why it takes forever to evaluate this integration
- From: "Michael Chen" <vancouver.michael at gmail.com>
- Date: Fri, 13 Jul 2007 06:13:49 -0400 (EDT)
Dear there,
[version 6.0]
I did the integration by hand and the result is piecewise function in
(x1,x2). It is doable, though tedious. I expect Mathematica can do it much
fast, however it takes 5 hours without result yet. Maybe there are better
ways to do it in Mathematica?
Simplify[
Integrate[h1-x1 Boole[h1-x1>0 && h2-x2>0 && h1-x1>h2-x2], {h1,B1,U1},
{h2,B2,U2}, Assumptions->B1<U1 && B2<U2]
]
Thanks a lot.
--
Michael Chen