









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!










Summer 2002 June 23, 2001
Final Exam - Practice Exercises
as a system of linear, first order differential equations.
Let x 1 = y, x 2 = y′, x 3 = y′′, and x 4 = y′′′. Then, we get the system:
x′ 1 = x 2 x′ 2 = x 3 x′ 3 = x 4 3 x′ 4 = 5x 3 − 9 x 1 + 6et^ − 2 t
dx dt
= − 4 x + 2y dy dt = 2x − 4 y
We can rewrite the system in matrix form as:
w′^ =
w
We need to find the eigenvalues of this matrix.
det(A − rI) =
∣∣−^4 −^ r^2 2 − 4 − r
∣∣ = (r + 2)(r + 6)
Thus, the eigenvalues are r 1 = −2 and r 2 = −6. For each of these, we will need to find an associated eigenvector. For r 1 = −2, we have:
A + 2I =
Thus, we have: ξ 1 − ξ 2 = 0. So, we may choose:
ξ(1)^ =
For r 2 = −6, we have:
Thus, we have: ξ 1 + ξ 2 = 0. So, we may choose:
ξ(2)^ =
Hence, the general solution is:
x = c 1
e−^2 t^ + c 2
e−^6 t
x′^ =
(^) x
We need to find the eigenvalues of the matrix:
det(A − rI) =
1 − r − 1 1 0 1 − r 3 4 3 1 − r
∣∣ =^ −(x^ −^ 2)(x^ −^ 4)(x^ + 3)
Thus, the eigenvalues are r 1 = 2, r 2 = 4, and r 3 = −3. For each of these, we will need an associated eigenvector. For r 1 = 2, we have:
Thus, −ξ 1 − ξ 2 + ξ 3 = 0 and −ξ 2 + 3ξ 3 = 0. Thus, we may choose:
ξ(1)^ =
For r 2 = 4, we have:
Thus, ξ 1 = 0 and −ξ 2 + ξ 3 = 0. So, we may choose:
ξ(2)^ =
For r 3 = −3, we have:
For r 1 = 1, we have:
Thus, we know that ξ 3 = 0 and ξ 2 = 0. Thus, for our eigenvector, we may use:
ξ(1)^ =
For r 2 = 1 + i, we have:
A − (1 + i)I =
−i 2 − 1 0 −i 1 0 − 1 −i
Thus, we have −iξ 2 + ξ 3 = 0 and −iξ 1 + 2ξ 2 − ξ 3 = 0. So, we may take:
ξ(2)^ =
2 − i i − 1
(^) + i
Therefore, the general solution of this system of equations is given by:
x(t) = c 1
(^) et^ +c 2 et
(^) cos t −
(^) sin t
+c 3 et
(^) sin t +
(^) cos t
dx dt = 2x + y dy dt
= −x
We can rewrite this system in matrix form as:
w′^ =
w
We will need to find the eigenvalues of this matrix:
det A − rI =
2 − r 1 − 1 −r
∣ = (r^ −^ 1)
2
Thus, we have one (repeated) eigenvalue of r = 1. We need to find an associated eigenvector:
Thus, ξ 1 + ξ 2 = 0. So, we may choose:
ξ =
We cannot find another independent eigenvector, so we need to find a generalized eigenvector satisfying: (A − I)η = ξ ( 1 1 − 1 − 1
η =
Thus, η 1 + η 2 = 1. So, we may choose:
η =
With these, we can form the general solution:
x(t) = c 1
et^ + c 2
tet^ +
et
x′^ =
(^) x
We will need to find the eigenvalues of this matrix.
det(A − rI) =
−r 1 1 1 −r 1 1 1 −r
∣∣ =^ −(r^ + 1)
(^2) (r − 2) = 0
Thus, the eigenvalues are r 1 , r 2 = −1 (multiplicity 2) and r 3 = 2. For r 1 = −1, we get:
Thus, we see that ξ 1 + ξ 2 + ξ 3 = 0. So, we can get two independent eigenvectors. This was expected since A was a Hermitian matrix. So, we may choose:
ξ(1)^ =
(^) and ξ(2)^ =
For r 3 = 2, we get:
Thus, −η 1 + η 2 = 1 So, we may choose: η =
Hence, our complimentary solution is:
wc = c 1
et^ + c 2
tet^ +
et
Now, we need to guess the form of our complimentary solution. Guess:
wp =
a b
sin t +
c d
cos t
Then, w′ p =
a b
cos t −
c d
sin t
Thus, by plugging into the original equation, we get: ( a b
cos t −
c d
sin t =
a b
sin t +
c d
cos t
cos t
Equating coefficients of cos t and sin t, we get the system:
a = d b = −c + 2d − 2 −c = b −d = −a + 2b
Thus, a = 1, b = 0, c = 0, and d = 1. Therefore, our general solution is:
w(t) = c 1
et^ + c 2
tet^ +
et
sin t cos t
x′^ =
x +
16 t
This system can be rewritten as:
x′^ =
x +
t +
We first need to find the complimentary solution, xc. It solves the homogeneous problem: x′^ =
In order to find this, we will need the eigenvalues of the given matrix.
det(A − rI) =
∣∣^2 −^ r^8 0 4 − r
∣∣ = (2 − r)(4 − r) = 0
Thus, the eigenvalues are r 1 = 2 and r 2 = 4. For each of these, we will need to find an associated eigenvector. For r 1 = 2, we have: A − 2 I =
Thus, ξ 2 = 0. So, we may use:
ξ(1)^ =
For r 2 = 4, we have:
A − 4 I =
Thus, ξ 1 − 4 ξ 2 = 0. So, we may use:
ξ(2)^ =
Therefore, our complimentary solution is given by:
xc = c 1
e^2 t^ + c 2
e^4 t
Now we need to find the particular solution. Based on the nonhomogeneous term, we get a guess of the form:
xp =
a b
t +
c d
Then
x′ p =
a b
So, plugging in gives: ( a b
a b
t +
c d
t +
Equating coefficients gives the following algebraic system:
a = 2c + 8d + 2 b = 4d 0 = 2a + 8b 0 = 4b + 16
Thus, a = 16, b = −4, c = 11, and d = −1. Piecing this information together, gives the following general solution:
xc = c 1
e^2 t^ + c 2
e^4 t^ +
t +
We need to begin by finding the eigenvalues of this matrix:
det(A − rI) =
5 − r − 4 0 1 −r 2 0 2 5 − r
∣∣ =^ −r(r^ −^ 5)
2
Thus, the eigenvalues are r 1 , r 2 = 5 and r 3 = 0. Let’s first find the eigenvector for r 3 = 0. Here, we have:
Thus, ξ 1 + 2ξ 3 = 0 and 2ξ 2 + 5ξ 3 = 0. So, we may choose the eigenvalue to be:
ξ =
Now, we need to find the pieces of the solution corresponding to the eigenvalue r = 5. Here, we have:
A − 5 I =
Thus, ξ 2 = 0 and ξ 1 − 5 ξ 2 + 2ξ 3 = 0. So, we may choose the eigenvector to be:
ξ =
We are not able to find a second linearly independent eigenvector. So, we must search for a generalize eigenvector that satisfies:
(A − 5 I)η = ξ
(^) η =
Thus, − 4 η 2 = 2 and η 1 − 5 η 2 + 2η 3 = 0. So, we may use:
η =
Hence, the general solution is:
x(t) = c 1
(^) + c 2 e^5 t
(^) + c 3
te^5 t
(^) + e^5 t
dx dt = 2x − 7 y dy dt
= 5x + 10y + 4z dz dt = 5y + 2z
We can rewrite this system using matrix notation as:
w′^ =
(^) w
We first need to find the eigenvalues of this matrix.
det(A − rI) =
2 − r − 7 0 5 10 − r 4 0 5 2 − r
∣∣ =^ −(r^ −^ 2)(r^ −^ 5)(r^ −^ 7)
Thus, the eigenvalues are r 1 = 2, r 2 = 5, and r 3 = 7. For r 1 = 2, we have:
Thus, ξ 2 = 0 and 5ξ 1 + 4ξ 3 = 0. So, as our eigenvector, we may use:
ξ(1)^ =
For r 2 = 5, we have:
Thus, − 3 ξ 1 − 7 ξ 2 = 0 and 5ξ 2 − 3 ξ 3 = 0. So, as our eigenvector, we may use:
ξ(2)^ =
Finally, for r 3 = 7, we have:
Thus, when we plug this into the original system, we get: ( a b
cos t −
c d
sin t =
a b
sin t +
c d
cos t
sin t +
cos t
Equating coefficients of sin and cos, we see that
a = −c + 5d b = −c + d − 2 −c = −a + 5b + 1 −d = −a + b
Thus, a = − 13 , b = 13 , c = −3, and d = − 23. Therefore, by plugging in, we get our general solution
x(t) = c 1
cos 2t −
sin 2t
+c 2
sin 2t +
cos 2t
1 3
sin t+
cos t
as a system of linear, first-order differential equations. Solve this system of differential equations.
We can write this equation as a system by letting x 1 = y, x 2 = y′, and x 3 = y′′. In this case, we have:
x′ 1 = x 2 x′ 2 = x 3 x′ 3 = 6x 1 − 11 x 2 + 6x 3 + 6t^2 + 2t + 2
or in matrix form
x′^ =
(^) x +
(^) t^2 +
(^) t +
In order to solve this system, we must first find the complimentary solution xc. It solves the homogeneous problem
x′^ =
(^) x
Here, we need to find the eigenvalues:
det(A − rI) =
−r 1 0 0 −r 1 6 − 11 6 − r
(^) = −(r − 1)(r − 2)(r − 3)
Thus, the eigenvalues are r 1 = 1, r 2 = 2, and r 3 = 3.
For r 1 = 1, we have:
Thus, −ξ 1 + ξ 2 = 0 and −ξ 2 + ξ 3 = 0. So, we may use:
ξ(1)^ =
For r 2 = 2, we have:
Thus, − 2 ξ 1 + ξ 2 = 0 and − 2 ξ 2 + ξ 3 = 0. So, we may use:
ξ(2)^ =
For r 3 = 3, we have:
Thus, − 3 ξ 1 + ξ 2 = 0 and − 3 ξ 2 + ξ 3 = 0. So, we may use:
ξ(3)^ =
Therefore, the complimentary solution is given by:
xc = c 1 et
(^) + c 2 e^2 t
(^) + c 3 e^3 t
For the particular solution, our guess should be a general 2nd degree polynomial.
a b c
(^) t^2 +
d e f
(^) t +
g h i
Thus,
Y′^ = 2
a b c
(^) t +
d e f
2 sX(s) + (s − 1)Y (s) = 1 +
s^2 and L{x′} + L{y′} = L{t^2 } =
s^3 sX + sY = sL{x} + sL{y} =
s^3
Thus, we need to solve the algebraic system of equations:
2 sX + (s − 1)Y = 1 +
s^2 sX + sY = 1 +
s^3 Multiplying the second equation by 2 and subtracting, we get:
(−s − 1)Y (s) =
s^2
s^3
Y (s) = 4 − s s^3 (s + 1)
s + 1
s
s^2
s^3
s + 1 Thus, y(t) = 5 − 5 t + 2t^2 − 4 e−t Using the second equation of our system, we get that:
s
s^4 Applying L−^1 , we get:
x = −L−^1 {Y } + 1 +
t^3 = y + 1 +
t^3 = −4 + 5t − 2 t^2 +
t^3 + 4e−t
As usual, we can derive the differential equations by examining (rate in)-(rate out). So, for tank A, we have: dx 1 dt = (3gal/min)·(0lb/gal)+(1gal/min)·
( (^) x 2 50 lb/gal
−(4gal/min)·
( (^) x 1 50 lb/gal
x 1 +
x 2
Similarly, for tank B, we have:
dx 2 dt
x 1 50
x 2 50
x 2 50
x 1 −
x 2
If we write our system using matrix notation, we have:
x′(t) =
2 25 −^
2 25
x(t)
The initial conditions for this system are x 1 (0) = 25 and x 2 (0) = 0. Now, let’s try to solve this system. As usual, we need to find the eigenvalues:
det(A − rI) =
2 25 −^ r^
1 2 50 25 −^
2 25 −^ r
∣∣ = r^2 +^4 25 r +
r +
r +
Thus, the eigenvalues are r 1 = − 253 and r 2 = − 251. Now, we need to find the associated eigenvectors for each of these. For r 1 = − 253 , we get:
25
1 2 50 25
1 25
Thus, 2ξ 1 + ξ 2 = 0. So, we may use:
ξ(1)^ =
For r 2 = − 251 , we get:
2 25 −^
1 25
Thus, − 2 ξ 1 + ξ 2 = 0. So, we may use:
ξ(2)^ =
Therefore, our generals solution looks like:
x(t) = c 1
e−^3 t/^25 + c 2
e−t/^25
Applying our initial conditions, we see that:
25 = c 1 + c 2 0 = c 1 − c 2
Thus, c 1 = 252 and c 2 = 252. Hence, we have:
x(t) =
e−^3 t/^25 +
e−t/^25
or
x 1 (t) =
e−^3 t/^25 +
e−t/^25
x 2 (t) = − 25 e−^3 t/^25 + 25e−t/^25