Anda di halaman 1dari 3

a t i

c a s
a t e
Universidad Carlos III de Madrid
Escuela Politecnica Superior
Departamento de Matem aticas
Bachelor in Industrial Electronics and Automation / Mechanical Engineering. 3 c 81
Linear Algebra: Third test (Chapters 5, 6 and 7) December 18th, 2013.
FAMILY NAME. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GIVEN NAME. . . . . . . . . . . . . . . . . . . . . . .
Student I.D. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Group . . . . . . . . . . . . . . . . . . . . . . . . . . .
PRELIMINARY REMARKS:
The test consists of 8 questions with 4 possible answers to choose one (Questions from 1 to 8) and
2 additional questions with no given answers. The point value of each of the questions 18 is:
1 if the chosen answer is the right one.
0 if no answer is chosen.
-0.3 if the chosen answer is wrong.
The point value of each of the last two questions is 1 (maximum).
Duration of the test: 1 hour.
Mark your solutions with a dark ink pen (no pencil!).
No calculators can be used.
Question 1 The eigenvalues of matrix
A =
_
_
1 1 0
0 1 0
2 2
_
_
are
a) 1,, b) 1, 2, c) 2, 1 , d) 1, 2.
Question 2 If A is a 3 3 matrix, v is an eigenvector with eigenvalue = 3, and dim Nul A = 2 then
a) A is invertible, b) A is diagonalizable
c) A is not diagonalizable, d) None of the above
Question 3 In general, if A = BC where A, B, and C are square matrices and B is invertible then:
a) If v is an eigenvector of C then v is an eigenvector of A,
b) If v is an eigenvector of B then v is an eigenvector of C,
c) If v is an eigenvector of A then B
1
v is an eigenvector of C,
d) If v is an eigenvector of A then B
1
v is an eigenvector of B.
Question 4 The distance from vector b = (2, 0, 1)
T
to the plane 2x y z = 0 is
a)
_
5/30, b) 6/

5, c) 5/

6, d)

30
Question 5 If x

is the unique solution of the least squares problem for Ax = b, then the solution for
the least squares problem Ax = b

with b

= b + Au is:
a) x

, b) x

+ u, c) x

u, d) None of the above


Question 6 The least squares line that best ts the points (4, 1), (2, 0), (3, 1), (5, 2) is
a) y =
1
45
+
1
45
x b) y =
14
45
+
1
45
x c) y =
1
30
+
14
45
x d) y =
14
45
+
1
30
x
Question 7 If
A =
_
_
1 1 1
1 1 0
1 1 1
_
_
and A = QR is a QR factorization of A then we can have
a) Q =
_
_
1 2 0
1 1 1
1 1 1
_
_
, b) Q =
_
_
1/

3 2/

6 0
1/

3 1/

6 0
1/

3 1/

6 0
_
_
c) R =
_
3 1/

3 2/

3
0 0 1/

2
_
, d) None of the above
Question 8 If A is a symmetric 3 3 matrix with eigenvalues 3, 1, 1 and v = (1, 0, 1)
T
is an eigenvector
with eigenvalue 3, then
a) u = (1, 0, 1)
T
is an eigenvector, b) A is not diagonalizable
c) dim Nul (A I) = 1, d) None of the above
Question 9 Solve the least squares problem for b = (2, 1, 0, 3)
T
and
A =
_

_
1 1 0
2 0 1
1 1 1
0 1 2
_

_
Calculations:
A
T
A =
_
_
6 0 3
0 3 1
3 1 6
_
_
A
t
b = (0, 1, 7)
T
Thus the solution of the normal equations A
T
Ax

= A
T
b is x

=
1
5
(4, 1, 8)
T
Answer:
x

=
1
5
(4, 1, 8)
T
Question 10 Diagonalize orthogonally the following symmetric matrix
A =
_
_
0 2 1
2 3 2
1 2 0
_
_
.
Calculations:
The eigenvalues and eigenvectors are
= 5 , v
1
= (1, 2, 1)
T
= 1 , v
2
= (1, 0, 1)
T
, v
3
= (2, 1, 0)
T
Since v
2
and v
3
are not orthonormal we use G-S to get u
2
= v
2
and u
3
= v
3

v3u2
u2u2
u
2
= (1, 1, 1)
T
.
Thus
P =
_
v
1
||v
1
||
u
2
||u
2
||
u
3
||u
3
||
_
=
_
_
1/

6 1/

2 1/

3
2/

6 0 1/

3
1/

6 1/

2 1/

3
_
_
and
D =
_
_
5 0 0
0 1 0
0 0 1
_
_
Answer:
P =
_
_
1/

6 1/

2 1/

3
2/

6 0 1/

3
1/

6 1/

2 1/

3
_
_
, D =
_
_
5 0 0
0 1 0
0 0 1
_
_