Docsity

MATH 3000 Midterm 2 Solutions: Linear Algebra Problems, Exams of Linear Algebra

Toggle sidebar
bg1
MATH 3000
MIDTERM 2
Name: Key
Problem 1: Let A=
110
111
011
.
(a) (15 points) Find A−1.
110100
111010
011001
−→
1 1 0 1 0 0
001−110
0 1 1 0 0 1
−→
1 1 0 1 0 0
0 1 1 0 0 1
001−110
−→
1 1 0 1 0 0
0 1 0 1 −1 1
001−110
−→
1 0 0 0 1 −1
0 1 0 1 −1 1
001−1 1 0
So A−1is the thing on the right.
(b) (10 points) Find real numbers x1, x2, x3such that
2
−1
−2
=x1
1
1
0
+x2
1
1
1
+x3
0
1
1
.
We want to solve Ax=
2
−1
−2
, so the solution is
A−1
2
−1
−2
=
0 1 −1
1−1 1
−1 1 0
2
−1
−2
=
1
1
−3
.
Get x1= 1, x2= 1, x3=−3.
Date: October 17, 2006.
1
pf3
pf4
pf5

Partial preview of the text

Download MATH 3000 Midterm 2 Solutions: Linear Algebra Problems and more Exams Linear Algebra in PDF only on Docsity!

MATH 3000

MIDTERM 2

Name: Key

Problem 1: Let A =

(a) (15 points) Find A−^1. 

So A−^1 is the thing on the right.

(b) (10 points) Find real numbers x 1 , x 2 , x 3 such that 

 (^) = x 1

 (^) + x 2

 (^) + x 3

We want to solve Ax =

, so the solution is

A−^1

Get x 1 = 1, x 2 = 1, x 3 = −3.

Date: October 17, 2006.

Problem 2: (15 points) Let U and V be subspaces of Rn. Show that (U + V )⊥^ = U ⊥^ ∩ V ⊥.

Suppose x ∈ (U + V )⊥. Then if u ∈ U , x · u = x · (u + 0 ) = 0 because u + 0 ∈ U + V (since 0 ∈ V ). So x ∈ U ⊥. Similarly x ∈ V ⊥^ (make sure you understand why–although if you had written this on the test, I would certainly have given full credit). So x ∈ U ⊥^ ∩ V ⊥. Now suppose x ∈ U ⊥^ ∩ V ⊥. Then for any u ∈ U and v ∈ V , we have that x · (u + v) = (x · u) + (x · v) = 0 + 0 = 0.

So x ∈ (U + V )⊥.

Problem 4: Let A be an n × n matrix. Fix a real number λ. Consider the set Vλ = {x ∈ Rn|Ax = λx}. (a) (10 points) Show that Vλ is a subspace of Rn.

Well, A 0 = 0 = λ 0 , so that shows that 0 ∈ Vλ. Now suppose x ∈ Vλ and c ∈ R. Then A(cx) = c(Ax) = cλx = λ(cx),

which shows that cx ∈ Vλ. Now suppose x ∈ Vλ and y ∈ Vλ. Then A(x + y) = Ax + Ay = λx + λy = λ(x + y),

which shows that x + y ∈ Vλ. There you go.

(b) (10 points) Suppose Ax 1 = x 1 and Ax 2 = 2x 2 , where x 1 and x 2 are nonzero vectors in Rn. Show that {x 1 , x 2 } is linearly independent.

Suppose that c 1 x 1 + c 2 x 2 = 0 , for some constants c 1 , c 2. Then multiplying both sides by A and simplifying gives c 1 x 1 + 2c 2 x 2 = 0.

If we take this equation minus the first equation, we get c 2 x 2 = 0. Since x 2 is nonzero, this means that c 2 = 0. Substituting back into the original equation, we get c 1 x 1 = 0. Since x 1 is nonzero, this means that c 1 = 0. Hence we have shown that {x 1 , x 2 } is linearly independent.

Remarks: (1) The proof might make more sense, or be easier to understand, if you use the fact that a set of two nonzero vectors is linearly independent if and only if the vectors are nonparallel. Or maybe not. I don’t know. (2) It turns out that if you take a bunch of vectors xi ∈ Vλi , 1 ≤ i ≤ n, where the λi are all different real numbers, then the set {x 1 ,... , xn} is linearly independent. (This problem is the special case where i = 2, λ 1 = 1, λ 2 = 2.) If you want to think about how to prove this more general statement, be my guest; these spaces Vλ turn out to be very important later in the course, so we’ll probably prove it at some point.

Problem 5: (a) (10 points) Let

x 1 =

 ,^ x^2 =

 ,^ x^3 =

 ,^ x^4 =

Show that {x 1 , x 2 , x 3 , x 4 } is linearly dependent. After some work, I get    

and so, since there is a free variable, this matrix has a nontrivial nullspace, which means that the column vectors are not linearly independent. (I probably could have seen that there would be a free variable earlier on in my reduction, but I’ll need the reduced echelon form anyway, in order to do part (b).) In fact, it’s not hard to see that x 1 − x 2 − x 3 + x 4 = 0. (How did I get this?)

(b) (10 points) Let U = Span(x 1 , x 2 ) and V = Span(x 3 , x 4 ). Find a set of vectors spanning U ∩ V.

If A is the matrix we made above, then I want solutions to

A

a b −c −d

and from the reduced echelon form we see that a + d = 0, b − d = 0, −c − d = 0, so we get a = c = −d, b = d. Then the vectors in U ∩ V are the vectors of the form cx 3 + dx 4 = −dx 3 + dx 4 = d(−x 3 + x 4 ). So U ∩ V is spanned by the vector

−x 3 + x 4 =