Docsity

Practice Quiz #4 with Solutions - Linear Algebra | MATH 201, Quizzes of Linear Algebra

Toggle sidebar
bg1
Quiz 4: Solutions
Problem 1. Given matrix
A=2 2
1 3 ,
(a) find the eigenvalues and eigenvectors of A;
(b) diagonalize Aif possible, i.e., find an invertible matrix Pand a diagonal
matrix Dsuch that A=P DP −1.
Solution. (a) The characteristic polynomial of Ais
det (A−λI) =
2−λ2
1 3 −λ
=λ2−5λ+ 4.
Its zeros are the eigenvalues of A:λ1= 4, λ2= 1.
For λ1= 4,
A−4I=−2 2
1−1∼−1 1
0 0 ,
and all the corresponding eigenvectors are multiples of a basis eigenvector
xI=1
1.
For λ2= 1,
A−I=1 2
1 2 ∼1 2
0 0 ,
and all the corresponding eigenvectors are multiples of a basis eigenvector
xII =−2
1.
(b) It follows from our solution of (a) that
D=λ10
0λ2=4 0
0 1 , P =xIxII =1−2
1 1 .
Problem 2. Let u=
1
0
1
,y=
3
1
4
,L= Span{u}. Find a decomposition
y=ˆ
y+z
where ˆ
yis a vector from L, and zis a vector from L⊥.
1
pf2

Partial preview of the text

Download Practice Quiz #4 with Solutions - Linear Algebra | MATH 201 and more Quizzes Linear Algebra in PDF only on Docsity!

Quiz 4: Solutions

Problem 1. Given matrix

A =

[

]

(a) find the eigenvalues and eigenvectors of A; (b) diagonalize A if possible, i.e., find an invertible matrix P and a diagonal matrix D such that A = P DP −^1.

Solution. (a) The characteristic polynomial of A is

det (A − λI) =

2 − λ 2 1 3 − λ

∣ =^ λ

(^2) − 5 λ + 4.

Its zeros are the eigenvalues of A: λ 1 = 4, λ 2 = 1. For λ 1 = 4,

A − 4 I =

[

]

[

]

and all the corresponding eigenvectors are multiples of a basis eigenvector

xI^ =

[

]

For λ 2 = 1,

A − I =

[

]

[

]

and all the corresponding eigenvectors are multiples of a basis eigenvector

xII^ =

[

]

(b) It follows from our solution of (a) that

D =

[

λ 1 0 0 λ 2

]

[

]

, P =

[

xI^ xII^

]

[

]

Problem 2. Let u =

 (^) , y =

 (^) , L = Span{u}. Find a decomposition

y = ˆy + z

where ˆy is a vector from L, and z is a vector from L⊥. 1

2

Solution.

y ˆ = projLy =

y · u u · u

u =

12 + 0^2 + 1^2

7 2 0 7 2

z = y − ˆy =

7 2 0 7 2

1 2