Laplace - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


gfun

  

Laplace

  

compute the Laplace transform of a generating function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Laplace(expr, a(n), t)

Parameters

expr

-

linear recurrence with polynomial coefficients

a

-

name; recurrence name

n

-

name; index of the recurrence a

t

-

(optional) name; 'diffeq'

Description

• 

The Laplace(expr, a(n)) command computes the Laplace transform of a generating function.

  

If a⁡n,n=0..∞ is the sequence of numbers defined by the recurrence expr, the Laplace function computes the recurrence for the numbers n!⁢a⁡n.

• 

If t is specified as 'diffeq', expr is considered a linear differential equation with polynomial coefficients. The function returns a linear differential equation satisfied by its Laplace transform.

• 

The invborel command can be used as a synonym of Laplace, that is, the invborel(expr, a(n)) command can be used instead.

Examples

> 

with⁡gfun:

> 

rec≔a⁡0=0,a⁡1=1,a⁡n=n⁢a⁡n−1+a⁡n−2:

> 

deq≔Laplace⁡rec,a⁡n

deq≔−n2−3⁢n−2⁢a⁡n+−n2−4⁢n−4⁢a⁡n+1+a⁡n+2,a⁡0=0,a⁡1=1

(1)
> 

rec2≔rectodiffeq⁡deq,a⁡n,f⁡t

rec2≔−2⁢t2−t+1⁢f⁡t+−4⁢t3−3⁢t2⁢ⅆⅆtf⁡t+−t4−t3⁢ⅆ2ⅆt2f⁡t−t

(2)
> 

deq2≔borel⁡rec2,f⁡t,diffeq

deq2≔−t2−t+1⁢f⁡t−ⅆⅆtf⁡t⁢t2−t

(3)
> 

diffeqtorec⁡deq2,f⁡t,a⁡n

−a⁡n+−n−2⁢a⁡n+1+a⁡n+2,a⁡0=0,a⁡1=1

(4)

See Also

gfun

gfun[borel]

gfun[invborel]

gfun[rectodiffeq]