


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



M346 Second Midterm Exam Solutions, April 7, 2011
( 0 1 4 − 3
) has eigenvalues λ 1 = 1 and λ 2 = −4, with
eigenvectors b 1 =
( 1 1
) and b 2 =
( 1 − 4
)
. Suppose that x(n) satisfies the
system of equations x(n + 1) = Ax(n) for all n ≥ 0.
a) If x(0) is “random” (meaning any nonzero vector that isn’t an eigenvector
of A), compute the limits limn→∞ x x^12 ((nn)) and limn→∞ x^1 x( 1 n(+1)n). In other words,
what is the asymptotic direction of x(n) and the asymptotic growth rate?
Since | − 4 | > | 1 |, the dominant eigenvalue is λ 2 , with dominant eigenvec- tor b 2. Asymptotically, x will point in the b 2 direction and grow by a factor of −4 each turn, so the two answers are − 1 /4 and −4, respectively.
b) Now suppose that x(0) =
( 5 − 5
)
. Find x(n) exactly for all n.
Since x(0) = 3b 1 + 2b 2 (which you can get from change-of-basis matrices,
or from row reduction), x(n) = 3(1)nb 1 + 2(−4)nb 2 =
( 3 + 2(−4)n 3 − 8(−4)n
) .
( 0 1 4 − 3
) , exactly as in problem 1. Suppose that x(t) satisfies
the differential equation dx/dt = Ax.
a) How many stable and how many unstable modes does this system have? What is the dominant eigenvalue, and what is the dominant eigenvector? For typical initial conditions, compute limt→∞ x 1 (t)/x 2 (t).
Since 1 > −4, the dominant eigenvalue is λ = 1 and the dominant eigen- vector is (1, 1)T^ , so the limiting ratio is 1/1 = 1.
b) Solve the differential equations with initial conditions x(0) =
( 5 − 5
)
Since x(0) = 3b 1 + 2b 2 , x(t) = 3et
( 1 1
)
( 1 − 4
) .
( 0 1 4 − 3
) , exactly as in problems 1 and 2, only now consider
the second order differential equations d^2 x/dt^2 = Ax. Write down the most general solution to these equations. (Leave your answer in terms of arbitrary constants, not in terms of initial conditions. I’m not giving you the initial conditions.)
There is one unstable mode with λ 1 > 0, so κ 1 =
1 = 1, and one
(neutrally) stable mode with λ 2 = − 4 < 0, so ω 2 =
4 = 2. Our general solution is
x(t) = c 1 cosh(t)b 1 + c 2 sinh(t)b 1 + c 3 cos(2t)b 2 + c 4 sin(2t)b 2.
This could also be expressed in terms of exponentials.
b) Find a solution corresponding to the initial conditions x(0) =
( 1 1
) ,
dx/dt(0) =
( 1 − 4
) .
Our constants are c 1 = y 1 (0) = 1, c 2 = ˙y 1 (0)/κ 1 = 0, c 3 = y 2 (0) = 0, and c 4 = ˙y 2 (0)/ω 2 = 1/2, in other words
x(t) = cosh(t)b 1 +
sin(2t)b 2
dx 1 dt
= x 1 (3 − x 1 − 2 x 2 );
dx 2 dt
= x 2 (3 − 2 x 1 − x 2 )
These equations describe the fierce competition between two species for sim- ilar resources, where x 1 (t) and x 2 (t) are the populations of the two species at time t. The fixed points are at (0,0), (3,0), (0,3) and (1,1).
a) (16 pts) For each fixed point, determine how many stable and unstable modes there are. Taking the gradients of the right hand gives
( 3 − 2 x 1 − 2 x 2 − 2 x 1 − 2 x 2 3 − 2 x 1 − 2 x 2
) .
At the four fixed points this is
( 3 0 0 3
) ,
( − 3 − 6 0 − 3
) ,
( − 3 0 − 6 − 3
) and
( − 1 − 2 − 2 − 1
) .
The first matrix has two positive eigenvalues, so (0,0) has two unstable modes. The second matrix has two negative eigenvalues, so (3,0) has two stable modes. Ditto for (0,3). The last matrix has eigenvalues -3 and 1, so it has one stable and one unstable mode, and the fixed point (1,1) is unstable.
b) (4 pts) Describe the possible long-term behavior of the system.
There are two stable fixed points, and the system will either approach (3,0) or (0,3) in the long run. In other words, the competition is to the death. If we start out with x 1 > x 2 , then we will approach (3,0), with the
y 2 = x 2 − y 1 〈 〈yy^11 ||xy^21 〉〉 = x 2 − − 714 y 1 =
1 + i − 1 − i − 1
, since 〈y 1 |y 2 〉 = 1(0) +
(−i)(1−i)+(−i)(− 1 − 3 i)+2(−5) = −14. (If you forgot to take the complex conjugates of the elements of |y 1 〉 when computing 〈y 1 |, you probably got nonsense.)