How to Use Variation of Parameters for a 3×3 System
At a glance
- 1. Write the system
Identify the state vector, coefficient matrix, and forcing term in x′ = A(t)x + f(t).
- 2. Solve the homogeneous system
Find a fundamental matrix Φ(t) whose columns are independent solutions of x′ = A(t)x.
- 3. Vary the constants
Set x = Φ(t)u(t), then solve u′ = Φ(t)⁻¹f(t) by integration.
- 4. Add constants or data
Include three arbitrary constants for the general solution, or use an initial condition to determine them.
Title: How to Use Variation of Parameters for a 3×3 System Category: mathematics
---- ARTICLE BODY ----
A 3×3 matrix by itself does not determine a differential-equation solution: you also need an equation showing how the unknown vector changes, and possibly a forcing term or initial condition. The usual “changing parameters” method for a linear system is called variation of parameters (or variation of constants).
For a nonhomogeneous linear system
where and are 3-component column vectors and is a 3×3 matrix, assume that and are continuous on an interval of interest. The method gives the general solution once you know a fundamental matrix for the homogeneous system.
The fundamental-matrix formula
First solve the associated homogeneous system:
A fundamental matrix is a 3×3 matrix whose columns are three linearly independent solutions of this homogeneous system. It is invertible on the interval of interest. To vary the constants in the homogeneous solution, write
where is now an unknown vector of functions. Differentiating and substituting into the system gives
Since , those terms cancel, leaving
Integrating gives the general solution
where is a constant 3-vector and is a fixed reference time. Changing changes the constants’ representation, not the family of solutions. If you are given , then .
Worked 3×3 example
Consider the system
The homogeneous equations are , , and . A fundamental matrix is therefore
Its inverse is diagonal with entries . Multiplying the forcing vector by this inverse gives
Integrate each component from to :
Multiplying by and absorbing constant terms into three arbitrary constants gives
You can check this by differentiating each component and substituting it into its equation. For example, the third component satisfies .
Constant coefficient matrices
When is constant, one common choice is the matrix exponential . The formula becomes
This remains valid whether or not is invertible. If , the integral vanishes and the general solution is just . For a specified initial value at , the equivalent initial-value formula is
Common mistakes
- Using a matrix without specifying the system. You need an equation such as ; a matrix alone does not tell you the unknown function or forcing.
- Putting the forcing term in the wrong place. The variation equation is , not in general.
- Forgetting the integration constants. A general solution of a 3-component first-order system has three arbitrary constants. Initial conditions fix their values.
- Assuming every system is linear. The formula applies to linear systems. A nonlinear system generally needs different methods, though linearization can be useful near a particular solution.
- Confusing the matrix exponential with entrywise exponentiation. is defined by the matrix power series, not by exponentiating each entry of separately.
References
- Elementary Differential Equations and Boundary Value Problems, William E. Boyce, Richard C. DiPrima, and Douglas B. Meade
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.