Student[ODEs][Solve]
System
Solve a system of first order linear ODEs
Calling Sequence
Parameters
Description
Examples
Compatibility
System(SYS, vars)
System(SYS)
SYS
-
list, set, or equation; a system of first order linear ordinary differential equations
vars
list or set of functions; the solving variables
The System(SYS, vars) command finds the solution of a system of first order linear ODEs.
The system SYS may be written as a list or set of ODEs. If the solving variables cannot be unambiguously determined from the form of SYS, vars must also be specified as a list or set containing the solving variables.
Alternatively, SYS may be written as a single equation of the form:
DY=A·Y+B
where Y is a Vector of solving variables, DY a Vector of their derivatives, and A and B are a Matrix and Vector of coefficients. In this case, vars does not need to be specified since it can be determined from the form of SYS.
with⁡StudentODEsSolve:
Here the system is written as a set of equations:
sys1≔diff⁡y1⁡x,x=7⁢y1⁡x+y2⁡x,diff⁡y2⁡x,x=−4⁢y1⁡x+3⁢y2⁡x
sys1≔ⅆⅆxy1⁡x=7⁢y1⁡x+y2⁡x,ⅆⅆxy2⁡x=−4⁢y1⁡x+3⁢y2⁡x
System⁡sys1,y1⁡x,y2⁡x
y1⁡x=−ⅇ5⁢x⁢2⁢_C2⁢x+2⁢_C1+_C24,y2⁡x=ⅇ5⁢x⁢_C2⁢x+_C1
sys2≔diff⁡y1⁡x,x=7⁢y1⁡x+y2⁡x+1,diff⁡y2⁡x,x=−4⁢y1⁡x+3⁢y2⁡x+exp⁡x
sys2≔ⅆⅆxy1⁡x=7⁢y1⁡x+y2⁡x+1,ⅆⅆxy2⁡x=−4⁢y1⁡x+3⁢y2⁡x+ⅇx
System⁡sys2
y1⁡x=−200⁢x−100⁢_C2+260⁢x−200⁢_C1+23⁢ⅇ5⁢x400+ⅇx16−325,y2⁡x=200⁢_C2−260⁢x+200⁢_C1+107⁢ⅇ5⁢x200−3⁢ⅇx8−425
sys3≔diff⁡y1⁡x,x=6⁢y1⁡x−3⁢y2⁡x+1,diff⁡y2⁡x,x=−4⁢y1⁡x+9⁢y2⁡x+cos⁡x
sys3≔ⅆⅆxy1⁡x=6⁢y1⁡x−3⁢y2⁡x+1,ⅆⅆxy2⁡x=−4⁢y1⁡x+9⁢y2⁡x+cos⁡x
System⁡sys3
y1⁡x=380247⁢_C2+59492⁢57+1140741⁢_C2+424080⁢ⅇ−−15+57⁢x23041976+−380247⁢_C1−59492⁢57+1140741⁢_C1+424080⁢ⅇ15+57⁢x23041976−123⁢cos⁡x1906+45⁢sin⁡x1906−314,y2⁡x=1520988⁢_C2+20467⁢57+176567⁢ⅇ−−15+57⁢x21520988+1520988⁢_C1−20467⁢57+176567⁢ⅇ15+57⁢x21520988−261⁢cos⁡x1906+49⁢sin⁡x1906−221
In these examples the systems are written in Vector-Matrix format:
Y≔v⁡x,w⁡x
Y≔v⁡xw⁡x
A≔7|1,−4|3
A≔71−43
sys4≔diff⁡Y,x=A·Y
sys4≔ⅆⅆxv⁡xⅆⅆxw⁡x=7⁢v⁡x+w⁡x−4⁢v⁡x+3⁢w⁡x
System⁡sys4
v⁡x=−ⅇ5⁢x⁢2⁢_C2⁢x+2⁢_C1+_C24,w⁡x=ⅇ5⁢x⁢_C2⁢x+_C1
sys5≔diff⁡Y,x=`%.`⁡A,Y+1,exp⁡x
sys5≔ⅆⅆxv⁡xⅆⅆxw⁡x=Typesetting:-_Hold⁡%.⁡RTABLE⁡36893628210968881980,71−43,Matrix,v⁡xw⁡x+1ⅇx
System⁡sys5
v⁡x=−200⁢x−100⁢_C2+260⁢x−200⁢_C1+23⁢ⅇ5⁢x400+ⅇx16−325,w⁡x=200⁢_C2−260⁢x+200⁢_C1+107⁢ⅇ5⁢x200−3⁢ⅇx8−425
sys6≔diff⁡Y,x=`%.`⁡1|2,3|2,Y+1,exp⁡x
sys6≔ⅆⅆxv⁡xⅆⅆxw⁡x=Typesetting:-_Hold⁡%.⁡RTABLE⁡36893628211180960092,1232,Matrix,v⁡xw⁡x+1ⅇx
System⁡sys6
v⁡x=−30⁢_C2−12⁢ⅇ−x30+20⁢_C1+7⁢ⅇ4⁢x30−ⅇx3+12,w⁡x=20⁢_C2+8⁢ⅇ−x20−34+20⁢_C1+7⁢ⅇ4⁢x20
The Student[ODEs][Solve][System] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
dsolve
Matrix
Student
Student[ODEs]
Vector
Download Help Document
What kind of issue would you like to report? (Optional)