PDEtools
splitsys
split sets of (algebraic or differential) equations into uncoupled subsets
Calling Sequence
Parameters
Description
Examples
splitsys(sys, funcs)
sys
-
set of algebraic or differential equations
funcs
set with the indeterminate functions
The splitsys function returns the received set of equations split, as much as possible, into subsets of equations mutually coupled, but not coupled with the equations of the other subsets. This splitting of the set may be useful for solving the system.
This function is part of the PDEtools package, and so it can be used in the form splitsys(..) only after executing the command with(PDEtools). However, it can always be accessed through the long form of the command by using PDEtools[splitsys](..).
with⁡PDEtools:
sys≔k⁢−2⁢q2⁡t+2⁢q3⁡t=−diff⁡p3⁡t,t,k⁢2⁢q2⁡t−2⁢q3⁡t=−diff⁡p2⁡t,t,2⁢k⁢q1⁡t=−diff⁡p1⁡t,t,p3⁡t⁢α=diff⁡q2⁡t,t,p2⁡t⁢α+p3⁡tm3=diff⁡q3⁡t,t,p1⁡tm1=diff⁡q1⁡t,t
sys≔k⁢−2⁢q2⁡t+2⁢q3⁡t=−ⅆⅆtp3⁡t,k⁢2⁢q2⁡t−2⁢q3⁡t=−ⅆⅆtp2⁡t,p1⁡tm1=ⅆⅆtq1⁡t,p3⁡t⁢α=ⅆⅆtq2⁡t,2⁢k⁢q1⁡t=−ⅆⅆtp1⁡t,p2⁡t⁢α+p3⁡tm3=ⅆⅆtq3⁡t
funcs≔indets⁡sys,Function
funcs≔p1⁡t,p2⁡t,p3⁡t,q1⁡t,q2⁡t,q3⁡t
The system of ODEs is split into two subsets.
splitsys⁡sys,funcs
p1⁡tm1=ⅆⅆtq1⁡t,2⁢k⁢q1⁡t=−ⅆⅆtp1⁡t,k⁢−2⁢q2⁡t+2⁢q3⁡t=−ⅆⅆtp3⁡t,k⁢2⁢q2⁡t−2⁢q3⁡t=−ⅆⅆtp2⁡t,p3⁡t⁢α=ⅆⅆtq2⁡t,p2⁡t⁢α+p3⁡tm3=ⅆⅆtq3⁡t
Split a mixed algebraic-differential system of equations.
sys≔x=r⁡x⁢cos⁡φ⁡x,diff⁡f⁡x,x=cos⁡g⁡x,diff⁡g⁡x,x=f⁡x,y⁡x=r⁡x⁢sin⁡φ⁡x
sys≔x=r⁡x⁢cos⁡φ⁡x,ⅆⅆxf⁡x=cos⁡g⁡x,ⅆⅆxg⁡x=f⁡x,y⁡x=r⁡x⁢sin⁡φ⁡x
splitsys⁡sys,f,g,φ,r⁡x
x=r⁡x⁢cos⁡φ⁡x,y⁡x=r⁡x⁢sin⁡φ⁡x,ⅆⅆxf⁡x=cos⁡g⁡x,ⅆⅆxg⁡x=f⁡x
Split a system of PDEs.
PDE_sys≔diff⁡g⁡x,y,x2=g⁡x,y−f⁡x,y,diff⁡f⁡x,y,x=g⁡x,y+f⁡x,y,diff⁡h⁡x,y,z,x=z⁢k⁡x,y
PDE_sys≔∂∂xg⁡x,y2=g⁡x,y−f⁡x,y,∂∂xf⁡x,y=g⁡x,y+f⁡x,y,∂∂xh⁡x,y,z=z⁢k⁡x,y
splitsys⁡PDE_sys,f⁡x,y,g⁡x,y,h⁡x,y,z,k⁡x,y
∂∂xh⁡x,y,z=z⁢k⁡x,y,∂∂xg⁡x,y2=g⁡x,y−f⁡x,y,∂∂xf⁡x,y=g⁡x,y+f⁡x,y
See Also
DEtools
splitstrip
Download Help Document