SubstituteTerm - 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]

  

SubstituteTerm

  

return solution with a directly substituted hypergeometric term instead of a name representing it in the solution

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

SubstituteTerm(sol, term, n)

Parameters

sol

-

rational function in n and a name representing a hypergeometric term

term

-

hypergeometric term

n

-

independent variable

Description

• 

The SubstituteTerm(sol, term, n) returns the solution with a directly substituted hypergeometric term instead of a name representing it in the solution.

• 

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. The term is specified as a list consisting of the name of the term variable and the consecutive term ratio, for example, t,n+1.

• 

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

Examples

> 

with⁡LREtoolsHypergeometricTerm:

> 

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

(1)
> 

sol,r≔PolynomialSolution⁡eq,y⁡n

sol,r≔t⁢_C1n,t,n+1

(2)
> 

SubstituteTerm⁡sol,r,n

Γ⁡n⁢_C1

(3)
> 

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

(4)
> 

sol,r≔PolynomialSolution⁡eq,z⁡n,t=2n⁢n!

sol,r≔_C1⁢n2+t⁢_C1,t,2⁢n+2

(5)
> 

SubstituteTerm⁡sol,r,n

_C1⁢n2+2n⁢Γ⁡n+1

(6)

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][PolynomialSolution]

LREtools[HypergeometricTerm][RationalSolution]