Docsity

Sample Final Solution - Linear Algebra | MATH 115A, Exams of Linear Algebra

Toggle sidebar
bg1
SAMPLE FINAL SOLUTIONS
(1) Let Vbe an inner product space. Suppose vis a vector such that hv, wi= 0 for all w∈V. Show
that v= 0.
Solution. If hv, wi= 0 for all w∈V, then in particular it holds for w=v, so that we have
hv, vi= 0. In an inner product space, this can only be true if v= 0.
(2) Show that the function hx, yi=xt1i
−i2ydefines an inner product on C2.
Solution. Let M=1i
−i2. This function is linear in the first variable:
hx1+cx2, yi= (x1+cx2)tM y =xt
1My +cxt
2My.
This function also satisfies the Hermitian property: note that M=Mt. We calculate:
hx, yi=hx, yit
=xtMyt
=ytMtx
=ytMx
=ytMx
=hy, xi.
Finally, let v=a
b∈C2be a nonzero vector and consider hv, vi:
hv, vi=aa +abi −abi + 2bb
= (a−ib)(a−ib) + bb
=|a−ib|2+|b|2,
and this can only be a positive number.
(3) Let A∈Mn×n(C) be a matrix which satisfies AA∗=In. (Such a matrix is called unitary.) Show
that if v, w ∈Cnare orthogonal to each other, then Av and Aw are orthogonal to each other as well.
Solution. Since vand ware orthogonal, we have hv, wi= 0. We also have
hAv, Awi=hv, A∗Aw i
=hv, Inwi
=hv, wi
= 0.
pf3
pf4

Partial preview of the text

Download Sample Final Solution - Linear Algebra | MATH 115A and more Exams Linear Algebra in PDF only on Docsity!

SAMPLE FINAL SOLUTIONS

(1) Let V be an inner product space. Suppose v is a vector such that 〈v, w〉 = 0 for all w ∈ V. Show that v = 0.

Solution. If 〈v, w〉 = 0 for all w ∈ V , then in particular it holds for w = v, so that we have 〈v, v〉 = 0. In an inner product space, this can only be true if v = 0. 

(2) Show that the function 〈x, y〉 = xt

1 i −i 2

y defines an inner product on C^2.

Solution. Let M =

1 i −i 2

. This function is linear in the first variable:

〈x 1 + cx 2 , y〉 = (x 1 + cx 2 )tM y = xt 1 M y + cxt 2 M y. This function also satisfies the Hermitian property: note that M = M t. We calculate: 〈x, y〉 = 〈x, y〉t =

xtM y

)t

= ytM tx = ytM x = ytM x = 〈y, x〉.

Finally, let v =

a b

∈ C^2 be a nonzero vector and consider 〈v, v〉:

〈v, v〉 = aa + abi − abi + 2bb = (a − ib)(a − ib) + bb = |a − ib|^2 + |b|^2 , and this can only be a positive number. 

(3) Let A ∈ Mn×n(C) be a matrix which satisfies AA∗^ = In. (Such a matrix is called unitary.) Show that if v, w ∈ Cn^ are orthogonal to each other, then Av and Aw are orthogonal to each other as well.

Solution. Since v and w are orthogonal, we have 〈v, w〉 = 0. We also have 〈Av, Aw〉 = 〈v, A∗Aw〉 = 〈v, Inw〉 = 〈v, w〉 = 0.

So Av and Aw are also orthogonal.

(4) Let W ⊂ V be a subspace of an inner product space. Show that W ∩ W ⊥^ = { 0 }.

Solution. Suppose v ∈ W ∩ W ⊥^ lies in the intersection. Then by definition v is orthogonal to every vector in W , including v itself: 〈v, v〉 = 0. But since V is an inner product space, this implies that v = 0. So W ∩ W ⊥^ = { 0 }. 

(5) Let T ∈ Mn×n(C) be a normal matrix, meaning that T T ∗^ = T ∗T. Show that if T (v) = 0 for a vector v ∈ V , then T ∗(v) = 0 as well. (Hint: consider 〈T (v), T (v)〉.)

Solution. We have

= 〈T (v), T (v)〉 = 〈v, T ∗(T (v))〉 = 〈v, (T ∗T )(v)〉 = 〈v, (T T ∗)(v)〉 = 〈v, T (T ∗(v))〉 = 〈T ∗(v), T ∗(v)〉

This can only be if T ∗(v) = 0. (In retrospect, I should have given the hint “consider 〈T ∗(v), T ∗(v)〉”: then you could give the above argument in reverse, with the “= 0” bit at the end. That seems more natural to me.) 

(6) Find an orthonormal basis for the subspace W ⊂ R^3 of vectors (x, y, z) satisfying x + y + z = 0.

Solution. A basis for W is given by w 1 = (1, 0 , −1) and w 2 = (0, 1 , −1). We apply Gram-Schmidt to {w 1 , w 2 }. The result is the pair

(7) Let T, U ∈ L(V ) be two linear operators which commute: T U = U T. Let Eλ be the λ-eigenspace for the operator U. Show that Eλ is invariant under T. In other words, show that if v ∈ Eλ, then T (v) ∈ Eλ as well.

so that a 2 = 0, d 2 = 0, b 1 = c 1 and b 2 = −c 2. Thus we may take a 1 , d 1 , b 1 and b 2 to be our free variables; the other variables depend on them (or are just plain 0). We get that V has dimension 4, with basis (^) {( 1 0

i −i

Note that V is not a complex vector space: it is not closed on multiplication by i. 

(10) Let T ∈ L(V ) be a linear operator such that T 2 = T. Show that the only possible eigenvalues of T are 0 and 1.

Solution. For if λ is an eigenvalue of T , say with vector v 6 = 0, we have T (v) = λv. Apply T again to get T 2 (v) = λT (v) = λ^2 v. Since T 2 = T , we get λv = λ^2 v, so that λ^2 = λ. Thus λ ∈ { 0 , 1 }.