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

Online Help

All Products    Maple    MapleSim


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

sys1difffx,y,y,y=0,6difffx,y,yy+diffgx,y,y,y2difffx,y,x,y=0,9difffx,y,yay212difffx,y,ya2y3difffx,y,yb3difffx,y,xy+2diffgx,y,x,ydifffx,y,x,x3gx,y=0,6gx,yay6difffx,y,xay28difffx,y,xa2y+3diffgx,y,yay2+4diffgx,y,ya2y4gx,ya22difffx,y,xb+diffgx,y,yb3ydiffgx,y,x+diffgx,y,x,x=0

sys1fy,y=0,6fyy+gy,y2fx,y=0,9fyay212fya2y3fyb3fxy+2gx,yfx,x3g=0,6gay6fxay28fxa2y+3gyay2+4gya2y4ga22fxb+gyb3ygx+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

sys2fy,y=0,6fyy+gy,y2fx,y=0,9fyay212fya2y3fyb3fxy+2gx,yfx,x3g=0,6gay6fxay28fxa2y+3gyay2+4gya2y4ga22fxb+gyb3ygx+gx,x=0,6fy,yfyy+fy,ygy,y2fy,yfx,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)

sys3difffx,y,y,y=0,6difffx,y,yy+diffgx,y,y,y2difffx,y,x,y=0,9difffx,y,yay212difffx,y,ya2y3difffx,y,yb3difffx,y,xy+2diffgx,y,x,ydifffx,y,x,x3expx3gx,y=0,6expx+gx,yay6difffx,y,xay28difffx,y,xa2y+3diffgx,y,yay2+4diffgx,y,ya2y4expx+gx,ya22difffx,y,xb+diffgx,y,yb3yexpx+diffgx,y,x+expx+diffgx,y,x,x=0

sys3fy,y=0,6fyy+gy,y2fx,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=0where

(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=0whereg0

(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