Linearizing a set of regular differential equations.
Posted by peeterjoot on November 18, 2009
A number of discrete multiple particle systems appear to generate coupled differential equations of the following form
Where is a matrix, and a column vector valued non-linear function. How do we solve such an equation?
When the matrix is invertible.
Consider the nicely behaved case where is invertible for all . Then we can write
Now with a non-linear function (like the sines that we have in the pendulum problem from ), we can’t solve this thing easily, but in some small-enough neighborhood of some point (i.e. a point in phase space containing ) we can make a linear approximation.
Suppose our initial phase space point is , and we wish to solve for differential displacement from that point , namely . Then we have for our system
Now we have a linear matrix, corresponding roughly to a first order Taylor expansion of the original system of equations. Mathematically the problem is now reduced to a column vector linear system of the form
When the solution is just
(where you can evaluate the usual way using an eigenvalue similarity transformation where the exponential of the inner diagonal term is then simple).
Assuming a non-homogeneous solution of the same form one finds the specific solution
So the complete solution (a specific solution plus the homogeneous solution) to the system 4 is found to be
Thoughts to consider for the non-invertible or ill formed matrix
Now, this works out all nice and pleasantly when is invertible. What do we do when it is not? Each zero eigenvalue of looks like it corresponds to a conserved quantity. Manually removing those zeros from the system can reduce things to the form dealt with here. What is even trickier seeming is what happens if the matrix is almost invertible. Example
This is perfectly invertible mathematically, but numerically you really don’t want to go there, since you’ll end up with garbage. What I think would work for dealing with this sort of system is using the SVD (symmetric value decomposition) techniques to determine a orthonormal basis for all the “non-zero” eigenvalues according to a reasonable numerical threshold for these zeros.
SVD it is relatively new to applied mathematics and wasn’t covered in my linear algebra course when I was in school (now over ten years ago). I’ve read of it since and was very impressed with its power and utility (but need more study of it to fully grasp it and its applications). Prof Gilbert Strang covers this in his online lectures (on iTunesU), and I’d recommend them highly.
Exploring methods of solving (in the neighborhood of a phase space point) these sorts of differential equations using SVD is something remaining to be explored in more detail (at least by me), but intuition says it is relevant.