Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Integrating over regions' topicStudent Support Forum > General > "Integrating over regions"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
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: ,

Subject (listing for 'Integrating over regions')
Author Date Posted
Integrating over regions Emilio 11/17/12 03:52am
Re: Integrating over regions Nasser M. Ab... 11/17/12 7:54pm
Re: Integrating over regions Peter Pein 11/17/12 11:12pm
Re: Integrating over regions yehuda 11/18/12 12:52pm
Re: Re: Integrating over regions Emilio 11/18/12 4:46pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic