Sample MATH 255 questions
  1. Linear Systems and Phase Portraits · Problem · 5 marks

    Consider the nonhomogeneous system x′=(1221)x+(0−2et)\mathbf{x}'=\begin{pmatrix}1&2\\2&1\end{pmatrix}\mathbf{x}+\begin{pmatrix}0\\-2e^{t}\end{pmatrix}.

    1. Verify that xp(t)=et(10)\mathbf{x}_p(t)=e^{t}\begin{pmatrix}1\\0\end{pmatrix} is a solution. [1]

    2. Find the general solution of the homogeneous system x′=Ax\mathbf{x}'=A\mathbf{x}, and hence of the given system. [2]

    3. Solve the initial value problem with x(0)=(20)\mathbf{x}(0)=\begin{pmatrix}2\\0\end{pmatrix}. [1]

    4. As t→∞t\to\infty, which term of your solution dominates, and along which line does the solution point? [1]

    Show solution

    (a) xp′=et(1,0)T\mathbf{x}_p'=e^{t}(1,0)^T. Also Axp+f=et(1,2)T+(0,−2et)T=et(1,0)TA\mathbf{x}_p+\mathbf{f}=e^{t}(1,2)^T+(0,-2e^{t})^T=e^{t}(1,0)^T. They agree.

    (b) λ2−2λ−3=(λ−3)(λ+1)\lambda^2-2\lambda-3=(\lambda-3)(\lambda+1); λ=3\lambda=3 has v=(1,1)T\mathbf{v}=(1,1)^T and λ=−1\lambda=-1 has v=(1,−1)T\mathbf{v}=(1,-1)^T. So xh=c1e3t(1,1)T+c2e−t(1,−1)T\mathbf{x}_h=c_1e^{3t}(1,1)^T+c_2e^{-t}(1,-1)^T and the general solution of the given system is x=xh+xp\mathbf{x}=\mathbf{x}_h+\mathbf{x}_p.

    (c) c1(1,1)T+c2(1,−1)T+(1,0)T=(2,0)Tc_1(1,1)^T+c_2(1,-1)^T+(1,0)^T=(2,0)^T gives c1+c2=1c_1+c_2=1, c1−c2=0c_1-c_2=0, so c1=c2=12c_1=c_2=\tfrac12:

    x(t)=12e3t(11)+12e−t(1−1)+et(10). \mathbf{x}(t)=\tfrac12e^{3t}\begin{pmatrix}1\\1\end{pmatrix}+\tfrac12e^{-t}\begin{pmatrix}1\\-1\end{pmatrix}+e^{t}\begin{pmatrix}1\\0\end{pmatrix}.

    (d) The term 12e3t(1,1)T\tfrac12e^{3t}(1,1)^T dominates (the largest exponent), so the solution grows along the line y=xy=x.

  2. Nonlinear Systems and Stability · Multiple choice · 2 marks

    The pendulum equation θ′′+sin⁡θ=0\theta''+\sin\theta=0 is written as the system x′=y, y′=−sin⁡xx'=y,\ y'=-\sin x with x=θx=\theta, y=θ′y=\theta'. The linearisation at the equilibrium (π,0)(\pi,0) is

    1. a centre

    2. a stable spiral point

    3. a saddle point

    4. an unstable node

    Show solution

    Answer: (C)

    (C). J=(01−cos⁡x0)J=\begin{pmatrix}0&1\\-\cos x&0\end{pmatrix}, which at (π,0)(\pi,0) is (0110)\begin{pmatrix}0&1\\1&0\end{pmatrix} with det⁡J=−1<0\det J=-1<0 and eigenvalues ±1\pm1: a saddle (the pendulum balanced upside down). The centre is what the same computation gives at (0,0)(0,0), where cos⁡0=1\cos 0=1.

  3. Laplace Transforms · Problem · 4 marks

    A drug is infused into the blood between t=1t=1 and t=3t=3 hours, raising the concentration at the rate 44 mg/L per hour, and is eliminated at a rate proportional to the concentration c(t)c(t) (mg/L), with rate constant 22 per hour. Starting with no drug,

    c′+2c=4[u1(t)−u3(t)],c(0)=0. c'+2c=4\big[u_{1}(t)-u_{3}(t)\big],\qquad c(0)=0 .

    1. Find C(s)=L{c(t)}C(s)=\mathcal{L}\{c(t)\}. [1]

    2. Find c(t)c(t) and write it separately for 0≤t<10\le t<1, 1≤t<31\le t<3 and t≥3t\ge3. [2]

    3. What is the concentration at the moment the infusion stops, and what happens to it afterwards? [1]

    Show solution

    (a) (s+2)C=4(e−s−e−3s)s(s+2)C=\dfrac{4\left(e^{-s}-e^{-3s}\right)}{s}, so C(s)=4(e−s−e−3s)s(s+2)=2(e−s−e−3s)[1s−1s+2]C(s)=\dfrac{4\left(e^{-s}-e^{-3s}\right)}{s(s+2)}=2\left(e^{-s}-e^{-3s}\right)\left[\dfrac1s-\dfrac1{s+2}\right].

    (b) With h(t)=2(1−e−2t)h(t)=2\left(1-e^{-2t}\right), c(t)=u1(t)h(t−1)−u3(t)h(t−3)c(t)=u_{1}(t)h(t-1)-u_{3}(t)h(t-3):

    c(t)={0,0≤t<1,2(1−e−2(t−1)),1≤t<3,2(e−2(t−3)−e−2(t−1))=2(1−e−4)e−2(t−3),t≥3. c(t)=\begin{cases}0,&0\le t<1,\\ 2\left(1-e^{-2(t-1)}\right),&1\le t<3,\\ 2\left(e^{-2(t-3)}-e^{-2(t-1)}\right)=2\left(1-e^{-4}\right)e^{-2(t-3)},&t\ge3.\end{cases}
    (c) At t=3t=3, c(3)=2(1−e−4)≈1.96c(3)=2\left(1-e^{-4}\right)\approx1.96 mg/L, the peak. After that the drug is only eliminated, so cc decays exponentially to 00.

About MATH 255 practice exams

MATH 255 practice exams

Ordinary Differential Equations · University of British Columbia (UBC, UBC Vancouver) · also written MATH255

Make a free, printable MATH 255 practice exam: choose the topics, the length and the difficulty above, and get an exam-style PDF with a full answer key. Each paper draws on 150 original questions and skips the ones you have already seen.

Looking for MATH 255 past exams?

Start with the past exams and tests your instructor or the UBC library shares: they show what your course actually asks. Most courses only have a few, so once you have worked through them, make fresh MATH 255 practice exams here on the same topics, with full answer keys, as many as you need. The questions here are original, not copies of past exams.

Topics covered

  • Linear Systems and Phase Portraits · 50 questions
  • Nonlinear Systems and Stability · 50 questions
  • Laplace Transforms · 50 questions

More UBC courses

questionbank.dev is independent and not affiliated with University of British Columbia. Course codes only say which topics a paper covers; papers are original practice material, not past or upcoming exams.