---
title: Problem set 9
heading: "Problem set 9: eigenvalues at work"
eyebrow: A7 · Problem set 9
type: problems
---

::: hook
These problems use lessons 33 to 42: eigenvalues and eigenvectors, diagonalization and matrix powers, differential equations and normal modes, symmetric matrices, and positive definite matrices. In each, find the eigenvalues first; most of the answer follows from them.
:::

::: pool
pick: 12

::: check
kind: parts
given: a = 4 | 6; d = 1 | 2; b = 3 | -2

## Let $A = \begin{bmatrix}\given{a} & \given{b}\\0 & \given{d}\end{bmatrix}$.

::: part
answer: a

### What is its larger eigenvalue?

::: misses
- [any] Triangular: the diagonal entries.
:::
:::

::: part
answer: -b/(a - d)
tolerance: 0.5%

### Its eigenvector for $\lambda = \given{a}$ is $(1, 0)$; for $\lambda = \given{d}$ it is $(t, 1)$. What is $t$?

::: misses
- [b/(a - d)] Check the sign: $(a - d)t + b = 0$.
- [any] Row 1 of $(A - dI)\mathbf{x} = \mathbf{0}$ gives $(a - d)t + b = 0$.
:::
:::
:::

::: check
kind: parts
given: T = 7 | 9; D = 10 | 12

## A 2 × 2 matrix has trace {T} and determinant {D}.

::: part
answer: (T + sqrt(T^2 - 4*D))/2
tolerance: 0.5%

### What is its larger eigenvalue?

::: misses
- [any] $\lambda^2 - T\lambda + D = 0$.
:::
:::

::: part
answer: (T - sqrt(T^2 - 4*D))/2
tolerance: 0.5%

### What is its smaller eigenvalue?

::: misses
- [any] The other root.
:::
:::
:::

::: check
kind: parts
given: k = 2..8 int

## $A = \begin{bmatrix}4 & 1\\2 & 3\end{bmatrix}$ has eigenvalues 5 and 2, with eigenvectors $(1, 1)$ and $(1, -2)$. Let $\mathbf{u}_0 = (1, 0)$.

::: part
answer: 2/3*5^k + 1/3*2^k

### What is the first component of $A^{\given{k}}\mathbf{u}_0$?

::: misses
- [5^k] Split $(1, 0) = \frac{2}{3}(1, 1) + \frac{1}{3}(1, -2)$ first.
- [any] $\frac{2}{3}5^k + \frac{1}{3}2^k$.
:::
:::

::: part
answer: 2/3*5^k - 2/3*2^k

### What is the second component?

::: misses
- [any] $\frac{2}{3}5^k - \frac{2}{3}2^k$.
:::
:::
:::

::: check
kind: parts
given: a = 0.05 | 0.2; b = 0.3 | 0.6

## A two-state link goes bad with probability {a} per step and recovers with probability {b}.

::: part
answer: a/(a + b)
tolerance: 0.5%

### What long-run fraction of time is it bad?

::: misses
- [b/(a + b)] That's good.
- [any] The steady state.
:::
:::

::: part
answer: 1 - a - b
tolerance: 0.5%

### What is the transition matrix's second eigenvalue?

::: misses
- [any] Trace minus 1.
:::
:::
:::

::: check
kind: parts
given: n = 8..40 int

## Fibonacci numbers from eigenvalues.

::: part
answer: round(((1 + sqrt(5))/2)^n/sqrt(5))

### What is $F_{\given{n}}$?

::: misses
- [any] $\frac{\varphi^n}{\sqrt 5}$, rounded.
:::
:::

::: part
answer: (1 + sqrt(5))/2
tolerance: 0.1%

### What does $F_{n+1}/F_n$ approach?

::: misses
- [any] The larger eigenvalue.
:::
:::
:::

::: check
kind: parts
given: a = 3 | 5; b = 1 | 2; t = 0.2 | 0.5

## $\frac{d\mathbf{u}}{dt} = \begin{bmatrix}-\given{a} & \given{b}\\\given{b} & -\given{a}\end{bmatrix}\mathbf{u}$ with $\mathbf{u}(0) = (1, 0)$.

::: part
answer: 0.5*(exp(-(a - b)*t) - exp(-(a + b)*t))
tolerance: 0.5%

### What is $u_2$ at $t$ = {t}?

::: misses
- [0.5*(exp(-(a - b)*t) + exp(-(a + b)*t))] That's $u_1$.
- [any] $\frac{1}{2}(e^{-(a - b)t} - e^{-(a + b)t})$.
:::
:::

::: part
answer: 1/(a - b)
tolerance: 0.5%

### What is the slower mode's time constant?

::: misses
- [any] Eigenvalue $-(a - b)$.
:::
:::
:::

::: check
kind: parts
given: k = 1 | 4; c = 0.05 | 0.2

## Two identical oscillators of stiffness {k} are coupled with $c$ = {c}.

::: part
answer: sqrt(k + 2*c)
unit: rad/s
tolerance: 0.5%

### What is the opposed mode's frequency in rad/s?

::: misses
- [any] $\sqrt{k + 2c}$.
:::
:::

::: part
answer: pi/(sqrt(k + 2*c) - sqrt(k))
unit: s
tolerance: 0.5%

### Starting with oscillator 1 ringing, how long until all the energy is in oscillator 2?

::: misses
- [2*pi/(sqrt(k + 2*c) - sqrt(k))] That's the full beat period, there and back.
- [any] Half a beat period.
:::
:::
:::

::: check
kind: parts
given: tr = -4 | -1; d = 5 | 13

## A 2 × 2 system matrix has trace {tr} and determinant {d}.

::: part
answer: tr/2
tolerance: 0.5%

### Its eigenvalues are a complex pair. What is their real part?

::: misses
- [any] The pair is $\frac{T}{2} \pm j\sqrt{D - T^2/4}$.
:::
:::

::: part
answer: sqrt(d - tr^2/4)
unit: rad/s
tolerance: 0.5%

### What is the size of their imaginary part, the frequency of the oscillation in rad/s?

::: misses
- [any] $\sqrt{D - T^2/4}$.
:::
:::
:::

::: check
kind: parts
given: a = 3 | 6; b = 2 | -1; d = 2 | 4

## Let $S = \begin{bmatrix}\given{a} & \given{b}\\\given{b} & \given{d}\end{bmatrix}$.

::: part
answer: (a + d)/2 + sqrt(((a - d)/2)^2 + b^2)
tolerance: 0.5%

### What is its larger eigenvalue?

::: misses
- [any] $\frac{a + d}{2} + \sqrt{(\frac{a - d}{2})^2 + b^2}$.
:::
:::

::: part
answer: a*d - b^2

### What is the product of its eigenvalues?

::: misses
- [any] The determinant.
:::
:::
:::

::: check
kind: parts
given: l1 = 6 | 10; l2 = 2 | 4

## $S$ has eigenvalue {l1} along $\frac{1}{\sqrt 2}(1, 1)$ and {l2} along $\frac{1}{\sqrt 2}(1, -1)$.

::: part
answer: (l1 + l2)/2

### What is $S_{11}$?

::: misses
- [any] $\frac{\lambda_1 + \lambda_2}{2}$.
:::
:::

::: part
answer: 1/sqrt(l2)
tolerance: 0.5%

### How long is the longer semi-axis of $\mathbf{x}^TS\mathbf{x} = 1$?

::: misses
- [1/sqrt(l1)] That's the shorter one.
- [any] $1/\sqrt{\lambda_{\min}}$.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 5; c = 1 | 3; d = 4 | 6

## Let $S = \begin{bmatrix}\given{a} & \given{c}\\\given{c} & \given{d}\end{bmatrix}$.

::: part
answer: d - c^2/a
tolerance: 0.5%

### What is its second pivot?

::: misses
- [any] $d - c^2/a$.
:::
:::

::: part
answer: sqrt(a*d)
tolerance: 0.5%

### Above what value of $|c|$ would it stop being positive definite?

::: misses
- [any] $ad - c^2 = 0$.
:::
:::
:::

::: check
kind: parts
given: s1 = 2 | 5; s2 = 1 | 4; b1 = 4 | 3; b2 = 2 | -6

## Minimize $f = \frac{1}{2}(\given{s1}x^2 + \given{s2}y^2) - \given{b1}x - \given{b2}y$.

::: part
answer: b1/s1
tolerance: 0.5%

### At what $x$ is the minimum?

::: misses
- [any] $s_1x = b_1$.
:::
:::

::: part
answer: -0.5*(b1^2/s1 + b2^2/s2)
tolerance: 0.5%

### What is the minimum value?

::: misses
- [any] $-\frac{1}{2}\mathbf{b}^T\mathbf{x}^*$.
:::
:::
:::

::: check
kind: parts
given: l = 2 | 0.5 | -1; n = 3 | 6

## Take $J = \begin{bmatrix}\given{l} & 1\\0 & \given{l}\end{bmatrix}$.

::: part
answer: l^n
tolerance: 0.5%

### What is the top-left entry of $J^{\given{n}}$?

::: misses
- [any] $\lambda^n$.
:::
:::

::: part
answer: n*l^(n - 1)
tolerance: 0.5%

### What is its top-right entry?

::: misses
- [l^n] The defective part brings a factor $n$ and one less power.
- [any] $n\lambda^{n-1}$.
:::
:::
:::

::: check
kind: parts
given: L = 2.2 | 10; C = 0.1 | 4.7

## A series RLC circuit has $L$ = {L} mH and $C$ = {C} µF.

::: part
answer: 2*sqrt(L*1e-3/(C*1e-6))
unit: Ω
tolerance: 0.5%

### What resistance makes it critically damped?

::: misses
- [sqrt(L*1e-3/(C*1e-6))] Twice that.
- [any] $R = 2\sqrt{L/C}$.
:::
:::

::: part
answer: sqrt(L*1e-3*C*1e-6)*1e6
unit: µs
tolerance: 0.5%

### What is its time constant then?

::: misses
- [any] $\tau = \frac{2L}{R} = \sqrt{LC}$.
:::
:::
:::

::: check
kind: parts
given: s = -0.2 | -1; w = 2 | 5; t = 0.5 | 1.5

## $A = \begin{bmatrix}\given{s} & -\given{w}\\\given{w} & \given{s}\end{bmatrix}$.

::: part
answer: exp(s*t)*cos(w*t)
tolerance: 0.5%

### What is the top-left entry of $e^{At}$ at $t$ = {t}?

::: misses
- [cos(w*t)] Include the factor $e^{\sigma t}$.
- [any] $e^{\sigma t}\cos\omega t$.
:::
:::

::: part
answer: exp(s*t)*sin(w*t)
tolerance: 0.5%

### What is its bottom-left entry?

::: misses
- [any] $e^{\sigma t}\sin\omega t$.
:::
:::
:::
:::
