DifferentialAlgebra
Get
returns the set of variables its argument depends on
Calling Sequence
Parameters
Description
Examples
Get(keyword, ring_or_ideal)
Get(keyword, other, ring_or_ideal)
keyword
-
indicates what is to be computed. To see all the implemented keywords, enter Get() with no arguments.
other
represents another argument in connection with the keywords derivatives, differentialorder, initialconditions, and notation
ring_or_ideal
a differential ring or ideal as returned by DifferentialRing or RosenfeldGroebner and Tools[PretendRegularDifferentialChain]
This command is part of the DifferentialAlgebra package. It can be called using the form Get(...) after executing the command with(DifferentialAlgebra). It can also be directly called using the form DifferentialAlgebra[Get](...).
The function call Get(keyword, ring_or_ideal) returns information regarding the differential ring or ideal represented by ring_or_ideal. In the case of three arguments, the call Get(keyword, other, ring_or_ideal) returns the information indicated by keyword regarding other, and having the differential ring or ideal ring_or_ideal as a framework.
The keywords implemented can be seen directly in the Maple worksheet/document by calling Get with no arguments, as in
DifferentialAlgebra:-Get();
arbitrary,arbitrarywithdependency,attributes,blocks,blockswithdependency,dependentvariables,derivations,derivatives,differentialorder,differentialring,differentialringdata,independentvariables,initialconditions,notation,parameters,ranking
When the keyword is misspelled or just a portion of it is passed, a match is performed against the existing keywords, and when there is only one match, a warning message is displayed on the screen and the computation proceeds taking that match as the desired keyword; otherwise the possible multiple matches are presented in an error message.
The last argument is always a differential ring constructed by DifferentialRing or an ideal constructed by RosenfeldGroebner or Tools[PretendRegularDifferentialChain].
Because differential rings used to compute differential ideals are embedded in the differential ideals, in all the cases where a differential ring is expected, it is possible to pass a differential ideal instead and the embedded differential ring will be used.
Keywords
arbitrary: returns an equation with the keyword arbitrary on the left-hand side, and a list on the right-hand side with the names of the arbitrary functions of the given differential ring.
arbitrarywithdependency: returns the same list as arbitrary but with functions instead of just their names, that is, with the dependency explicit.
attributes: returns a list containing some of the seven following possible keywords, which provide some precision on the regular differential chains: differential, prime, primitive, squarefree, coherent, autoreduced, normalized. See DifferentialAlgebra, Glossary for more details.
blocks: returns an equation with the keyword blocks on the left-hand side and a list on the right-hand side, possibly containing sublists, with the names of the dependent variables of the differential ring, representing the ranking for them. This output can be used as returned by Get in posterior calls to DifferentialRing.
blockswithdependency: returns the same list as blocks but with functions instead of just their names, that is, with the dependency explicitated. This output can be used as returned by Get in posterior calls to DifferentialRing.
dependentvariables: returns a set with the dependent variables of the problem, similar to blockswithdependency.
derivations: returns an equation with the keyword derivations on the left-hand side, and a list with the independent variables on the right-hand side where the order of the list also represents the ranking for these variables. This output can be used as returned by Get in posterior calls to DifferentialRing.
derivatives: returns a set with the derivatives of a given differential polynomial or ideal having for framework a differential ring (last argument). In the case of two arguments where the last one is a differential ring, the derivatives of order zero, that is, the dependent variables of the differential ring are returned.
differentialorder returns the maximal (default) or minimal differential order of a given ideal. In the case of three arguments instead of two, the second argument could be max or min to respectively indicate the maximal (default) or minimal differential order.
differentialring: given a differential ideal, this keyword returns the embedded differential ring.
differentialringdata: returns a list with all the data of a given differential ring, so that passing this data to DifferentialRing constructs a differential ring mathematically identical to the one given to Get.
initialconditions: If R is an ideal, Get(intialconditions, R) returns the set of the derivatives which have an order less than or equal to n and which are not the derivative of any leading derivative of R. These derivatives correspond to the arbitrary constants which occur in the formal power series solutions of the ideal R. If the ideal is a list of regular differential chains, a list of sets of derivatives is returned.
notation: returns the notation of a given mathematical expression having for framework a differential ring (three arguments); it also is possible to pass only an ideal (only two arguments), in which case, the notation in which the ideal is expressed is returned. The possible values for the notation of objects in context of the DifferentialAlgebra package are: jet, tjet, diff and Diff.
parameters: returns a list with all the dependent variables of a differential ring R that depend on fewer independent variables than those of the differential ring, that can be inspected for instance calling Get(derivations, R). This list of parameters' can be passed to DifferentialRing as well to indicate the dependency of objects entering blocks, the ranking for the dependent variables, typically passed to DifferentialRing with only the names of the dependent variables.
ranking: returns a sequence of two lists with the ranking for the dependent and independent variables. This is the same output obtained entering: Get⁡derivations,R,Get⁡blocks,R.
rankingwithdependency: returns the same list as ranking but with the dependency of the dependent variables made explicit.
The output for the keywords arbitrary, arbitrarywithdependency, blocks, blockswithdependency, derivations, differentialringdata, ranking and rankingwithdependency can be used as returned by Get in posterior calls to DifferentialRing; in the same way, the output for the keyword attributes can be used in posterior calls to RosenfeldGroebner.
with⁡DifferentialAlgebra:
Consider the following differential ring, where the dependent variables are {p(x), q, u(x, y), v(x, y)}. As explained in DifferentialRing when entering the dependent variables, the dependency can optionally be indicated at the same time and it is necessary only for functions that do not depend on derivations, so you enter it as follows:
R≔DifferentialRing⁡derivations=x,y,blocks=v,u,q⁡,p⁡x,arbitrary=p
R≔differential_ring
The following example illustrates the Get command with the all the keywords related to getting differential ring information. Start with the ranking that contains the most relevant piece of information: the independent and dependent variables and how are they ranked.
Get⁡ran,R
* Partial match of 'ran' against keyword 'ranking'
derivations=x,y,blocks=v,u,q,p
The following example shows all of the differential ring data.
Get⁡data,R
* Partial match of 'data' against keyword 'differentialringdata'
derivations=x,y,blocks=v,u,q,p,parameters=p⁡x,q,arbitrary=p
The following example shows only the independent variables. There are two ways of getting the independent variables: the first method is useful for redefining differential rings (see the examples in DifferentialRing).
Get⁡ions,R
* Partial match of 'ions' against keyword 'derivations'
derivations=x,y
Get⁡ind,R
* Partial match of 'ind' against keyword 'independentvariables'
x,y
The following example shows only the dependent variables. The first two are useful for redefining differential rings
Get⁡blocks,R
blocks=v,u,q,p
Get⁡blockswith,R
* Partial match of 'blockswith' against keyword 'blockswithdependency'
blocks=v⁡x,y,u⁡x,y,q⁡,p⁡x
Get⁡dep,R
* Partial match of 'dep' against keyword 'dependentvariables'
p⁡x,q⁡,u⁡x,y,v⁡x,y
The following examples show only the arbitrary equations and the parameters. This output can also be used as is for redefining differential rings.
Get⁡arbitrary,R
arbitrary=p
Get⁡arbitrarywith,R
* Partial match of 'arbitrarywith' against keyword 'arbitrarywithdependency'
arbitrary=p⁡x
Get⁡p,R
* Partial match of 'p' against keyword 'parameters'
parameters=p⁡x,q
Consider the following differential equation system, and the ideal returned for it by RosenfeldGroebner using R as differential ring.
ee≔u⁡x,y⁢q+v⁡x,y⁢p⁡x:
sys≔diff⁡ee,x,y⁢ee,diff⁡ee2,y,y
sys≔∂2∂x∂yu⁡x,y⁢q+∂2∂x∂yv⁡x,y⁢p⁡x+∂∂yv⁡x,y⁢ⅆⅆxp⁡x⁢u⁡x,y⁢q+v⁡x,y⁢p⁡x,2⁢∂∂yu⁡x,y⁢q+∂∂yv⁡x,y⁢p⁡x2+2⁢u⁡x,y⁢q+v⁡x,y⁢p⁡x⁢∂2∂y2u⁡x,y⁢q+∂2∂y2v⁡x,y⁢p⁡x
ideal≔RosenfeldGroebner⁡sys,R
ideal≔regular_differential_chain,regular_differential_chain
Thus, this ideal has two differential chains or, in other words, there are two cases: the general and one singular. You can view information about this ideal using Get.
The following example shows the ring embedded in the ideal.
recovered_ring≔Get⁡differentialring,ideal
recovered_ring≔differential_ring
Get⁡data,recovered_ring
Note the attributes of each ideal: both are prime.
Get⁡at,ideal
* Partial match of 'at' against keyword 'attributes'
differential,prime,autoreduced,primitive,squarefree,coherent,normalized,differential,prime,autoreduced,primitive,squarefree,coherent,normalized
This example shows the differential order of each case.
Get⁡order,ideal
* Partial match of 'order' against keyword 'differentialorder'
1,2
this example shows the derivatives in each differential chain (in each case); note that derivatives of order zero are also displayed.
Get⁡derivatives,ideal
q,∂∂yu⁡x,y,∂∂yv⁡x,y,p⁡x,q,∂2∂y2u⁡x,y,∂2∂y2v⁡x,y,ⅆⅆxp⁡x,∂∂xu⁡x,y,∂∂yu⁡x,y,∂∂xv⁡x,y,∂∂yv⁡x,y,p⁡x,u⁡x,y,v⁡x,y
The derivatives of order zero are the dependent variables themselves and can also be obtained by passing a ring instead of an ideal.
Get⁡derivatives,R
q,p⁡x,u⁡x,y,v⁡x,y
The following example shows the derivatives up to order 2 that will require a value as initial conditions when computing formal power series solution up to order 2.
Get⁡initial,2,ideal
* Partial match of 'initial' against keyword 'initialconditions'
q,ⅆ2ⅆx2p⁡x,∂2∂x2u⁡x,y,∂2∂x∂yu⁡x,y,∂2∂y2u⁡x,y,∂2∂x2v⁡x,y,ⅆⅆxp⁡x,∂∂xu⁡x,y,∂∂yu⁡x,y,∂∂xv⁡x,y,p⁡x,u⁡x,y,v⁡x,y,q,ⅆ2ⅆx2p⁡x,∂2∂x2u⁡x,y,∂2∂x∂yu⁡x,y,∂2∂y2u⁡x,y,ⅆⅆxp⁡x,∂∂xu⁡x,y,∂∂yu⁡x,y,∂∂yv⁡x,y,p⁡x,u⁡x,y,v⁡x,y
The following example shows dependent variables that involve fewer independent variables than those declared in derivations (in this example, x,y); in the framework of DifferentialAlgebra, these dependent variables are also called parameters.
Get⁡parameters,ideal
The following example shows the notation used in these differential chains.
Get⁡notation,ideal
diff
See Also
DifferentialRing
RosenfeldGroebner
Download Help Document