| Author |
Comment/Response |
Peter Pein
|
11/17/12 11:12pm
Hi Emilio,
it is better to use the function Boole in place of the If-construct in integrals and to keep in mind that xup or yup are not equal to 1:
In[1]:= Integrate[
Boole[x >= y]/((1 - xup) (1 - yup)), {x, xup, 1}, {y, yup, 1},
Assumptions -> (xup < 1 || xup > 1)] /. yup -> xup
% // Cancel
Out[1]= (1 - 2 xup + xup^2)/(2 (-1 + xup)^2)
Out[2]= 1/2
Peter
URL: , |
|