Integrate
Usage
Notes
Further Examples
Indefinite integrals Here are three indefinite integrals that are evaluated by the (extended) Risch algorithm.
In[1]:=
|
Out[1]=
|
In[2]:=
|
Out[2]=
|
In[3]:=
|
Out[3]=
|
Here are two indefinite integrals that are evaluated by special table lookup rules.
In[4]:=
|
Out[4]=
|
In[5]:=
|
Out[5]=
|
These indefinite integrals assume x is real.
In[6]:=
|
Out[6]=
|
In[7]:=
|
Out[7]=
|
In[8]:=
|
Out[8]=
|
Definite integrals Here are some definite integrals.
In[9]:=
|
Out[9]=
|
In[10]:=
|
Out[10]=
|
In[11]:=
|
Out[11]=
|
In[12]:=
|
Out[12]=
|
In[13]:=
|
Out[13]=
|
In[14]:=
|
Out[14]=
|
In[15]:=
|
Out[15]=
|
In[16]:=
|
Out[16]=
|
In[17]:=
|
Out[17]=
|
In[18]:=
|
Out[18]=
|
In[19]:=
|
Out[19]=
|
The function Boole provides a convenient way to express multi-dimensional definite integrals over regions that are not rectangles or cuboids.
In[20]:=
|
Out[20]=
|
In[21]:=
|
Out[21]=
|
In[22]:=
|
Out[22]=
|
In[23]:=
|
Out[23]=
|
In[24]:=
|
Out[24]=
|
Options: Assumptions and GenerateConditions When an integrand depends on a parameter, the indefinite integral should be considered valid for "generic" values of the parameter. For certain values the reported integral may be meaningless, as is the case here for .
In[25]:=
|
Out[25]=
|
By contrast, when you ask for a definite integral, Mathematica tries to return a result that is always valid, if necessary by stating validity conditions.
In[26]:=
|
Out[26]=
|
The option Assumptions lets you explicitly state conditions on the parameters. If you are only interested in real values of that are less than 0, the reported result is unconditional.
In[27]:=
|
Out[27]=
|
The same unconditional result is returned if you override the default setting of the option GenerateConditions. Unless you know beforehand under what conditions the result is valid, this usage can lead to nonsense.
In[28]:=
|
Out[28]=
|
This integral is a definition of the Beta function.
In[29]:=
|
Out[29]=
|
Numerical integration When a function cannot be integrated symbolically, you can usually obtain a definite integral numerically using NIntegrate.
In[30]:=
|
Out[30]=
|
In[31]:=
|
Out[31]=
|
See the Further Examples for NIntegrate.
|