Math 340 ยท University of San Francisco

Assignment 6

Due Wednesday, October 21

1

Consider the system

๐‘ฅโ€ฒ=๐‘ฅ+2๐‘ฆ,๐‘ฆโ€ฒ=3๐‘ฅ+2๐‘ฆ.
(a)

Decide which case this system falls into: two independent real eigenvectors, one, or none.

Solution

The matrix of the system is

๐ด=(1232),

with trace 3 and determinant 2 โˆ’6 = โˆ’4. Its characteristic polynomial is

det(๐ดโˆ’๐œ†๐ผ)=๐œ†2โˆ’3๐œ†โˆ’4=(๐œ†โˆ’4)(๐œ†+1),

so the eigenvalues are 4 and โˆ’1. Solving (๐ด โˆ’4๐ผ)๐‘ฃ =0 and (๐ด +๐ผ)๐‘ฃ =0 gives the eigenvectors

๐‘ฃ1=(23),๐‘ฃ2=(1โˆ’1).

They are not multiples of each other, so this system has two independent real eigenvectors. The eigenvalues have opposite signs, so the flow is a saddle.

(b)

Find the solution with initial condition ๐‘ฅ(0) =๐‘ฅ0, ๐‘ฆ(0) =๐‘ฆ0. Then find the solution with ๐‘ฅ(0) =1, ๐‘ฆ(0) =4.

Solution

Put the eigenvectors in the columns of ๐‘ƒ:

๐‘ƒ=(213โˆ’1),๐‘ƒโˆ’1=15(113โˆ’2),๐ท=(400โˆ’1).

Then ๐ด =๐‘ƒ๐ท๐‘ƒโˆ’1, and

๐‘’๐‘ก๐ด=(213โˆ’1)(๐‘’4๐‘ก00๐‘’โˆ’๐‘ก)15(113โˆ’2)=15(2๐‘’4๐‘ก+3๐‘’โˆ’๐‘ก2๐‘’4๐‘กโˆ’2๐‘’โˆ’๐‘ก3๐‘’4๐‘กโˆ’3๐‘’โˆ’๐‘ก3๐‘’4๐‘ก+2๐‘’โˆ’๐‘ก).

As a check, this is ๐ผ at ๐‘ก =0, and its derivative at ๐‘ก =0 is 15(5101510) =๐ด. The solution from (๐‘ฅ0,๐‘ฆ0) is ๐‘’๐‘ก๐ด(๐‘ฅ0,๐‘ฆ0):

๐‘ฅ(๐‘ก)=15[(2๐‘’4๐‘ก+3๐‘’โˆ’๐‘ก)๐‘ฅ0+(2๐‘’4๐‘กโˆ’2๐‘’โˆ’๐‘ก)๐‘ฆ0],๐‘ฆ(๐‘ก)=15[(3๐‘’4๐‘กโˆ’3๐‘’โˆ’๐‘ก)๐‘ฅ0+(3๐‘’4๐‘ก+2๐‘’โˆ’๐‘ก)๐‘ฆ0].

For (๐‘ฅ0,๐‘ฆ0) =(1,4), it is easiest to find the eigenvector coordinates first:

๐‘ƒโˆ’1(14)=15(5โˆ’5)=(1โˆ’1).

So the initial state is ๐‘ฃ1 โˆ’๐‘ฃ2, and

๐‘‹(๐‘ก)=๐‘’4๐‘ก(23)โˆ’๐‘’โˆ’๐‘ก(1โˆ’1),๐‘ฅ(๐‘ก)=2๐‘’4๐‘กโˆ’๐‘’โˆ’๐‘ก,๐‘ฆ(๐‘ก)=3๐‘’4๐‘ก+๐‘’โˆ’๐‘ก.

2

Consider the system

๐‘ฅโ€ฒ=๐‘ฅโˆ’4๐‘ฆ,๐‘ฆโ€ฒ=2๐‘ฅโˆ’3๐‘ฆ.
(a)

Decide which case this system falls into: two independent real eigenvectors, one, or none.

Solution

The matrix of the system is

๐ด=(1โˆ’42โˆ’3),

with trace โˆ’2 and determinant โˆ’3 +8 =5. Its characteristic polynomial is

๐œ†2+2๐œ†+5=(๐œ†+1)2+4,

which is never zero for real ๐œ†. So there are no real eigenvalues, and this system has no real eigenvectors.

(b)

Find the solution with initial condition ๐‘ฅ(0) =๐‘ฅ0, ๐‘ฆ(0) =๐‘ฆ0. Then find the solution with ๐‘ฅ(0) =1, ๐‘ฆ(0) =1.

Solution

The scaling rate is half the trace, and the angular speed comes from the determinant:

๐‘Ž=โˆ’22=โˆ’1,๐œ”=โˆš5โˆ’(โˆ’1)2=2.

Removing the scaling part leaves

๐ต=๐ดโˆ’๐‘Ž๐ผ=๐ด+๐ผ=(2โˆ’42โˆ’2),

and indeed ๐ต2 = โˆ’4๐ผ = โˆ’๐œ”2๐ผ. The flow is therefore

๐‘’๐‘ก๐ด=๐‘’โˆ’๐‘ก(๐ผcosโก2๐‘ก+๐ต2sinโก2๐‘ก)=๐‘’โˆ’๐‘ก(cosโก2๐‘ก+sinโก2๐‘กโˆ’2sinโก2๐‘กsinโก2๐‘กcosโก2๐‘กโˆ’sinโก2๐‘ก).

The solution from (๐‘ฅ0,๐‘ฆ0) is

๐‘ฅ(๐‘ก)=๐‘’โˆ’๐‘ก[(cosโก2๐‘ก+sinโก2๐‘ก)๐‘ฅ0โˆ’2sinโก2๐‘ก๐‘ฆ0],๐‘ฆ(๐‘ก)=๐‘’โˆ’๐‘ก[sinโก2๐‘ก๐‘ฅ0+(cosโก2๐‘กโˆ’sinโก2๐‘ก)๐‘ฆ0].

For (๐‘ฅ0,๐‘ฆ0) =(1,1), this gives

๐‘ฅ(๐‘ก)=๐‘’โˆ’๐‘ก(cosโก2๐‘กโˆ’sinโก2๐‘ก),๐‘ฆ(๐‘ก)=๐‘’โˆ’๐‘กcosโก2๐‘ก.

As a check, ๐‘ฆโ€ฒ = โˆ’๐‘’โˆ’๐‘ก(cosโก2๐‘ก +2sinโก2๐‘ก), and 2๐‘ฅ โˆ’3๐‘ฆ =๐‘’โˆ’๐‘ก(2cosโก2๐‘ก โˆ’2sinโก2๐‘ก โˆ’3cosโก2๐‘ก) is the same. The scaling rate is negative, so the flow is a spiral sink: every state turns once every ๐œ‹ units of time while spiraling in toward the origin.

3

Consider the system

๐‘ฅโ€ฒ=โˆ’๐‘ฅโˆ’4๐‘ฆ,๐‘ฆโ€ฒ=๐‘ฅโˆ’5๐‘ฆ.
(a)

Decide which case this system falls into: two independent real eigenvectors, one, or none.

Solution

The matrix of the system is

๐ด=(โˆ’1โˆ’41โˆ’5),

with trace โˆ’6 and determinant 5 +4 =9. Its characteristic polynomial is

๐œ†2+6๐œ†+9=(๐œ†+3)2,

so the only eigenvalue is โˆ’3. The eigenvectors solve

(๐ด+3๐ผ)๐‘ฃ=(2โˆ’41โˆ’2)๐‘ฃ=0,

which gives the single line of eigenvectors through ๐‘ฃ =(2,1). If there were two independent eigenvectors, both with eigenvalue โˆ’3, then ๐ด would equal โˆ’3๐ผ, and it does not. So this system has one independent real eigenvector.

(b)

Find the solution with initial condition ๐‘ฅ(0) =๐‘ฅ0, ๐‘ฆ(0) =๐‘ฆ0. Then find the solution with ๐‘ฅ(0) =3, ๐‘ฆ(0) =1.

Solution

Complete ๐‘ฃ =(2,1) to a basis with ๐‘ค =(1,0). Then

๐ด๐‘ฃ=โˆ’3๐‘ฃ,๐ด๐‘ค=(โˆ’11)=๐‘ฃโˆ’3๐‘ค.

So with

๐‘ƒ=(2110),๐‘ƒโˆ’1=(011โˆ’2),

we have ๐‘ƒโˆ’1๐ด๐‘ƒ =(โˆ’310โˆ’3) = โˆ’3๐ผ +๐‘. The scaling rate is โˆ’3 and the shear rate is 1, so

๐‘’๐‘ก๐ด=๐‘’โˆ’3๐‘ก(2110)(1๐‘ก01)(011โˆ’2)=๐‘’โˆ’3๐‘ก(1+2๐‘กโˆ’4๐‘ก๐‘ก1โˆ’2๐‘ก).

The solution from (๐‘ฅ0,๐‘ฆ0) is

๐‘ฅ(๐‘ก)=๐‘’โˆ’3๐‘ก[(1+2๐‘ก)๐‘ฅ0โˆ’4๐‘ก๐‘ฆ0],๐‘ฆ(๐‘ก)=๐‘’โˆ’3๐‘ก[๐‘ก๐‘ฅ0+(1โˆ’2๐‘ก)๐‘ฆ0].

For (๐‘ฅ0,๐‘ฆ0) =(3,1), this gives

๐‘ฅ(๐‘ก)=(3+2๐‘ก)๐‘’โˆ’3๐‘ก,๐‘ฆ(๐‘ก)=(1+๐‘ก)๐‘’โˆ’3๐‘ก.

As a check, ๐‘ฆโ€ฒ =( โˆ’2 โˆ’3๐‘ก)๐‘’โˆ’3๐‘ก, and ๐‘ฅ โˆ’5๐‘ฆ =(3 +2๐‘ก โˆ’5 โˆ’5๐‘ก)๐‘’โˆ’3๐‘ก is the same. The eigenvalue is negative, so the flow is an improper sink node.

4

The eigenvalues tell us how a flow scales its eigenvector directions. In this problem, we investigate what they tell us about area.

(a)

Return to the system in Problem 1. Consider the parallelogram whose sides are the eigenvectors

๐‘ฃ1=(2,3),๐‘ฃ2=(1,โˆ’1).

Under the flow, by what factor does each side scale after time ๐‘ก? By what factor does the area change? Explain why the area grows even though one side contracts.

Solution

The eigenvalues for ๐‘ฃ1 and ๐‘ฃ2 are 4 and โˆ’1, respectively. The flow therefore carries these side vectors to

๐‘’4๐‘ก๐‘ฃ1,๐‘’โˆ’๐‘ก๐‘ฃ2.

Their lengths scale by ๐‘’4๐‘ก and ๐‘’โˆ’๐‘ก. Their directions do not change, so the angle between them stays fixed. The area of a parallelogram is the product of its side lengths times the sine of the angle between them. Its area therefore scales by

๐‘’4๐‘ก๐‘’โˆ’๐‘ก=๐‘’3๐‘ก.

The area grows: expansion at rate 4 outweighs contraction at rate 1. The net exponent is 4 +( โˆ’1) =3, the sum of the eigenvalues.

(b)

A linear map with matrix ๐‘€ multiplies areas by |det๐‘€|. For the system ๐‘‹โ€ฒ =๐ด๐‘‹, the flow matrix is ๐‘’๐‘ก๐ด, so its determinant tells us how the flow changes area.

Suppose ๐ด has two independent real eigenvectors. Show that

det(๐‘’๐‘ก๐ด)=๐‘’๐‘กtrโก๐ด.

(Hint: use diagonalization and the identity det(๐‘‹๐‘Œ) =det(๐‘‹)det(๐‘Œ) to simplify your calculation.)

Solution

Write ๐ด =๐‘ƒ๐ท๐‘ƒโˆ’1, where ๐ท has the eigenvalues ๐œ†1 and ๐œ†2 on its diagonal. Then

๐‘’๐‘ก๐ด=๐‘ƒ(๐‘’๐œ†1๐‘ก00๐‘’๐œ†2๐‘ก)๐‘ƒโˆ’1.

Taking determinants and using the product rule gives

det(๐‘’๐‘ก๐ด)=det(๐‘ƒ)๐‘’๐œ†1๐‘ก๐‘’๐œ†2๐‘กdet(๐‘ƒโˆ’1).

The factors from the change of coordinates cancel, since det(๐‘ƒ)det(๐‘ƒโˆ’1) =det(๐ผ) =1. Also, ๐œ†1 +๐œ†2 =trโก๐ด, so

det(๐‘’๐‘ก๐ด)=๐‘’(๐œ†1+๐œ†2)๐‘ก=๐‘’๐‘กtrโก๐ด.

This is positive, so it is also the area factor. The calculation extends the geometric reasoning in part (a) to any region of initial states, not just a parallelogram along the eigenvectors.

(c)

Give an example of a system ๐‘‹โ€ฒ =๐ด๐‘‹ whose flow preserves area but has trajectories that travel arbitrarily far from the origin. You may choose ๐ด to be diagonal. Explain how your example has both properties.

Solution

Take

๐ด=(100โˆ’1),๐‘ฅโ€ฒ=๐‘ฅ,๐‘ฆโ€ฒ=โˆ’๐‘ฆ.

Its trace is zero, so the area factor is ๐‘’๐‘กtrโก๐ด =1. Explicitly, the flow is

๐‘ฅ(๐‘ก)=๐‘’๐‘ก๐‘ฅ0,๐‘ฆ(๐‘ก)=๐‘’โˆ’๐‘ก๐‘ฆ0.

It stretches horizontally by ๐‘’๐‘ก and contracts vertically by ๐‘’โˆ’๐‘ก; the two area factors cancel. But the solution starting at (1,0) is (๐‘’๐‘ก,0), whose distance from the origin grows without bound. In fact, every trajectory with ๐‘ฅ0 โ‰ 0 travels arbitrarily far from the origin as ๐‘ก โ†’โˆž.

The formula in part (b) also holds when ๐ด has only one independent real eigenvector or none. For every real 2 ร—2 matrix, the trace determines the area factor: positive trace gives exponential area growth, negative trace gives exponential area decay, and zero trace gives area preservation.

5

Consider the family of systems

๐‘ฅโ€ฒ=โˆ’๐‘ฅ+๐‘๐‘ฆ,๐‘ฆโ€ฒ=โˆ’2๐‘ฆ,

where ๐‘ >0 is a constant.

(a)

Find the eigenvalues and classify the flow. Explain why every solution approaches the origin as ๐‘ก โ†’โˆž, no matter how large ๐‘ is.

Solution

The matrix is

๐ด=(โˆ’1๐‘0โˆ’2),

and its characteristic polynomial is

det(๐ดโˆ’๐œ†๐ผ)=(โˆ’1โˆ’๐œ†)(โˆ’2โˆ’๐œ†)=(๐œ†+1)(๐œ†+2).

The eigenvalues are โˆ’1 and โˆ’2, independently of ๐‘. They are real, distinct, and negative, so the flow is a sink node. Eigenvectors for these eigenvalues are

๐‘ฃ1=(10),๐‘ฃ2=(๐‘โˆ’1).

Every solution has the form

๐‘‹(๐‘ก)=๐›ผ๐‘’โˆ’๐‘ก๐‘ฃ1+๐›ฝ๐‘’โˆ’2๐‘ก๐‘ฃ2.

For each fixed ๐‘, both terms tend to zero as ๐‘ก โ†’โˆž. Therefore every solution approaches the origin, however large ๐‘ is.

(b)

Now follow the solution starting at

๐‘ฅ(0)=0,๐‘ฆ(0)=1.

You may use the eigenvectors (1,0) and (๐‘, โˆ’1). Write the initial state as a combination of these vectors, then find ๐‘ฅ(๐‘ก) and ๐‘ฆ(๐‘ก).

When does ๐‘ฅ(๐‘ก) reach its largest value for ๐‘ก โ‰ฅ0? How does that value depend on ๐‘? Use your answer to choose a system whose trajectory starts one unit from the origin, travels more than 100 units away, and eventually returns to the origin.

Solution

The initial state decomposes as

(01)=๐‘(10)โˆ’(๐‘โˆ’1).

Each eigenvector contribution evolves with its own exponential factor:

๐‘‹(๐‘ก)=๐‘๐‘’โˆ’๐‘ก(10)โˆ’๐‘’โˆ’2๐‘ก(๐‘โˆ’1).

Thus

๐‘ฅ(๐‘ก)=๐‘(๐‘’โˆ’๐‘กโˆ’๐‘’โˆ’2๐‘ก),๐‘ฆ(๐‘ก)=๐‘’โˆ’2๐‘ก.

To find the largest value of ๐‘ฅ, differentiate:

๐‘ฅโ€ฒ(๐‘ก)=๐‘(โˆ’๐‘’โˆ’๐‘ก+2๐‘’โˆ’2๐‘ก)=๐‘๐‘’โˆ’2๐‘ก(2โˆ’๐‘’๐‘ก).

Since ๐‘ >0, this is positive for 0 โ‰ค๐‘ก <logโก2, zero at ๐‘ก =logโก2, and negative afterward. So the maximum occurs at ๐‘ก =logโก2, where

๐‘ฅ(logโก2)=๐‘(12โˆ’14)=๐‘4,๐‘ฆ(logโก2)=14.

The time of the maximum is independent of ๐‘, but the maximum value increases without bound as ๐‘ increases. For example, choose ๐‘ =800. The system

๐‘ฅโ€ฒ=โˆ’๐‘ฅ+800๐‘ฆ,๐‘ฆโ€ฒ=โˆ’2๐‘ฆ

carries (0,1) to (200,1/4) at time logโก2. Its distance from the origin is then greater than 200, although it started at distance 1. Both coordinates subsequently tend to zero.

The eigenvector decomposition shows how this happens. At ๐‘ก =0, the horizontal contributions ๐‘ and โˆ’๐‘ cancel. The negative contribution decays faster, so that cancellation is lost and ๐‘ฅ(๐‘ก) grows. Eventually both contributions decay to zero.

Every system in this family is a sink, yet you have shown that a state can travel far from the origin before returning. Being a sink describes what happens in the long run; it does not require trajectories to move steadily closer to the origin.