Sample MATH 215 questions
  1. Separable and Linear First-Order Equations · Problem · 5 marks

    Consider the initial value problem

    y′=3x2+4x+22(y−1),y(0)=−1. y' = \frac{3x^2 + 4x + 2}{2(y-1)}, \qquad y(0) = -1.

    1. Solve it, giving yy explicitly. [3]

    2. Find the interval on which the solution is valid, and say what happens at the left endpoint. [2]

    Show solution

    (a) Separate: 2(y−1) dy=(3x2+4x+2) dx2(y-1)\,dy = (3x^2+4x+2)\,dx, so (y−1)2=x3+2x2+2x+C(y-1)^2 = x^3 + 2x^2 + 2x + C. Using y(0)=−1y(0)=-1: 4=C4 = C. Since y(0)−1=−2<0y(0)-1=-2<0, take the negative root:

    y=1−x3+2x2+2x+4. y = 1 - \sqrt{x^3 + 2x^2 + 2x + 4}.

    (b) The square root needs x3+2x2+2x+4=(x+2)(x2+2)>0x^3+2x^2+2x+4 = (x+2)(x^2+2) > 0, and the factor x2+2x^2+2 is always positive, so we need x>−2x>-2. The interval is −2<x<∞-2<x<\infty. At x=−2x=-2 the solution reaches y=1y=1, where the denominator of the equation is 00: the slope becomes infinite (a vertical tangent), so the solution cannot be continued past x=−2x=-2.

  2. Homogeneous Linear Equations · Multiple choice · 2 marks

    For which values of α\alpha does every solution of y′′+αy′+4y=0y''+\alpha y'+4y=0 tend to 00 as t→∞t\to\infty, and no nonzero solution have infinitely many zeros?

    1. α≥4\alpha\ge4

    2. α>4\alpha>4

    3. 0<α<40<\alpha<4

    4. α>0\alpha>0

    Show solution

    Answer: (A)

    The roots of r2+αr+4r^2+\alpha r+4 are 12(−α±α2−16)\tfrac12(-\alpha\pm\sqrt{\alpha^2-16}). Solutions oscillate infinitely often exactly when the roots are complex (∣α∣<4|\alpha|<4), so we need α2≥16\alpha^2\ge16; and decay needs negative real parts, so α>0\alpha>0. Together α≥4\alpha\ge4. The boundary α=4\alpha=4 must be included: the repeated root −2-2 gives (c1+c2t)e−2t(c_1+c_2t)e^{-2t}, which decays and has at most one zero.

  3. Linear Systems and Phase Portraits · Short answer · 2 marks

    Find the eigenvalues of A=(01−2−3)A=\begin{pmatrix}0&1\\-2&-3\end{pmatrix} and an eigenvector for each.

    λ1=\lambda_1=    , v1=\mathbf{v}_1=     λ2=\lambda_2=    , v2=\mathbf{v}_2=    

    Show solution

    Answer: −1-1; (1−1)\begin{pmatrix}1\\-1\end{pmatrix}; −2-2; (1−2)\begin{pmatrix}1\\-2\end{pmatrix}

    det⁡(A−λI)=λ2+3λ+2=(λ+1)(λ+2)\det(A-\lambda I)=\lambda^2+3\lambda+2=(\lambda+1)(\lambda+2). For λ=−1\lambda=-1: (11−2−2)v=0\begin{pmatrix}1&1\\-2&-2\end{pmatrix}\mathbf{v}=\mathbf{0} gives v=(1,−1)T\mathbf{v}=(1,-1)^T. For λ=−2\lambda=-2: (21−2−1)v=0\begin{pmatrix}2&1\\-2&-1\end{pmatrix}\mathbf{v}=\mathbf{0} gives v=(1,−2)T\mathbf{v}=(1,-2)^T (any nonzero multiples are fine).

  4. Laplace Transforms · Problem · 5 marks

    Let gg be a continuous function of exponential order, and consider

    y′′+y=g(t),y(0)=0,y′(0)=0. y''+y=g(t),\qquad y(0)=0,\quad y'(0)=0 .

    1. Take Laplace transforms and use the convolution theorem to show that y(t)=∫0tsin⁡(t−τ) g(τ) dτy(t)=\displaystyle\int_0^t\sin(t-\tau)\,g(\tau)\,d\tau. [1]

    2. Evaluate this integral for g(t)=e−tg(t)=e^{-t}. [2]

    3. Without using Laplace transforms, differentiate the integral in (a) twice (Leibniz’s rule) to verify that it satisfies the equation and both initial conditions. [2]

    Show solution

    (a) (s2+1)Y=G(s)(s^{2}+1)Y=G(s), so Y=1s2+1 G(s)=L{sin⁡t} L{g}Y=\dfrac{1}{s^{2}+1}\,G(s)=\mathcal{L}\{\sin t\}\,\mathcal{L}\{g\}, and the convolution theorem gives y=(sin⁡∗g)(t)=∫0tsin⁡(t−τ)g(τ) dτy=(\sin*g)(t)=\int_0^t\sin(t-\tau)g(\tau)\,d\tau.

    (b) ∫0tsin⁡(t−τ)e−τdτ=12(e−t+sin⁡t−cos⁡t)\int_0^t\sin(t-\tau)e^{-\tau}d\tau=\tfrac12\left(e^{-t}+\sin t-\cos t\right). (Integrate by parts twice, or use sin⁡(t−τ)=sin⁡tcos⁡τ−cos⁡tsin⁡τ\sin(t-\tau)=\sin t\cos\tau-\cos t\sin\tau and ∫0te−τcos⁡τ dτ=12(1+e−t(sin⁡t−cos⁡t))\int_0^te^{-\tau}\cos\tau\,d\tau=\tfrac12(1+e^{-t}(\sin t-\cos t)), ∫0te−τsin⁡τ dτ=12(1−e−t(sin⁡t+cos⁡t))\int_0^te^{-\tau}\sin\tau\,d\tau=\tfrac12(1-e^{-t}(\sin t+\cos t)).)

    (c) y′(t)=sin⁡(0) g(t)+∫0tcos⁡(t−τ)g(τ) dτ=∫0tcos⁡(t−τ)g(τ) dτy'(t)=\sin(0)\,g(t)+\int_0^t\cos(t-\tau)g(\tau)\,d\tau=\int_0^t\cos(t-\tau)g(\tau)\,d\tau, and y′′(t)=cos⁡(0) g(t)−∫0tsin⁡(t−τ)g(τ) dτ=g(t)−y(t)y''(t)=\cos(0)\,g(t)-\int_0^t\sin(t-\tau)g(\tau)\,d\tau=g(t)-y(t). Thus y′′+y=gy''+y=g. Also y(0)=0y(0)=0 and y′(0)=0y'(0)=0 because the integrals over [0,0][0,0] vanish.

  5. Nonlinear Systems and Stability · Problem · 5 marks

    A predator–prey system is x′=x(3−y), y′=y(x−2)x'=x(3-y),\ y'=y(x-2) for x,y>0x,y>0.

    1. Find the equilibrium with x,y>0x,y>0. [1]

    2. Find the eigenvalues of the Jacobian matrix there. Why can the linearisation not tell us whether the nonlinear system has closed solution curves? [2]

    3. Show that H(x,y)=x−2ln⁡x+y−3ln⁡yH(x,y)=x-2\ln x+y-3\ln y is constant along solutions. [1]

    4. Show that HH has a strict local minimum at the equilibrium, and conclude what the solution curves near it look like. [1]

    Show solution

    (a) x′=0x'=0 with x>0x>0 gives y=3y=3; y′=0y'=0 with y>0y>0 gives x=2x=2: the equilibrium is (2,3)(2,3).

    (b) J=(3−y−xyx−2)=(0−230)J=\begin{pmatrix}3-y&-x\\y&x-2\end{pmatrix}=\begin{pmatrix}0&-2\\3&0\end{pmatrix} at (2,3)(2,3), so λ2+6=0\lambda^2+6=0 and λ=±i6\lambda=\pm i\sqrt6. Purely imaginary eigenvalues are the borderline case: the linearisation has a centre, but small nonlinear terms can turn a centre into a spiral, so the linearisation alone does not decide.

    (c) H˙=(1−2x)x(3−y)+(1−3y)y(x−2)=(x−2)(3−y)+(y−3)(x−2)=0\dot H=\bigl(1-\tfrac2x\bigr)x(3-y)+\bigl(1-\tfrac3y\bigr)y(x-2)=(x-2)(3-y)+(y-3)(x-2)=0.

    (d) Hx=1−2x=0H_x=1-\tfrac2x=0 and Hy=1−3y=0H_y=1-\tfrac3y=0 at (2,3)(2,3), and Hxx=2x2=12>0H_{xx}=\tfrac2{x^2}=\tfrac12>0, Hyy=3y2=13>0H_{yy}=\tfrac3{y^2}=\tfrac13>0, Hxy=0H_{xy}=0. So HH has a strict local minimum, its level curves near (2,3)(2,3) are closed curves around it, and solutions stay on level curves: they are closed periodic orbits (a nonlinear centre).

About MATH 215 practice exams

MATH 215 practice exams

Elementary Differential Equations I · University of British Columbia (UBC, UBC Vancouver) · also written MATH215

Make a free, printable MATH 215 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 350 original questions and skips the ones you have already seen.

Looking for MATH 215 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 215 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

  • Separable and Linear First-Order Equations · 50 questions
  • Homogeneous Linear Equations · 50 questions
  • Nonhomogeneous Equations · 50 questions
  • Linear Systems and Phase Portraits · 50 questions
  • Laplace Transforms · 50 questions
  • Modelling, Existence and Autonomous Equations · 50 questions
  • Nonlinear Systems and Stability · 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.