Homework 4

Rachael Steiner

5.1.10


In [3]:
addpath('../modules');

b)


In [7]:
A = [0 2; 1 0];
eival(A)


ans =

    1.4142   -1.4142

One eigenvalue is positive and the other is negative, so it is neutrally stable.

d)


In [9]:
A = [0 0; 0 -1];
eival(A)


ans =

     0    -1

Neutrally stable

f)


In [10]:
A = [1 0; 0 1];
eival(A)


ans =

     1     1

Unstable.

5.2.x

3)


In [11]:
A = [0 1; -2 -3];
eival(A)


ans =

    -1    -2

Stable

4)


In [13]:
A = [5 10; 1 -1];
eival(A)


ans =

    6.3589   -2.3589

neutrally stable

5)


In [16]:
A = [3 -4; 1 -1];
eival(A)


ans =

     1     1

Unstable

6)


In [17]:
A = [-3 2; 1 -2];
eival(A)


ans =

    -1    -4

Stable

7)


In [18]:
A = [5 2; -17 -5];
eival(A)


ans =

   0.0000 + 3.0000i   0.0000 - 3.0000i

does not exist

8)


In [19]:
A = [-3 4; -2 3];
eival(A)


ans =

     1    -1

Neutrally stable

9)


In [20]:
A = [4 -3; 8 -6];
eival(A)


ans =

     0    -2

Neutrally stable

10)


In [23]:
A = [0 1; -1 -2];
eival(A)


ans =

    -1    -1

Stable