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

Online Help

All Products    Maple    MapleSim


PolynomialTools

  

PolynomialToPDE

  

convert polynomials to PDEs

  

PDEToPolynomial

  

convert PDEs to polynomials

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

PolynomialToPDE(polys, vars, depvars)

PDEToPolynomial(pdes, vars, depvars)

Parameters

polys

-

list (or set) of polynomials or polynomial equations in vars which is linear and homogeneous in the variables depvars

vars

-

list of independent variables

depvars

-

list of dependent variables

pdes

-

list or set of PDEs in the independent variables vars which is linear and homogeneous in its dependent variables depvars

Description

• 

The function PolynomialToPDE maps polynomials to linear homogeneous PDEs and has as its inverse PDEToPolynomial. These maps  implement an equivalence between polynomial ideals (and in general modules), and systems of linear homogeneous constant coefficient PDEs.

• 

These functions widen the set of tools that can be applied to both domains. For example, Groebner-like differential elimination algorithms, correspond to Groebner bases of modules under PolynomialToPDE. Efficiency features such as case-splitting in the differential packages, restricting time limits on the cases,  storage of partial results, and selecting maximal dimension cases are made available for polynomial systems through this map.  Conversely, polynomial features are made available for differential systems by using PDEToPolynomial. PDE solving can also benefit from this correspondence.

• 

Applied to a single polynomial (or PDE), the function PolynomialToPDE (or PDEToPolynomial) is respectively:

PolynomialToPDEp1xu1+...+pkxuk,x,u=p1D1,...,Dnu1x+...+pkD1,...,Dnukx

PDEToPolynomialp1D1,...,Dnu1x+...+pkD1,...,Dnukx,x,u=p1xu1+...+pkxuk

  

Here depvars=[u]=[u1,...,uk] are the dependent variables, and p1,p2,...,pk are polynomials in the independent variables vars=[x]=[x1,...,xn]. Also, D1,D2,...,Dn are the partial differential operators corresponding to x1,x2,...,xn. So PolynomialToPDE applies to polynomials which are linear and homogeneous in depvars=u, with coefficients that are polynomials in vars=x.   PolynomialToPDE (or PDEToPolynomial) of a list is obtained by applying the functions described above to each member of the list.

• 

PDEToPolynomial applies to PDEs which are linear and homogeneous in depvars=u, with coefficients independent of vars=x.

• 

In the case of one dependent variable the dependent variable is omitted: PDEToPolynomial([p(D1,...,Dn) u1(x)], [x], [u1]) yields px1,...,xn. Similarly, it is possible to apply PolynomialToPDE to a polynomial in vars, without any dependent variable  present in depvars.

• 

This mapping between linear homogeneous system of partial differential equations is an isomorphism between the differential ring and the corresponding polynomial ring (viewed as a module generated by u1,u2,...,uk ).

• 

These functions are part of the PolynomialTools package, and so they can be used in the form PolynomialToPDE(..) only after executing the command with(PolynomialTools). However, they can always be accessed through the long form of the command by using PolynomialTools[PolynomialToPDE](..).

Examples

withPolynomialTools:

SPolynomialToPDEx22x+1u+x3v,x,u,v

Sⅆ3ⅆx3vx+ⅆ2ⅆx2ux2ⅆⅆxux+ux

(1)

So xu>u'x and x3v>v'''x, and the inverse map is given by the following.

PDEToPolynomialS,x,u,v

x22x+1u+x3v

(2)

If there is only one dependent variable, then it is omitted in the polynomial by default.

PDEToPolynomial2diffux,y,x,y+aux,y,x,y,u,PolynomialToPDE2xy+a,x,y,u

2xy+a,22xyux,y+aux,y

(3)

The following is a computation of a Groebner Basis:

Wx22xz+5,xy2+yz3,3y28z3:

GroebnerBasisW,tdegx,y,z

x22xz+5,8z33y2,8xy2+3y3,9y4+48y3z+320y2

(4)

The same calculation, but by mapping to a PDE, then using DEtools[rifsimp], then mapping back to polynomials:

DWPolynomialToPDEW,x,y,z,u:RDWDEtoolsrifsimpDW:

PDEToPolynomialRDWSolved,x,y,z,u

y29y2+48yz+3209,y28x+3y8,z33y28,x22xz+5

(5)

Computation of a Differential Groebner Basis for a differential system by converting it to a module:

Sdiffξ1x,y,z,x+diffξ2x,y,z,y,diffξ1x,y,z,ydiffξ2x,y,z,x,diffξ1x,y,z,zdiffξ3x,y,z,x,diffξ3x,y,z,ydiffξ2x,y,z,z,diffξ3x,y,z,z+diffξ2x,y,z,y,diffηx,y,z,`$`y,2+diffηx,y,z,`$`x,2+diffηx,y,z,`$`z,2,diffξ2x,y,z,`$`y,2diffξ2x,y,z,`$`x,2+2diffηx,y,z,ydiffξ2x,y,z,`$`z,2,diffξ3x,y,z,`$`x,2diffξ3x,y,z,`$`y,2diffξ3x,y,z,`$`z,2+2diffηx,y,z,z,diffξ1x,y,z,`$`z,2+2diffηx,y,z,xdiffξ1x,y,z,`$`y,2diffξ1x,y,z,`$`x,2:

withOre_algebra:

PSPDEToPolynomialS,x,y,z,ξ1,ξ2,ξ3,η

PSxξ1+ξ2y,xξ2yξ1,xξ3zξ1,zξ2ξ3y,ξ2yξ3z,ηx2+y2+z2,x2y2z2ξ2+2ηy,x2y2z2ξ3+2ηz,x2y2z2ξ1+2ηx

(6)

AOre_algebrapoly_algebrax,y,z,ξ1,ξ2,ξ3,η:

TGroebnerMonomialOrderA,lexdegη,ξ3,ξ2,ξ1,z,x,y,η,ξ3,ξ2,ξ1:

GSGGroebnerBasisPS,T

GSGξ1yz,x2ξ1+ξ1y2,ξ1y2+ξ1z2,ξ1y3,xξ1y2,xξ1+ξ2y,xξ2+yξ1,xξ1y+ξ2z2,zξ2+ξ3y,xξ3+zξ1,xξ1+ξ3z,xξ1y+2ηy,ξ1y2+2ηx,xzξ1+2ηz

(7)

In terms of the PDEs, this basis is:

PolynomialToPDEGSG,x,y,z,ξ1,ξ2,ξ3,η

2yzξ1x,y,z,2x2ξ1x,y,z+2y2ξ1x,y,z,2y2ξ1x,y,z+2z2ξ1x,y,z,3y3ξ1x,y,z,3xy2ξ1x,y,z,xξ1x,y,z+yξ2x,y,z,xξ2x,y,z+yξ1x,y,z,2xyξ1x,y,z+2z2ξ2x,y,z,zξ2x,y,z+yξ3x,y,z,xξ3x,y,z+zξ1x,y,z,xξ1x,y,z+zξ3x,y,z,2xyξ1x,y,z+2yηx,y,z,2y2ξ1x,y,z+2xηx,y,z,2xzξ1x,y,z+2zηx,y,z

(8)

The following calculation illustrates the equivalence between the differential and the polynomial calculations calculated directly:

RSDEtoolsrifsimpS,η,ξ3,ξ2,ξ1

RStableSolved=2x2ηx,y,z=0,2xyηx,y,z=0,2xzηx,y,z=0,2y2ηx,y,z=0,2y2ξ1x,y,z=2xηx,y,z,2yzηx,y,z=0,2yzξ1x,y,z=0,2z2ηx,y,z=0,2z2ξ3x,y,z=2zηx,y,z,2z2ξ2x,y,z=2yηx,y,z,2z2ξ1x,y,z=2xηx,y,z,xξ3x,y,z=zξ1x,y,z,xξ2x,y,z=yξ1x,y,z,xξ1x,y,z=zξ3x,y,z,yξ3x,y,z=zξ2x,y,z,yξ2x,y,z=zξ3x,y,z

(9)

Find the values of b and c such that the following system of polynomials has nontrivial solutions.

sysu+av+a2w,u+bv+b2w,u+cv+c2w,u+cv+c2+c2w:

DsysPolynomialToPDEsys,a,u,v,w:

RDsysDEtoolsrifsimpDsys,casesplit

RDsystable1=tablePivots=b+c0,c20,Case=b+c0,va,c20,wa,Solved=ua=0,va=0,wa=0,2=tablePivots=b+20,Case=b+c0,va,c2=0,wa,Solved=ⅆ2ⅆa2wa=2bwa+ⅆⅆawab+2ⅆⅆawa,ua=2bwa,va=wab+2,c=2,3=tablePivots=c20,Case=b+c=0,va,c20,wa,Solved=ⅆⅆava=cva,ua=cva,wa=0,b=c,4=tableCase=b+c=0,va,c2=0,wa,Solved=ⅆ2ⅆa2wa=ⅆⅆava+4wa+2va,ua=4wa2va,b=2,c=2,casecount=4

(10)

See Also

DEtools[caseplot]

DEtools[rifsimp]

DifferentialAlgebra

Groebner/Groebner_bases_for_modules

polynomial