---
title: Problem set 2
heading: "Problem set 2: equilibria, bifurcations and existence"
eyebrow: A8 · Problem set 2
type: problems
---

::: hook
These problems use lessons 9 to 11: phase lines and the stability of equilibria, bifurcations as a parameter changes, and when solutions exist, are unique, or run out of time. For each equilibrium, the sign of $f'$ decides stability and $1/|f'|$ gives the time constant.
:::

::: pool
pick: 12

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

## Consider $\dot y = -y(y - \given{a})(y - \given{b})$.

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

### At what rate do disturbances grow away from the unstable equilibrium at $y$ = {a}?

::: misses
- [any] $f'(a) = -a(a - b) = a(b - a)$.
:::
:::

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

### What is the time constant of approach to the stable equilibrium at $y$ = {b}?

::: misses
- [any] $f'(b) = -b(b - a)$; the time constant is $1/|f'|$.
:::
:::
:::

::: check
kind: parts
given: r = 1 | 4 | 9

## Consider the saddle-node form $\dot y = \given{r} - y^2$.

::: part
answer: sqrt(r)
tolerance: 0.5%

### Where is the stable equilibrium?

::: misses
- [-sqrt(r)] There $f' = -2y > 0$: unstable.
- [any] Stable where $f' = -2y < 0$.
:::
:::

::: part
answer: 1/(2*sqrt(r))
tolerance: 0.5%

### What is its time constant?

::: misses
- [any] $1/|f'| = \frac{1}{2\sqrt r}$.
:::
:::
:::

::: check
kind: parts
given: r = 0.5 | 2 | 3

## Consider the transcritical form $\dot y = y(\given{r} - y)$.

::: part
answer: r
tolerance: 0.5%

### Where is the stable equilibrium?

::: misses
- [0] At $y = 0$, $f' = r > 0$.
- [any] Check $f' = r - 2y$ at each equilibrium.
:::
:::

::: part
answer: 1/r
tolerance: 0.5%

### What is its time constant?

::: misses
- [any] $f'(r) = -r$.
:::
:::
:::

::: check
kind: parts
given: r = 0.04 | 0.25 | 4

## The pitchfork $\dot y = \given{r}y - y^3$ has stable equilibria at $\pm\sqrt r$.

::: part
answer: sqrt(r)
tolerance: 0.5%

### Where is the positive one?

::: misses
- [any] $y^2 = r$.
:::
:::

::: part
answer: 1/(2*r)
tolerance: 0.5%

### What is its time constant?

::: misses
- [1/r] $f' = r - 3y^2 = -2r$ there.
- [any] Evaluate $f'$ at $y^2 = r$.
:::
:::
:::

::: check
kind: parts
given: A = 1.5 | 2 | 2.5 | 3 | 4 | 5

## A latch obeys $\dot y = -y + \given{A}\tanh y + u$.

::: part
answer: A*sqrt(1 - 1/A) - ln(sqrt(A) + sqrt(A - 1))
tolerance: 0.5%

### At what input does the low state disappear?

::: misses
- [any] Where $f = 0$ and $f' = 0$ together: $\cosh^2y = A$.
:::
:::

::: part
answer: 2*(A*sqrt(1 - 1/A) - ln(sqrt(A) + sqrt(A - 1)))
tolerance: 0.5%

### How wide is the hysteresis band?

::: misses
- [any] The thresholds are symmetric about $u = 0$.
:::
:::
:::

::: check
kind: parts
given: y0 = 1 | 2 | 3

## Solve $\dot y = y^3$ with $y(0)$ = {y0}.

::: part
answer: 1/(2*y0^2)
tolerance: 0.5%

### When does it blow up?

::: misses
- [1/y0] That's for $\dot y = y^2$.
- [any] $y = \frac{y_0}{\sqrt{1 - 2y_0^2t}}$.
:::
:::

::: part
answer: y0*sqrt(2)
tolerance: 0.5%

### What is $y$ halfway to that time?

::: misses
- [any] $\frac{y_0}{\sqrt{1 - 1/2}}$.
:::
:::
:::

::: check
kind: parts
given: c = 1 | 2; t = 3 | 4

## $\dot y = 3y^{2/3}$ with $y(0) = 0$ has the solution that stays at 0 until $t$ = {c} and then follows $(t - \given{c})^3$.

::: part
answer: (t - c)^3
tolerance: 0.5%

### What is that solution at $t$ = {t}?

::: misses
- [t^3] That's the solution that leaves at once; this one waits until $t = c$.
- [any] $(t - c)^3$.
:::
:::
:::

::: check
kind: parts
given: h = 0.1 | 0.16 | 0.21

## A harvested population obeys $\dot y = y(1 - y) - \given{h}$.

::: part
answer: (1 + sqrt(1 - 4*h))/2
tolerance: 0.5%

### Where is its stable equilibrium?

::: misses
- [(1 - sqrt(1 - 4*h))/2] That's the lower one, which is unstable.
- [any] Solve $y^2 - y + h = 0$; the upper root has $f' < 0$.
:::
:::

::: part
answer: sqrt(1 - 4*h)
tolerance: 0.5%

### What is $|f'|$ there?

::: misses
- [any] $f' = 1 - 2y$.
:::
:::
:::

::: check
kind: parts
given: r = 0.01 | 0.04 | 0.25

## Just past a saddle-node, $\dot y = \given{r} + y^2$ has no equilibrium, but solutions pass slowly through the bottleneck near 0.

::: part
answer: pi/sqrt(r)
tolerance: 0.5%

### How long does it take to go from $-\infty$ to $+\infty$?

::: misses
- [1/sqrt(r)] $\int\frac{dy}{r + y^2} = \frac{1}{\sqrt r}\tan^{-1}\frac{y}{\sqrt r}$, which spans $\pi$.
- [any] Integrate $dt = \frac{dy}{r + y^2}$.
:::
:::
:::

::: check
kind: parts
given: y0 = 0.5 | 1 | 2 | 3 | 5 | 10

## Solve $\dot y = 1 + y^2$ with $y(0)$ = {y0}.

::: part
answer: pi/2 - atan(y0)
tolerance: 0.5%

### When does it blow up?

::: misses
- [pi/2] From $y_0 \ne 0$ it has a head start.
- [any] $y = \tan(t + \tan^{-1}y_0)$.
:::
:::
:::

::: check
kind: parts
given: t1 = 2 | 3 | 6

## $\dot y = \sqrt y$ with $y(0) = 0$ has $y = 0$ as one solution.

::: part
answer: t1^2/4
tolerance: 0.5%

### Another solution leaves 0 at once. What is it at $t$ = {t1}?

::: misses
- [t1^2/2] Check: $y = \frac{t^2}{4}$ gives $\dot y = \frac t2 = \sqrt y$.
- [any] Separate: $2\sqrt y = t$.
:::
:::
:::

::: check
kind: parts
given: k = 0.5 | 2 | 3

## Consider $\dot y = \given{k}\sin y$.

::: part
answer: 1/k
tolerance: 0.5%

### What is the time constant of approach to $y = \pi$?

::: misses
- [any] $f'(\pi) = k\cos\pi = -k$.
:::
:::

::: part
answer: ln(2)/k
tolerance: 0.5%

### How long does a small displacement from $y = 0$ take to double?

::: misses
- [1/k] That's the growth time constant; doubling takes $\ln 2$ of those.
- [any] It grows as $e^{kt}$.
:::
:::
:::

::: check
kind: parts
given: r = 0.19 | 0.36 | 0.51 | 0.64 | 0.75 | 0.91

## Consider $\dot y = y^2 - 2y + \given{r}$.

::: part
answer: 1 - sqrt(1 - r)
tolerance: 0.5%

### Where is its stable equilibrium?

::: misses
- [1 + sqrt(1 - r)] There $f' = 2y - 2 > 0$.
- [any] The roots are $1 \pm \sqrt{1 - r}$.
:::
:::

::: part
answer: 1/(2*sqrt(1 - r))
tolerance: 0.5%

### What is its time constant?

::: misses
- [any] $|f'| = 2\sqrt{1 - r}$.
:::
:::
:::

::: check
kind: parts
given: A = 3 | 4; v0 = 0.001 | 0.01

## Near its balanced point, a latch obeys $\dot v = (\given{A} - 1)v$ (time in time constants).

::: part
answer: ln(1/v0)/(A - 1)
tolerance: 0.5%

### How long does an imbalance of {v0} take to grow to 1?

::: misses
- [ln(1/v0)] Divide by the growth rate $A - 1$.
- [any] $v_0e^{(A - 1)t} = 1$.
:::
:::
:::

::: check
kind: parts
given: y0 = 1 | 8 | 27

## $\dot y = -y^{1/3}$ starts at {y0}.

::: part
answer: 1.5*y0^(2/3)
tolerance: 0.5%

### When does it reach zero?

::: misses
- [any] Separate: $\frac32y^{2/3} = \frac32y_0^{2/3} - t$.
:::
:::

::: part
answer: (y0^(2/3) - 2/3)^1.5
tolerance: 0.5%

### What is $y$ at $t = 1$?

::: misses
- [any] $y = \left(y_0^{2/3} - \frac{2t}{3}\right)^{3/2}$.
:::
:::
:::
:::
