AreSame
check if two LHPDE objects are the same
Calling Sequence
Parameters
Description
Examples
Compatibility
AreSame( obj1, obj2, criteria = crit)
AreSame( obj1, obj2, criterion = crit)
obj1, obj2, ...
-
LHPDE objects
crit
(optional) a string: "sameOperator", "sameSystem", or "sameSolutions"
The AreSame method checks if the two LHPDE objects obj1 and obj2 are the same.
This methods returns true if obj1 and obj2 are the same, in the sense they match the following criteria:
criterion = "sameSystem" -- they are identical meaning that they have same independent variables, same dependent variables (with same dependencies) and same system of DEs.
criterion = "sameOperator" -- they have the same operator. That is, LHPDO(obj1) matches LHPDO(obj2) apart from the ordering of DEs. See examples below.
criterion = "sameSolutions" -- they have the same solutions.
The default criterion is "sameOperator". That is, AreSame(obj1, obj2) is equivalent to AreSame(obj1, obj2, criteria = "sameOperator").
In the second calling sequence, the word criterion is provided as alias for criteria.
This method is associated with the LHPDE object. For more detail, see Overview of the LHPDE object.
with⁡LieAlgebrasOfVectorFields:
E2≔LHPDE⁡diff⁡ξ⁡x,y,y,y=0,diff⁡η⁡x,y,x=−diff⁡ξ⁡x,y,y,diff⁡η⁡x,y,y=0,diff⁡ξ⁡x,y,x=0,indep=x,y,dep=ξ,η
E2≔∂2∂y2ξ⁡x,y=0,∂∂xη⁡x,y=−∂∂yξ⁡x,y,∂∂yη⁡x,y=0,∂∂xξ⁡x,y=0,indep=x,y,dep=ξ⁡x,y,η⁡x,y
E2p≔LHPDE⁡diff⁡α⁡x,y,y,y=0,diff⁡β⁡x,x=−diff⁡α⁡x,y,y,diff⁡α⁡x,y,x=0,indep=x,y,dep=α,β
E2p≔∂2∂y2α⁡x,y=0,ⅆⅆxβ⁡x=−∂∂yα⁡x,y,∂∂xα⁡x,y=0,indep=x,y,dep=α⁡x,y,β⁡x
The two LHPDE objects are the same as operators:
AreSame⁡E2,E2p
true
The method returns true as the dependent variable names are different, their LHPDOs (Delta, Delta1) are the same.
Δ≔convert⁡E2,LHPDO
Δ≔ξ,η→∂∂y⁢∂∂y⁢ξ,∂∂x⁢η+∂∂y⁢ξ,∂∂y⁢η,∂∂x⁢ξ
Δ1≔convert⁡E2p,LHPDO
Δ1≔α,β→∂∂y⁢∂∂y⁢α,∂∂x⁢β+∂∂y⁢α,∂∂x⁢α
Clearly they have different dependent variables, so the systems are not identical.
AreSame⁡E2,E2p,criterion=sameSystem
false
Since they are same as operator, they definitely have the same solutions.
AreSame⁡E2,E2p,criteria=sameSolutions
The AreSame command was introduced in Maple 2020.
For more information on Maple 2020 changes, see Updates in Maple 2020.
See Also
LHPDE (Object overview)
LieAlgebrasOfVectorFields[LHPDE]
LHPDO (Object overview)
LieAlgebrasOfVectorFields[LHPDO]
Download Help Document