Docsity

Mathematics 210 Homework 10 Solutions, Assignments of Linear Algebra

Toggle sidebar
bg1
Mathematics 210
Homework 10
Due Friday, December 5, 2 PM
Please note that this homework is due at 2 PM. No late homework can be accepted. You must
turn in your answers by the start of class on Friday.
1. Suppose that A="0 1
0 0 #. Show that Ais not diagonalizable. In other words, show that you
cannot write A=P DP −1, where Dis a diagonal matrix.
2. Suppose that A="0 1
0 0 #and B="0t
0 0 #, where tis any non-zero real number. Show that A
and Bare similar.
3. Suppose that A="1 2
3 4 #. Find an invertible matrix Pand diagonal matrix Dso that
A=P DP −1.
4. Suppose that A="1 2
−3 4 #. Find an invertible matrix Pand diagonal matrix Dso that
A=P DP −1.
5. Suppose that A="a b
c d #. Suppose that Ahas 2 unequal eigenvalues λ1and λ2. Show that
a+d=λ1+λ2.
6. The Lucas numbers are the sequence L1= 1, L2= 3, L3= 4, ..., defined by Ln+1 =Ln+Ln−1.
Find a formula for the Lucas numbers similar to the formula for the Fibonacci numbers that we
found in class.
7. Suppose that a predator-prey problem (akin to the one in Section 5.6 of our text) is modelled
using the matrix A="0.4 0.3
−p1.2#. Show that if the value of p= 0.325, the populations of both the
predator and the prey will grow. Find the eventual ratio of predator to prey.
8. (Continued) Now suppose that p= 0.5 in the matrix in the previous problem. Show that both
the predator and the prey will eventually perish.
9. Solve the differential equations
y′
1=−2y1−5y2
y′
2=y1+ 4y2
with initial conditions y1(0) = 3 and y2(0) = 2.
10. Solve the differential equations
y′
1= 3y1−2y2
y′
2= 2y1+ 3y2
with initial conditions y1(0) = 3 and y2(0) = 2.
pf3
pf4
pf5

Partial preview of the text

Download Mathematics 210 Homework 10 Solutions and more Assignments Linear Algebra in PDF only on Docsity!

Mathematics 210

Homework 10

Due Friday, December 5, 2 PM

Please note that this homework is due at 2 PM. No late homework can be accepted. You must

turn in your answers by the start of class on Friday.

1. Suppose that A =

[

]

. Show that A is not diagonalizable. In other words, show that you

cannot write A = P DP −^1 , where D is a diagonal matrix.

2. Suppose that A =

[

]

and B =

[

0 t

]

, where t is any non-zero real number. Show that A

and B are similar.

3. Suppose that A =

[

]

. Find an invertible matrix P and diagonal matrix D so that

A = P DP −^1.

4. Suppose that A =

[

]

. Find an invertible matrix P and diagonal matrix D so that

A = P DP −^1.

5. Suppose that A =

[

a b

c d

]

. Suppose that A has 2 unequal eigenvalues λ 1 and λ 2. Show that

a + d = λ 1 + λ 2.

6. The Lucas numbers are the sequence L 1 = 1, L 2 = 3, L 3 = 4,... , defined by Ln+1 = Ln+Ln− 1.

Find a formula for the Lucas numbers similar to the formula for the Fibonacci numbers that we

found in class.

7. Suppose that a predator-prey problem (akin to the one in Section 5.6 of our text) is modelled

using the matrix A =

[

−p 1. 2

]

. Show that if the value of p = 0.325, the populations of both the

predator and the prey will grow. Find the eventual ratio of predator to prey.

8. (Continued) Now suppose that p = 0.5 in the matrix in the previous problem. Show that both

the predator and the prey will eventually perish.

9. Solve the differential equations

y

′

1 =^ −^2 y 1 −^5 y 2

y′ 2 = y 1 + 4y 2

with initial conditions y 1 (0) = 3 and y 2 (0) = 2.

10. Solve the differential equations

y′ 1 = 3y 1 − 2 y 2

y′ 2 = 2y 1 + 3y 2

with initial conditions y 1 (0) = 3 and y 2 (0) = 2.

Mathematics 210 Homework 10 Answers

  1. Suppose that A =

[

]

. Show that A is not diagonalizable. In other words, show that you cannot

write A = P DP −^1 , where D is a diagonal matrix.

Answer: Suppose that we can write A = P DP −^1 , with D =

[

a 0 0 d

]

. Then on the one hand, A^2 =

P D^2 P −^1 = P

[

a^2 0 d^2

]

P −^1 , and on the other hand A^2 = 0. This yields 0 = P D^2 P −^1. Multiply on the left

by P −^1 , on the right by P , and simplify, and we get D^2 = 0. Because of the form of D^2 , we can conclude that a = d = 0, and therefore D = 0. But then the equation A = P DP −^1 gives A = 0, which is a contradiction.

  1. Suppose that A =

[

]

and B =

[

0 t 0 0

]

, where t is any non-zero real number. Show that A and B are

similar.

Answer: We must show that we can write A = P BP −^1 ; clearly, it is much simpler to write AP = P B, with P

an invertible matrix. Let P =

[

a b c d

]

, with ad − bc 6 = 0. Then we have

[

] [

a b c d

]

[

a b c d

] [

0 t 0 0

]

This equation reduces to

[

c d 0 0

]

[

0 at 0 ct

]

. If we set c = 0 and d = at, we have no other conditions to

satisfy. In particular, we can set a = 1, b = 0, and d = t, and let P =

[

0 t

]

  1. Suppose that A =

[

]

. Find an invertible matrix P and diagonal matrix D so that A = P DP −^1.

Answer: We start with the characteristic equation:

det(A − λI) =

1 − λ 2 3 4 − λ

∣ = (1^ −^ λ)(4^ −^ λ)^ −^ 6 =^ λ

(^2) − 5 λ − 2.

We solve λ^2 − 5 λ − 2 = 0, and find that λ = 5 ±

√ 33

We begin with λ = 5+

√ 33 2 :

A −

I =

[

√ 33 2 2 3 4 − 5+

√ 33 2

]

[

− 3 −√ 33 2 2 3 3 −

√ 33 2

]

[

0 1 1 0

]

[

√ 33 2 − 3 − √ 33 2 2

] [^13

0 1

]

[

√ 33 6 − 3 − √ 33 2 2

]

Because we know that the matrix has rank 1, we can just use the first line to find an eigenvector. We have

x 1 + 3 −

√ 33 6 x^2 = 0. Set^ x^2 = 1, and then^ x^1 =^

√ 33 − 3

  1. So an eigenvector is given by

[ √

33 − 3 6 1

]

The computation with λ = 5 −

√ 33 2 is remarkably similar:

A −

I =

[

√ 33 2 2 3 4 − 5 −

√ 33 2

]

[

−3+ √ 33 2 2 3 3+

√ 33 2

] [^0

1 0

]

[

√ 33 2 −3+ √ 33 2 2

] [^13

0 1

]

[

√ 33 6 −3+ √ 33 2 2

]

In this case, we have [ Ln Ln+

]

= An

[

]

[

φ φ′

] [

φn^0 0 (φ′)n

] [

φ′^ − 1 −φ 1

] [

]

[

φ φ′

] [

φn^0 0 (φ′)n

] [

2 φ′^ − 1 − 2 φ + 1

]

[

φ φ′

] [

φn^0 0 (φ′)n

] [

]

[

φ φ′

] [

φn^0 0 (φ′)n

] [

]

[

φ φ′

] [

φn (φ′)n

]

[

φn^ + (φ′)n φn+1^ + (φ′)n+

]

Therefore, Ln = φn^ + (φ′)n. As a quick check, we compute φ^10 + (φ′)^10 ≈ 123, and verify that this is correct.

  1. Suppose that a predator-prey problem (akin to the one in Section 5.6 of our text) is modelled using the

matrix A =

[

−p 1. 2

]

. Show that if the value of p = 0.325, the populations of both the predator and the

prey will grow. Find the eventual ratio of predator to prey.

Answer: The characteristic polynomial is

det A − λI =

  1. 4 − λ 0. 3 − 0. 325 1. 2 − λ

∣ = (0.^4 −^ λ)(1.^2 −^ λ) + 0.0975 =^ λ

(^2) − 1. 6 λ + 0. 5775.

We apply the quadratic formula, and find that λ = 1.^6 ±

√

  1. 25 2 =^

  2. 6 ± 0. 5

  3. The two roots are 1.05 and 0.55. We care only about the larger eigenvalue, because that is the one which will dominate. The corresponding eigenvector is computed as follows:

A − 1. 05 I =

[

]

[

]

In the long term, the predator-prey ratio will be 0.3 : 0.65, or 6 : 13.

  1. (Continued) Now suppose that p = 0.5 in the matrix in the previous problem. Show that both the predator and the prey will eventually perish.

Answer: Now, the characteristic polynomial is

det A − λI =

  1. 4 − λ 0. 3 − 0. 5 1. 2 − λ

∣ = (0.^4 −^ λ)(1.^2 −^ λ) + 0.15 =^ λ

(^2) − 1. 6 λ + 0. 63.

The quadratic formula yields λ = 1.^6 ±

√ 0. 04 2 =^

  1. 6 ± 0. 2

  2. The two eigenvalues are 0.9 and 0.7. Because both are less than 1, in the long term, the population of both the predator and the prey will tend to 0.

  3. Solve the differential equations y 1 ′ = − 2 y 1 − 5 y 2 y 2 ′ = y 1 + 4y 2

with initial conditions y 1 (0) = 3 and y 2 (0) = 2.

Answer: We start by finding the eigenvalues and eigenvectors of the matrix of coefficients:

∣ ∣ ∣ ∣

− 2 − λ − 5 1 4 − λ

∣ = (−^2 −^ λ)(4^ −^ λ) + 5 =^ λ

(^2) − 2 λ − 3 = (λ − 3)(λ + 1)

Therefore, the eigenvalues are λ = 3 and λ = −1.

We compute the eigenvector corresponding to the eigenvalue λ = 3:

[

]

[

]

. Therefore, [ − 1 1

]

is an eigenvector. Corresponding to the eigenvalue λ = −1, we have

[

]

[

]

, and so [ − 5 1

]

is an eigenvector.

The general solution has the form

[

y 1 y 2

]

= c 1

[

]

e^3 t^ + c 2

[

]

e−t.

The initial conditions tell us to substitute t = 0, y1(0) = 3, and y2(0) = 2. That yields

[

]

= c 1

[

]

c 2

[

]

[

] [

c 1 c 2

]

. We then have

[

c 1 c 2

]

[

]− 1 [

]

[

] [

]

[ 13

4 − (^54)

]

. In

the end, we get

y 1 = −

e^3 t^ +

e−t

y 2 =

e^3 t^ −

e−t

  1. Solve the differential equations y′ 1 = 3y 1 − 2 y 2 y′ 2 = 2y 1 + 3y 2

with initial conditions y 1 (0) = 3 and y 2 (0) = 2.

Answer: We again start by finding the eigenvalues and eigenvectors of the coefficient matrix:

∣ ∣ ∣ ∣

3 − λ − 2 2 3 − λ

∣ = (3^ −^ λ)

(^2) + 4 = λ (^2) − 6 λ + 13.

We find that λ = 6 ±

√− 16 2 = 3^ ±^2 i. We compute an eigenvector corresponding to 3 + 2i:

[

− 2 i − 2 2 − 2 i

]

[

1 −i 0 0

]

, so an eigenvector is given by

[

i 1

]

. Corresponding to the eigenvalue 3 − 2 i we get the eigenvector [ −i 1

]

We in fact only need one of these (so we’ll use the first one), and plug into the formula on page 359,

with a = 3, b = 2, and v =

[

i 1

]

. We see that the general solution has the form

[ y 1 y 2

]

= c 1

([

]

cos(2t) −

[

]

sin(2t)

e^3 t^ + c 2

([

]

sin(2t) +

[

]

cos(2t)

e^3 t

To find c 1 and c 2 , we substitute t = 0, and get that c 2 = 3 and c 1 = 2. So the general solution is

y 1 = e^3 t(−2 sin(2t) + 3 cos(2t)) y 2 = e^3 t(2 cos(2t) + 3 sin(2t))