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

Description

Examples

References

Compatibility

Calling Sequence

intsolve( Inteqn, funcn )

intsolve( Inteqn, funcn, method = ..., order = ..., numeric = ... )

Parameters

Inteqn

-

linear integral equation in funcn

funcn

-

unknown function to be solved for

method = ...

-

(optional) the right-hand side can be any of: collocation, differentialequation, eigenfunction, Neumann, Laplace

numeric = ...

-

(optional) the right-hand side can be either true or false (default is false), specifying if the collocation method is to seek a numerical solution

order = ...

-

(optional) the right-hand side can be a positive integer, specifying 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 for approximating solutions is applicable to Fredholm equations. This technique first partitions the interval a,b uniformly into n+1 points, where positive integer n is 10 by default or set by passing order=n. Then, the coefficients of an undetermined polynomial of degree n are determined so that the polynomial satisfies the integral equation at the collocation points. A few notes:

1. 

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 limits of the integral in the equation, and numeric=false is inferred if there are no floats in the limits.

2. 

The LinearAlgebra[LinearSolve] command is used to solve the (linear) collocation equations. 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 be changed.

3. 

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:

eq1px1&int;01xypy&DifferentialD;y2&equals;5x6

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&equals;Neumann

px=279935x279936

(3)

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

px=21936950640377855x21936950640377856

(4)

Example 2

  

Computing the solution and verifying the result:

eq2fx&equals;x&plus;1&plus;&int;0x1&plus;2xyfy&DifferentialD;y

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&equals;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:

eq3&int;0x&ExponentialE;axyfy&DifferentialD;y&equals;1

eq30x&ExponentialE;axyfy&DifferentialD;y=1

(10)

intsolveeq3&comma;fx&comma;method&equals;Laplace

fx=Diracxa

(11)

Example 4

  

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

eq4fx&plus;b&int;11xy&plus;x2y2fy&DifferentialD;y&equals;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&plus;4x&equals;&int;116x2y&plus;4xy2py&DifferentialD;y

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:

eq6&int;0&infin;fysinxy1&plus;y2&DifferentialD;y&equals;&ExponentialE;3x

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

(16)

intsolveeq6&comma;fx

fx=2xx2+1πx2+9

(17)

Example 7

  

The solution of a Fredholm integral equation can be approximated using the collocation method:

a0&colon;

b5&colon;

gx&rarr;x&colon;

kx&comma;y&rarr;piecewisex<y&comma;xby&comma;ybx&colon;

eq7fx&plus;&int;abfykx&comma;y&DifferentialD;y&plus;gx

eq7fx+05x5yx<yy5xotherwisefy&DifferentialD;yx

(18)

punapplyrhsintsolveeq7&comma;fx&comma;method&equals;collocation&comma;order&equals;10&comma;x

px2200008122882553x103308109894700060853654989179049x9+9833176935000020284551663059683x850103131487960020284551663059683x7+159425652170750020284551663059683x6650249291540845540569103326119366x5+842986603377812540569103326119366x4990232586597760560853654989179049x3+140115965680687520284551663059683x223186409996444220284551663059683x

(19)
  

Note that this approximation can also be found using floats:

intsolveeq7&comma;fx&comma;method&equals;collocation&comma;order&equals;10&comma;numeric

fx=5.87182467011475×10−140.0114305752379515x+0.0690752079165345x20.162723597369789x3+0.207790293190521x40.160281896242838x5+0.0785946135953408x60.0247001421327652x7+0.00484761852583069x80.000543617284809154x9+0.0000270839812402637x10

(20)
  

Plot of the approximate solution:

plotp&comma;a..b&comma;title&equals;Approximate Solution of Integral Equation&comma;color&equals;blue

  

To test how close the approximation matches the actual solution, we can sample the absolute value of the expression for the integral equation over the interval:

n100&colon;

qunapplyeq7f&equals;p|eq7f&equals;p&comma;x&colon;

XVectorn&comma;i&rarr;evalfa&plus;i1ban1&colon;

E`~`qX&colon;

dataplotX&comma;E&comma;style&equals;line&comma;title&equals;Error of Approximate Solution of Integral Equation

avg_erroraddEn

avg_error0.0001670818114

(21)

max_errormaxE

max_error0.001720560553

(22)

Example 8

  

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

eq8&int;0xfyxy&DifferentialD;yx2

eq80xfyxy&DifferentialD;yx2

(23)

intsolveeq8&comma;fx&comma;method&equals;Laplace

fx=8x323π

(24)

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 intsolve command was updated in Maple 2022.

• 

The numeric option was introduced in Maple 2022.

• 

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

See Also

D

Digits

dsolve

int

inttrans[invlaplace]

inttrans[laplace]

LinearAlgebra[LinearSolve]

UseHardwareFloats