Docsity

Midterm Solutions: Column Space, Symmetric & Skew-Symmetric Matrices, Row Ops, Matrix Mult, Exams of Mathematical Methods

Toggle sidebar
bg1
Linear Algebra
Midterm Solutions
1. (a) A=
1−2−6
036
1−2−5
and b=
11
−9
9
. Is b∈Col A? If so, show how to write bas a
linear combination of the columns of A
Row reduce to find [Ab]∼
1 0 0 1
0 1 0 1
001−2
. So yes, b∈Col A. Weights x1= 1, x2= 1,
x3=−2 give bas a linear combination of the columns of A.
(b) Does the equation Ax=bhave a unique solution ∀b∈R3? Why?
Yes, it does have a unique solution ∀b∈R3, because the echelon form of Ahas one pivot in each
row, so the system is always consistent. This means Ais invertible, since A∼I, and Col A=R3.
(c) Is ATinvertible? Why?
Yes, since Ais invertible (see part (b)) then ATis also invertible.
Some of you row-reduced AT. This approach is valid, but takes much longer than using the fact
that Ais invertible.
2. (a) Describe the solution set of Ax=0in parametric vector form, where A=
124
−2−3−5
0−2−6
.
Row reduce to find [A0]∼
1 0 −2 0
0 1 3 0
0 0 0 0
Thus x3is a free variable, and the parametric
solution is x=x3
2
−3
1
=x3v. Some of you didn’t fully row reduce, and wrote a parametric
solution with 2 vectors instead of only 1. This is a serious error.
(b) Give a geometric description of the solution set you found in (a).
The solution set is a line through the origin and the vector v.
(c) Describe the solution set of Ax=
1
3
−10
in parametric vector form.
Row reduce as above to find [Ab]∼
1 0 −2−9
0 1 3 5
0 0 0 0
Thus x3is a free variable, and the
parametric solution is x=x3
2
−3
1
+
−9
5
0
=x3v+p.
(d)Give a geometric description of the solution set you found in (c). How is your answer different
from your answer to part (b) of this question?
1
pf3

Partial preview of the text

Download Midterm Solutions: Column Space, Symmetric & Skew-Symmetric Matrices, Row Ops, Matrix Mult and more Exams Mathematical Methods in PDF only on Docsity!

Linear Algebra Midterm Solutions

  1. (a) A =

  

   and^ b^ =

  

  . Is^ b^ ∈^ Col^ A?^ If so, show how to write^ b^ as a

linear combination of the columns of A

Row reduce to find [A b] ∼

 

 . So yes, b ∈ Col A. Weights x 1 = 1,^ x 2 = 1,

x 3 = −2 give b as a linear combination of the columns of A.

(b) Does the equation Ax = b have a unique solution ∀ b ∈ R^3? Why? Yes, it does have a unique solution ∀ b ∈ R^3 , because the echelon form of A has one pivot in each row, so the system is always consistent. This means A is invertible, since A ∼ I, and Col A = R^3.

(c) Is AT^ invertible? Why? Yes, since A is invertible (see part (b)) then AT^ is also invertible. Some of you row-reduced AT^. This approach is valid, but takes much longer than using the fact that A is invertible.

  1. (a) Describe the solution set of Ax = 0 in parametric vector form, where A =

  

  .

Row reduce to find [A 0 ] ∼

  

   Thus^ x 3 is a free variable, and the parametric

solution is x = x 3

  

   =^ x 3 v.^ Some of you didn’t fully row reduce, and wrote a parametric

solution with 2 vectors instead of only 1. This is a serious error.

(b) Give a geometric description of the solution set you found in (a). The solution set is a line through the origin and the vector v.

(c) Describe the solution set of Ax =

  

   in parametric vector form.

Row reduce as above to find [A b] ∼

  

   Thus^ x 3 is a free variable, and the

parametric solution is x = x 3

  

   +

  

   =^ x 3 v^ +^ p.

(d)Give a geometric description of the solution set you found in (c). How is your answer different from your answer to part (b) of this question?

The solution set is a line through p parallel to the line through the origin and v. It is the homogenous solution set of part (b) plus the particular solution p.

  1. (a) A matrix is symmetric if it is equal to its transpose: AT^ = A. Given any square matrix B, show that A = B + BT^ is symmetric.

If A is symmetric then AT^ = A. For any B, AT^ = (B + BT^ )T^ = BT^ + (BT^ )T^ = BT^ + B = B + BT^ = A. Therefore A is symmetric no matter what B is.

(b) A 3 × 3 matrix has 9 entries. If the matrix is symmetric, how many of these entries can be chosen independently? Why?

There are 6 free entries. If the matrix is symmetric, AT^ = A. Therefore aij = aji, which means that entries above the diagonal and entries below the diagonal are linked:

A =

 

a b c d e f g h i

  , AT (^) =

 

a d g b e h c f i

 .

AT^ = A means that b = d, c = g, and f = i. What’s on the diagonal doesn’t matter. Therefore instead of having 9 entries which can be chosen independently, 3 entries are fixed based on the other

(c) Generalize your answer to part (b). How many entries in an n × n symmetric matrix can be chosen independently? Why?

There are (n^2 +n)/2 independent (free) entries. The n diagonal entries are free. Off the diagonal, there are n^2 − n entries. Half of these are fixed by the other half. So there are (n^2 − n)/2 entries which are fixed based on the other (n^2 − n)/2 + n = (n^2 + n)/2.

(d) A matrix is skew-symmetric if it is equal to the negative of its transpose: KT^ = −K. Given any square matrix B, show that K = B − BT^ is skew-symmetric.

If K is skew=symmetric then KT^ = −K. For any B, KT^ = (B − BT^ )T^ = BT^ − (BT^ )T^ = BT^ − B = −(B − BT^ ) = −K. Therefore K is skew=symmetric no matter what B is.

4. A =

 

  and B =

 

 . (a) Describe the elementary row operations which

transform A into I.

Interchange the 1st row with the 2nd row, then interchange the new 2nd row with the 3d row. There are other ways to do this.

(b) Find A−^1.

Perform the row operations on I. A =

 

 .

(c) Suppose BC = A. Find C−^1. Use (BC)−^1 = C−^1 B−^1 = A−^1. Multiply both sides on the right by B to find C−^1 = A−^1 B =