DifferentialAlgebra - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Differential Equations : Differential Algebra : DifferentialAlgebra/Get

DifferentialAlgebra

  

Get

  

returns the set of variables its argument depends on

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Get(keyword, ring_or_ideal)

Get(keyword, other, ring_or_ideal)

Parameters

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]

Description

• 

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

(1)
• 

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: Getderivations,R,Getblocks,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.

Examples

withDifferentialAlgebra:

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:

RDifferentialRingderivations=x,y,blocks=v,u,q,px,arbitrary=p

R:=differential_ring

(2)

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.

Getran,R

* Partial match of 'ran' against keyword 'ranking'

derivations=x,y,blocks=v,u,q,p

(3)

The following example shows all of the differential ring data.

Getdata,R

* Partial match of 'data' against keyword 'differentialringdata'

derivations=x,y,blocks=v,u,q,p,parameters=px,q,arbitrary=p

(4)

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).

Getions,R

* Partial match of 'ions' against keyword 'derivations'

derivations=x,y

(5)

Getind,R

* Partial match of 'ind' against keyword 'independentvariables'

x,y

(6)

The following example shows only the dependent variables. The first two are useful for redefining differential rings

Getblocks,R

blocks=v,u,q,p

(7)

Getblockswith,R

* Partial match of 'blockswith' against keyword 'blockswithdependency'

blocks=vx,y,ux,y,q,px

(8)

Getdep,R

* Partial match of 'dep' against keyword 'dependentvariables'

px,q,ux,y,vx,y

(9)

The following examples show only the arbitrary equations and the parameters. This output can also be used as is for redefining differential rings.

Getarbitrary,R

arbitrary=p

(10)

Getarbitrarywith,R

* Partial match of 'arbitrarywith' against keyword 'arbitrarywithdependency'

arbitrary=px

(11)

Getp,R

* Partial match of 'p' against keyword 'parameters'

parameters=px,q

(12)

Consider the following differential equation system, and the ideal returned for it by RosenfeldGroebner using R as differential ring.

eeux,yq+vx,ypx:

sys2yxeeee,2y2ee2

sys:=2yxux,yq+2yxvx,ypx+yvx,yⅆⅆxpxux,yq+vx,ypx,2yux,yq+yvx,ypx2+2ux,yq+vx,ypx2y2ux,yq+2y2vx,ypx

(13)

idealRosenfeldGroebnersys,R

ideal:=regular_differential_chain,regular_differential_chain

(14)

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_ringGetdifferentialring,ideal

recovered_ring:=differential_ring

(15)

Getdata,recovered_ring

* Partial match of 'data' against keyword 'differentialringdata'

derivations=x,y,blocks=v,u,q,p,parameters=px,q,arbitrary=p

(16)

Note the attributes of each ideal: both are prime.

Getat,ideal

* Partial match of 'at' against keyword 'attributes'

differential,prime,autoreduced,primitive,squarefree,coherent,normalized,differential,prime,autoreduced,primitive,squarefree,coherent,normalized

(17)

This example shows the differential order of each case.

Getorder,ideal

* Partial match of 'order' against keyword 'differentialorder'

1,2

(18)

this example shows the derivatives in each differential chain (in each case); note that derivatives of order zero are also displayed.

Getderivatives,ideal

q,yux,y,yvx,y,px,q,ⅆⅆxpx,xux,y,yux,y,2y2ux,y,xvx,y,yvx,y,2y2vx,y,px,ux,y,vx,y

(19)

The derivatives of order zero are the dependent variables themselves and can also be obtained by passing a ring instead of an ideal.

Getderivatives,R

q,px,ux,y,vx,y

(20)

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.

Getinitial,2,ideal

* Partial match of 'initial' against keyword 'initialconditions'

q,ⅆⅆxpx,ⅆ2ⅆx2px,xux,y,yux,y,2x2ux,y,2y2ux,y,xvx,y,2x2vx,y,2yxux,y,px,ux,y,vx,y,q,ⅆⅆxpx,ⅆ2ⅆx2px,xux,y,yux,y,2x2ux,y,2y2ux,y,yvx,y,2yxux,y,px,ux,y,vx,y

(21)

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.

Getparameters,ideal

parameters=px,q

(22)

The following example shows the notation used in these differential chains.

Getnotation,ideal

diff

(23)

See Also

DifferentialAlgebra

DifferentialRing

RosenfeldGroebner

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam