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

Online Help

All Products    Maple    MapleSim


LREtools

  

firstlin

  

find solutions of First Order Linear Recurrence Equations

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

firstlin(problem)

Parameters

problem

-

problem statement or RESol

Description

• 

Solves first order, linear recurrence equations.

• 

A first order linear recurrence equation in y(k) is Akyk+1+Bkyk=Ck where A(k), B(k), and C(k) are independent of y(k).

• 

If A(k) is undefined for some k, then a set of equations may be returned, giving values of y(k) for specific k as well as the general formula.

• 

See the help page for LREtools[REcreate] for the definition of the format of a problem.

Examples

withLREtools:

probREcreateyk+1byk=a,yk,y0=cab1

probRESolyk+1byk=a,yk,y0=cb+a+cb1,INFO

(1)

firstlinprob

bka1bk+bccb1

(2)

firstlinyk+3exp2k+4yk+2=0,yk,

ⅇkk1y0

(3)

firstlinun+1=2unn+1n,un,

u0=0,un=n2n1u1

(4)

See Also

LREtools

LREtools[REcreate]

RESol

rsolve