LinearFunctionalSystems[IsSolution] - test the solution of a linear functional system
LinearFunctionalSystems[AreSameSolution] - test if solutions of a linear functional system are equivalent
|
Calling Sequence
|
|
IsSolution(sol, sys, vars)
IsSolution(sol, A, b, x, case)
IsSolution(sol, A, x, case)
AreSameSolution(sol, sol1, x)
|
|
Parameters
|
|
sol
|
-
|
solution to be checked
|
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
|
-
|
the independent variable, for example x
|
case
|
-
|
name indicating the case of the system; one of 'differential', 'difference', or 'qdifference'
|
sol1
|
-
|
solution to be compared with
|
|
|
|
|
Description
|
|
•
|
The IsSolution function returns true if sys is a linear functional system of equations with polynomial coefficients and sol is the solution of the linear functional system. Otherwise, the quasidegrees (see below) of the results of substitution are returned.
|
|
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 , where L is the operator (either differential, difference, or q-difference), 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.
|
•
|
The AreSameSolution function returns true if the solutions sol and sol1 are equivalent. Otherwise, false is returned.
|
|
The function checks that the numbers of linear independent solutions in sol and sol1 are equal, as well as the degrees in x.
|
•
|
This function is part of the LinearFunctionalSystems package, and so it can be used in the form IsSolution(..) 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[IsSolution](..).
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
>
|
|
| (12) |
|
|