














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















Name:
Problem 1: / 10
Problem 2: / 20
Problem 3: / 25
Problem 4: / 15
Problem 5: / 20
Problem 6: / 25
Problem 7: / 10
Problem 8: / 35
Problem 9: / 40
Problem 10: / 10 Extra credit
Total: / 200
Instructions: Please write your name at the top of every page of the exam. The exam is closed book, closed notes, and calculators are not allowed. You will have approximately 3 hours for this exam. The point value of each problem is written next to the problem – use your time wisely. Please show all work, unless instructed otherwise. Partial credit will be given only for work shown.
You may use either pencil or ink. If you have a question, need extra paper, need to use the restroom, etc., raise your hand.
Date : Spring 2004. 1
Table of Laplace Transforms
y(t) Y (s) = L[y(t)]
y(n)(t) snY (s) − (y(n−1)(0) + · · · + sn−^1 y(0))
tn n!/sn+
tny(t) (−1)nY (n)(s)
cos(ωt) s/(s^2 + ω^2 )
sin(ωt) ω/(s^2 + ω^2 )
eaty(t) Y (s − a)
y(at), a > (^0) a^1 Y (s/a)
S(t − t 0 )y(t − t 0 ), t 0 ≥ 0 e−st^0 Y (s)
δ(t − t 0 ), t 0 ≥ 0 e−st^0
(S(t)y) ∗ (S(t)z) Y (s)Z(s)
1 �^ T
Name: Problem 1, contd.
(b)(5 points) Introduce new variables v 1 = x� 1 and v 2 = x 2 �^. Find a system of 1st^ order linear ODEs satisfied by x 1 , v 1 , x 2 and v 2 of the form, ⎡ ⎤ ⎡ ⎤ x� 1 x 1 ⎢ ⎢ ⎣
v� 1 x� 2
v 1 x 2
v� 2 v 2
In other words, find the matrix B.
Solution: By definition, x� 1 ⎧ ⎪⎪⎪ ⎪⎪⎪ ⎪⎪⎨
= v 1 and x� 2 = v 2. Therefore v� 1 = x�� 1 and v� 2 = x�� 2. From part (a), x� 1 = v 1
v� 1 = − 3 ω^2 x 1 + 2 ω^2 x 2
x� 2 = v 2
v� 2 = 2 ω^2 x 1 + − 3 ω^2 x 2
⎤ ⎡ ⎤⎡ ⎤
Therefore, ⎡ x� 1 0 1 0 0 x 1 ⎢⎢ ⎣
v 1 � x� 2
− 3 ω^2 0 2 ω^2 0
v 1 x 2
v 2 �^2 ω^2 0 − 3 ω^2 0 v 2
Extra credit(2 points) What is the relationship of pA(λ) and pB (λ)?
Solution: It can be computed directly that,
pB (λ) = λ^4 + 6λ^2 + 5 = pA(λ^2 ).
Another method is to observe that pB 2 (λ^2 ) = pB (λ)pB (−λ). With respect to the ordered basis (x 2 , x 2 , v 1 , v 2 ), the matrix for B^2 is the block matrix,
B^2
Therefore, pB 2 (λ) = (pA(λ))^2. Therefore,
pB (λ)pB (−λ) = (pA(λ^2 ))^2.
For the pair of matrices A and B above, pB (λ) = pB (−λ) so that pB (λ) = pA(λ^2 ).
Name: Problem 2: / 20
Problem 2(20 points) Consider the ODE,
y(t)�^ +
y(t) = 3e−t
(^3) / 3 , t > 0 t
(a)(5 points) Find an integrating factor.
Solution: An integrating factor u(t) is a solution of the separable ODE,
2 du dt u�^ = u, = 2. t u t
Therefore u = At^2. Setting A = 1, u(t) = t^2 is an integrating factor.
(b)(10 points) Find the general solution.
Solution: Multiplying both sides of the equation by the integrating factor,
(t y^2 (t))�^ = 3t e^2 −t^3 /^3 dt.
Antidifferentiating both sides,
t y^2 (t) = 3 t e^2 −t^3 /^3 dt.
Substituting v = −t^3 /3, dv = −t^2 dt, this is,
t y^2 (t) = − 3 evdv = − 3 ev^ + C = − 3 e−t^3 /^3 + C.
Therefore the general solution is,
y(t) = t
2 (−^3 e
−t^3 / (^3) + C).
(c)(5 points) Find the unique solution that has an extension to a continuous function on [0, ∞).
Solution: The issue is continuity at 0. Unless C = 3, y(t) diverges as t →0. If C = 3, then
t^3 lim = lim = 0.
3 − 3 e−t^3 /^3 = lim
3 − 3(1 − t^3 /3 + t^6 /18 +... ) t → 0 t^2 t → 0 t^2 t → 0 t^2 So the unique solution is,
y(t) = t
2 (−^3 e
−t^3 / (^3) + 3).
Name: Problem 3, contd.
(b)(15 points) Use variation of parameters to find a particular solution of the inhomogeneous ODE,
2 t 1 y��^ + t^2 − 4
y�^ − 16 (t^2 − 4)^2
y = 1.
Solution: By the method of variation of parameters, a particular solution is, t yp(t) = K(s, t)f (s)ds, 0 where K(s, t) is the Green’s kernel,
K(s, t) = (y 1 (s)y 2 (t) − y 1 (t)y 2 (s))/W y 1 , y 2
2 = − s^8 − 4 ss−+2^2 tt+2− 2 − tt−+2^2 ss+2− 2
= 18 (s + 2)^2 tt−+2^2 − (s − 2)^2 tt−+2 2.
Of course f (s) = 1. Therefore a particular solution is,
1 t t+2 −^ (s^ −^ 2) (s + 2)^2 t−^22 t+ yp(t) = (^8 0) t− 2 ds
= 241 t t−+2^2 (s + 2)^3 t 0 − 241 tt+2− 2 (s − 2)^3 t 0
24 (t^ −^ 2)(t^ + 2)((t^ + 2)^ −^ (t^ −^ 2))^ −^3 y^1 (t) +^3 y^2 (t). Therefore, a particular solution is, (^1 ) yp(t) = 6
(t − 4).
Name: Problem 4: / 15
Problem 4(15 points) Using the method of undetermined coefficients and the exponential shift rule, find a particular solution of the inhomogeneous linear 2nd^ order ODE,
y��^ + 5y�^ + 6y = − 4 te−^3 t^.
Solution: In operator form, this is,
(D^2 + 5D + 6)y(t) = − 4 te−^3 t^.
The guess is that a particular solution is of the form y(t) = e−^3 tg(t). By the exponential shift rule,
(D^2 + 5D + 6)e−^3 t^ g(t) = e−^3 t((D − 3)^2 + 5(D − 3) + 6)g(t) = (D^2 − D)g(t).
Therefore, (D^2 − D)g(t) = − 4 t.
By the method of undetermined coefficients, g(t) is a general degree 2 polynomial,
g(t) = a 2 t^2 + a 1 t + a 0.
Plugging in, (D^2 − D)g(t) = (− 2 a 2 )t + (2a 2 − a 1 ).
Therefore a solution is, a 2 = 2, a 1 = 4, and a 0 = 0 (or any constant actually). So a particular solution is, yp(t) = (2t^2 + 4t)e−^3 t^.
Name: Problem 5, contd.
(b)(10 points) An orthonormal basis for the even periodic functions of period 4 is,
φ 0 (t) =
, φn(t) =
cos(nπt/2), n = 1 , 2 , 3 ,...
Compute the Fourier coefficients, � (^2) an = � f , φ� n� = f� (t)φn(t)dt, − 2
and express your answer as a Fourier cosine series, ∞ f (t) n=
Don’t forget to compute a 0.
Solution: First of all,
a 0 an √ 2
= + cos(nπt/2). 2
1 t^2 a 0 = 2 f (t)dt = t + 1dt = 0
For each integer n > 0, � (^2) an = 2 √
f (t) cos(nπt/2)dt =
(t + 1) cos(nπt/2)dt. 0 0
Of course, � (^2 ) 2 cos(nπt/2)dt = sin(nπt/2) = 0. 0 nπ 0 Compute, � (^2) t cos(nπt/2)dt, 0 using integration by parts,
u = t, dv = cos(nπt/2)dt
du = dt, v = (^) nπ^2 sin(nπt/2)
So, � (^2) 0 t^ cos(nπt/2)=^ udv^ =^ uv^ −^ vdu^ = 2 �^2 0 −^0
2 nπ
2 t sin(nπt/2) (^) nπ sin(nπt/2)dt=
4 2 0 + (^) n (^2) π 2 cos(nπt/2) 0
24 π^2 ((−1)
n (^) − 1). n
Therefore,
4
an = (^2) π^2
((−1)n^ − 1). n
In particular, an = 0 if n is even. And if n is odd, then,
− 8
an =. n^2 π^2 Therefore the Fourier cosine series is,
8 �∞^1 FCS[ f�] = 2 − π^2 (2m + 1)^2
cos((2m + 1)πt/2). m=
Extra credit(3 points) Plug in t = 0 to get a formula for the series,
�^ ∞ (^1) . m=0^ (2m^ + 1)^2
Solution: Because f�(t) is continuous and piecewise continuously differentiable, the Fourier cosine series converges pointwise to f�(t). In particular, f�(t) = 1. Therefore,
8 �∞^1 1 = FCSf = 2 − π^2 (2m + 1)^2
m=
Solving for the series gives, � (^1) π^2 =.
∞
m=0^ (2m^ + 1)^2
Name: Problem 6, contd.
(c)(10 points) Find y(t) by computing the inverse Laplace transform.
Solution: First of all, if L−^1 [Z(s)] = z(t), then L−^1 [e−sZ(s)] = S(t − 1)z(t − 1). Therefore,
L−^1 [Y (s)] = S(t − 1)e−2(t−1)^ − S(t − 1)(t − 1)e−3(t−1)^ − S(t − 1)e−3(t−1).
Simplifying, this is, 0 , y(t) = e−2(t−1)^ − te−3(t−1)
0 ≤ t ≤ 1 , , t > 1
Question:(Not to be answered) Is there a simpler solution than using the Laplace transform? If so, you can use this to doublecheck your answer.
Solution: This question was not to be answered. The point is that, after substituting τ = t − 1 and z(τ ) = y(τ + 1), the original IVP is equivalent to the IVP, ⎧ ⎨ z��(τ ) + 5z�(τ ) + 6z(τ ) = e−^3 τ^ , z(0) = 0, ⎩ (^) z�(0) = 0
Denoting Z(s) = L[z(τ )], the equation for Z(s) is,
1 (s^2 + 5s + 6)Z(s) = s + 3
The solution is, as before, 1 1 1 Z(s) =. s + 2
(s + 3)^2
(s + 3) Taking the inverse Laplace transform,
z(τ ) = e−^2 τ^ − (τ + 1)e−^3 τ^.
Therefore, (^) � 0 , y(t) = z(t − 1) = (^) e−2(t−1) (^) − te−3(t−1)
0 ≤ t ≤ 1 , , t > 1
Name: Problem 7: / 10
Problem 7 Let A be the real 3 × 3 matrix, ⎡ ⎤ 2 1 0 A = ⎣^0 − 1 1 ⎦. 0 0 2
(a)(3 points) Compute the characteristic polynomial pA(λ) = det(λI − A).
Solution: Because this matrix is upper triangular,
pA(λ) = (λ − 2)^2 (λ + 1).
(b)(7 points) For each eigenvalue, find an eigenvector (not a generalizaed eigenvector ).
Solution: For the eigenvalue λ 1 = −1, an eigenvector is a nullvector of, ⎡ ⎤ 3 1 0 A + I = ⎣^0 0 1 ⎦. 0 0 3
For a nullvector, from the second and third row, the last coordinate must be zero. Then from the first row, a nullvector is, (^) ⎡ ⎤ 1 v 1 = ⎣^ − 3 ⎦. 0
For the eigenvalue λ 2 = 2, an eigenvector is a nullvector of, ⎡ ⎤ 0 1 0 A − 2 I = ⎣^0 − 3 1 ⎦. 0 0 0
A nullvector is, (^) ⎡ ⎤ 1 v 2 = ⎣^0 ⎦^. 0
Name: Problem 8: / 35
Problem 8(35 points) The linear system x�^ = Ax is, � � � � � � x 1 � =
0 − 1 x 1 x 2 6 − 5 x 2.
(a)(5 points) Compute Trace(A), det(A), the characteristic polynomial pA(λ) = det(λI − A) and the eigenvalues of A.
Solution: First of all, Trace(A) = −5 and det(A) = 0(−5) − (−1)6 = 6. Therefore,
pA(λ) = λ^2 − Trace(A)λ + det(A) = λ^2 + 5λ + 6.
This factors as (λ + 2)(λ + 3). So the eigenvalues are λ 1 = −3 and λ 2 = −2.
(b)(10 points) For each eigenvalue (or for one eigenvalue from each complex conjugate pair), find an eigenvector.
Solution: For the eigenvalue λ 1 = −3, an eigenvector is a nullvector of,
A + 3I =
So an eigenvector is, 1 v 1 = 3.
For the eigenvalue λ 2 = −2, an eigenvector is a nullvector of,
A + 2I =
So an eigenvector is, 1 v 2 = 2.
Name: Problem 8, contd.
(c)(5 points) Find the general solution of the linear system of ODEs. Write your answer in the form of a solution matrix X(t) whose column vectors are a basis for the solution space.
Solution: A basis for the solution space is given by,
v^ e−^3 t 1 eλ^1 t^ =^3 e− 3 t ,
together with, e−^2 t v 2 eλ^2 t^ = (^2) e− 2 t.
Therefore the solution matrix is,
X(t) = e−^3 t^ e−^2 t 3 e−^3 t^2 e−^2 t^
(d)(5 points) Compute the exponential matrix,
exp(tA) = X(t)X(0)−^1.
Solution: For t = 0, the solution matrix is,
X(0) = 1 1 3 2
Therefore, (^) � � 1 X(0)−^1 =
So the exponential matrix is, � � � � exp(tA) = X(t)X(0)−^1 = e−^3 t^ e−^2 t^ −^2 3 e−^3 t^2 e−^2 t^3 − 1
which is, (^) � − 2 e−^3 t^ + 3e−^2 t^ e−^3 t^ − e−^2 t exp(tA) = (^) − 6 e− 3 t (^) + 6e− 2 t (^3) e− 3 t (^) − 2 e− 2 t.
Name: Problem 9: / 40
Problem 9(40 points) Consider the following nonlinear, autonomous planar system,
x�^ = 12 x(y − 1) y�^ = 2 y(x + y − 2)
(a)(5 points) Find all equilibrium points.
Solution: The equilibrium points are,
p 1 = (0, 0), p 2 = (0, 2), p 3 = (1, 1).
(b)(5 points) Determine the linearization at each equilibrium point.
Solution: The Jacobian matrix is,
∂xj 2 y^2 x^ + 4y^ −^4
So for p 1 = (0, 0), the linearization is,
− 12 0 A 1 = (^0) − 4 ,
for p 2 = (0, 2), the linearization is, (^) � �
A^12 2 =^4 4 ,
and for p 3 = (1, 1), the linearization is,
0 12 A 3 = 2 2.
Name: Problem 9, contd.
(c)(15 points) For each linearization, determine the eigenvalues. If the eigenvalues are complex conjugates, determine the rotation (clockwise in/out, counterclockwise in/out). If the eigenvalues are real, determine roughly the eigenvectors and the type of the local phase portrait.
Solution: Because A 1 is diagonal, clearly pA 1 (λ) = (λ + 12)(λ + 4). For the eigenvalue λ 1 , 1 = −12, the eigenvector is, 1 v 1 , 1 = 0 ,
and for the eigenvalue λ 1 , 2 = −4, the eigenvector is,
v^0 1 , 2 =^1.
In fact, for λ 1 , 1 = −12, the orbits whose tangent directions at p 1 are ±v 1 , 1 are,
y = 0, x > 0 , y = 0, x < 0
And for λ 1 , 2 = −4, the orbits whose tangent directions at p 1 are ±v 1 , 2 are,
x = 0, 0 < y < 2 , x = 0, y < 0
In particular, p 1 is an attractor and locally the orbital portrait is a stable node.
Because A 2 is lower triangular, clearly pA 2 (λ) = (λ − 12)(λ − 4). For the eigenvalue λ 2 , 1 = 12, the eigenvector is,
v^2 2 , 1 =^1 ,
and for the eigenvalue λ 2 , 2 = −4, the eigenvector is,
0 v 2 , 2 = 1.
In fact for λ 2 , 2 = −4, the orbits whose tangent directions at p 2 are ±v 2 , 2 are,
x = 0, y > 2 , x = 0, 0 < y < 2
In particular, p 2 is a repellor and locally the orbital portrait is an unstable node.
For A 3 , p^2 A 3 (λ) =^ λ^ −^ Trace(A 3 )λ^ + det(A 3 ) =^ λ^ −^2 λ^ −^ 24 = (λ^ −^ 6)(λ^ + 4). For the eigenvalue λ 3 , 1 = −4, the eigenvector is,
3 v 3 , 1 = (^) − 1 ,
and for the eigenvalue λ 3 , 2 = 6, the eigenvector is,
2 v 3 , 2 = 1.
In particular, p 3 is unstable and locally the orbital portrait is a saddle.