35. Eigenapplications, 1: Differential equations

35. Eigenapplications, 1: Differential equations

Sketch of the idea

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 ˙ = a x + b y    y ˙ = c x + d y , where x ˙ denotes d x / d t 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 ˙ = A v using: v ( t ) = ( x ( t ) y ( t ) ) , v ˙ = ( x ˙ y ˙ ) , A = ( a b c d ) . Let λ 1 , λ 2 be the eigenvalues of A and assume they are distinct; let u 1 and u 2 be eigenvectors for these eigenvalues. Write v as α ( t ) u 1 + β ( t ) u 2 . In other words, α and β are the components of v when in the u 1 - and u 2 -directions (compare with v = x ( 1 0 ) + y ( 0 1 ) ).

Substituting v = α u 1 + β u 2 into the left-hand side of v ˙ = A v gives: v ˙ = α ˙ u 1 + β ˙ u 2 (because u 1 , u 2 are constant).

Substituting it into the right-hand side gives A v = α A u 1 + β A u 2 = λ 1 α u 1 + λ 2 β u 2 (because u k is a λ k -eigenvector for k = 1 , 2 ).

Comparing the components in the u 1 -direction, we get α ˙ = λ 1 α . The u 2 -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 - k x by Hooke's law (for some constant k ), so the equation of motion is m x ¨ = - k x ;

  • 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 = ( 0 1 - 1 0 ) . This has characteristic polynomial det ( - t 1 - 1 - t ) = t 2 + 1 , which has roots λ 1 = i and λ 2 = - i .

The eigenvectors are:

  • for λ 1 = i , ( 1 i ) ,

  • for λ 2 = - i , ( 1 - i ) .

(We're just picking particular eigenvectors, not writing down the general eigenvector).

We write ( x y ) in the form α u 1 + β u 2 = α ( 1 i ) + β ( 1 - i ) = ( α + β i ( α - β ) ) . Thus α = ( x - i y ) / 2 and β = ( x + i y ) / 2 .

Our equations are now: α ˙ = λ 1 α = i α , β ˙ = λ 2 β = - i β . Dividing the first equation by α gives α ˙ α = d d t ( log α ) = i , so log α = i t + const , so α ( t ) = C 1 e i t . Similarly, β ( t ) = C 2 e - i t .

Therefore ( x y ) = C 1 e i t ( 1 i ) + C 2 e - i t ( 1 - i ) , so x = C 1 e i t + C 2 e - i t y = i ( C 1 e i t - C 2 e - i t ) . This is the general solution to x ˙ = y , y ˙ = - x . You may be worried about the fact that there are i s here: this is supposed to describe the motion of a particle on a spring, so x and y should be real numbers. The i s will all cancel out if we pick appropriate initial conditions.

Suppose x ( 0 ) = 1 and y ( 0 ) = 0 (particle at rest at distance 1 from the origin). Substituting t = 0 into our general solution, we get x ( 0 ) = 1 = C 1 + C 2 , y ( 0 ) = 0 = i ( C 1 - C 2 ) . This implies C 1 = C 2 = 1 / 2 . Therefore x ( t ) = 1 2 ( e i t + e - i t ) , y ( t ) = i 2 ( e i t - e - i t ) . This means that x ( t ) = cos ( t ) , y ( t ) = - sin ( t ) using the formulae for trigonometric functions in terms of complex exponentials. The minus sign in y 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.