System - Maple Help

Online Help

All Products    Maple    MapleSim


Student[ODEs][Solve]

  

System

  

Solve a system of first order linear ODEs

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

System(SYS, vars)

System(SYS)

Parameters

SYS

-

list, set, or equation; a system of first order linear ordinary differential equations

vars

-

list or set of functions; the solving variables

Description

• 

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.

Examples

withStudentODEsSolve:

Here the system is written as a set of equations:

sys1diffy1x,x=7y1x+y2x,diffy2x,x=4y1x+3y2x

sys1ⅆⅆxy1x=7y1x+y2x,ⅆⅆxy2x=4y1x+3y2x

(1)

Systemsys1,y1x,y2x

y1x=ⅇ5x2_C2x+2_C1+_C24,y2x=ⅇ5x_C2x+_C1

(2)

sys2diffy1x,x=7y1x+y2x+1,diffy2x,x=4y1x+3y2x+expx

sys2ⅆⅆxy1x=7y1x+y2x+1,ⅆⅆxy2x=4y1x+3y2x+ⅇx

(3)

Systemsys2

y1x=200x100_C2+260x200_C1+23ⅇ5x400+ⅇx16325,y2x=200_C2260x+200_C1+107ⅇ5x2003ⅇx8425

(4)

sys3diffy1x,x=6y1x3y2x+1,diffy2x,x=4y1x+9y2x+cosx

sys3ⅆⅆxy1x=6y1x3y2x+1,ⅆⅆxy2x=4y1x+9y2x+cosx

(5)

Systemsys3

y1x=380247_C2+5949257+1140741_C2+424080ⅇ15+57x23041976+380247_C15949257+1140741_C1+424080ⅇ15+57x23041976123cosx1906+45sinx1906314,y2x=1520988_C2+2046757+176567ⅇ15+57x21520988+1520988_C12046757+176567ⅇ15+57x21520988261cosx1906+49sinx1906221

(6)

In these examples the systems are written in Vector-Matrix format:

Yvx,wx

Yvxwx

(7)

A7|1,4|3

A71−43

(8)

sys4diffY,x=A·Y

sys4ⅆⅆxvxⅆⅆxwx=7vx+wx4vx+3wx

(9)

Systemsys4

vx=ⅇ5x2_C2x+2_C1+_C24,wx=ⅇ5x_C2x+_C1

(10)

sys5diffY,x=`%.`A,Y+1,expx

sys5ⅆⅆxvxⅆⅆxwx=Typesetting:-_Hold%.RTABLE36893628210968881980,71−43,Matrix,vxwx+1ⅇx

(11)

Systemsys5

vx=200x100_C2+260x200_C1+23ⅇ5x400+ⅇx16325,wx=200_C2260x+200_C1+107ⅇ5x2003ⅇx8425

(12)

sys6diffY,x=`%.`1|2,3|2,Y+1,expx

sys6ⅆⅆxvxⅆⅆxwx=Typesetting:-_Hold%.RTABLE36893628211180960092,1232,Matrix,vxwx+1ⅇx

(13)

Systemsys6

vx=30_C212ⅇx30+20_C1+7ⅇ4x30ⅇx3+12,wx=20_C2+8ⅇx2034+20_C1+7ⅇ4x20

(14)

Compatibility

• 

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]

Student[ODEs][Solve]

Vector