3×3 Linear System ODE Solver
This 3×3 Linear System ODE Solver helps you solve a system of three first-order differential equations and shows each step clearly. It works with constant-coefficient homogeneous systems, rewrites the system in matrix form, computes eigenvalue information, uses the matrix exponential, and applies optional initial conditions to find a particular solution.
Step-by-step method
- Write the three first-order ODEs clearly.
- Isolate x′, y′, and z′ so each equation gives one derivative.
- Rewrite the system in vector form X′ = A X.
- Find the characteristic equation det(A − λI) = 0.
- Find the eigenvalues and use them to understand the solution shape.
- Use the matrix exponential formula X(t) = e^{At}C, or X(t)=e^{A(t−t0)}X0 when initial conditions are given.
- Write the final component functions x(t), y(t), and z(t).
Formula bank:
Example 1: dx/dt = x; dy/dt = 2y; dz/dt = -z, t, x, y, z, x(0)=1, y(0)=2, z(0)=3
Step 1 - Write the system.
In this problem: Start with the three first-order equations.
| dx |
| dt |
| dy |
| dt |
| dz |
| dt |
Step 2 - Isolate the three derivatives.
In this problem: Each equation must give one of x′, y′, or z′.
Step 3 - Define the vector X.
In this problem: Collect the dependent variables into a column vector.
| x |
| y |
| z |
| x′ |
| y′ |
| z′ |
Step 4 - Build the coefficient matrix.
In this problem: Read the coefficients of x, y, and z from the derivative equations.
| 1 | 0 | 0 |
| 0 | 2 | 0 |
| 0 | 0 | -1 |
Step 5 - Find the characteristic equation.
In this problem: Compute det(A − λI) = 0.
Step 6 - List the eigenvalues.
In this problem: These control the growth, decay, oscillation, and stability of the system.
Step 7 - Find eigenvectors when useful.
In this problem: Eigenvectors give the independent solution directions. If they are not convenient, the matrix exponential method still works.
| 0 |
| 0 |
| 1 |
| 1 |
| 0 |
| 0 |
| 0 |
| 1 |
| 0 |
Step 8 - Use the matrix exponential solution formula.
In this problem: For every constant-coefficient homogeneous system, the general solution is X(t)=e^{At}C.
| C1 |
| C2 |
| C3 |
Step 9 - Compute e^{At}.
In this problem: This matrix sends the initial vector or constant vector forward in time.
| et | 0 | 0 |
| 0 | e2t | 0 |
| 0 | 0 | e−t |
Step 10 - Multiply e^{At} by C.
In this problem: This gives the general solution before applying initial conditions.
Step 11 - Write the initial vector.
In this problem: Collect x(t0), y(t0), z(t0) into X0.
| 1 |
| 2 |
| 3 |
Step 12 - Use the IVP formula.
In this problem: Instead of solving for constants manually, use X(t)=e^{A(t−t0)}X0.
| et | 0 | 0 |
| 0 | e2t | 0 |
| 0 | 0 | e−t |
Step 13 - Multiply by the initial vector.
In this problem: This gives the particular solution satisfying all three initial conditions.
Step 14 - Check stability.
In this problem: Use the real parts of the eigenvalues.
Step 15 - Final answer.
In this problem: Write the three component functions.
Final answer: See final step
Example 2: dx/dt = y; dy/dt = -x; dz/dt = -2z, t, x, y, z, x(0)=1, y(0)=0, z(0)=3
Step 1 - Write the system.
In this problem: Start with the three first-order equations.
| dx |
| dt |
| dy |
| dt |
| dz |
| dt |
Step 2 - Isolate the three derivatives.
In this problem: Each equation must give one of x′, y′, or z′.
Step 3 - Define the vector X.
In this problem: Collect the dependent variables into a column vector.
| x |
| y |
| z |
| x′ |
| y′ |
| z′ |
Step 4 - Build the coefficient matrix.
In this problem: Read the coefficients of x, y, and z from the derivative equations.
| 0 | 1 | 0 |
| -1 | 0 | 0 |
| 0 | 0 | -2 |
Step 5 - Find the characteristic equation.
In this problem: Compute det(A − λI) = 0.
Step 6 - List the eigenvalues.
In this problem: These control the growth, decay, oscillation, and stability of the system.
Step 7 - Find eigenvectors when useful.
In this problem: Eigenvectors give the independent solution directions. If they are not convenient, the matrix exponential method still works.
| 0 |
| 0 |
| 1 |
| i |
| 1 |
| 0 |
| −i |
| 1 |
| 0 |
Step 8 - Use the matrix exponential solution formula.
In this problem: For every constant-coefficient homogeneous system, the general solution is X(t)=e^{At}C.
| C1 |
| C2 |
| C3 |
Step 9 - Compute e^{At}.
In this problem: This matrix sends the initial vector or constant vector forward in time.
|
| 0 | ||||||||
|
| 0 | ||||||||
| 0 | 0 | e−2t |
Step 10 - Multiply e^{At} by C.
In this problem: This gives the general solution before applying initial conditions.
| 1 |
| 2 |
| 1 |
| 2 |
Step 11 - Write the initial vector.
In this problem: Collect x(t0), y(t0), z(t0) into X0.
| 1 |
| 0 |
| 3 |
Step 12 - Use the IVP formula.
In this problem: Instead of solving for constants manually, use X(t)=e^{A(t−t0)}X0.
|
| 0 | ||||||||
|
| 0 | ||||||||
| 0 | 0 | e−2t |
Step 13 - Multiply by the initial vector.
In this problem: This gives the particular solution satisfying all three initial conditions.
Step 14 - Check stability.
In this problem: Use the real parts of the eigenvalues.
Step 15 - Final answer.
In this problem: Write the three component functions.
Final answer: See final step
Sign up or login to get the full step solution for free!