Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Integrate a mathematical function using Mellin–Barnes integration
ResourceFunction["MellinBarnesIntegrate"][f,x] gives the indefinite integral | |
ResourceFunction["MellinBarnesIntegrate"][f,{x,0,Infinity}] gives the definite integral | |
ResourceFunction["MellinBarnesIntegrate"][f,{x,-Infinity,0}] gives the definite integral | |
Compute an indefinite integral:
| In[1]:= |
| Out[1]= |
Activate the MeijerG function to obtain an answer in terms of elementary functions:
| In[2]:= |
| Out[2]= |
Compute an definite integral:
| In[3]:= |
| Out[3]= |
Use FunctionExpand to evaluate the gamma functions:
| In[4]:= |
| Out[4]= |
Confirm the result via Integrate:
| In[5]:= |
| Out[5]= |
Compute an indefinite integral:
| In[6]:= |
| Out[6]= |
Verify the answer by differentiation:
| In[7]:= |
| Out[7]= |
Compute a definite integral over an infinite interval:
| In[8]:= |
| Out[8]= |
Use FunctionExpand and Activate to obtain the result in terms of more basic functions:
| In[9]:= |
| Out[9]= |
Compute an integral over a doubly-infinite interval:
| In[10]:= |
| Out[10]= |
Compute an integral over the negative real line:
| In[11]:= |
| Out[11]= |
An integrand containing symbolic parameters:
| In[12]:= |
| Out[12]= |
Compare with the results of NIntegrate:
| In[13]:= | ![]() |
| Out[13]= |
Integrate rational functions:
| In[14]:= |
| Out[14]= |
| In[15]:= |
| Out[15]= |
| In[16]:= |
| Out[16]= |
Integrate algebraic functions:
| In[17]:= |
| Out[17]= |
Integrate trigonometric functions:
| In[18]:= |
| Out[18]= |
| In[19]:= |
| Out[19]= |
| In[20]:= |
| Out[20]= |
Integrate inverse trigonometric and hyperbolic functions:
| In[21]:= |
| Out[21]= |
| In[22]:= |
| Out[22]= |
Integrate Airy functions:
| In[23]:= |
| Out[23]= | ![]() |
| In[24]:= |
| Out[24]= | ![]() |
Integrate Bessel functions:
| In[25]:= |
| Out[25]= |
| In[26]:= |
| Out[26]= | ![]() |
Integrate hypergeometric functions:
| In[27]:= |
| Out[27]= |
Integrate elliptic integrals:
| In[28]:= |
| Out[28]= |
| In[29]:= |
| Out[29]= |
This work is licensed under a Creative Commons Attribution 4.0 International License