Function Repository Resource:

AreaBetweenCurvesIntegral

Compute the integral describing the area between two plane curves

Contributed by: Wolfram|Alpha Math Team
 ResourceFunction["AreaBetweenCurvesIntegral"][{f,g},{x,xmin,xmax}] returns an Inactive integral representing the area of the enclosed region between the functions f(x) and g(x) over the interval xmin

Details and Options

ResourceFunction["AreaBetweenCurvesIntegral"] works with real‐valued functions over the Cartesian coordinate system.
The area between f(x) and g(x) is defined as .
When f(x)g(x), the area between the two curves is .
When f(x) and g(x) only meet at x=xmin and x=xmax, the area is taken to be that of the enclosed region.
When f(x) and g(x) do not meet at x=xmin or x=xmax, the boundary of the enclosed region will contain vertical line segments joining the curves.
When f(x) and g(x) intersect for some xmin<x<xmax, the area will be that of multiple enclosed regions.
The following option can be given:
 Assumptions \$Assumptions assumptions on parameters

Examples

Basic Examples (2)

Compute an integral representing the area between two curves:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

Activate the integral to compute the area:

 In[3]:=
 Out[3]=

Scope (4)

Find the area of the region enclosed by two curves:

 In[4]:=
 Out[4]=
 In[5]:=
 Out[5]=
 In[6]:=
 Out[6]=

Where the curves do not meet:

 In[7]:=
 Out[7]=
 In[8]:=
 Out[8]=

With multiple enclosed regions, the integrand will use Abs to return a positive area:

 In[9]:=
 Out[9]=
 In[10]:=
 Out[10]=

Between curves containing parameters:

 In[11]:=
 Out[11]=

Options (2)

Assumptions

The result may be conditioned on parameters:

 In[12]:=
 Out[12]=

Make an assumption about the parameter to then evaluate the area:

 In[13]:=
 Out[13]=
 In[14]:=
 Out[14]=

Applications (2)

Compute the area of a disk:

 In[15]:=
 Out[15]=
 In[16]:=
 Out[16]=
 In[17]:=
 Out[17]=

Cavalieri's principle states that the area between two curves does not change when each curve is shifted by the same amount:

 In[18]:=
 In[19]:=
 In[20]:=
 Out[20]=
 In[21]:=
 Out[21]=
 In[22]:=
 Out[22]=

Properties and Relations (1)

Use resource function AreaBetweenCurves to compute the area directly:

 In[23]:=
 Out[23]=

Publisher

Wolfram|Alpha Math Team

Version History

• 2.0.0 – 23 March 2023
• 1.0.0 – 11 May 2020

Author Notes

To view underlying source code, evaluate the following:

 In[1]:=