



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!




(a) Linear transformation from a vector space U into a vector space V.
A linear transformation, L, from U to V is a function with domain U and co-domain V such that
L (~x + ~y) = L (~x) + L (~y) L (α~x) = αL (~x)
An example of a linear transformation from R^2 to R^2 is
L (x 1 , x 2 ) = (0, 0).
(b) Length of a vector ~x in R^5.
If ~x = (x 1 , x 2 , x 3 , x 4 , x 5 ), then ||~x|| =
x^21 + x^22 + x^23 + x^24 + x^25. A specific example is
||(1, 1 , 0 , 0 , 0)|| =
(c) Vector projection of ~x onto ~y, where ~x and ~y are two vectors in Rn.
The projection of ~x onto ~y equals
~x · ~y ||~y||^2
~y. An example in R^2 is
Proj(1,0) (3, 4) =
(a) What is the length of ~x?
The length of ~x equals (^) √ 1 + 4 + 25 + 1 =
(b) Are the vectors ~x and ~y perpendicular?
The dot product of ~x and ~y equals 3 − 2 − 5 + 2 = −2. Since the dot product is not equal to zero, the vectors are not perpendicular.
(a) Find a basis of V.
The coefficient matrix of the system of equations x 1 + x 2 + x 4 = 0 is [ 1 1 0 1
The free variables are x 2 , x 3 , and x 4. Thus, a basis of V is
{(− 1 , 1 , 0 , 0) , (0, 0 , 1 , 0), (− 1 , 0 , 0 , 1)}.
(b) Find an orthonormal basis of V.
Call the vectors in the basis from part a. ~v 1 , ~v 2 , and ~v 3 respectively. Then an orthonormal basis of V is
~u 1 =
~v 1 ‖~v 1 ‖
~u 2 = ~v 2 − (~v 2 · ~u 1 ) ~u 1 ‖~v 2 − (~v 2 · ~u 1 ) ~u 1 ‖
(0, 0 , 1 , 0) − 0 ~u 1 ‖~v 2 − (~v 2 · ~u 1 ) ~u 1 ‖
~u 3 =
~v 3 − (~v 3 · ~u 1 ) ~u 1 − (~v 3 · ~u 2 ) ~u 2 ‖~v 3 − (~v 3 · ~u 1 ) ~u 1 − (~v 3 · ~u 2 ) ~u 2 ‖
~v 3 −
~u 1 − 0 ~u 2
‖~v 3 − (~v 3 · ~u 1 ) ~u 1 − (~v 3 · ~u 2 ) ~u 2 ‖
(c) Find the projection of ~x = (1, 1 , 1 , 1) onto V.
The projection of ~x onto V equals
ProjV ~x = (~x · ~u 1 ) u 1 + (~x · ~u 2 ) u 2 + (~x · ~u 3 ) u 3 = 0 ~u 1 + ~u 2 + 0 ~u 3 = ~u 2 = (0, 0 , 1 , 0)
(d) Find the distance from ~x = (1, 1 , 1 , 1) to V.
The distance from ~x to V equals
‖~x − ProjV ~x‖ = ‖(1, 1 , 1 , 1) − (0, 0 , 1 , 0)‖ = ‖(1, 1 , 0 , 1)‖ =
If y = mx + b is the equation of the line, the coefficients m and b should satisfy the system of equations
− 2 m + b = 2 −m + b = 0 m + b = 1 3 m + b = 2
Writing this as a matrix equation we have A~x = ~y where
, and^ ~y^ =
This system does not have a solution, so the normal equations are used to find the least squares solution
~x =
AT^ ~y
Thus, the best straight line fit to the data is
y =
x +
≈ 0. 119 x + 1..
(a) Describe this transformation geometrically.
The vectors ~v 1 and ~v 2 are orthogonal and hence are linearly independent. They therefore form a basis of R^2. Since L leaves ~v 1 fixed and sends ~v 2 to −~v 2 , it is clear that L reflects R^2 through the straight line passing through the origin in the direction of ~v 1. For if ~x is any vector in R^2 , we write ~x = a 1 ~v 1 + a 2 ~v 2. Thus,
L (~x) = a 1 L (~v 1 ) + a 2 L (~v 2 ) = a 1 ~v 1 − a 2 ~v 2.
(b) Find the matrix representation of L with respect to the standard basis of R^2.
We first need to write ~e 1 and ~e 2 as linear combinations of ~v 1 and ~v 2. The matrix
is the transition (change of basis) matrix from the basis {~v 1 , ~v 2 } to the standard basis. Thus, the columns of P −^1 will be the coordinates of the standard basis with respect to the basis {~v 1 , ~v 2 }.
Thus,
L (~e 1 ) =
L (~v 1 ) +
L (~v 2 ) =
~v 1 −
~v 2 =
L (~e 2 ) =
L (~v 1 ) +
L (~v 2 ) =
~v 1 −
~v 2 =
Thus, the matrix representation of L with respect to the standard basis of R^2 is [ − 8 / 10 − 6 / 10 − 6 / 10 8 / 10