Docsity

Answer Key for Matrix Exam: Orthogonal Projections and Basis, Exams of Linear Algebra

Toggle sidebar
bg1
Answer Key for Exam #2
1. Use elimination on an augmented matrix:
12111 7
13131 8
22125 9
−→
1 2 1 1 1 7
0 1 0 2 0 1
0−2−103 −5
−→
1 0 1 −3 1 5
0 1 0 2 0 1
0 0 −1 4 3 −3
−→
1 0 0 1 4 2
0 1 0 2 0 1
0 0 1 −4−3 3
The fourth and fifth columns lack pivots, so x4and x5are the free variables. The corresponding system is
x1+x4+ 4x5= 2, x2+ 2x4= 1, x3−4x4−3x5= 3
which we solve for the pivot variables:
x1= 2 −x4−4x5
x2= 1 −2x4
x3= 3 +4x4+3x5
x4=x4
x5=x5
Therefore
x1
x2
x3
x4
x5
=
2
1
3
0
0
+x4
−1
−2
4
1
0
+x5
−4
0
3
0
1
2. We perform the eliminations
A=
1135 1
1359 5
−153711
−→
1 1 3 5 1
0 2 2 4 4
0661212
−→
1 0 2 3 −1
0 1 1 2 2
0 0 0 0 0
=R
A basis for the row space is the pivot rows of R, or of A. A basis for the column space is the pivot columns
of A(but not of R). A basis for the nullspace can be found as in problem 1 or by taking the negative of the
upper right corner
µ23−1
1 2 2
of R, putting a 3 ×3 identity matrix below it, and taking the three columns of that. So the only basis that
requires more work is the left nullspace. To get that we transpose the pivot columns of Aand eliminate:
µ11−1
1 3 5 −→ µ11−1
0 2 6 −→ µ10−4
0 1 3
Here we can solve the corresponding system, or throw away the 2 ×2 identity on the left, negate the rest,
and put a 1 ×1 identity under it. We also have another basis for the column space in the rows of the last
matrix above. In conclusion
pf3
pf4
pf5

Partial preview of the text

Download Answer Key for Matrix Exam: Orthogonal Projections and Basis and more Exams Linear Algebra in PDF only on Docsity!

Answer Key for Exam #

  1. Use elimination on an augmented matrix:

The fourth and fifth columns lack pivots, so x 4 and x 5 are the free variables. The corresponding system is

x 1 + x 4 + 4x 5 = 2, x 2 + 2x 4 = 1, x 3 − 4 x 4 − 3 x 5 = 3

which we solve for the pivot variables:

x 1 = 2 −x 4 − 4 x 5

x 2 = 1 − 2 x 4

x 3 = 3 +4x 4 +3x 5

x 4 = x 4

x 5 = x 5

Therefore 

x 1

x 2

x 3

x 4

x 5

  • x 4
  • x 5
  1. We perform the eliminations

A =

 = R

A basis for the row space is the pivot rows of R, or of A. A basis for the column space is the pivot columns

of A (but not of R). A basis for the nullspace can be found as in problem 1 or by taking the negative of the

upper right corner ( 2 3 − 1

1 2 2

of R, putting a 3 × 3 identity matrix below it, and taking the three columns of that. So the only basis that

requires more work is the left nullspace. To get that we transpose the pivot columns of A and eliminate:

Here we can solve the corresponding system, or throw away the 2 × 2 identity on the left, negate the rest,

and put a 1 × 1 identity under it. We also have another basis for the column space in the rows of the last

matrix above. In conclusion

A row space basis is

and

or

and

A null space basis is

and

and

A column space basis is

 (^) and

 (^) or

 (^) and

A left null space basis is

The factored form of A that displays bases for all four is

A =

  1. Taking the easy one first, the left nullspace is one-dimensional, so all we have to do is divide by the length,

which is

2

  • (−3) 2
  • 1 2 =
  1. So

An orthonormal left null space basis is

Our nicest column space vector is probably ~a =

, so we keep it and change ~b =

. We have

~a · ~a = 1 + 1 + 1 = 3 and ~a · ~b = 1 + 3 − 5 = −1, so the projection of ~b onto ~a is

~a · ~a

~a ·

b

~a =

Therefore (^) 

 (^) + ~e,

where ~e is the error in the projection, which is what we want to replace

b with. We have

~e =

and we can get rid of the factor

2 3

. So

An orthogonal column space basis is

 (^) and

and therefore

to project

onto them. We can do these projections one at a time by the same method as above, or

both at once by finding the projection matrix onto the other two. We have

= 6I,

so the projection matrix is

P =

Applying this to

we get

The error ~e in the projection satisfies

  • ~e so

~e =

So we replace

by

. Then

An orthogonal null space basis is

and

and

The lengths here are

114, and

respectively. Therefore

An orthonormal null space basis is

and

and

  1. Let A be the matrix with ~v 1 and ~v 2 as columns: A =

. Then

A

T A =

= 16I,

so the inverse is

1 16

I, and therefore

P =

AA

T

so the projection matrix P onto the subspace S is P =

. We also have

R = 2P − I =

is the reflection matrix through S. The projection ~p of ~v 3 =

onto S is

~p = P~v 3 =

and the reflection ~r of ~v 3 through S is

~r = R~v 3 =

P projects onto its own column space, or its row space since P is symmetric. This gives us a nice basis for

S, and a basis for S

⊥ comes from the null space of P :

A basis for S is

 and

 and^ A basis for^ S

⊥ is

 and

  1. Q is an orthogonal matrix if Q

− 1 = Q

T

. This certainly holds for the identity matrix I, since I

T = I = I

− 1 .

If Q 1 and Q 2 are orthogonal then Q

− 1 1

= Q

T 1 and Q

− 1 2

= Q

T 2 , so

(Q 1 Q 2 )

− 1 = Q

− 1 2 Q

− 1 1 the inverse distributes, with the order changed

= Q

T 2 Q

T 1 since^ Q^1 and^ Q^2 are orthogonal

= (Q 1 Q 2 )

T the transpose distributes, with the order changed

Therefore Q 1 Q 2 is an orthogonal matrix. Finally, if Q is an orthogonal matrix then

Q

− 1

)T

Q

T

inverting and transposing commute

Q

− 1

since Q is orthogonal,

and therefore Q

− 1 is orthogonal. Therefore the set of all n × n orthogonal matrices is a group, for each

positive integer n.