This is the first of three applications of eigenvectors and eigenvalues. Let x(t),y(t)
be functions of t
, and consider the simultaneous linear ordinary differential equations ˙x=ax+by˙y=cx+dy,
where ˙x
denotes dx/dt
and a,b,c,d
are constants.
These equations are coupled: each equation involves x
and y
. Our goal is to decouple them, turning them into a pair of equations, each involving only one unknown function. We first rewrite the equations as ˙v=Av
using: v(t)=(x(t)y(t)),˙v=(˙x˙y),A=(abcd).
Let λ1,λ2
be the eigenvalues of A
and assume they are distinct; let u1
and u2
be eigenvectors for these eigenvalues. Write v
as α(t)u1+β(t)u2
. In other words, α
and β
are the components of v
when in the u1
- and u2
-directions (compare with v=x(10)+y(01)
).
Substituting v=αu1+βu2
into the left-hand side of ˙v=Av
gives: ˙v=˙αu1+˙βu2
(because u1,u2
are constant).
Substituting it into the right-hand side gives Av=αAu1+βAu2=λ1αu1+λ2βu2
(because uk
is a λk
-eigenvector for k=1,2
).
Comparing the components in the u1
-direction, we get ˙α=λ1α.
The u2
-components tells us that ˙β=λ2β.
These equations now involve only α
and β
separately. We have decoupled the equations.
An example in detail
Consider the equations: ˙x=y,˙y=-x.
This is equivalent to the simple harmonic oscillator equation¨x=-x
. To see this, differentiate ˙x=y
to get ¨x=˙y=-x
.
In general, if you have a second-order equation like this, you can define y=˙x
(which gives you one equation) and then use the second-order equation to express ˙y
in terms of x
and y
: this is a good trick for converting second-order equations into pairs of first order equations.
Remark:
The equation ¨x=-x
describes physical situations like a particle on a spring:
one end of the spring is fixed at the origin;
the particle sits at a distance x
from the origin;
Newton's law tells us that if m
is the mass of the particle then m¨x
equals the force experience by the particle, which is -kx
by Hooke's law (for some constant k
), so the equation of motion is m¨x=-kx
;
if we work in units where m=k=1
then this gives us back our equation ¨x=-x
.
Let's solve this equation. We have A=(01-10)
. This has characteristic polynomial
which has roots
and
.
The eigenvectors are:
for
,
,
for
,
.
(We're just picking particular eigenvectors, not writing down the general eigenvector).
We write
in the form
Thus
and
.
Our equations are now:
Dividing the first equation by
gives
so
, so
. Similarly,
.
Therefore
so
This is the general solution to
,
. You may be worried about the fact that there are
s here: this is supposed to describe the motion of a particle on a spring, so
and
should be real numbers. The
s will all cancel out if we pick appropriate initial conditions.
Suppose
and
(particle at rest at distance 1 from the origin). Substituting
into our general solution, we get
This implies
. Therefore
This means that
using the formulae for trigonometric functions in terms of complex exponentials. The minus sign in
is because our particle starts moving towards the origin as time increases.
The moral of this story is that you can use eigenvectors to decouple systems of linear differential equations.