






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!







Last Name: First name:
Student #: Signature:
Circle your section #:
Burggraf=101, Peterson=102, Khadra=103, Burghelea=104, Li=
I have read and understood the instructions below:
Please sign:
Instructions:
Question 1: [12 marks]
Solve each one of the following first-order initial value problems for a real-valued solution y(t) in explicit form. Also, determine the domain of definition for each solution.
(a) y′^ = y sin t + 2te−^ cos^ t, y(0) = 1.
(b) 1 − (1 − t)yy′^ = 0, y(0) = 1.
Solution:
(a) Rewrite the eqn in the normal form y′^ + (− sin t)y = 2te−^ cos^ t. Thus the integrating factor is μ(t) = e
R (− sin t)dt (^) = ecos t. Thus
( ecos^ ty
= ecos^ t^
2 te−^ cos^ t
= 2t ⇒ ecos^ ty =
(2t)dt = t^2 + C ⇒ y(t) = e−^ cos^ t(t^2 + C).
y(0) = 1 ⇒ C = e ⇒ y(t) = e−^ cos^ t(t^2 + e). It is define on (−∞, ∞).
(b) This eqn is not exact but is separable.
yy′^ =
1 − t
y^2 (t) = − ln |t − 1 | + C ⇒ y^2 (t) = − ln(t − 1)^2 + C ⇒ y(t) = ±
C − ln(t − 1)^2.
y(0) = 1 ⇒ C = 1 ⇒ y(t) =
1 − ln(t − 1)^2. It is define on the interval (1 −
e, 1).
Question 3: [14 marks]
Consider the following initial value problem:
a 1 y′′(t) + a 2 y′(t) + a 3 y(t) = f (t), y(0) = b 1 , y′(0) = b 2 , f (t) =
0 , t < 1 17 , 1 ≤ t < 2 0 , t ≥ 2
where a 1 , a 2 , a 3 , b 1 , and b 2 are constants.
(a) Use the method of Laplace Transforms to solve for Y (s) = L{y(t)} in terms of a 1 , a 2 , a 3 , b 1 , and b 2.
(b) Suppose a 1 = 1, a 2 = −3, a 3 = 2, b 1 = b 2 = 0. Calculate y(t) = L−^1 {Y (s)} (the solution to the initial value problem).
Solution:
(a) Express f (t) in terms of step functions: f (t) = 17[u(t − 1) − u(t − 2)] = 17[u 1 (t) − u 2 (t)]. Apply Laplace transform on both sides of the eqn:
(a 1 s^2 + a 2 s + a 3 )Y (s) = a 1 b 1 s + a 1 b 2 + a 2 b 1 + 17
e−s s
e−^2 s s
Y (s) =
a 1 b 1 s + a 1 b 2 + a 2 b 1 a 1 s^2 + a 2 s + a 3
17(e−s^ − e−^2 s) s(a 1 s^2 + a 2 s + a 3 )
(b) For a 1 = 1, a 2 = −3, a 3 = 2, b 1 = b 2 = 0, we obtain
Y (s) =
17(e−s^ − e−^2 s) s(s^2 − 3 s + 2)
17(e−s^ − e−^2 s) s(s − 1)(s − 2)
= 17(e−s^ − e−^2 s)
s
s − 1
s − 2
Using the partial fraction theorem, we obtain
(s − 1)(s − 2)
s=
s(s − 2)
s=
s(s − 1)
s=
Thus, y(t) = L−^1 {Y (s)} = L−^1
(e−s^ − e−^2 s)
s
s − 1
s − 2
u 1 (t)(1 − 2 et−^1 + e2(t−1)) + u 2 (t)(1 − 2 et−^2 + e2(t−2)^ )
Question 4: [14 marks]
Consider the following system of nonhomogeneous equations
~x′(t) =
~x +
f 1 (t) f 2 (t)
(a) Calculate the general solution given that f 1 (t) = 0, f 2 (t) = 0.
(b) Sketch the solution in part (a), analyze the stability and classify the critical point.
(c) Calculate the solution given that f 1 (t) = e−t, f 2 (t) = 1.
Solution:
(a) T r = 2, Det = 1 − 4 = − 3 ⇒ λ^2 − 2 λ − 3 = (λ + 1)(λ − 3) = 0 ⇒ λ 1 = −1, λ 2 = 3.
For λ 1 = −1, Eλ 1 = N
= ~v 1.
For λ 2 = 3, Eλ 1 = N
= ~v 2.
Therefore, ~x(t) = c 1 ~v 1 eλ^1 t^ + c 1 ~v 2 eλ^2 t^ = c 1
e−t^ + c 2
e^3 t^ =
e−t^ e^3 t −e−t^ e^3 t
c 1 c 2
= Y (t)~c.
(b) See the figure. Thus ~x = ~0 is a saddle point and is unstable.
(c) For the nonhomogeneous system, ~x(t) = Y (t)[~c + ~u(t)] where
~u(t) =
Y −^1 (t)~bdt =
et^ −et e−^3 t^ e−^3 t
e−t 1
dt =
1 − et e−^4 t^ + e−^3 t
dt =
t − et −e
− 4 t 4 −^
e−^3 t 3
~x(t) = Y (t)[~c + ~u(t)] = c 1
e−t^ + c 2
e^3 t^ + (^12)
te−t^ − (^18)
e−t^ + (^13)
1
2
3
4
5
y(t)
–0.4 –0.2 0.2 0.4 0.6 0.8 1
t
(b)
(1) y(2) = 291.50 + K(0.3)^2 + O(h^3 ) (2) y(2) = 299.50 + K(0.1)^2 + O(h^3 )
(1) − (2) ⇒ 0 = −8 + K(0.08) ⇒ K = 100
The error using improved Euler’s method is E = Kh^2 + O(h^3 ), where K = 100. We want E ≤ 10 −^2 so:
100 h^2 ≤ 10 −^2 ⇒ h^2 ≤
⇒ h^2 ≤ 10 −^4 ⇒ h ≤ 10 −^2.
So the largest step size that can be used is h = 0. 01.
Question 6: [16 marks]
These questions do not require lengthy calculations. Put your answers in the boxes.
(a) For what value of the real parameter a is the following equation exact? Find the general solution
for that value of a. eay^ + (a^2 − xe−y^ + sin y)
dy dx
a = −1; y − cos y + xe−y^ = C.
(b) For the nonhomogeneous equation y′′^ + 4y′^ + 13y = e−^2 t^ sin(3t), write down the correct form of a particular solution that contains the undetermined coefficients (do not calculate those coefficients).
yp(t) = t[A cos(3t) + B sin(3t)]e−^2 t.
(c) Given that y 1 (t) = t is a solution to t^2 y′′^ + ty′^ − y = 0, t > 0, find a second solution that is linearly independent of y 1 (t).
y 2 (t) = t−^1 or c t for any constant c 6 = 0.
(d) Express the solution of the initial value problem y′′^ + 2y′^ + y = h(t), y(0) = y′(0) = 1 in a form that contains h(t) in an integral.
y(t) = e−t^ + 2te−t^ +
∫ (^) t
0
τ e−τ^ h(t − τ )dτ or e−t^ + 2te−t^ +
∫ (^) t
0
(t − τ )e−(t−τ^ )h(τ )dτ
(ii) At (1/ 2 , 3 /2):
. The eigenvalues are m 1 =
and m 2 =
− i
We have two complex conjugate roots with negative real parts. Therefore (1/ 2 , 3 /2) is an asymptotically stable spiral sink.
(c) See the sketch of phase portrait in the figure.
(d) Since the critical point (1/ 2 , 3 /2) is the only asymptotically stable critical point, the long term behavior of x = (x, y)T^ will approach that equilibrium solution. In other words, limt→∞ x(t) = (1/ 2 , 3 /2). This means that the two species involved in this predator-prey model will both survive and their populations will gradually approach (1/ 2 , 3 /2). The solutions curves for x and y will oscillate with decaying amplitudes toward that equilibrium solution.
(e) When γ = 0, then one critical point will disappear and end up with only two of them. These two critical points are (0, 0) and (1/ 2 , 2) (the y-nullcline y = 2 − x in the previous case becomes y = 2). The current model is identical to the standard simple predator-prey model we are familiar with. The critical point (0, 0) stays as an unstable equilibrium solution, but the critical point (1/ 2 , 2) is a stable center. The phase portrait will show a closed curve reflecting an oscillatory behavior in both populations, x and y, with constant amplitudes for all time.
-0.
0
1
2
3
-1 -0.5 0 0.5 1 1.5 2 2.5 3
Figure 1: Phase portrait of the system.
7.II A mass-spring system is governed by the following initial value problem
my′′(t) + γy′(t) + ky(t) = A sin(ωt), y(0) = 0, y′(0) = − 4
where the positive constants m, γ, k, A and ω are the mass, damping coefficient, spring constant, forcing amplitude and forcing frequency, respectively.
(a) Suppose the system is undamped. Determine the constraints (if any) on the constants m, γ, k, A and ω so that the solution exhibits pure resonance.
(b) Determine an approximate value of the resonant frequency given that m = 2, k = 5, A = 7, and γ << 1.
(c) Sketch the steady-state solution to the initial value problem given m = 1, γ = 0, k = 16, A = 36, and ω = 5.
(d) Suppose the general solution can be written in the form
y(t) = A 0 e−γt/(2m)^ cos(ω 0 t + δ) + A 1 cos(ωt + φ)
Determine the constraints (if any) on the constants m, γ, A 0 , A 1 , ω 0 , ω, δ, φ so that the solution exhibits the phenomenon of beat (beat refers to a high frequency vibration with an amplitude that varies periodically with a much slower frequency).
Solution:
(a) Since the driving term is periodic, pure resonance will be observed when the driving frequency
ω is equal to the natural frequency ω 0 =
k m , i.e.^ ω^ =
k m.^ This implies that^ γ^ = 0^ and the
homogeneous solution yh can be written in the form: yh(t) = A 0 cos(ω 0 t + δ). The driving amplitude A 6 = 0. (b) The resonant frequency yields the maximum steady state amplitude and occurs at about√ ω ≈ ω 0 = 5 /2. (c) The characteristic equation is λ^2 + 16 = 0, so λ = ± 4 i and the homogeneous solution has the form:
yh(t) = C 1 cos(4t) + C 2 sin(4t)
The particular solution has the form yp(t) = D 1 cos(5t) + D 2 sin(5t) and substituting yp into the DE gives:
y′′^ + 16y = 36 sin(5t) ⇒
− 25 D 1 cos(5t) − 25 D 2 sin(5t)
16 D 1 cos(5t) + 16D 2 sin(5t)
= 36 sin(5t)
⇒ − 9 D 1 cos(5t) − 9 D 2 sin(5t) = 36 sin(5t) ⇒ D 1 = 0 and D 2 = − 4.
So the general solution has the form:
y(t) = yh(t) + yp(t) = C 1 cos(4t) + C 2 sin(4t) − 4 sin(5t)
⇒ y′(t) = − 4 C 1 sin(4t) + 4C 2 cos(4t) − 20 cos(5t)