Sample MATH 218 questions
  1. Separable and Linear First-Order Equations · Short answer · 1 mark

    Solve y′+2y=6y' + 2y = 6, y(0)=1\ y(0) = 1.

    y(x)=y(x) =    

    Show solution

    Answer: 3−2e−2x3 - 2e^{-2x}

    With μ=e2x\mu = e^{2x}: (e2xy)′=6e2x(e^{2x}y)' = 6e^{2x}, so e2xy=3e2x+Ce^{2x}y = 3e^{2x} + C and y=3+Ce−2xy = 3 + Ce^{-2x}. The condition y(0)=1y(0)=1 gives C=−2C=-2, so y=3−2e−2xy = 3 - 2e^{-2x}.

  2. Exact Equations and Substitutions · Multiple choice · 2 marks

    An integrating factor of y dx+(3x−y) dy=0y\,dx + (3x-y)\,dy = 0 that depends on yy alone is

    1. μ(y)=y\mu(y)=y

    2. μ(y)=e2/y\mu(y)=e^{2/y}

    3. μ(y)=y2\mu(y)=y^2

    4. μ(y)=y−2\mu(y)=y^{-2}

    Show solution

    Answer: (C)

    My=1M_y=1 and Nx=3N_x=3, so Nx−MyM=2y\dfrac{N_x-M_y}{M}=\dfrac{2}{y}, a function of yy alone, and μ′/μ=2/y\mu'/\mu=2/y gives μ=y2\mu=y^2. Check: y3 dx+(3xy2−y3) dyy^3\,dx+(3xy^2-y^3)\,dy has My=3y2=NxM_y=3y^2=N_x. Using 1/y1/y for the logarithmic derivative gives μ=y\mu=y; exponentiating 2/y2/y instead of integrating it gives e2/ye^{2/y}; reversing the sign of the quotient gives y−2y^{-2}.

  3. Homogeneous Linear Equations · Short answer · 2 marks

    Find the largest interval on which a unique solution of

    y′′+(tan⁡t) y′+1t−3 y=0,y(2)=0,y′(2)=1 y''+(\tan t)\,y'+\frac{1}{t-3}\,y=0,\qquad y(2)=0,\quad y'(2)=1
    is guaranteed to exist.

    Interval:    

    Show solution

    Answer: (π2, 3)\left(\tfrac\pi2,\,3\right)

    tan⁡t\tan t is continuous except at t=π2+kπt=\tfrac\pi2+k\pi, and 1/(t−3)1/(t-3) except at t=3t=3. The initial point t=2t=2 lies between π/2≈1.57\pi/2\approx1.57 and 33 (the next singularity of tan⁡\tan is 3π/2≈4.713\pi/2\approx4.71), so the largest interval is (π2,3)\left(\tfrac\pi2,3\right).

  4. Nonhomogeneous Equations · Multiple choice · 2 marks

    The homogeneous equation y′′+4y=0y''+4y=0 has solutions cos⁡2t\cos 2t and sin⁡2t\sin 2t. For which of the following forcing terms g(t)g(t) does the equation y′′+4y=g(t)y''+4y=g(t) require an extra factor of tt in the form of ypy_p? Select all that apply.

    1. g(t)=5cos⁡2tg(t)=5\cos 2t

    2. g(t)=e−2tg(t)=e^{-2t}

    3. g(t)=4sin⁡2t+tg(t)=4\sin 2t+t

    4. g(t)=sin⁡4tg(t)=\sin 4t

    Show solution

    Answer: (A, C)

    The extra factor of tt is needed exactly when part of gg duplicates a solution of the homogeneous equation, that is, when gg contains cos⁡2t\cos 2t or sin⁡2t\sin 2t. This happens for 5cos⁡2t5\cos 2t and for 4sin⁡2t+t4\sin 2t+t (the term tt is harmless but the sine duplicates). The function e−2te^{-2t} is not a homogeneous solution (the roots are ±2i\pm 2i), and sin⁡4t\sin 4t has frequency 44, not 22, so neither is resonant.

  5. Linear Systems and Phase Portraits · Problem · 3 marks

    Consider x′=Ax\mathbf{x}'=A\mathbf{x} with A=(4−36−5)A=\begin{pmatrix}4&-3\\6&-5\end{pmatrix}.

    1. Find the eigenvalues of AA and an eigenvector for each. [1]

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

    3. Name the type of the origin and say whether it is stable. [1]

    Show solution

    (a) det⁡(A−λI)=λ2+λ−2=(λ−1)(λ+2)\det(A-\lambda I)=\lambda^2+\lambda-2=(\lambda-1)(\lambda+2). For λ=1\lambda=1, (3−36−6)v=0\begin{pmatrix}3&-3\\6&-6\end{pmatrix}\mathbf{v}=\mathbf{0} gives v1=(1,1)T\mathbf{v}_1=(1,1)^T. For λ=−2\lambda=-2, (6−36−3)v=0\begin{pmatrix}6&-3\\6&-3\end{pmatrix}\mathbf{v}=\mathbf{0} gives v2=(1,2)T\mathbf{v}_2=(1,2)^T.

    (b) x=c1et(1,1)T+c2e−2t(1,2)T\mathbf{x}=c_1e^{t}(1,1)^T+c_2e^{-2t}(1,2)^T. At t=0t=0: c1+c2=1c_1+c_2=1 and c1+2c2=0c_1+2c_2=0, so c2=−1c_2=-1, c1=2c_1=2 and

    x(t)=2et(11)−e−2t(12)=(2et−e−2t2et−2e−2t). \mathbf{x}(t)=2e^{t}\begin{pmatrix}1\\1\end{pmatrix}-e^{-2t}\begin{pmatrix}1\\2\end{pmatrix}=\begin{pmatrix}2e^{t}-e^{-2t}\\2e^{t}-2e^{-2t}\end{pmatrix}.

    (c) The eigenvalues 11 and −2-2 have opposite signs (det⁡A=−2<0\det A=-2<0): a saddle, unstable.

About MATH 218 practice exams

MATH 218 practice exams

Differential Equations for Engineers · University of Waterloo (Waterloo, UWaterloo, UW) · also written MATH218

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

Looking for MATH 218 past exams?

Start with the past exams and tests your instructor or the Waterloo 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 218 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
  • Exact Equations and Substitutions · 50 questions
  • Homogeneous Linear Equations · 50 questions
  • Nonhomogeneous Equations · 50 questions
  • Laplace Transforms · 50 questions
  • Linear Systems and Phase Portraits · 50 questions

More Waterloo courses

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