intsolve - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


intsolve

solve a linear integral equation

 

Calling Sequence

Parameters

Options

Description

Examples

References

Compatibility

Calling Sequence

intsolve( Inteqn, funcn, options )

Parameters

Inteqn

-

linear integral equation in funcn

funcn

-

unknown function to be solved for

options

-

(optional) one or more equations of the form keyword=value (see below)

Options

• 

basis : list or set of basis functions or the keyword polynomial; specifies the basis functions to be used to construct a collocation solution; the default is polynomial

• 

includeendpoints : either true or false; specifies if the nodes generated by a Chebyshev or Legendre polynomial for the collocation method should include the endpoints of the interval; the default is false

• 

interval : range of the form algebraic..algebraic; specifies the interval used to generate collocation nodes when different than the interval of integration

• 

method : one of the keywords collocation, differentialequation, eigenfunction, Laplace, and Neumann; specifies the method to be used

• 

nodes : list or set of values for the nodes or one of the keywords chebyshev, chebyshevgausslobatto, legendre, legendregausslobatto, and regular (uniform); specifies the type of nodes to be used for the collocation method; the default is regular

• 

numeric : either true or false; specifies if the collocation method is to seek a numerical solution

• 

order : positive integer; specifies the order of the series approximation to use with the Neumann method or the degree of polynomial to use with the collocation method

Description

• 

The intsolve command is able to find exact closed-form solutions to various types of integral equations as explained below. The solution is returned as an explicit equation with the unknown function in the left-hand side and the solution in the right-hand side. In some cases arbitrary constants are returned in the solution; they are represented as c1,c2,,cn, as in the output of dsolve. When the solution contains integrals, they are represented with the inert Int.

• 

By default, intsolve converts, using the differentialequation method, the linear integral equation into an equivalent ODE problem with initial values (ODE-IVP), then attempts solving this problem; if it fails, it uses an eigenfunction approach. The method Laplace is optional and tackles the problem using a Laplace transform. The collocation and Neumann methods are also optional, and compute approximations to the solution.

• 

intsolve can recognize Fredholm and Volterra integral equations of the following kinds:

  

Fredholm equation of the first kind (F1):

abkx,yfyⅆy=gx

  

Fredholm equation of the second kind (F2):

fx+abkx,yfyⅆy=gx

  

Fredholm equation of the third (homogeneous) kind (F3):

fx+abkx,yfyⅆy=0

  

Volterra equation of the first kind (V1):

axkx,yfyⅆy=gx

  

Volterra equation of the second kind (V2):

fx+axkx,yfyⅆy=gx

  

Volterra equation of the third (homogeneous) kind (V3):

fx+axkx,yfyⅆy=0

• 

The Laplace method is applicable to equations of V1, V2 and V3 type. One advantage to using this option is that the integral equation may contain the Dirac or Heaviside functions. This method is not suitable for finding a solution when the equation does not possess a convolution type kernel.

• 

The collocation method finds an approximate solution by choosing a finite number of collocation nodes/points over the interval, and determining the polynomial (or linear combination of other expressions) that satisfy the integral equation at the nodes. A few notes:

1. 

The order option is used to determine the degree of the polynomial when (1) neither a list of basis functions nor a list of nodes is passed and (2) the option is explicitly passed to the command and a list of nodes is passed but not a list of basis functions.

2. 

Over the interval −1,1, Chebyshev nodes are the zeros of the ChebyshevT polynomial of appropriate order. Similarly, Legendre nodes are the zeros of the LegendreP polynomial of appropriate order. For Chebyshev-Gauss-Lobatto and Legendre-Gauss-Lobatto nodes, the values are the zeros of the derivative of the corresponding polynomial of required order. The order of the polynomial used to compute the nodes is chosen so that the includeendpoints option is respected and the necessary total number of nodes is achieved. When the interval in the integral equation is not −1,1, the nodes are appropriately shifted.

3. 

When numeric=true is explicitly passed for method=collocation, floating-point arithmetic is used to construct and solve the collocation equations. When numeric=false, on the other hand, all floating-point numbers present in the integral equation are converted to fractions. When the numeric option is not passed, numeric=true is inferred from the presence of floats in the integral equation or the choice of Chebyshev, Chebyshev-Gauss-Lobatto, Legendre, or Legendre-Gauss-Lobatto type nodes.

4. 

Suppose numeric=true. When Digits<=15 and UseHardwareFloats is not false, then Digits is set (internally) to 15. Moreover, if there are no parameters present in the integral equation, hardware floats are used when solving for the collocation coefficients. When Digits>15 or UseHardwareFloats=false, on the other hand, the value of Digits is not changed.

5. 

The speed of the solver is determined by the number and complexity of the equations involved. For example, integration (numeric or symbolic) needs to be performed at each of the collocation points.

• 

The Neumann method is applicable to equations of V2, F2, and some of V1 type. The default order of the Neumann series in the solution is Order - this value can be overridden by passing the optional argument order = n, where n is a positive integer.

• 

When method is not specified, intsolve checks if the integral within the integral equation is of the form of a Fourier-Sine, Fourier-Cosine, or Laplace transform. That is, it checks if the integral equation can be written

0fyaybxy&DifferentialD;y=cx

  

where bz is one of sinz, cosz, or &ExponentialE;z. In this case, intsolve will apply the appropriate inverse integral transform.

• 

infolevel[intsolve] := 1,2,3 or 5 gives descriptive information on the progress of the computation. 5 may result in excessive printing.

Examples

Example 1

• 

Consider the following example:

eq1px12Intxypy&comma;y=0..1=56x

eq1px01xypy&DifferentialD;y2=5x6

(1)

intsolveeq1&comma;px

px=x

(2)
  

If we instead use the 'Neumann' method, an approximation to this result is returned:

intsolveeq1&comma;px&comma;method=Neumann

px=279935x279936

(3)

intsolveeq1&comma;px&comma;method=Neumann&comma;order=20

px=21936950640377855x21936950640377856

(4)

Example 2

  

Computing the solution and verifying the result:

eq2fx=x+1+Int1+2xyfy&comma;y=0..x

eq2fx=x+1+0x1+2x2yfy&DifferentialD;y

(5)

intsolveeq2&comma;fx

fx=&ExponentialE;2x

(6)
  

To verify this solution, transform it first into a procedure:

f=unapplyrhs&comma;x

f=x&ExponentialE;2x

(7)

evaleq2&comma;

&ExponentialE;2x=x+1+0x1+2x2y&ExponentialE;2y&DifferentialD;y

(8)

value

&ExponentialE;2x=&ExponentialE;2x

(9)

Example 3

  

For some type of problems the solution obtained using the Laplace method contains Dirac functions:

eq3Intexpaxyfy&comma;y=0..x=1

eq30x&ExponentialE;axyfy&DifferentialD;y=1

(10)

intsolveeq3&comma;fx&comma;method=Laplace

fx=Diracxa

(11)

Example 4

  

Another type of integral equation automatically solved using the eigenfunction approach:

eq4fx+bIntxy+x2y2fy&comma;y=1..1=dx

eq4fx+b−11x2y2+xyfy&DifferentialD;y=dx

(12)

intsolveeq4&comma;fx

fx=−115x2by22b+53xby2b+3dy&DifferentialD;y+dx

(13)

Example 5

  

An example where an arbitrary constant c__1 is introduced with the solution:

eq53x2+4x=Int6x2y+4xy2py&comma;y=1..1

eq53x2+4x=−116x2y+4xy2py&DifferentialD;y

(14)

intsolveeq5&comma;px

px=c__1x2+34x+3235c__1

(15)

Example 6

  

An example which is in the form of an integral transform:

eq6Intfy1+y2sinxy&comma;y=0..=exp3x

eq60fysinxyy2+1&DifferentialD;y=&ExponentialE;3x

(16)

intsolveeq6&comma;fx

fx=2xx2+1πx2+9

(17)

Example 7

  

Consider the following Fredholm integral equation:

eq7fx+intfypiecewisex<y&comma;x5y&comma;y5x&comma;y=0..5x

eq7fx+05fyx5yx<yy5xotherwise&DifferentialD;yx

(18)
  

We can approximate the solution using collocation and different choices of nodes:

Nodeschebyshev&comma;chebyshevgausslobatto&comma;legendre&comma;legendregausslobatto&comma;regular

Nodeschebyshev&comma;chebyshevgausslobatto&comma;legendre&comma;legendregausslobatto&comma;regular

(19)

SolutionstableseqN=rhsintsolveeq7&comma;fx&comma;method=collocation&comma;nodes=N&comma;numeric&comma;N=Nodes

Solutionstablechebyshevgausslobatto=0.0005272687872600810.00963667903039296x+0.0547131575249709x20.136539225739237x3+0.186880927119367x40.152865099770459x5+0.0783772849452428x60.0254140697305716x7+0.00508737678161169x80.000576404449660187x9+0.0000287755576302069x10&comma;legendre=0.0002701467206842090.00674258083671267x+0.0449875691431159x20.122126576772606x3+0.176226421663010x40.149155158686233x5+0.0782051013618702x60.0257252822155980x7+0.00519457336782066x80.000591192644212412x9+0.0000295442586895121x10&comma;legendregausslobatto=0.0008590268775649600.0128051097217356x+0.0644467374479597x20.150189595323878x3+0.196599523324286x40.156136229406325x5+0.0784931874372763x60.0251272234466349x7+0.00499068488414689x80.000563142027024202x9+0.0000280866172257677x10&comma;regular=8.21750275469076×10−140.0114305754905273x+0.0690752093076320x20.162723600370858x3+0.207790296607584x40.160281898543579x5+0.0785946145571066x60.0247001423848634x7+0.00484761856611429x80.000543617288394175x9+0.0000270839813764105x10&comma;chebyshev=0.00009424097215884820.00421115184707449x+0.0354277755970873x20.106974968889258x3+0.164523810021318x40.144924253634663x5+0.0779597045591961x60.0260635944966208x7+0.00531400499584222x80.000607773920986074x9+0.0000304067579387778x10

(20)
  

To visualize the accuracy of these approximations, we can plot the residuals:

plotseqabsevaleq7&comma;f=unapplySolutionsN&comma;x&comma;N=Nodes&comma;x=0..5&comma;title=Residuals&comma;legend=Nodes&comma;size=0.5&comma;0.5&comma;adaptive=false&comma;numpoints=1000

Example 8

  

The Laplace method can be used to solve singular integral equations:

eq8Intfysqrtxy&comma;y=0..xx2

eq80xfyxy&DifferentialD;yx2

(21)

intsolveeq8&comma;fx&comma;method=Laplace

fx=8x323π

(22)

References

  

Chambers, LL. G. Integral Equations: A Short Course. London: International Textbook Company Ltd., 1976.

  

Tricomi, F. G. Integral Equations. New York: Interscience, 1957.

Compatibility

• 

The numeric option was introduced in Maple 2022.

• 

For more information on Maple 2022 changes, see Updates in Maple 2022.

• 

The intsolve command was updated in Maple 2024.

• 

The basis, includeendpoints, interval and nodes options were introduced in Maple 2024.

• 

For more information on Maple 2024 changes, see Updates in Maple 2024.

See Also

D

Digits

dsolve

int

inttrans[invlaplace]

inttrans[laplace]

LinearAlgebra[LinearSolve]

UseHardwareFloats