## 1.5.3 Integration

Here is the integral in Mathematica.
 In[1]:=  Integrate[x^n, x]
 Out[1]=
Here is a slightly more complicated example.
 In[2]:=  Integrate[1/(x^4 - a^4), x]
 Out[2]=

Mathematica knows how to do almost any integral that can be done in terms of standard mathematical functions. But you should realize that even though an integrand may contain only fairly simple functions, its integral may involve much more complicated functions--or may not be expressible at all in terms of standard mathematical functions.

Here is a fairly straightforward integral.
 In[3]:=  Integrate[Log[1 - x^2], x ]
 Out[3]=
This integral can be done only in terms of a dilogarithm function.
 In[4]:=  Integrate[Log[1 - x^2]/x, x]
 Out[4]=
This integral involves Erf.
 In[5]:=  Integrate[Exp[1 - x^2], x]
 Out[5]=
And this one involves a Fresnel function.
 In[6]:=  Integrate[Sin[x^2], x]
 Out[6]=
Even this integral requires a hypergeometric function.
 In[7]:=  Integrate[(1 - x^2)^n, x]
 Out[7]=
This integral simply cannot be done in terms of standard mathematical functions. As a result, Mathematica just leaves it undone.
 In[8]:=  Integrate[ x^x, x ]
 Out[8]=

 Integrate[f, x] the indefinite integral Integrate[f, x, y] the multiple integral Integrate[f, {x, , }] the definite integral Integrate[f, {x, , }, {y, , }] the multiple integral

Integration.
Here is the definite integral .
 In[9]:=  Integrate[Sin[x]^2, {x, a, b} ]
 Out[9]=
Here is another definite integral.
 In[10]:=  Integrate[Exp[-x^2], {x, 0, Infinity}]
 Out[10]=
Mathematica cannot give you a formula for this definite integral.
 In[11]:=  Integrate[ x^x, {x, 0, 1} ]
 Out[11]=
You can still get a numerical result, though.
 In[12]:=  N[ % ]
 Out[12]=
This evaluates the multiple integral . The range of the outermost integration variable appears first.
 In[13]:=  Integrate[ x^2 + y^2, {x, 0, 1}, {y, 0, x} ]
 Out[13]=
This integrates over a circular region.
 In[14]:=  Integrate[ x^10 Boole[x^2 + y^2 1], {x, -1, 1}, {y, -1 ,1}]
 Out[14]=

THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.