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

Online Help

All Products    Maple    MapleSim


QDifferenceEquations

  

QECreate

  

create QESol data structure from a q-difference equation

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

QECreate(eq, var)

Parameters

eq

-

q-difference equation or a list of such equations (for the system case)

var

-

function variable to solve for, such as yx, or a list of such function variables (for the system case)

Description

• 

The QECreate(eq,var) command returns QESol data structure, which contains some parameters useful to handle the given q-difference equation.

• 

The parameters of QESol are a set of normalized equations, a set of function names, and an information table, INFO. The possible entries in this table are:

  

*   linear - true or false

  

*   functions - name or a set of names of the recurrence function(s)

  

*   vars - name or set of names of the recurrence variable(s)

  

*   q_par - name or number used as the parameter q

  

*   q_shifts - set of the q-shifts (the orders of q-difference operator in the equation)

  

*   order - order of the equation

  

*   Qeqn - equation in &Q[vars, q_par](functions) which represents the q-difference operator associated to the linear q-difference equation

  

*   coeffs - list of the rhs of the equation and the coefficients of the Qeqn

  

*   zero_coeffs - coefficients of the Qeqn

  

*   alpha_coeffs - degrees of the coefficients of the Qeqn

  

*   systemproperties - result of LinearFunctionalSystems[Properties] (for the system case)

  

Note: The first 3 items are always present. The last item is present only in the system case. The 4th item is present only for the scalar equation and the remaining items are there only if the equation is scalar and linear.

Examples

withQDifferenceEquations:

eq1q3qx+1yq2x2q2x+1yqx+yxx+q=q62q3+1x2+xq52q3+q

eq1q3qx+1yq2x2q2x+1yqx+yxx+q=q62q3+1x2+xq52q3+q

(1)

qe1QECreateeq1,yx

qe1QESolyxx+q+2q2x2q2yqx+q4x+q3yq2x=q62q3+1x2+xq52q3+q,yx,INFO

(2)

evalop3,qe1

tableQeqn=x+q+2q2x2q2&Qx,qy+q4x+q3&Qx,qy2,alpha_coeffs=0,0,0,vars=x,linear=true,qshifts=0,1,2,order=2,zero_coeffs=x+q,2q2x2q2,q4x+q3,coeffs=q62q3+1x2xq52q3+q,x+q,2q2x2q2,q4x+q3,q_par=q,functions=y

(3)

sysy2qxy1x,100y2xqx+10000y2xq100y2xx10000y2x100q3y1xx10000q2y1x+100q4y1qxx+10000y1qxq2100y1qxq3x10000y1qxq+100y1xqx+10000y1x

sysy2qxy1x,100y2xqx+10000y2xq100y2xx10000y2x100q3y1xx10000q2y1x+100q4y1qxx+10000y1qxq2100y1qxq3x10000y1qxq+100y1xqx+10000y1x

(4)

varsy1x,y2x:

qe2QECreatesys,vars

qe2QESoly2qxy1x=0,100y2xqx+10000y2xq100y2xx10000y2x100q3y1xx10000q2y1x+100q4y1qxx+10000y1qxq2100y1qxq3x10000y1qxq+100y1xqx+10000y1x=0,y1x,y2x,INFO

(5)

evalop3,qe2

tablevars=x,linear=true,q_par=q,functions=y1,y2,systemproperties=tablesystem=y2qxy1x,100y2xqx+10000y2xq100y2xx10000y2x100q3y1xx10000q2y1x+100q4y1qxx+10000y1qxq2100y1qxq3x10000y1qxq+100y1xqx+10000y1x,method=ordinary,f_names=y1,y2,var=x,system0=y2qxy1x,100y2xqx+10000y2xq100y2xx10000y2x100q3y1xx10000q2y1x+100q4y1qxx+10000y1qxq2100y1qxq3x10000y1qxq+100y1xqx+10000y1x,qshifts=0,1,0,1,order=1,input=lists,case=qdifference,q_par=q,functions=y1x,y2x

(6)

See Also

LinearFunctionalSystems[Properties]

QDifferenceEquations

QDifferenceEquations[PolynomialSolution]