tests whether a given system of equations is or not consistent.
ConsistencyTest(S, PDESYS, DepVars)
a PDE or a set or list of them; it can include ODEs and non-differential equations or inequations
optional - may be required; a function or a list of them indicating the dependent variables of the problem
optional - to return a system equivalent to PDESYS simplified with respect to its integrability conditions
optional, related to outputthesystem, to specify that all auxiliary functions _Fn (n integer) introduced in the process are to be eliminated before outputting
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.
f⁡x,y⁢will now be displayed as⁢f
g⁡x,y⁢will now be displayed as⁢g
sys1 ≔ ∂2∂y2⁢f⁡x,y=0,−6⁢∂∂y⁢f⁡x,y⁢y+∂2∂y2⁢g⁡x,y−2⁢∂2∂y⁢∂x⁢f⁡x,y=0,−9⁢∂∂y⁢f⁡x,y⁢a⁢y2−12⁢∂∂y⁢f⁡x,y⁢a2⁢y−3⁢∂∂y⁢f⁡x,y⁢b−3⁢∂∂x⁢f⁡x,y⁢y+2⁢∂2∂y⁢∂x⁢g⁡x,y−∂2∂x2⁢f⁡x,y−3⁢g⁡x,y=0,−6⁢g⁡x,y⁢a⁢y−6⁢∂∂x⁢f⁡x,y⁢a⁢y2−8⁢∂∂x⁢f⁡x,y⁢a2⁢y+3⁢∂∂y⁢g⁡x,y⁢a⁢y2+4⁢∂∂y⁢g⁡x,y⁢a2⁢y−4⁢g⁡x,y⁢a2−2⁢∂∂x⁢f⁡x,y⁢b+∂∂y⁢g⁡x,y⁢b−3⁢y⁢∂∂x⁢g⁡x,y+∂2∂x2⁢g⁡x,y=0
Let's see the actual form of the consistent system sys after its integrability conditions are taken into account
Construct an inconsistent system departing from sys, by multiplying any two of its equations (both are equal to zero) and equating the result to 1
sys2 ≔ op⁡sys1,expand⁡lhs⁡sys11⁢lhs⁡sys12=1
When the system is inconsistent and the option outputthesystem` is received, ConsistencyTest returns NULL and a related warning message is displayed
Warning: System is inconsistent
An example involving mathematical functions (exp)
sys3 ≔ ∂2∂y2⁢f⁡x,y=0,−6⁢∂∂y⁢f⁡x,y⁢y+∂2∂y2⁢g⁡x,y−2⁢∂2∂y⁢∂x⁢f⁡x,y=0,−9⁢∂∂y⁢f⁡x,y⁢a⁢y2−12⁢∂∂y⁢f⁡x,y⁢a2⁢y−3⁢∂∂y⁢f⁡x,y⁢b−3⁢∂∂x⁢f⁡x,y⁢y+2⁢∂2∂y⁢∂x⁢g⁡x,y−∂2∂x2⁢f⁡x,y−3⁢ⅇx−3⁢g⁡x,y=0,−6⁢ⅇx+g⁡x,y⁢a⁢y−6⁢∂∂x⁢f⁡x,y⁢a⁢y2−8⁢∂∂x⁢f⁡x,y⁢a2⁢y+3⁢∂∂y⁢g⁡x,y⁢a⁢y2+4⁢∂∂y⁢g⁡x,y⁢a2⁢y−4⁢ⅇx+g⁡x,y⁢a2−2⁢∂∂x⁢f⁡x,y⁢b+∂∂y⁢g⁡x,y⁢b−3⁢y⁢ⅇx+∂∂x⁢g⁡x,y+ⅇx+∂2∂x2⁢g⁡x,y=0
The output with three lists, typical of dpolyform, showing the consistent form of sys, involves an auxiliary function _F1 to represent in differential polynomial form the system originally containing exp
The output typical of casesplit for the same system does not contain auxiliary functions; to obtain it use the optional argument no_Fn
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
Note however that, depending on the example, the elimination of the auxiliary functions as in the output above may be an expensive computational process.
Download Help Document