Docsity

Square Matrix - Linear Algebra - Solved Exercise, Exercises of Linear Algebra

Toggle sidebar
bg1
MTH5112 Linear Algebra I 2012–2013
Coursework 11 — Solutions
Exercise 1.
(a) First we show that N(A)⊂N(ATA). In order to see this suppose that x∈N(A), that is,
Ax=0.Then ATAx=AT0=0, that is, x∈N(ATA).
Next we show that N(ATA)⊂N(A). In order to see this let x∈N(ATA), that is,
ATAx=0. Then xTATAx=xT0=0. Thus
0=xTATAx= (Ax)T(Ax) = (Ax)·(Ax) = kAxk2,
and hence Ax=0, that is, x∈N(A).
All in all, we have shown that N(A)⊂N(ATA)and that N(ATA)⊂N(A). Thus
N(A) = N(ATA)
as claimed.
(b) Note that the columns of Aare linearly independent if and only if the only solution of Ax=0is
the zero solution. Thus, the columns of Aare linearly independent if and only if N(A) = {0}.
But, by (c) above N(A) = N(ATA), so the columns of Aare linearly independent if and only
if N(ATA) = {0}, which, by the Invertible Matrix Theorem, is the case if and only if ATAis
invertible.
Exercise 2.
(a) The number 0is an eigenvalue of Aif and only if det(A) = 0, which, by the Invertible Matrix
Theorem, is the case if and only if Ais not invertible.
(b) Suppose that Ais invertible. If λis an eigenvalue of Awith corresponding eigenvector v,
then
Av=λv.
Moreover, by (a) above, λ6= 0. Multiplying the equation above by λ−1Afrom the left we
obtain
λ−1A−1Av=λ−1λA−1v,
so
λ−1v=A−1v,
that is, λ−1is an eigenvalue of A−1(with corresponding eigenvector v). Conversely, suppose
that λ−1is an eigenvalue of Awith eigenvector v, that is,
A−1v=λ−1v.
Multiplying the above equation by λA from the left obtain
λAA−1v=λλ−1Av,
so
λv=Av,
that is λis an eigenvalue of A.
pf3
pf4
pf5

Partial preview of the text

Download Square Matrix - Linear Algebra - Solved Exercise and more Exercises Linear Algebra in PDF only on Docsity!

MTH5112 Linear Algebra I 2012–

Coursework 11 — Solutions

Exercise 1.

(a) First we show that N (A) ⊂ N (AT^ A). In order to see this suppose that x ∈ N (A), that is, Ax = 0 .Then AT^ Ax = AT^0 = 0 , that is, x ∈ N (AT^ A). Next we show that N (AT^ A) ⊂ N (A). In order to see this let x ∈ N (AT^ A), that is, AT^ Ax = 0. Then xT^ AT^ Ax = xT^0 = 0. Thus

0 = xT^ AT^ Ax = (Ax)T^ (Ax) = (Ax)·(Ax) = ‖Ax‖^2 ,

and hence Ax = 0 , that is, x ∈ N (A). All in all, we have shown that N (A) ⊂ N (AT^ A) and that N (AT^ A) ⊂ N (A). Thus

N (A) = N (AT^ A)

as claimed.

(b) Note that the columns of A are linearly independent if and only if the only solution of Ax = 0 is the zero solution. Thus, the columns of A are linearly independent if and only if N (A) = { 0 }. But, by (c) above N (A) = N (AT^ A), so the columns of A are linearly independent if and only if N (AT^ A) = { 0 }, which, by the Invertible Matrix Theorem, is the case if and only if AT^ A is invertible.

Exercise 2.

(a) The number 0 is an eigenvalue of A if and only if det(A) = 0, which, by the Invertible Matrix Theorem, is the case if and only if A is not invertible.

(b) Suppose that A is invertible. If λ is an eigenvalue of A with corresponding eigenvector v, then Av = λv. Moreover, by (a) above, λ 6 = 0. Multiplying the equation above by λ−^1 A from the left we obtain λ−^1 A−^1 Av = λ−^1 λA−^1 v , so λ−^1 v = A−^1 v , that is, λ−^1 is an eigenvalue of A−^1 (with corresponding eigenvector v). Conversely, suppose that λ−^1 is an eigenvalue of A with eigenvector v, that is,

A−^1 v = λ−^1 v.

Multiplying the above equation by λA from the left obtain

λAA−^1 v = λλ−^1 Av ,

so λv = Av , that is λ is an eigenvalue of A.

(c) If λ is an eigenvalue of A with corresponding eigenvector v, then

Av = λv.

Thus A^2 v = A(Av) = A(λv) = λ(Av) = λλv = λ^2 v , so λ^2 is an eigenvalue of A^2 (with corresponding eigenvector v). Similarly,

A^3 v = A(A^2 v) = A(λ^2 v) = λ^2 (Av) = λλ^2 v = λ^3 v ,

so λ^3 is an eigenvalue of A^3. Continuing this process — or for the aficionados amongst you, by using induction (try it!) — we see that

Anv = λnv

for any positive integer n, so λn^ is an eigenvalue of An^ as claimed.

Exercise 3.

(a) Since (^) 

the vector (3, − 4 , 2)T^ is an eigenvector of A corresponding to the eigenvalue 2.

(b) A somewhat tedious calculation shows that the characteristic polynomial p of A is

p(λ) = det(A − λI) = −λ^3 + 4λ^2 − 5 λ + 2.

By (a), the polynomial p has a zero at 2, so using polynomial division we can factor p, giving

p(λ) = (2 − λ)(λ^2 − 2 λ + 1) = (2 − λ)(λ − 1)^2.

Thus, the eigenvalues of A are 1 and 2. Using the usual method, we obtain the following bases for the eigenspaces:

N (A − I) = Span (v 1 , v 2 ), where v 1 =

 (^) , v 2 =

N (A − 2 I) = Span (v 3 ), where v 3 =

(c) By (b) and the corollary to the Diagonalisation Theorem, the matrix A has 3 linearly inde- pendent eigenvectors v 1 , v 2 , v 3 , so A is diagonalisable by the Diagonalisation Theorem. If we now define

P =

v 1 v 2 v 3

then P is invertible and

P −^1 AP = D =

N (A − 2 I) = Span (v 2 ) where v 2 =

Since the 3 × 3 matrix A has only 2 linearly independent eigenvectors A is not diagonalisable.

(c) Let

A =

Since A is triangular, its eigenvalues are 2 and 3. The corresponding eigenspaces are

N (A − 2 I) = Span (v 1 , v 2 ) where v 1 =

 ,^ v^2 =

N (A − 3 I) = Span (v 3 , v 4 ) where v 3 =

 ,^ v^4 =

Since the 4 × 4 matrix A has 4 linearly independent eigenvectors, A is diagonalisable and the diagonalising matrix is given by

P =

with

P −^1 AP = D =

(d) Let

A =

Since A is triangular, its eigenvalues are 2 and 3. The corresponding eigenspaces are

N (A − 2 I) = Span (v 1 , v 2 ) where v 1 =

 ,^ v^2 =

N (A − 3 I) = Span (v 3 ) where v 3 =

Since the 4 × 4 matrix A has only 3 linearly independent eigenvectors, A is not diagonalisable.

Exercise 5.

(a) Since AT^ = A, we have

(Ax)·y = (Ax)T^ y = xT^ AT^ y = xT^ Ay = x·(Ay) ,

for any x, y ∈ Rn.

(b) Suppose that v and w are eigenvectors corresponding to the distinct eigenvalues λ and μ, respectively, that is

Av = λv , Aw = μw.

Then by (a) λ(v·w) = (Av)·w = v·(Aw) = μ(v·w) , so (λ − μ)(v·w) = 0. But λ and μ are distinct, so λ − μ 6 = 0. Thus v·w = 0, that is, v and w are orthogonal.

Exercise 6. Suppose that A is diagonalised by an orthogonal matrix Q, that is,

QT^ AQ = D

with D diagonal. Using the fact Q−^1 = QT^ (see Exercise 1 on Coursework 10), it follows that Q−^1 AQ = D, so A = QDQ−^1 = QDQT^.

Now D is diagonal, so DT^ = D. Hence

AT^ = (QDQT^ )T^ = (QT^ )T^ DT^ QT^ = QDQT^ = A ,

so A is symmetric as claimed. As a consequence, the Spectral Theorem for Symmetric Matrices can also be formulated as follows: a matrix can be diagonalised by an orthogonal matrix if and only if A is symmetric.

Exercise 7.

(a) Let A =

Since det(A − λ) = λ^2 − 2 λ − 3 = (λ + 1)(λ − 3) , the eigenvalues of A are − 1 and 3. The corresponding eigenspaces are

N (A + I) = Span (v 1 ) where v 1 =

N (A − 3 I) = Span (v 2 ) where v 2 =

Normalising the two vectors v 1 and v 2 produces

u 1 =

‖v 1 ‖

v 1 =

, u 2 =

‖v 2 ‖

v 2 =

so if we let Q =

so the eigenvalues of A are − 2 and 4. The corresponding eigenspaces are

N (A + 2I) = Span (x 1 , x 2 ) where x 1 =

 (^) , x 2 =

N (A − 4 I) = Span (x 3 ) where x 3 =

The eigenvectors x 1 and x 2 are not orthogonal, so we need to orthogonalise them using the Gram Schmidt process:

v 1 = x 1 =

v 2 = x 2 −

x 2 ·v 1 v 1 ·v 1

v 1 =

Normalising the orthogonal eigenvectors v 1 , v 2 , and x 3 yields the orthonormal eigenvectors

u 1 =

‖v 1 ‖

v 1 =

 (^) , u 2 = 1 ‖v 2 ‖

v 2 =

 (^) , u 3 = 1 ‖x 3 ‖

x 3 =

so if we let

Q =

then

QT^ AQ = D =

Again, as in (a) you are strongly encouraged to check that Q is orthogonal and does the job it is supposed to do.