Homework 1

Due at 11:59pm on Jan 16th. Submit to https://canvas.uw.edu/courses/1862386/assignments/11073140.

Problem 1

Compute the matrix exponential, that is, \(e^A\) of the following matrices by hand. Show your work.

a) \(A = \begin{bmatrix} -1 & 1 \\ 2 & -2 \end{bmatrix}\)

b) \(A=\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} t\), where \(t\) is a variable.

Problem 2

Consider the following matrix

\[A=\begin{bmatrix} 1 & 1 & 0 & 0 & 0 \\ -1 & -1 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 1 \\0 & 0 & 0 & -1 & -1 \end{bmatrix}\]

a) What are the eigenvalues of \(A\)?

b) Solve \(\dot{x}= A x\), with \(x(0)=\begin{bmatrix} 1 & 1 & 1 & 1 & 1 \end{bmatrix}^T\)

Problem 3

Consider two points moving on the real line. Their positions are \(x_1\) and \(x_2\). They following the following dyanmics

\[\begin{align} \dot{x}_1&=x_1-x_2 \\ \dot{x}_2 &=x_2- x_1 \end{align}\]

a) Is the system stable?

b) Suppose \(x(0)=\begin{bmatrix} 1 \\ -2 \end{bmatrix}\), what value would \(x(t)\) converge to?

Problem 4

Consider the single bus swing equation:

\[\begin{align} \dot{\theta} &=\omega \\ M \dot{\omega} &= -D \omega - B \theta \end{align}\]

A natural question we want to ask is whether one system is more stable than another. But it is not immediately obvious what ``stable’’ means.

a) Define a metric, that is, a number, that quantifies how stable a system is.

b) What values of \(M\) and \(D\) would make the system more stable with respect to the metric defined in a).

Problem 5

Consider the single bus swing equation with the power term explictly added in

\[\begin{align} \dot{\theta} &=\omega \\ M \dot{\omega} &= -D \omega - B \theta + P_{in} \end{align}\]

a) What is the equilibrium point as a function of \(P_{in}\)?

b) Pick some values for \(M, D, B, P_{in}\). Suppose the system starts at \(t=0\) at the equilibrium. At time \(t=1\), \(P_{in}\) becomes \(\frac{P_{in}}{2}\). Plot the trajectory of the system. That is, plot \(\theta(t)\) and \(\omega(t)\) for \(t \geq 0\). Note, one way to approach this problem is to think of the system changes to a new system with a different equilibrium at \(t=1\). Then treat the old equilibrium as the initial value of the new system.

c) ick some values for \(M, D, B, P_{in}\). Suppose the system starts at \(t=0\) at the equilibrium. At time \(t=1\), \(B\) takes the value \(\frac{B}{2}\). At time \(t=3\), \(B\) returns to its original value. Plot the trajectory of the system.