Docsity

Solutions to Math 232 Midterm Exam: Linear Algebra, Exams of Linear Algebra

Toggle sidebar
bg1
Solutions to First midterm exam: Math 232
October 9th, 11:30am–12:20am
Instructions/Remarks:
•Read all instructions.
•The questions are on the 6 numbered single-sided pages following this one. Count them now.
•Please include all details and rough work. You may use the back of the question pages and there
is extra paper should you require it.
•The exam is out of a total of 50 marks. The value of each question is indicated below.
•You have 50 minutes to complete this examination.
•Good luck!
pf3
pf4
pf5

Partial preview of the text

Download Solutions to Math 232 Midterm Exam: Linear Algebra and more Exams Linear Algebra in PDF only on Docsity!

Solutions to First midterm exam: Math 232

October 9th, 11:30am–12:20am

Instructions/Remarks:

  • Read all instructions.
  • The questions are on the 6 numbered single-sided pages following this one. Count them now.
  • Please include all details and rough work. You may use the back of the question pages and there

is extra paper should you require it.

  • The exam is out of a total of 50 marks. The value of each question is indicated below.
  • You have 50 minutes to complete this examination.
  • Good luck!

Question 1 [15pts] Consider the system of linear equations

x 1 − x 2 + 2x 3 = 1

−x 1 + 2x 2 − (1 + p)x 3 = p − 1

−x 1 + 3x 2 − 2 px 3 = 2p − 1

a. Write the system in the form Ax = b

b. For what values of p does the system have a unique solution?

c. For what values of p does the system have no solution?

d. For what values of p does the system have infinitely many solutions?

e. Solve the system for p = 1.

Justify your answers and show all your work.

Solution:

a. (^) 

− 1 2 −(1 + p)

− 1 3 − 2 p

x 1

x 2

x 3

p − 1

2 p − 1

b.-e. For the remainder of the question we need to reduce the augmented matrix to row-echelon form.

− 1 2 −(1 + p) p − 1

− 1 3 − 2 p 2 p − 1

0 1 1 − p p

0 2 2 − 2 p 2 p

0 1 1 − p p

0 0 0 0

1 0 3 − p 1 + p

0 1 1 − p p

0 0 0 0

b. There is no value of p for which there is a unique solution since for every value of p there is not a

pivot in every column.

c. There is no value of p for which there is no solution since for all p the only pivotless row has a zero

in its last entry.

d. Since the other two possibilities are ruled out for all p, it must be that there are infinitely many

solutions for all p.

e. Inserting p = 1 into the reduced augmented matrix gives

So x 3 is a free variable, x 1 = 2 − 2 x 3 and x 2 = 1.

c. Row-reducing the augmented system gives

So x 1 = 30, x 2 = 15, x 3 = 20.

Question 3 [10 pts] Write the vector

w =

as a linear combination of

v 1 =

, v 2 =

, v 3 =

Is w in the span of v 1 and v 3? Explain.

Solution: We need to find x 1 , x 2 , x 3 so that

x 1 v 1 + x 2 v 2 + x 3 v 3 = w.

The resulting linear system can be written as the following augmented matrix, which we then row

reduce.

There is a unique solution x 1 = 1, x 2 = 1, x 3 = −1.

If w were in the span of v 1 , v 3 , then we would be able to write

w = α 1 v 1 + 0v 2 + α 3 v 3

for some α 1 , α 2. But this would mean that the solution we found before was not unique, since x 2 6 = 0.

Therefore w is not in the span of v 1 , v 3.