Overview of the QDifferenceEquations Package
Calling Sequence
Description
List of QDifferenceEquations Package Commands
Examples
References
QDifferenceEquations:-command(arguments)
command(arguments)
The QDifferenceEquations package is useful for solving the following types of problems.
* Finding polynomial solutions of a linear q-difference equation with polynomial coefficients.
* Finding rational solutions of a linear q-difference equation with polynomial coefficients.
* Finding q-hypergeometric solutions of a linear q-difference equation with polynomial coefficients.
* Finding series solutions of a linear q-difference equation with polynomial coefficients.
* Finding the universal denominator of the rational solutions of a linear q-difference equation with polynomial coefficients.
* Computing the q-dispersion of two polynomials.
For a given linear q-difference equation with polynomial coefficients, the main functionality of this package is to find the closed-form solution (namely, polynomial, rational, and q-hypergeometric) of the given equation. For finding the rational solution, the package constructs a universal denominator of such a solution. In turn the construction of the universal denominator is based on the computation of q-dispersion of two polynomials.
The package also supports different basic q-hypergeometric objects, their simplification, expansion, and conversion.
Each command in the QDifferenceEquations package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
The long form, QDifferenceEquations:-command, is always available. The short form can be used after loading the package.
The following is a list of available commands.
AccurateQSummation
AreSameSolution
Closure
Desingularize
ExtendSeries
IsQHypergeometricTerm
IsSolution
PolynomialSolution
QBinomial
QBrackets
QDispersion
QECreate
QEfficientRepresentation
QFactorial
QGAMMA
QHypergeometricSolution
QMultiplicativeDecomposition
QPochhammer
QPolynomialNormalForm
QRationalCanonicalForm
QSimpComb
QSimplify
RationalSolution
RegularQPochhammerForm
SeriesSolution
UniversalDenominator
Zeilberger
The PolynomialSolution, RationalSolution and SeriesSolution commands solve the problem with a single q-difference equation and also with a system of such equations. In the latter case the commands invoke LinearFunctionalSystems[PolynomialSolution], LinearFunctionalSystems[RationalSolution] and LinearFunctionalSystems[SeriesSolution] correspondingly in order to find solutions.
To display the help page for a particular QDifferenceEquations command, see Getting Help with a Command in a Package.
with⁡QDifferenceEquations:
eq1≔1−q10−q−q10⁢x⁢y⁡q2⁢x−1−q20−q2−q20⁢x⁢y⁡q⁢x+q10⁢1−q10−q2−q11⁢x⁢y⁡x=q21−q20−q12+q10+q2−q⁢x
eq1≔1−q10−−q10+q⁢x⁢y⁡q2⁢x−1−q20−−q20+q2⁢x⁢y⁡q⁢x+q10⁢1−q10−−q11+q2⁢x⁢y⁡x=q21−q20−q12+q10+q2−q⁢x
sol1≔PolynomialSolution⁡eq1,y⁡x,∅,output=basis_K
sol1≔_K1⁢x10+_K2⁢x−_K2+1
IsSolution⁡sol1,eq1,y⁡x
true
eq2≔q3⁢q⁢x+1⁢y⁡q2⁢x−2⁢q2⁢x+1⁢y⁡q⁢x+y⁡x⁢x+q=q6−2⁢q3+1⁢x2+x⁢q5−2⁢q3+q
sol2≔RationalSolution⁡eq2,y⁡x,∅,output=anysol
sol2≔q⁢x2+x3+y⁡1⁢q+y⁡1−q−1x⁢x+q
IsSolution⁡sol2,eq2,y⁡x
eq3≔4⁢q2+q⁢x⁢q2⁢y⁡x+4⁢q2+q5⁢x⁢y⁡x⁢q3+4⁢q2⁢x2⁢y⁡q⁢x+2⁢q⁢x+2⁢q2⁢x2⁢y⁡x⁢q2=x⁢q3⁢2⁢q2+5⁢q⁢x+2⁢x2+2⁢q3+2⁢q5⁢x+2⁢q6⁢x+2⁢q8⁢x2+2⁢q⁢x2+2⁢x3⁢q+3⁢q2⁢x2+2⁢x3⁢q3
eq3≔4⁢q2+q⁢x⁢q2⁢y⁡x+4⁢q5⁢x+q2⁢y⁡q3⁢x+4⁢q2⁢y⁡q⁢x⁢x2+2⁢2⁢q2⁢x2+q⁢x⁢y⁡q2⁢x=x⁢q3⁢2⁢q8⁢x2+2⁢q6⁢x+2⁢q5⁢x+2⁢q3⁢x3+3⁢q2⁢x2+2⁢q⁢x3+2⁢q3+2⁢q⁢x2+2⁢q2+5⁢q⁢x+2⁢x2
sol3≔RationalSolution⁡eq3,y⁡x,∅,output=basis_C
sol3≔x⁢x+q2
IsSolution⁡sol3,eq3,y⁡x
Abramov, S.A. "Problems in Computer Algebra Related to Constructing Solutions to Linear Difference Equations with Polynomial Coefficients." Vest. Mosk. Univ., Ser. 15. Vychisl. Mat. Kibern. No. 3. (1989): 56-60.
Abramov, S.A. "Rational Solutions to Linear Difference and q-Difference Equations with Polynomial Coefficients." Programmirovanie. No. 6. (1995):3-11.
Abramov, S.A.; Bronstein, M.; and Petkovsek, M. "On polynomial solutions of linear operator equations." Proceedings of ISSAC'95, pp. 290-296. ACM Press: New York, 1995.
Abramov, S.A.; Paule, P.; and Petkovsek, M. "q-Hypergeometric solutions of q-difference equations." Discrete Math. Vol. 180. (1998): 3-22.
Abramov, S.A., and Petkovsek, M. "Finding all q-hypergeometric solutions of q-difference equations." Proc. FPSAC '95, Univ.de Marne-la-Vall'ee, Noisy-le-Grand. pp. 1-10. 1995.
Boeing, H., and Koepf, W. "Algorithms for q-hypergeometric summation in computer algebra." Journal of Symbolic Computation. Vol. 11. (1999): 1-23.
Khmelnov, D.E. "Improved Algorithms for Solving Difference and q-Difference Equations." Programming and Computer Software Vol. 26 No. 2. (2000): 107-115. Translated from Programmirovanie. No. 2. 2000.
Man, Yiu-Kwong, and Wright, Francis J. "Fast Polynomial Dispersion Computation and its Application to Indefinite Summation." Proceedings of ISSAC'94, pp. 175-180. ACM Press: New York, 1994.
See Also
examples/QDifferenceEquations
LinearFunctionalSystems
module
UsingPackages
with
Download Help Document