

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to midterm 2 questions for the matrix methods course (appm 3310). It includes finding the row space, column space, null space, and left null space of a matrix, determining when a set of vectors spans a certain dimension, and describing linear transformations of r2 performed by matrices. It also includes problems from the previous midterm revisited, such as proving that the column space of a symmetric matrix is orthogonal to its null space and finding the determinant of a skew-symmetric matrix.
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Midterm 2 Solutions
. Use this definition of A for all parts of this problem.
Give a basis for (a) the row space of A, (b) the column space of A, (c) the null space of A, (d) the left null space of A.
Row reduction gives A ∼ U =
.^ A basis for the row space is the first two
nonzero rows of U (or A), that is,
. For the column space, use the pivot columns
(the first and third columns) of A:
,
.^ (Note: zero points for using the first and
third columns of U .) For the null space, the columns 2 and 4 have free variables, leading to a basis
set
. To find the left null space, row reduce AT^ ∼
. The third
column corresponds to a free variable, so the basis vector is
.
(e) What is the rank of A? (f) What is the rank of AT^? A has two pivots, so its rank = 2. Similarly, AT^ has two pivots, so its rank is 2. The purpose of this question was to help you find errors: you should remember that rank A = rank AT^ always! So if you made an arithmetic error and claimed the ranks were different, you did not receive full credit.
(g) In which case is the set {x 1 , x 2 , x 3 , x 4 } a basis, and for what space? In case (e), when the vectors are linearly independent, they span R^4 and are thus a basis for R^4.
(a) A =
[ 1 0 0 − 1
] (b) B =
[ 0 1 − 1 0
] (c) C =
[ 1 3 0 1
]
The transformation A reflects about the x axis. The transformation B rotates clockwise by 90 degrees. The transformation C shears in the x-direction. (Note: many people had difficulty recognizing the shear transformation, and wrote things like the transformation “rotates and stretches the y-axis” or “stretches the x-axis.” I was lenient in grading wording like this if the sketch was correct, but make sure you understand what shear means for the final.) (d) Describe the composite linear transformations performed by AB and by BA. Are they the same? Why or why not?
First, AB =
[ 0 1 1 0
]
. This transformation first rotates clockwise by 90 degrees, then reflects
through the x-axis. The result, AB, is a reflection through the line y = x. But BA =
[ 0 − 1 − 1 0
] .
When the order is reversed (first reflect, then rotate), the result is a reflection through the origin—you switch the x and y coordinates, then make both negative. Clearly AB 6 = BA, which demonstrates that reflections and rotations do not commute with each other. (Note: zero points if you got the order of the transformations wrong in the composition.)
bT^ x = (Ay)T^ x, = yT^ AT^ x, = yT^ Ax, = yT^0 , = 0.
Where we have used the fact that AT^ = A for a symmetric matrix and that Ax = 0.
(b) If you know the determinant of an n × n matrix A, what is det(−A)? First (more elegant) proof: We can write
| − A| = | − IA|, = | − I||A|.
But | − I| = (−1)n, because the determinant of a diagonal matrix is the product of the diagonal elements, and −I has n diagonal elements, each = −1. Therefore | − A| = (−1)n|A|.