System - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

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, Y)

System(SYS)

System(A, F, Y)

Parameters

SYS

-

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

Y

-

list or set or Vector of functions; the solving variables

A

-

Matrix; the Matrix of coefficients

F

-

Vector; the Vector of forcing functions

Description

• 

The System(SYS, Y) 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, Y 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+F

  

where Y is a Vector of solving variables, DY a Vector of their derivatives, A is the Matrix of coefficients, and F is the Vector of forcing functions. In this case, Y does not need to be specified as an extra argument since it can be determined from the form of SYS.

• 

A third syntax, System(A, F, Y), is also available as a shortcut to the above syntax System(DY = A . Y + F).

• 

Use the option output=steps to make this command return an annotated step-by-step solution.  Further control over the format and display of the step-by-step solution is available using the options described in Student:-Basics:-OutputStepsRecord.  The options supported by that command can be passed to this one.

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_C1+5949257+1140741_C1+424080ⅇ15+57x23041976+380247_C25949257+1140741_C2+424080ⅇ15+57x23041976123cosx1906+45sinx1906314,y2x=1520988_C1+2046757+176567ⅇ15+57x21520988+1520988_C22046757+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)

F1,expx

F1ⅇx

(9)

sys4diffY,x=A·Y

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

(10)

Systemsys4

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

(11)

sys5diffY,x=`%.`A,Y+F

sys5ⅆⅆxvxⅆⅆxwx=71−43·vxwx+1ⅇx

(12)

Systemsys5

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

(13)

B1|2,3|2

B1232

(14)

sys6diffY,x=B·Y+F

sys6ⅆⅆxvxⅆⅆxwx=vx+2wx+13vx+2wx+ⅇx

(15)

SystemB,F,Y

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

(16)

Compatibility

• 

The Student[ODEs][Solve][System] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

• 

The Student[ODEs][Solve][System] command was updated in Maple 2022.

• 

The output option was introduced in Maple 2022.

• 

For more information on Maple 2022 changes, see Updates in Maple 2022.

See Also

dsolve

Matrix

Student

Student[ODEs]

Student[ODEs][Solve]

Vector