Homework # 8 Solutions: Math 102, Winter 2016
Homework # 8 Solutions: Math 102, Winter 2016
Homework # 8 Solutions: Math 102, Winter 2016
y 0 = Ay, y(0) = c,
where
3 1 1 2
A = 0 2 0 and c = 2 .
1 1 3 2
Solution Well,
det(A − λI)=(2 − λ)((3 − λ)2 − 1)
=(2 − λ)(λ2 − 6λ + 8)
=(2 − λ)2 (4 − λ),
so the eigenvalues of A are 2 and
4. By solving
(A−2I)x = 0 and (A−4I)x
= 0,
1 1 1
we find Nul(A − 2I) = span{ 0 , −1 } and Nul(A − 4I) = span{ 0} so
−1 0 1
−1
1 1 1 2 0 0 1 1 1
A= 0 −1 0 0 2 0 0 −1 0 .
−1 0 1 0 0 4 −1 0 1
1
and we verify
−2e2t + 12e4t
y 0 = Ay = 4e2t
−2e + 12e4t
2t
and
2
y(0) = 2 .
2
Exercise 2 Prove that the trace of a matrix is equal to the sum of its eigenvalues.
Solution We begin by supposing A ∈ Rn×n is a matrix with eigenvalues
λ1 , . . . , λn . Following the proof suggested by the textbook, we consider that
det(A − λI) is a polynomial whose roots are the eigenvalues of A, and whose
coefficient of λn is (−1)n ; in other words,
det(A−λI) = (λ1 −λ)(λ2 −λ) · · · (λn −λ) = (−λ)n +(−λ)n−1 (λ1 +· · ·+λn )+· · ·+λ1 ·λ2 ·· · ··λn ,
where we neglect the terms of order λ1 through λn−2 . Coincidentally, the coef-
ficient of (−λ)n−1 in the characteristic polynomial of A must be the sum of the
eigenvalues of A.
On the other hand, det(A − λI) may also be calculated by cofactor expansion.
Going along the first row, we have
a22 − λ · · · a2n a21 · · · a2n
.
.. . .. .
.. . . .
det(A−λI) = (a11 −λ) −a12 .. .. .. +· · · .
an2 · · · ann − λ an1 · · · ann − λ
It may be observed that the only term here capable of producing a “λn−1 ” is the
first term, because the remaining terms only have (n − 2) λ’s in them. Similarly,
considering
a22 − λ · · · a2n a33 − λ · · · a3n a32 · · · a3n
.. . .. .
.. .
.. . .. .
.. . .. ..
= (a22 −λ) −a23 .. ,
. . .
an1 · · · ann − λ an3 · · · ann − λ an2 · · · ann − λ
the only term here capable of producing (in conjunction with the (a11 − λ))
a λn−1 is the first term. By continuing this process all the way down the
determinants of the nested submatrices, we find that the coefficient of λn−1 in
det(A − λI) comes entirely from the term
2
If this proof is difficult to read, consider the 2 × 2 case:
a−λ b
det = (a − λ)(d − λ) − bc = λ2 − λ(a + d) + (ad − bc),
c d−λ
whereas of course