Docsity

Exam 2 Sample Problems with Solutions - Linear Algebra | MATH 304, Exams of Linear Algebra

Toggle sidebar
bg1
Math 304
Exam 2 Sample Problems Solutions
Final Version
March 28, 2004
1. Determine if the following sets of vectors are or are not vector spaces. If they are not,
explain why.
(a) V= solution set of the equations x+y−z−w= 0 and x+y+ 2w= 0 in R4.
Solution: This is a vector space. Solution sets of homogeneous systems of linear
equations are always vector spaces.
(b) W=[x
y]
y=x+1
x.
Solution: Wis not a vector space. Notice that [ 1
2]∈Wbut that 2·[1
2] = [ 2
4]/∈W.
So Wis not closed under scalar multiplication.
(c) X= set of upper triangular 3 ×3 matrices.
Solution: Xis a vector space. We know that the set of 3 ×3 matrices forms a
vector space. One needs only check that Xis closed under addition and scalar
multiplication. (On the exam, you would indeed want to check this for full credit!)
2. Determine if the following sets of vectors are or are not linearly independent. Explain
how you know a set is or is not linearly independent. If a set is linearly dependent,
then find a linear dependency among the vectors.
(a)
3
4
5
,
1
0
9
Solution: These vectors are linearly independent. For two vectors to be linearly
dependent, one must be a scalar multiple of the other. Any scalar multiple of h1
0
9i
must have a 0 in the middle entry.
(b)
3
4
5
,
1
0
9
,
−1
2
0
Solution: These vectors are linearly independent. We check that
det
3 1 −1
4 0 2
5 9 0
=−80 6= 0.
Thus these vectors are linearly independent by Thm. 3.3.1 in Leon.
(c)
3
4
5
,
1
0
9
,
−1
2
0
,
1
1
1
pf3
pf4
pf5

Partial preview of the text

Download Exam 2 Sample Problems with Solutions - Linear Algebra | MATH 304 and more Exams Linear Algebra in PDF only on Docsity!

Math 304 Exam 2 Sample Problems Solutions Final Version March 28, 2004

  1. Determine if the following sets of vectors are or are not vector spaces. If they are not, explain why. (a) V = solution set of the equations x + y − z − w = 0 and x + y + 2w = 0 in R^4. Solution: This is a vector space. Solution sets of homogeneous systems of linear equations are always vector spaces. (b) W = {[ xy ] ∣∣^ y = x + (^) x^1 }. Solution: W is not a vector space. Notice that [ 12 ] ∈ W but that 2·[ 12 ] = [ 24 ] ∈/ W. So W is not closed under scalar multiplication. (c) X = set of upper triangular 3 × 3 matrices. Solution: X is a vector space. We know that the set of 3 × 3 matrices forms a vector space. One needs only check that X is closed under addition and scalar multiplication. (On the exam, you would indeed want to check this for full credit!)
  2. Determine if the following sets of vectors are or are not linearly independent. Explain how you know a set is or is not linearly independent. If a set is linearly dependent, then find a linear dependency among the vectors.

(a)

Solution: These vectors are linearly independent. For two vectors to be linearly dependent, one must be a scalar multiple of the other. Any scalar multiple of

[ 1

(^09)

]

must have a 0 in the middle entry.

(b)

Solution: These vectors are linearly independent. We check that

det

Thus these vectors are linearly independent by Thm. 3.3.1 in Leon.

(c)

Solution: These vectors must be linearly dependent. In a vector space of dimen- sion 3, such as R^3 , any collection of 4 or more vectors must be linearly dependent (Thm. 3.4.1 in Leon). For a linear dependency we solve

a

 (^) + b

 (^) + c

 (^) + d

for a, b, c, d. This gives us three linear equations 3 a + b − c + d = 0 4 a + 2c + d = 0 5 a + 9b + d = 0. Solving these equations we find a = −5, b = 1, c = 2, and d = 16, is one of many possible solutions.

(d)

Solution: As in part (b) we take the 4×4 determinant obtained from these vectors. However, here we find that the determinant is 0. This means that these vectors must be linearly dependent. Setting up the equations as we did in part (c), we find that one possible dependency is

 −^3

  1. Find linear equations that define the subspaces that are the spans of the sets of vectors in (a)–(d) in problem 2. (a) Solution:

[ (^) x yz

]

∈ Span(

[ 3

(^45)

]

[ 1

(^09)

]

) if and only if there are α, β ∈ R so that  

x y z

 (^) = α

 (^) + β

From this we get 3 equations, x = 3α + β y = 4α z = 5α + 9β.

(b) Find linear equations that define N (A) as a subset of R^4. Solution: These can read off of the rows of A: 2 x − y = 0 2 y + z = 0. (c) Find a basis of N (A) that contains v. Solution: Our space N (A) is the intersection of two hyperplanes in R^4 , and so it should be a 2-dimensional space. Thus its basis should have 2 elements in it. By solving the equations in part (b), we see that N (A) is given by

N (A) =

−^14 α −^12 α α β

∣∣ α, β ∈ R

^.

Let u =

[ − 1 / 4

− 11 / 2 0

]

Claim: {u, v} is a basis for N (A). First, u and v are linearly independent because neither one is a (non-zero) scalar multiple of the other. To check that Span(u, v) = N (A) we observe that from the displayed line above,

N (A) =

^ α

 +^ β

∣∣ α, β ∈ R

= Span(u, v). (d) What is the dimension of N (A)? Solution: Since the basis of N (A) has 2 vectors in it, the dimension of N (A) is 2.

  1. Let S =

{[ 1

(^00)

]

[ 0

(^10)

]

[ 0

(^01)

]}

be the standard basis of R^3. Let A =

{[ 1

(^10)

]

[ 1

(^01)

]

[ 0

(^11)

]}

and B =

{[ 1

(^10)

]

[ 1

(^01)

]

[ 0

−^11

]}

(a) Show that A is a basis for R^3. Show that B is not a basis for R^3. Solution: To show that A is a basis for R^3 , it suffices to show that the vectors in A are linearly independent (we’re making crucial use of Thm. 3.4.3 in Leon). To check that they are linearly independent, we take the determinant,

det

Since the determinant is 6 = 0, the vectors in A are linearly independent.

To show that B is not a basis for R^3 , it suffices to show that the vectors in B are linearly dependent. Again, we take a determinant,

det

Since the determinant is 0, the vectors made up from the columns are linearly dependent. (b) Find a linear equation (or equations) whose set of solutions is Span(B). Solution: We want to row reduce the augmented matrix  

1 1 0 x 1 0 1 y 0 1 − 1 z

Performing elementary row operations we obtain,  

1 1 0 x 0 1 1 x − y 0 0 0 x − y − z

Thus, Span(B) =

x y z

 ∈ R^3

∣∣ x − y − z = 0

(c) Find the coordinates of

[ 3

(^45)

]

with respect to the basis A. (You may want to do the next part first.) Solution: Let v =

[ 3

(^45)

]

. The change of basis matrix to convert from the S-basis to the A-basis is UA =

Since we need its inverse, we compute,

U (^) A− 1 =