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

Online Help

All Products    Maple    MapleSim


LinearFunctionalSystems

  

CanonicalSystem

  

return the canonical system equivalent to the given system

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

CanonicalSystem(shift, sys, vars)

CanonicalSystem(shift, A, b, x, case)

CanonicalSystem(shift, A, x, case)

Parameters

shift

-

name indicating required shift of the system; one of 'difference' or 'q-difference'

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'

Description

• 

The CanonicalSystem function returns the canonical system that is equivalent to the given linear functional system of equations with polynomial coefficients.

  

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 Lyx=Ayx+b, where L is the operator (either differential, difference, or q-difference), yx 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 from 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.

  

Set the shift parameter to the required shift of the system ('difference' or 'q-difference').

• 

For a given linear functional system of equations with polynomial coefficients, CanonicalSystem returns the system equivalent to the given one, but in a special canonical form. In other words, a list of equations where the first has the operator (differential, difference, or q-difference) applied to the first function variable, the second has the operator applied to the second function variable, etc. This means that the system could be expressed in the form Lyx=Ayx+b. Additionally, if some equations have no terms with the operator applied, then they resolved and some of the function variables expressed in terms of the others. For the difference and q-difference case the linear dependence of rows of the matrix A is further analyzed and if such dependencies exist then they are used to express some more function variables in terms of the others.

  

The system is transformed as follows. First, the system for the difference and q-difference case is shifted in such a way that all shifts in the resulting system are non-negative, the smallest being equal to zero. Then, the terms with the applied operator are successively made canonical. If equations having no terms with the operator applied appear in the process, they are resolved. For the matrix input case, the above steps are omitted since the form of the input ensures meeting the conditions. Finally, the dependencies of rows of matrix A are analyzed and resolved if any dependencies exist.

• 

The equivalent canonical system that is returned is in the form suitable to be used by other functions of the LinearFunctionalSystems package. Namely, it either returns a sequence of a new list of equations and a list of functions to be solved for, or a new matrix, vector, variable, and case. shiftis set to the required shift of the system (difference or q-difference). Additionally, the transformation matrix for converting form original list of functional variables to the new one (possibly reduced due to expressing some of the variables in terms of the others) is returned (note the last column of the matrix is corresponding to the free term of the transformation).

• 

The error conditions associated with CanonicalSystem are the following:

1. 

Those which are generated by LinearFunctionalSystems[Properties].

2. 

Only first order systems are handled.

• 

This function is part of the LinearFunctionalSystems package, and so it can be used in the form CanonicalSystem(..) 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[CanonicalSystem](..).

Examples

withLinearFunctionalSystems:

syssubsx=x+3,y2x+1y1x,y2xx2+3y2xx+2y2x2y1xx24y1xx+y1x+1x2+y1x+1x:

varsy1x,y2x:

CanonicalSystemshifts,sys,vars

2y1xx32+y2xx32+y1x+1x3216y1xx3+9y2xx3+7y1x+1x330y1x+20y2x+12y1x+1,y2x+1y1x,y1x,y2x,100010

(1)

shifts

−3

(2)

AMatrixxx+1,0,xx+1,0:

bVector2,3:

resCanonicalSystemsh,A,b,x,difference

resxx+1,xx+1+3,x,difference,1−110

(3)

sol0RationalSolutionres1..2

sol0x2+2x+_c1x

(4)

sol1convertres1·Vectoropsol01..1,1,list

sol1x2+2x+_c1x1,x2+2x+_c1x

(5)

sol2RationalSolutionA,b,x,difference

sol2x2+x+_c1x,x2+2x+_c1x

(6)

AreSameSolutionsol1,sol2,x

true

(7)

See Also

LinearFunctionalSystems[Properties]

LinearFunctionalSystems[RationalSolution]