PDEtools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Differential Equations : PDEtools : Symmetries : PDEtools/ConsistencyTest

PDEtools

  

ConsistencyTest

  

tests whether a given system of equations is or not consistent.

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ConsistencyTest(S, PDESYS, DepVars)

Parameters

PDESYS

-

a PDE or a set or list of them; it can include ODEs and not differential equations or inequations

DepVars

-

optional - may be required; a function or a list of them indicating the dependent variables of the problem

outputthesystem

-

optional - to return a system equivalent to PDESYS simplified with respect to its integrability conditions

no_Fn

-

optional, related to outputthesystem, to specify that all auxiliary functions _Fn (n integer) introduced in the process are to be eliminated before outputting

Description

• 

ConsistencyTest tests whether a system of equations, possibly containing inequations and involving or not differential equations, is or not consistent. A system is inconsistent when one of its equations contradicts one other one. In order to be solvable, a system must be consistent in the first place.

• 

If DepVars is not specified, ConsistencyTest will consider all the differentiated unknown functions in PDESYS as unknown of the problems.

• 

By default, ConsistencyTest returns true or false. If the system is consistent when the option argument outputthesystem is specified, ConsistencyTest returns three lists with equations, inequations and function replacements to represent PDESYS in differential polynomial form, where the equations and inequations are equivalent to PDESYS simplified with respect to its integrability conditions. These three lists  returned can also be computed using dpolyform, but the number of operations performed to compute it is smaller when using ConsistencyTest. If PDESYS happens to be inconsistent and outputthesystem is specified ConsistencyTest returns NULL.

• 

To obtain output without auxiliary functions when outputthesystem is specified use in addition the optional argument no_Fn.

Examples

withPDEtools:

declarefx,y,gx,y

fx,ywill now be displayed asf

gx,ywill now be displayed asg

(1)

sys12y2fx,y=0,6yfx,yy+2y2gx,y22yxfx,y=0,9yfx,yay212yfx,ya2y3yfx,yb3xfx,yy+22yxgx,y2x2fx,y3gx,y=0,6gx,yay6xfx,yay28xfx,ya2y+3ygx,yay2+4ygx,ya2y4gx,ya22xfx,yb+ygx,yb3yxgx,y+2x2gx,y=0

sys1:=fy,y=0,6yfy2fx,y+gy,y=0,12a2yfy9ay2fy3bfy3yfx3gfx,x+2gx,y=0,8a2yfx+4a2ygy6ay2fx+3ay2gy4a2g6agy2bfx+bgy3ygx+gx,x=0

(2)

ConsistencyTestsys1

true

(3)

Let's see the actual form of the consistent system sys[1] after its integrability conditions are taken into account

ConsistencyTestsys1,outputthesystem

g=0,fx=0,fy=0,,

(4)

Construct an inconsistent system departing from sys[1], by multiplying any two of its equations (both are equal to zero) and equating the result to 1

sys2opsys1,expandlhssys11lhssys12=1

sys2:=fy,y=0,6yfy2fx,y+gy,y=0,12a2yfy9ay2fy3bfy3yfx3gfx,x+2gx,y=0,8a2yfx+4a2ygy6ay2fx+3ay2gy4a2g6agy2bfx+bgy3ygx+gx,x=0,6yfyfy,y2fx,yfy,y+fy,ygy,y=1

(5)

ConsistencyTestsys2

false

(6)

When the system is inconsistent and the option outputthesystem` is received, ConsistencyTest returns NULL and a related warning message is displayed

ConsistencyTestsys2,outputthesystem

Warning: System is inconsistent

An example involving mathematical functions (exp)

sys32y2fx,y=0,6yfx,yy+2y2gx,y22yxfx,y=0,9yfx,yay212yfx,ya2y3yfx,yb3xfx,yy+22yxgx,y2x2fx,y3ⅇx3gx,y=0,6ⅇx+gx,yay6xfx,yay28xfx,ya2y+3ygx,yay2+4ygx,ya2y4ⅇx+gx,ya22xfx,yb+ygx,yb3yⅇx+xgx,y+ⅇx+2x2gx,y=0

sys3:=fy,y=0,6yfy2fx,y+gy,y=0,9fyay212fya2y3fyb3fxy+2gx,yfx,x3ⅇx3g=0,6ⅇx+gay6fxay28fxa2y+3gyay2+4gya2y4ⅇx+ga22fxb+gyb3yⅇx+gx+ⅇx+gx,x=0

(7)

ConsistencyTestsys3

true

(8)

The output with three lists, typical of dpolyform, showing the consistent form of sys[3], involves an auxiliary function _F1 to represent in differential polynomial form the system originally containing exp

ConsistencyTestsys3,outputthesystem

g=_F1x,y,fx=0,fy=0,,_F1x,y=ⅇx

(9)

The output typical of casesplit for the same system does not contain auxiliary functions; to obtain it use the optional argument no_Fn

ConsistencyTestsys3,outputthesystem,no_Fn

g=ⅇx,fx=0,fy=0 &where

(10)

To compute a form of the system which does not involve auxiliary functions _Fn and also is entirely differential polynomial, so it does not involve mathematical functions, use dpolyform

dpolyformsys3,no_Fn

fx=0,fy=0,gx=g,gy=0 &where g0

(11)

Note however that, depending on the example, the elimination of the auxiliary functions as in the output above may be an expensive computational process.

See Also

casesplit

declare

dpolyform

PDEtools

 


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