intsolve - Maple Help

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 = ... )

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

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. The solve command is used to solve the collocation equations, so if a numeric approximation is desired, you can include floats inside the integral equation.

• 

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 will check if the integral within the integral equation is of the form of a Fourier-Sine, Fourier-Cosine, or Laplace transform. That is, it will check if the integral equation can be written

0fyaybxyⅆy=cx

  

where bz is one of sinz, cosz, or ⅇ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,y=0..1=56x

eq1px01xypyⅆy2=5x6

(1)

intsolveeq1,px

px=x

(2)
  

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

intsolveeq1,px,method=Neumann

px=279935x279936

(3)

intsolveeq1,px,method=Neumann,order=20

px=21936950640377855x21936950640377856

(4)

Example 2

  

Computing the solution and verifying the result:

eq2fx=x+1+Int1+2xyfy,y=0..x

eq2fx=x+1+0x1+2x2yfyⅆy

(5)

intsolveeq2,fx

fx=ⅇ2x

(6)
  

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

f=unapplyrhs,x

f=xⅇ2x

(7)

evaleq2,

ⅇ2x=x+1+0x1+2x2yⅇ2yⅆy

(8)

value

ⅇ2x=ⅇ2x

(9)

Example 3

  

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

eq3Intexpaxyfy,y=0..x=1

eq30xⅇaxyfyⅆy=1

(10)

intsolveeq3,fx,method=Laplace

fx=Diracxa

(11)

Example 4

  

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

eq4fx+bIntxy+x2y2fy,y=1..1=dx

eq4fx+b−11x2y2+xyfyⅆy=dx

(12)

intsolveeq4,fx

fx=−115x2by22b+53xby2b+3dyⅆy+dx

(13)

Example 5

  

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

eq53x2+4x=Int6x2y+4xy2py,y=1..1

eq53x2+4x=−116x2y+4xy2pyⅆy

(14)

intsolveeq5,px

px=x2_C1+34x+3235_C1

(15)

Example 6

  

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

eq6Intfy1+y2sinxy,y=0..=exp3x

eq60fysinxyy2+1ⅆy=ⅇ3x

(16)

intsolveeq6,fx

fx=2xx2+1πx2+9

(17)

Example 7

  

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

a0:

b5:

gxx:

kx&comma;ypiecewisex<y&comma;xby&comma;ybx&colon;

eq7fx+intfykx&comma;y&comma;y=a..b+gx

eq7fx+05x5yx<yy5xotherwisefy&DifferentialD;yx

(18)

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

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

(19)
  

Plot of the approximate solution:

plotp&comma;a..b&comma;title=Approximate Solution of Integral Equation&comma;color=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;

qunapplyabsevaleq7&comma;f=p&comma;x&colon;

XVectorn&comma;ievalfa+i1ban1&colon;

E`~`qX&colon;

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

avg_erroraddEn

avg_error0.0001670862960

(20)

max_errormaxE

max_error0.001720013949

(21)

Example 8

  

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

eq8Intfysqrtxy&comma;y=0..xx2

eq80xfyxy&DifferentialD;yx2

(22)

intsolveeq8&comma;fx&comma;method=Laplace

fx=8x323π

(23)

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 2021.

See Also

D

dsolve

inttrans[invlaplace]

inttrans[laplace]