Final 2015 Soln
Final 2015 Soln
Signature
Circle Section: 101 Zhao 102 Tsai 103 Kolokolnikov 104 Zhao
(ry)0 = 3x5 r
Z x
x3 3
e y(x) = 8 + 3x5 ex dx
0
Marking. 2pt for Integration factor. 2pt for integral formula, 2pt for final answer.
ln(1 + y) = t − t2 + c.
Marking. 1pt for rewriting, 2pt for integration, 2pt for constant c, 1pt for final answer.
No penalty for not checking sign of ln.
December 2015 Math 215/255 Sections 101–104 Final Exam Page 3 of 14
Answer. We have
x axp
M = x2 y 3 + ; N = x3 y 2 + 2 + sin y
y y
x apxp−1
My = 3x2 y 2 − 2 , Nx = 3x2 y 2 +
y y2
Equating My = Nx we must have p − 1 = 1, ap = −1 so that p = 2, a = − 21 so that the
solution is φ(x, y) = C where
x 1 x2
φx = x2 y 3 + , φy = x3 y 2 − + sin y.
y 2 y2
Then
1 x2
Z
1
φ = φx dx = x3 y 3 + + F (y);
3 2 y
1 x2 0 1 x2
φy = x3 y 2 − + F (y) = x 3 2
y − + sin y
2 y2 2 y2
F 0 (y) = sin y
F (y) = − cos y
Answer.
x0 = 2,
x1 = 2 + 0.5 22 − 2 = 3,
So
x (3) ≈ 6.25.
Marking. 1 pt each for right formula, x0, x1, x2. Full marks if correct answer
regardless of intermediate steps. Deduct one pt for any arithmetic mistakes
December 2015 Math 215/255 Sections 101–104 Final Exam Page 4 of 14
Marking. 3pts for general soln, 3pts for correct final answer. Deduct 1pt for each
arithmetic mistake.
2x00 + x0 + x = sin(t)
−2A − B + A = 1, −2B + A + B = 0
so that
A = B, B = −1/2
so that
1
x = − (sin t + cos t)
2
Marking. 2pt for anzatz form, 2pts for linear system for A,B, 2pt for correct A,B.
Deduct 1pt for each arithmetic mistake. Full marks for right answer regardless of
method used.
December 2015 Math 215/255 Sections 101–104 Final Exam Page 5 of 14
(8 points) 4. Let x(t) be the deviation from the equilibrium position of a spring. It has spring constant k,
mass m, and there is a friction force −cx0 that acts on it. Then x(t) is modelled by the ODE
mx00 + cx0 + kx = 0.
(a) Suppose the friction is negligible (c ≈ 0) and the spring constant is k = 1. It is known
that the spring is oscillating with frequency of 0.5 hertz (i.e. 0.5 full periods per second).
Determine the mass m of the spring.
Answer.
p Forp
c = 0, the solution is of the form x = A sin (ωt + Φ) where
ω = k/m = 1/m. Half hertz means that ω = 0.5 ∗ 2π. so that 1/m = π 2 , or
m = 1/π 2
10
mr2 + cr + k = 0,
−c i p
r= ± 4mk − c2
2m 2m
so that
c 1 p
x = Ae− 2m t sin (ωt + Φ) where ω = 4mk − c2 .
2m
Decay rate means that
c 1
e− 2m 20 =
2
2m ln 2
so that c = 20 ln 2 = 10π 2
. (c ≈ 0.0070)
Marking. 2 points for correct amplitude formula (i.e. e−ct/2/m ) and 2 pts for right
answer.
December 2015 Math 215/255 Sections 101–104 Final Exam Page 6 of 14
s
(6 points) 5. (a) Find the inverse Laplace transform of the function F (s) = .
(s + 2)[(s + 2)2 + 1]
So we get
s − 2 = A(s2 + 1) + s(Bs + C) = (A + B)s2 + Cs + A.
So we have
A + B = 0, C = 1, A = −2.
So
L−1 [F (s)](t) = e−2t [−2 + 2 cos(t) + sin(t)] .
Marking. 1pt for the first shifting property, 3pt for partial fraction, 2pt for the answer.
December 2015 Math 215/255 Sections 101–104 Final Exam Page 7 of 14
t, if 0 ≤ t < 2,
(6 points) (b) Find the Laplace transform of the function f (t) = 2 if 2 ≤ t < 3,
1, if t ≥ 3.
f (t) = t[u(t − 0) − u(t − 2)] + 2[u(t − 2) − u(t − 3)] + 1[u(t − 3) − u(t − ∞)]
= t − tu(t − 2) + 2u(t − 2) − 2u(t − 3) + u(t − 3)
= t − (t − 2)u(t − 2) − u(t − 3).
(8 points) 6. Use the Laplace transform to solve the following initial value problem:
Answer. Let Y (s) = L[y(t)](s), apply the Laplace transform on the both sides of
y 00 + 6y 0 + 10y = δ(t − 2), then L[y 00 ] + 6L[y 0 ] + 10L[y] = L[δ(t − 2)]. By the transform of
derivatives, since y(0) = 1 and y 0 (0) = 1, then
L[y 00 ] = s2 L[y] − sy(0) − y 0 (0) = s2 Y (s) − s − 1, and L[y 0 ] = sL[y] − y(0) = sY (s) − 1.
So we get
s + 7 + e−2s s+7 e−2s
Y (s) = = + .
s2 + 6s + 10 s2 + 6s + 10 s2 + 6s + 10
Notice that s2 + 6s + 10 = (s + 3)2 + 1, by the first and second shifting properties, we have
Marking. 3pt for Y (s), 1 pt for completing square, 2pt for the first inverse, 2 pt for the
second inverse
December 2015 Math 215/255 Sections 101–104 Final Exam Page 9 of 14
1 −2
(8 points) 7. Find the general solution to the homogeneous linear system ~x0 = ~x.
1 3
1 −2
Answer. Let’s find eigenvalues of , then we solve
1 3
1 − λ −2
det = (1 − λ)(3 − λ) + 2 = λ2 − 4λ + 5 = 0.
1 3−λ
So we get
λ1 = 2 + i, λ2 = 2 − i.
So we get
−1 − i −2 x1 0
= .
1 1−i x2 0
i−1
So we get x1 + (1 − i)x2 = 0, that is, x1 = (i − 1)x2 . So we take be one
1
i−1
corresponding eigenvector for λ1 = 2 + i. Hence e(2+i)t is a solution to the system
1
1 −2
~x0 = ~x. Notice that
1 3
(i − 1)e(2+i)t
i−1
e(2+i)t =
1 e(2+i)t
(i − 1)e2t [cos(t) + i sin(t)]
=
e2t [cos(t) + i sin(t)]
ie2t cos(t) − e2t sin(t) − e2t cos(t) − ie2t sin(t)
=
e2t cos(t) + ie2t sin(t)
−e2t sin(t) − e2t cos(t)
2t
e cos(t) − e2t sin(t)
= +i .
e2t cos(t) e2t sin(t)
1 −2
So the general solution to the homogeneous linear system ~x0 = ~x is:
1 3
Marking. 4pt for eigenvalues and eigenvectors, 3pt for finding real and imaginary pats, 1 pt
for the answer
December 2015 Math 215/255 Sections 101–104 Final Exam Page 10 of 14
x0 = 3x − 2y
(7 points) 8. Describe the behaviour of the homogeneous linear system , and sketch the
y 0 = 2x − 2y
phase portrait. Identify the eigenvectors on the phase portrait.
3 −2
Answer. Let A = , first let’s find eigenvalues of A, then we need to solve
2 −2
3−λ −2
det(A − λI2 ) = det = (3 − λ)(−2 − λ) + 4 = λ2 − λ − 2 = 0
2 −2 − λ
So A has eigenvalues:
λ1 = 2 > 0, λ2 = −1 < 0.
Marking. 4pt for finding eigenvalues and eigenvectors, 1pt for saddle point, 2 pt for the
graph
December 2015 Math 215/255 Sections 101–104 Final Exam Page 11 of 14
2t 2t
2 1 e cos t e sin t
(8 points) 9. Let A = . It is known that x1 = and x2 = are two
−1 2 −e2t sin t e2t cos t
solutions to the system x0 = Ax. Use this information to solve the following initial value
problem:
0
0
x0 = Ax + e2t , x(0) = .
0
cos t
Z Z
sin t cos t
Hint: dt = − log(cos t), dt = log(sin t).
cos t sin t
Marking. 2pt for X, 2pt for X −1 , 2pt for integral, 1pt for x = Xu, 1pt for answer.
December 2015 Math 215/255 Sections 101–104 Final Exam Page 12 of 14
(2 points) (a) Convert the equation to a first order nonlinear system of two variables.
x0 = y
y 0 = −f (x) − y
(2 points) (b) Find the critical points of the first order system from (a).
Answer. We have x0 = y 0 = 0., thus y = f (x) = 0, x = −1, 0, 2. The critical points are
(2 points) (c) Find the Jacobian matrix for the first order system from (a).
Answer.
0 1 0 1
J= =
−f 0 (x) −1 −3x2 + 2x + 2 −1
December 2015 Math 215/255 Sections 101–104 Final Exam Page 13 of 14
.............................................................................................
1 0 3
J(0, 0) = , λ = 1,
0 34 4
Marking. 2pt for correct Jacobian, 2pt for each critical point
December 2015 Math 215/255 Sections 101–104 Final Exam Page 14 of 14
Variation of parameters
• Let y1 (x) and y2 (x) be two linearly independent solutions of y 00 + p(x)y 0 + q(x)y = 0, then a
particular solution to y 00 + p(x)y 0 + q(x)y = f (x) can be
yp (x) = u1 (x)y1 (x) + u2 (x)y2 (x),
where u1 (x) and u2 (x) satisfy
y1 (x)u01 (x) + y2 (x)u02 (x) = 0,
y10 (x)u01 (x) + y20 (x)u02 (x) = f (x).
• Let X(t) be any fundamental matrix of ~x0 = A(t)~x. A particular solution to ~x0 = A~x + f~ is
Z t
~xp (t) = X(t) [X(s)]−1 f~(s) ds.
The solution to the initial value problem ~x0 = A~x + f~ and ~x(0) = ~x0 is
Z t
~x(t) = X(t)[X(0)] ~x0 + X(t) [X(s)]−1 f~(s) ds.
−1
0