Integrals over Regions

This does an integral over the interior of the unit circle.
In[1]:=
Click for copyable input
Out[1]=
Here is an equivalent form.
In[2]:=
Click for copyable input
Out[2]=

Even though an integral may be straightforward over a simple rectangular region, it can be significantly more complicated even over a circular region.

This gives a Bessel function.
In[3]:=
Click for copyable input
Out[3]=
Integrate[f Boole[cond],{x,xmin,xmax},{y,ymin,ymax}]
integrate f over the region where cond is True

Integrals over regions.

Particularly if there are parameters inside the conditions that define regions, the results for integrals over regions may break into several cases.

This gives a piecewise function of .
In[4]:=
Click for copyable input
Out[4]=
With two parameters even this breaks into quite a few cases.
In[5]:=
Click for copyable input
Out[5]=
This involves intersecting a circle with a square.
In[6]:=
Click for copyable input
Out[6]=
The region can have an infinite number of components.
In[7]:=
Click for copyable input
Out[7]=
New to Mathematica? Find your learning path »
Have a question? Ask support »