DEtools[matrix_riccati] - solve a Matrix Riccati differential equation
|
Calling Sequence
|
|
matrix_riccati(A, K, Z0, t)
matrix_riccati(A, K, Z0, t=t0)
matrix_riccati(A, K, t)
matrix_riccati(A, K, t=t0)
|
|
Parameters
|
|
A, K
|
-
|
Matrix coefficients of the Riccati Matrix Equation
|
Z0
|
-
|
Matrix representing the initial conditions for t=t0
|
t
|
-
|
independent variable
|
t0
|
-
|
position of initial conditions
|
|
|
|
|
Description
|
|
•
|
The Matrix Riccati differential equation is
|
•
|
The command with(DEtools,matrix_riccati) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
The unknowns are
>
|
|
| (1) |
A simple example would be
>
|
|
| (2) |
>
|
|
| (3) |
The matrix with the initial values and is
>
|
|
| (4) |
The system of equations represented by these matrices is thus
>
|
|
![sys := Matrix([[diff(x(t), t), diff(y(t), t)], [diff(y(t), t), -(diff(x(t), t))]]) = Matrix([[(-x(t)*t+y(t))*x(t)+(x(t)+y(t)*t)*y(t)+2*x(t)*c, (-x(t)*t+y(t))*y(t)-(x(t)+y(t)*t)*x(t)+2*y(t)*c], [(-y(t)*t-x(t))*x(t)+(-x(t)*t+y(t))*y(t)+2*y(t)*c, (-y(t)*t-x(t))*y(t)-(-x(t)*t+y(t))*x(t)-2*x(t)*c]])](/support/helpjp/helpview.aspx?si=8699/file01351/math177.png)
| (5) |
The two coupled odes are
>
|
|
| (6) |
>
|
|
| (7) |
The matrix solution to this matrix system of equations with initial conditions at is computed as:
>
|
|
Recalling the form of , the solution to the system of odes is constructed from as
>
|
|

| (8) |
This result can be verified with odetest
>
|
|
| (9) |
|
|