

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!


Problem 1 (20 points). Consider the vectors
u =
, v =
in R
4
. Find
a) their lengths ‖u‖ and ‖v‖;
b) the angle θ between u and v.
Solution: We have
‖u‖ =
and
‖v‖ =
Moreover,
cos θ =
u · v
‖u‖‖v‖
2
2
2 ) =
Hence, the angle θ is 60 degrees.
Problem 2 (20 points). Consider the linear transformation from R
3
into R
3 given by the matrix
2 1 x
Find
a) x such that this matrix is orthogonal;
b) in this case, find A
− 1 .
Solution: The third column has to be orthogonal to the first one.
Hence
2 + 2 + 2x = 0
and x = −2. Clearly, now third column is also orthogonal to the second
one, since (−2) + 2 · 2 + (−2) = 0. Moreover, the lengths of all three
columns are equal to 1 and the matrix is orthogonal.
1
2
Since the inverse of an orthogonal matrix is equal to its transpose,
we have
Problem 3 (20 points). Find the matrix A of the orthogonal projection
onto the line in R
4 spanned by the vector
u =
Solution: We have
A = uu
Problem 4 (20 points). Find the determinant ∣ ∣ ∣ ∣ ∣ ∣ ∣ ∣
1 − 1 − 1 1
1 1 − 1 − 1
1 1 1 1
1 − 1 1 − 1
using Gauss elimination.
Solution: By subtracting the first row from second, third and fourth
we get (^) ∣
∣ ∣ ∣ ∣ ∣ ∣ ∣ 1 − 1 − 1 1
1 1 − 1 − 1
1 1 1 1
1 − 1 1 − 1
Now, by subtracting second row from the third one, we get
∣ ∣ ∣ ∣ ∣ ∣ ∣ ∣ 1 − 1 − 1 1
1 1 − 1 − 1
1 1 1 1
1 − 1 1 − 1
finally, by subtracting the third row from the fourth one, we get ∣ ∣ ∣ ∣ ∣ ∣ ∣ ∣
1 − 1 − 1 1
1 1 − 1 − 1
1 1 1 1
1 − 1 1 − 1