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

Online Help

All Products    Maple    MapleSim


dsolve/inttrans

integral transform methods for solutions of ordinary differential equations

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

dsolve(deqns, vars, method=transform)

dsolve(deqns, vars, method=transform, options)

Parameters

deqns

-

ordinary differential equation in vars, or set of equations and/or initial conditions

vars

-

variable or set of variables to be solved for

method=transform

-

literal equation, one of laplace, fourier, fouriercos, fouriersin

options

-

optional equations

Description

• 

Invoking the dsolve command with the options method=transform causes a solution to be found by way of one of the integral transform methods.

• 

When adding the optional equation pointwise=true to dsolve, the desired solution should satisfy the initial conditions in a pointwise manner. This guarantees that the solution evaluates to the specified initial conditions at the initial point. By default this is false, which means that the input conditions are satisfied in a distributional manner (that is, applied as specified by the transform itself). This is most relevant when the input differential equations have distributional functions present (Dirac and Heaviside functions). For an example that illustrates the difference between these approaches see the Examples section below.

• 

Caution must be used, as some of the transforms (most notably the fourier-type transforms) are only well defined for solutions with certain asymptotic properties.

• 

Also note that for the one-sided transforms (fouriersin, fouriercos, and laplace) the solution may only be valid to the right of the initial condition.

  

For example, when solving a second order constant coefficient ode using the fouriersin transform, the solution y(t) must vanish as t -> infinity. This restriction is in fact one of the boundary conditions of the problem, so only one other boundary condition can be applied.

• 

Some guidelines for using transforms for the solution of second-order constant coefficient ODE with initial point a are as follows.

  

fourier transform: the solution y(t) of the ODE (defined for all t) must be bounded as t approaches +/- infinity. No other boundary conditions can be applied.

  

fouriersin transform: the solution y(t) of the ODE (defined for t>=a) must be bounded as t approaches +infinity, and y(a) can be specified.

  

fouriercos transform: the solution y(t) of the ODE (defined for t>=a) must be bounded as t approaches +infinity, and D(y)(a) can be specified.

  

laplace transform: the solution y(t) of the ODE (defined for t>=a) must be sub-exponential, and both y(a) and D(y)(a) can be specified.

• 

Additionally, care must be taken when choosing integral transform methods to obtain a solution to an ODE or ODE system. For example, use of fourier-type transforms for problems with polynomial coefficients may require the solution of another differential equation of higher differential order (see example below).

Examples

de1diffyt,`$`t,2+5diffyt,t+6yt=0

de1ⅆ2ⅆt2yt+5ⅆⅆtyt+6yt=0

(1)

dsolvede1,y0=0,Dy0=1,yt,method=laplace

yt=ⅇ2tⅇ3t

(2)

de2diffyt,tyt=expt2

de2ⅆⅆtytyt=ⅇt2

(3)

dsolvede2,yt,method=fourier

yt=πⅇt+14erft+1212

(4)

FtHeaviside3tA

FtHeaviside3tA

(5)

assume0<h

de3diffyt&comma;t&comma;thyt=Ft

de3&DifferentialD;2&DifferentialD;t2yth~yt=Heaviside3tA

(6)

dsolvede3&comma;Dy0=1&comma;yt&comma;method=fouriercos

yt=A&ExponentialE;3h~coshh~t1Heaviside3th~AHeavisidet3&ExponentialE;h~tsinh3h~h~&ExponentialE;h~th~

(7)

de4diffyt&comma;t&comma;thyt=Ft

de4&DifferentialD;2&DifferentialD;t2yth~yt=Heaviside3tA

(8)

dsolvede4&comma;y0=1&comma;yt&comma;method=fouriersin

yt=A&ExponentialE;h~t3+&ExponentialE;h~t32Heavisidet32h~A&ExponentialE;h~t+3A&ExponentialE;h~t32A&ExponentialE;h~t2&ExponentialE;h~th~+2A2h~

(9)

However this gives no solution (over-specified):

dsolvede4&comma;y0=0&comma;Dy0=1&comma;yt&comma;method=fouriersin

Now a counter-productive transform:

de5diffyt&comma;t&comma;t+t8yt=expt2

de5&DifferentialD;2&DifferentialD;t2yt+t8yt=&ExponentialE;t2

(10)

inttranssetupcomputederivatives=false

computederivatives=false

(11)

inttransfourierde5&comma;t&comma;z

z2`?`+8z8`?`=&ExponentialE;z24π

(12)

You would now have an 8th order ODE to solve.

Attempting to use the fourier transform with initial conditions yields no solution:

de6diffyx&comma;x&comma;x+yx=x2sinx

de6&DifferentialD;2&DifferentialD;x2yx+yx=x2sinx

(13)

dsolvede6&comma;y0=1&comma;yx&comma;method=fourier

The following ODE has different solutions depending on whether 'pointwise'=true has been specified.

de7diffxt&comma;t&comma;t+4xt=Diract

de7&DifferentialD;2&DifferentialD;t2xt+4xt=Diract

(14)

sol7adsolvede7&comma;x0=0&comma;Dx0=0&comma;xt&comma;method=laplace

sol7axt=sin2t2

(15)

So the solution as provided does not satisfy the initial conditions in a pointwise fashion, as can be seen from

evaldiffsol7a&comma;t&comma;t=0

&DifferentialD;&DifferentialD;txtt=0|&DifferentialD;&DifferentialD;txtt=0=1

(16)

To instead enforce the conditions to be pointwise satisfied, the following can be used:

sol7bdsolvede7&comma;x0=0&comma;Dx0=0&comma;xt&comma;method=laplace&comma;pointwise=true

sol7bxt=0

(17)

evaldiffsol7b&comma;t&comma;t=0

&DifferentialD;&DifferentialD;txtt=0|&DifferentialD;&DifferentialD;txtt=0=0

(18)

See Also

dsolve[ck45]

dsolve[classical]

dsolve[dverk78]

dsolve[gear]

dsolve[lsode]

dsolve[numeric]

dsolve[piecewise]

dsolve[rkf45]

dsolve[taylorseries]

inttrans

plots[odeplot]