Hw2sol PDF
Hw2sol PDF
(If you find any errors, please let your instructor know ASAP)
Solution. That the {xi } are mutually orthogonal and non-zero means that
a1 x1 + a2 x2 + · · · + ak xk = 0.
Then, taking the inner product of both sides with xi , we have that
Using mutual orthogonality, we see that 0 = hxi , ai xi i = ai hxi , xi i. Because hxi , xi i 6= 0, we see
that ai = 0. As i was arbitrary, ai = 0 for each i. Thus {x1 , . . . , xk } is a linearly independent set.
Problem 2. Let v1 , . . . , vn be orthonormal vectors in Rn . Show that Av1 , . . . , Avn are also or-
thonormal if and only if A is an orthonormal matrix.
Solution. First, suppose that A is orthogonal. Then AT A = AAT = I. We check that the {Avi }
are orthonormal:
hAvi , Avj i = (Avi )T Avj = viT AT Avj = viT (I)vj = viT vj = hvi , vj i.
Thus if i = j, then hAvi , Avj i = hvi , vi i = 1. If i 6= j, then hAvi , Avj i = hvi , vj i = 0. Thus the
{Avi } are orthogonal.
Now suppose that the vectors {Avi } are orthonormal. By the previous problem, the {vi } are
linearly independent, and there are n of them in Rn , so they form a basis. Write A is the basis given
by the {vi }. Then the ith of A is the vectors Avi expressed in the basis given by {vi }. As the {Avi }
are orthonormal, this implies that the columns of A are orthonormal, so A is orthogonal.
Problem 3. Let Pn denote the vector space of polynomials of degree less than or equal to n, and
of the form p(x) = p0 + p1 x + · · · + pn xn , where the coefficients pi are all real. Let PE denote
the subspace of all even polynomials in Pn , i.e., those that satisfy the property that p(−x) = p(x).
Similarly, let PO denote the subspace of all odd polynomials, i.e., those satisfying p(−x) = −p(x).
Show that Pn = PE ⊕ PO .
(a) Find a square matrix A, whose entries are not all zeros, such that A2 = 0.
(b) Exhibit a nonzero vector that belongs to the nullspace of the matrix that you just constructed.
As the only number whose square is 0 is 0, we see that det(B) = 0 and B is not invertible.
Alternatively, suppose that B is invertible and AB is the identity. Then
I = AB = A(I)B = A(AB)B = A2 B 2 = A2 0 = 0,
but the identity matrix is not 0, so B must not have been invertible.
!
2 3 4
Problem 5. (a) Let A = and consider A as a linear transformation mapping R3 to
8 5 1
R2 . Find the matrix representation with of A with respect to the bases
1
0 1
1 , 1 , 0 .
0
1 1
of R3 and ! !
3 2
,
1 1
of R2 .
Solution. (a) We need to express Av for v in the first basis in terms of the second basis. We
compute:
1 ! ! !
5 3 2
A 1 = = (−21) + 34 ,
13 1 1
0
0 ! ! !
7 3 2
A 1 = = (−5) + 11 ,
6 1 1
1
1 ! ! !
6 3 2
A 0 = = (−12) + 21 .
9 1 1
1
Therefore, we have that !
−21 −5 −12
A= .
34 11 21