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

Online Help

All Products    Maple    MapleSim


LREtools[HypergeometricTerm]

  

PolynomialSolution

  

return the polynomial solution of linear difference equation depending on a hypergeometric term

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

PolynomialSolution(eq, var, term)

Parameters

eq

-

linear difference equation depending on a hypergeometric term

var

-

function variable for which to solve, for example, z(n)

term

-

hypergeometric term

Description

• 

The PolynomialSolution(eq, var, term) command returns the polynomial solution of the linear difference equation eq. If such a solution does not exist, the function returns NULL.

• 

The hypergeometric term in the linear difference equation is specified by a name, for example, t. The meaning of the term is defined by the parameter term. It can be specified directly in the form of an equation, for example, t=n!, or specified as a list consisting of the name of term variable and the consecutive term ratio, for example, t,n+1.

• 

If the third parameter is omitted, then the input equation can contain a hypergeometric term directly (not a name). In this case, the procedure extracts the term from the equation, transforms the equation to the form with a name representing a hypergeometric term, and then solves the transformed equation.

• 

The term "polynomial solution" means a solution y⁡x in Qxt,t−1 , that is, in the form y=yd⁢td+...+yg⁢tg where d≤g and yd,...,yg are in Q⁡x.

• 

The solution is the function, corresponding to var. The solution involves arbitrary constants of the form, for example, _c1 and _c2.

Examples

> 

with⁡LREtoolsHypergeometricTerm:

> 

eq≔y⁡n+2−t+n⁢y⁡n+1+n⁢t−1⁢y⁡n

eq≔y⁡n+2−t+n⁢y⁡n+1+n⁢t−1⁢y⁡n

(1)
> 

PolynomialSolution⁡eq,y⁡n,t=n!

t⁢_C1n,t,n+1

(2)
> 

eq≔y⁡n+2−n!+n⁢y⁡n+1+n⁢n!−1⁢y⁡n

eq≔y⁡n+2−n!+n⁢y⁡n+1+n⁢n!−1⁢y⁡n

(3)
> 

PolynomialSolution⁡eq,y⁡n

t⁢_C1n,t,n+1

(4)
> 

eq≔t+n2⁢z⁡n+1−2⁢n⁢t+2⁢t+n2+2⁢n+1⁢z⁡n

eq≔n2+t⁢z⁡n+1−n2+2⁢n⁢t+2⁢n+2⁢t+1⁢z⁡n

(5)
> 

PolynomialSolution⁡eq,z⁡n,t=2n⁢n!

_C1⁢n2+t⁢_C1,t,2⁢n+2

(6)
> 

eq≔45⁢y⁡x−9⁢y⁡x⁢x−18⁢y⁡x+3+9⁢y⁡x+3⁢x

eq≔45⁢y⁡x−9⁢y⁡x⁢x−18⁢y⁡x+3+9⁢y⁡x+3⁢x

(7)
> 

PolynomialSolution⁡eq,y⁡x,t,9⋅110−7⁢x−8⁢x2

_C1x−5,t,9−8⁢x2−7⁢x+10

(8)

References

  

Bronstein, M. "On solutions of Linear Ordinary Difference Equations in their Coefficients Field." INRIA Research Report. No. 3797. November 1999.

See Also

LREtools[HypergeometricTerm]

LREtools[HypergeometricTerm][RationalSolution]

LREtools[HypergeometricTerm][SubstituteTerm]