Docsity

Practice Midterm Solutions - Elementary Linear Algebra | MATH 341, Study notes of Linear Algebra

Toggle sidebar
bg1
Math 341 Practice Midterm Solutions Fall 2006
1. For each of the following matrices, state the next row operation in the standard row
reduction algorithm, and then perform that row operation.
(a) 2−1
1 0; (b)
1 1 1
0 0 −2
0 2 −1
; (c) 1−2
0−1; (d) 2 2 −4
0 0 1; (e)
1−1 0
0 0 0
2 0 1
.
(a) Add −1/2 times row 1 to row 2.
(b) Exchange rows 2 and 3.
(c) Scale row 2 by −1.
(d) Add 4 times row 2 to row 1.
(e) Add −2 times row 1 to row 3.
2. Let u=
2
0
1
,v=
1
−1
1
and w=
0
2
−1
. Find the set of all points in R3that are
contained in both the plane span{u,v}and the line span{w}.
The intersection of plane and a line is either empty (i.e., they don’t intersect at all),
a single point, or a line (i.e., the whole line is contained inside the plane). First, we
observe that the origin 0is always contained in the span of any set of vectors, so
our plane and line must intersect there. Now, we must determine if the entire line is
contained in the plane, or if 0is their only intersection. This is equivalent to asking
whether or not wis contained in span{u,v}.
In other words, we want to determine whether the equation au+bv=whas a solution.
Writing the corresponding augmented matrix and reducing it to row echelon form:
2 1 0
0−1 2
1 1 −1
→
2 1 0
0−1 2
0 1/2−1
→
2 1 0
0−1 2
0 0 0
.
Since we did not obtain a contradiction, there must be at least one solution, and so w
is a linear combination of uand v. Thus w, and in fact the whole line span{w}, is
contained inside the plane span{u,v}.
Alternatively, we can solve the equation au+bv=cwfor the parameters a, b, c. Now
we are dealing with a homogeneous equation, and the reduced row echelon form is:
2 1 0
0−1−2
1 1 1
→
2 1 0
0−1−2
0 0 0
→
1 0 −1
0 1 2
0 0 0
.
Thus cis a free variable, and a=c, b =−2c. We can therefore write the intersection
in parametric vector form as either cu−2cvor cw.
pf3
pf4
pf5

Partial preview of the text

Download Practice Midterm Solutions - Elementary Linear Algebra | MATH 341 and more Study notes Linear Algebra in PDF only on Docsity!

Math 341 Practice Midterm Solutions Fall 2006

  1. For each of the following matrices, state the next row operation in the standard row reduction algorithm, and then perform that row operation.

(a)

[

]

; (b)

 (^) ; (c)

[

]

; (d)

[

]

; (e)

(a) Add − 1 /2 times row 1 to row 2. (b) Exchange rows 2 and 3. (c) Scale row 2 by −1. (d) Add 4 times row 2 to row 1. (e) Add −2 times row 1 to row 3.

  1. Let u =

, v =

 (^) and w =

. Find the set of all points in R^3 that are

contained in both the plane span{u, v} and the line span{w}. The intersection of plane and a line is either empty (i.e., they don’t intersect at all), a single point, or a line (i.e., the whole line is contained inside the plane). First, we observe that the origin 0 is always contained in the span of any set of vectors, so our plane and line must intersect there. Now, we must determine if the entire line is contained in the plane, or if 0 is their only intersection. This is equivalent to asking whether or not w is contained in span{u, v}. In other words, we want to determine whether the equation au+bv = w has a solution. Writing the corresponding augmented matrix and reducing it to row echelon form:  

Since we did not obtain a contradiction, there must be at least one solution, and so w is a linear combination of u and v. Thus w, and in fact the whole line span{w}, is contained inside the plane span{u, v}. Alternatively, we can solve the equation au + bv = cw for the parameters a, b, c. Now we are dealing with a homogeneous equation, and the reduced row echelon form is: 

Thus c is a free variable, and a = c, b = − 2 c. We can therefore write the intersection in parametric vector form as either cu − 2 cv or cw.

  1. Consider the matrix A =

. How many solutions are there to the

homogeneous equation Ax = 0? Write the solution set as a parametric vector equation. Row reducing A to reduced echelon form, we have:

A →

We see that x 2 is a free variable, so there are infinitely many solutions. Writing the basic variables in terms of the free variables, we have x 1 = 3x 2 , x 3 = 0, x 4 = 0, which in parametric vector form becomes:

x =

x 1 x 2 x 3 x 4

3 x 2 x 2 0 0

 =^ x^2

  1. (a) Parameterize all solutions of the matrix equation A~x = 0 when A =

[

]

Row reducing the associated augmented matrix we get

[

]

. There is one free

variable, namely x 3. Setting x 3 to be 1 we get the solution

. All solutions are

in the span of this solution, so are parametrized as c

. (Note, if there are more

free variables, set one to be equal to 1, the rest to be 0 to get your “basic solutions” which span all solutions.)

(b) With A as before, parameterize all solutions of the equation A~x =

Oops - didn’t check in proofreading that this should only be a two-dimensional vector,

so let’s pretend I said

 (^) instead. Then we only need to find one solution: by letting

x 3 = 0, so x 2 must be −1. We then find x 1 must be 0. So

 (^) is a solution, and we

get that all solutions are of the form

 (^) + c

the transformation matrix is given by the image of

[

]

, which you can work out to be [√ √^2 /^2 2 / 2

]

. So in all you get the matrix

[ √

]

. (This is actually the matrix

represented by 45 degree clockwise rotation by itself!).

  1. Consider the matrix A =

, and let T : R^4 → R^3 be the linear transfor-

mation given by T (x) = Ax.

(a) Is T onto? (b) Is T one-to-one?

Please explain your answers and show your work. Reducing A to its row echelon form, we obtain:

A →

(a) Yes, T is onto. The row echelon form of A has no rows that are all 0, so we can always solve the equation Ax = b for any vector b in the codomain R^3. (In the textbook’s terminology, we have a pivot position in in every row.) (b) No, T is not one-to-one. The variable x 4 is free, so we have infinitely many solutions to the equation Ax = 0. (In the textbook’s terminology, we do not have a pivot position in every column.) We can also see this by noting that A has more columns that rows, which means that the columns of A are linearly dependent.

  1. Find the inverse of the matrix A =

 (^) and use it to solve the matrix equations

A~x = ~b for ~b =

 (^) and ~b =

Using the algorithm from class (row-reducing A to get I at the same time as performing

the operations on I to get A−^1 ) we find that A−^1 =

 (^) Solutions

for equations are obtained by multiplying the given vectors by this matrix, to get

A−^1

 (^) in the first case and A−^1

 (^) in the second case.

  1. Prove that if T is a linear transformation then T~0 = ~ 0

One of the two basic properties defining a linear transformation is that T (c~v) = cT (~v). If we plug in c = 0 then the left-hand side becomes T (0~v) = T (~0) and the righ-hand side becomes 0T (~v) = ~0, giving the stated equality.

  1. Prove that if the vectors {~x, ~y, ~z} are linearly dependent, then so are the vectors {~x, ~x + ~y, ~z}. By definition, the fact that {~x, ~y, ~z} are linearly dependent means that there are c 1 , c 2 , c 3 , not all zero, such that c 1 ~x + c 2 ~y + c 3 ~z = ~0. This means then that (c 1 − c 2 )~x + c 2 (~x + ~y) + c 3 ~z = ~0. If the original c 1 , c 2 , c 3 are not all zero, then neither are (c 1 − c 2 ), c 2 , c 3 (proof: if either c 2 or c 3 is not zero, we’re done. Otherwise, if they are zero, then c 1 must not be zero by assumption, which means c 1 − c 2 = c 1 − 0 is not zero either.)