Skip to content
The Lumenary

Each worksheet prints cleanly on A4 or Letter. Answer keys are on a separate page.

The Lumenary · Early undergraduate

Ordinary differential equations

Name: ______________________

Date: ______________________

You will learn to

  • Solve separable equations, first-order linear equations (by an integrating factor) and linear equations with constant coefficients
  • Solve linear systems x′=Axx' = Ax with the matrix exponential and eigenvalues, and classify planar phase portraits by trace and determinant
  • State and prove the Picard–Lindelöf theorem, and give examples of non-uniqueness and of finite-time blow-up when its conclusions or hypotheses fail
  • Analyse equilibria and their stability qualitatively, without solving the equation
  • Compare exact, qualitative and numerical solutions, and say what kind of evidence each provides
  1. 1.

    Carbon-14 decays according to x′=−kxx' = -kx, with a half-life of about 57305730 years. A piece of charcoal from an ancient hearth is 17 19017\,190 years old. Its carbon-14 content is 1/n1/n of the original amount. Find nn.

  2. 2.

    Solve y′+2y=4y' + 2y = 4 with y(0)=0y(0) = 0 using an integrating factor. What is lim⁡t→∞y(t)\lim_{t \to \infty} y(t)?

  3. 3.

    Which is the general real solution of y′′+2y′+5y=0y'' + 2y' + 5y = 0?

    • A.e−t(Acos⁡2t+Bsin⁡2t)e^{-t}\big(A\cos 2t + B\sin 2t\big)
    • B.Ae−t+Be2tAe^{-t} + Be^{2t}
    • C.et(Acos⁡2t+Bsin⁡2t)e^{t}\big(A\cos 2t + B\sin 2t\big)
    • D.(A+Bt)e−t(A + Bt)e^{-t}
  4. 4.

    Classify the equilibrium 00 of x′=Axx' = Ax for A=(1232)A = \begin{pmatrix} 1 & 2 \\ 3 & 2 \end{pmatrix}.

    • A.A saddle
    • B.An unstable node
    • C.An unstable spiral
    • D.A centre
  5. 5.

    For which initial value problems does the Picard–Lindelöf theorem guarantee a unique solution near t=0t = 0? (Select all that apply.)

    • A.x′=sin⁡x+t2x' = \sin x + t^2, x(0)=0x(0) = 0
    • B.x′=∣x∣x' = |x|, x(0)=0x(0) = 0
    • C.x′=∣x∣x' = \sqrt{|x|}, x(0)=0x(0) = 0
    • D.x′=x1/3x' = x^{1/3}, x(0)=0x(0) = 0
    • E.x′=x2x' = x^2, x(0)=1x(0) = 1
  6. 6.

    The solution of x′=x2x' = x^2 with x(0)=13x(0) = \tfrac13 blows up at a finite time T>0T > 0. Find TT.

  7. 7.

    In the uniqueness proof, u(t)=∣x(t)−y(t)∣u(t) = |x(t) - y(t)| satisfies u(t)≤K∫t0tu(s) dsu(t) \le K\int_{t_0}^t u(s)\,ds for t≥t0t \ge t_0, and U(t)=∫t0tuU(t) = \int_{t_0}^t u. Which step finishes the proof that u≡0u \equiv 0?

    • A.(e−K(t−t0)U)′≤0(e^{-K(t - t_0)}U)' \le 0 and U(t0)=0U(t_0) = 0, so U≤0U \le 0; with U≥0U \ge 0 this gives U≡0U \equiv 0, hence u≤KU=0u \le KU = 0.
    • B.Since u≤KUu \le KU and U≤KUU \le KU, dividing by UU gives K≥1K \ge 1, a contradiction.
    • C.Differentiate u≤KUu \le KU to get u′≤Kuu' \le Ku, so uu is a decaying exponential.
    • D.Use the Picard iterates: they converge, so the solution is unique.
  8. 8.

    Which Lean statement says that x:R→Rx : \R \to \R solves the differential equation x′=a xx' = a\,x at every time?

    • A.∀ t, HasDerivAt x (a * x t) t
    • B.HasDerivAt x (a * x 0) 0
    • C.∀ t, x t = a * x t
    • D.∀ t, HasDerivAt (fun s => a * x s) (x t) t
  9. 9.

    Write euler(f, t0, x0, t1, n) implementing Euler's method xk+1=xk+hf(tk,xk)x_{k+1} = x_k + h f(t_k, x_k) with nn equal steps of size h=(t1−t0)/nh = (t_1 - t_0)/n, returning the approximation of x(t1)x(t_1). Check that for x′=xx' = x, x(0)=1x(0) = 1 it returns (1+1/n)n(1 + 1/n)^n, and that doubling nn roughly halves the error.

    Computational — Practice

Code: Apache-2.0 · Content: CC BY-SA 4.0