LinearFunctionalSystems
PolynomialSolution
return the polynomial solution of a linear functional system of equations
Calling Sequence
Parameters
Description
Examples
References
PolynomialSolution(sys, vars, opts)
PolynomialSolution(A, b, x, case, opts)
PolynomialSolution(A, x, case, opts)
sys
-
list of equations; linear functional system
vars
list of function variables such as [y1(x), y2(x), ...]; variables to solve for
A
Matrix with rational elements
b
Vector with rational elements
x
independent variable
case
name indicating the case of the system; one of 'differential', 'difference', or 'qdifference'
opts
optional arguments of the form 'keyword'=value, where keyword is method or degree
The PolynomialSolution command returns the polynomial solutions of the given linear functional system of equations with polynomial coefficients. If such a solution does not exist, then the empty list is returned. If the degree of polynomial solutions cannot be bound then FAIL is returned. In this case the problem could be further specified by providing additional equations and/or by fixing the degree bound in advance using the degree option.
The system parameter is entered either in list form (a list of equations sys and a list of function variables vars to solve for), or in matrix form (matrix A, vector b, and the independent variable x, where the vector b is optional).
The matrix form specifies the system Ly⁡x=Ay⁡x+b, where L is the operator (either differential, difference, or q-difference), y⁡x is the vector of the functions to solve for, A is a rational matrix, and b is a rational vector (right-hand side).
For the matrix form of the calling sequence, the case of the system must be specified as one of 'differential', 'difference', or 'qdifference'. If b is not specified, the system is assumed to be homogeneous.
This function computes the matrix recurrence system corresponding to the given system. This matrix recurrence system is represented by its explicit matrix (the matrix n by n*m, where n is the order of the system, with the leading and trailing matrix of size n by n). Then, this function triangularizes the trailing matrix by using LinearFunctionalSystems[MatrixTriangularization] in order to bound the polynomial solution degree and then builds such a solution.
The solution is the list of polynomials in x corresponding to vars. This solution involves arbitrary constants of the form _c1, _c2, etc.
The optional arguments are method and degree.
'method'='quasimodular' or 'ordinary'
This option indicates the method of EG-eliminations to use. The default is ordinary.
'degree'=n
This option sets the upper bound of the degree of polynomial solutions to be found.
If the number of linear independent equations of the system is less than the number of the function variables then the degree of polynomial solutions cannot be bound and FAIL is returned. In this case it is possible either to specify the bound using option of the form 'degree'=n or to extend the system by additional equations, in particular giving the desirable value of some of the function variables (see example).
The error conditions associated with this function are the same as those which are generated by LinearFunctionalSystems[Properties].
This function is part of the LinearFunctionalSystems package, and so it can be used in the form PolynomialSolution(..) only after executing the command with(LinearFunctionalSystems). However, it can always be accessed through the long form of the command by using the form LinearFunctionalSystems[PolynomialSolution](..).
with⁡LinearFunctionalSystems:
sys≔diff⁡y1⁡x,x−y2⁡x,diff⁡y2⁡x,x−y3⁡x−y4⁡x,diff⁡y3⁡x,x−y5⁡x,diff⁡y4⁡x,x−2⁢y1⁡x−2⁢x⁢y2⁡x−y5⁡x,diff⁡y5⁡x,x−x2⁢y1⁡x−2⁢x⁢y3⁡x−y6⁡x,diff⁡y6⁡x,x−x2⁢y2⁡x+2⁢y3⁡x:
vars≔y1⁡x,y2⁡x,y3⁡x,y4⁡x,y5⁡x,y6⁡x:
PolynomialSolution⁡sys,vars
x⁢_c3+_c2,_c3,−x2⁢_c3−x⁢_c2+_c1,x2⁢_c3+x⁢_c2−_c1,−2⁢x⁢_c3−_c2,x3⁢_c3+x2⁢_c2−2⁢x⁢_c1−2⁢_c3
sys≔x+3⁢x+6⁢x+1⁢x+5⁢x⁢y1⁡x+1−x−1⁢x+2⁢x+3⁢x+6⁢x+1⁢y1⁡x−x⁢x6+11⁢x5+41⁢x4+65⁢x3+50⁢x2−36⁢y2⁡x+6⁢x+2⁢x+3⁢x+6⁢x+1⁢x⁢y4⁡x,x+6⁢x+2⁢y2⁡x+1−x2⁢y2⁡x,x+6⁢x+1⁢x+5⁢x⁢y3⁡x+1+x+6⁢x+1⁢x−1⁢y1⁡x−x⁢x5+7⁢x4+11⁢x3+4⁢x2−5⁢x+6⁢y2⁡x−y3⁡x⁢x+6⁢x+1⁢x+5⁢x+x+6⁢x+1⁢x⋅3⁢x+3⁢y4⁡x,x+6⁢y4⁡x+1+x2⁢y2⁡x−x+6⁢y4⁡x:
vars≔y1⁡x,y2⁡x,y3⁡x,y4⁡x:
0,0,_c1,0
sys≔x⁢diff⁡y1⁡x,x−2⁢y1⁡x−y2⁡x:
vars≔y1⁡x,y2⁡x:
sol≔PolynomialSolution⁡sys,vars
sol≔FAIL
PolynomialSolution⁡sys,vars,degree=3
x3⁢_c4+x2⁢_c3−x⁢_c2+_c1,x3⁢_c4+x⁢_c2−2⁢_c1
sys≔op⁡sys,y2⁡x=x3:
x3+x2⁢_c1,x3
Abramov, S. A. "EG-Eliminations." Journal of Difference Equations and Applications, (1999): 393-433.
See Also
LinearFunctionalSystems[MatrixTriangularization]
LinearFunctionalSystems[Properties]
LinearFunctionalSystems[RationalSolution]
Download Help Document