Homework Set #1 Solutions

Similar documents
Linear Equations in Linear Algebra

Row Reduced Echelon Form

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

1 Last time: linear systems and row operations

MATH 54 - WORKSHEET 1 MONDAY 6/22

Matrix Factorization Reading: Lay 2.5

Row Reduction and Echelon Forms

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

1.4 Gaussian Elimination Gaussian elimination: an algorithm for finding a (actually the ) reduced row echelon form of a matrix. A row echelon form

0.0.1 Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros.

Solving Linear Systems Using Gaussian Elimination

M 340L CS Homework Set 1

1300 Linear Algebra and Vector Geometry

Notes on Row Reduction

R2 R2 2R R2 R1 3R This is the reduced echelon form of our matrix. It corresponds to the linear system of equations

22A-2 SUMMER 2014 LECTURE 5

Relationships Between Planes

Section 6.2 Larger Systems of Linear Equations

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Last Time. x + 3y = 6 x + 2y = 1. x + 3y = 6 y = 1. 2x + 4y = 8 x 2y = 1. x + 3y = 6 2x y = 7. Lecture 2

Section 1.2. Row Reduction and Echelon Forms

MATH10212 Linear Algebra B Homework Week 3. Be prepared to answer the following oral questions if asked in the supervision class

Math "Matrix Approach to Solving Systems" Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25

Matrix equation Ax = b

Math 2331 Linear Algebra

Matrices and RRE Form

Section Gaussian Elimination

Exercise Sketch these lines and find their intersection.

Linear Equation: a 1 x 1 + a 2 x a n x n = b. x 1, x 2,..., x n : variables or unknowns

Chapter 4. Solving Systems of Equations. Chapter 4

MA 3280 Lecture 05 - Generalized Echelon Form and Free Variables. Friday, January 31, 2014.

4 Elementary matrices, continued

Linear Algebra Handout

Chapter 1. Vectors, Matrices, and Linear Spaces

4 Elementary matrices, continued

Elementary matrices, continued. To summarize, we have identified 3 types of row operations and their corresponding

CHAPTER 8: MATRICES and DETERMINANTS

22m:033 Notes: 1.2 Row Reduction and Echelon Forms

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

MATH10212 Linear Algebra B Homework Week 4

Linear Algebra I Lecture 10

MATH240: Linear Algebra Review for exam #1 6/10/2015 Page 1

Math 54 Homework 3 Solutions 9/

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Announcements Wednesday, August 30

The Gauss-Jordan Elimination Algorithm

MATH 1553, C.J. JANKOWSKI MIDTERM 1

Announcements Wednesday, August 30

Lectures on Linear Algebra for IT

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Chapter 3. Directions: For questions 1-11 mark each statement True or False. Justify each answer.

March 19 - Solving Linear Systems

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form

1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1

MTH 2530: Linear Algebra. Sec Systems of Linear Equations

1300 Linear Algebra and Vector Geometry Week 2: Jan , Gauss-Jordan, homogeneous matrices, intro matrix arithmetic

Homework 1.1 and 1.2 WITH SOLUTIONS

MODEL ANSWERS TO THE THIRD HOMEWORK

Math 220 F11 Lecture Notes

Math 3C Lecture 20. John Douglas Moore

MATH 1553, SPRING 2018 SAMPLE MIDTERM 1: THROUGH SECTION 1.5

Handout 1 EXAMPLES OF SOLVING SYSTEMS OF LINEAR EQUATIONS

EXAM 2 REVIEW DAVID SEAL

Homework 1 Due: Wednesday, August 27. x + y + z = 1. x y = 3 x + y + z = c 2 2x + cz = 4

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal

Linear Algebra March 16, 2019

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Math 1021, Linear Algebra 1. Section: A at 10am, B at 2:30pm

And, even if it is square, we may not be able to use EROs to get to the identity matrix. Consider

2 Systems of Linear Equations

Solving Linear Systems

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

This lecture is a review for the exam. The majority of the exam is on what we ve learned about rectangular matrices.

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Chapter 2. Systems of Equations and Augmented Matrices. Creighton University

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

Solutions to Exam I MATH 304, section 6

MTHSC 3110 Section 1.1

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system

Review for Chapter 1. Selected Topics

Review Solutions for Exam 1

Name: Section Registered In:

Linear equations The first case of a linear equation you learn is in one variable, for instance:

Span & Linear Independence (Pop Quiz)

Ack: 1. LD Garcia, MTH 199, Sam Houston State University 2. Linear Algebra and Its Applications - Gilbert Strang

Chapter 1: Linear Equations

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

MAT 1302B Mathematical Methods II

Chapter 1: Systems of Linear Equations

Homework Set #8 Solutions

MATH 1553 PRACTICE MIDTERM 1 (VERSION A)

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued

Math 320, spring 2011 before the first midterm

Chapter 1: Linear Equations

The scope of the midterm exam is up to and includes Section 2.1 in the textbook (homework sets 1-4). Below we highlight some of the important items.

Introduction to Systems of Equations

Problem Sheet 1 with Solutions GRA 6035 Mathematics

Span and Linear Independence

Transcription:

Homework Set #1 Solutions Exercises 1.1 (p. 10) Assignment: Do #33, 34, 1, 3,, 29-31, 17, 19, 21, 23, 2, 27 33. (a) True. (p. 7) (b) False. It has five rows and six columns. (c) False. The definition given is that for a single solution. In contrast, the solution set is the set of all such solutions. (d) True. (p. 8) 34. (a) True. (p. 7) (b) False. Two matrices are row equivalent if one can be transformed to the other by means of elementary row operations. (c) False. An inconsistent system has no solutions. (d) True. (p. 3) For problems 1, 3, and, I ve used the row reduction algorithm of Section 1.2 on the augmented matrices to solve the systems. If you picked different row operations, your intermediate steps will be different, but you should get the same final solution set as I do. Here, I ve solved problem 1 in unusual detail. Problems 3 and are solved in the detail I d expect on a quiz or exam if I asked you to show your work. 1. We begin by locating the pivot column and the pivot position (step 1): 2 9 2 Since the pivot position contains a nonzero pivot, there s no need to interchange rows (step 2). It now remains to zero out the entry below the pivot (step 3), which we do here: 2 9 2 R2 R2+2R1 0 10 1

Now, we cover the pivot row, and repeat the steps for the submatrix (step 4). We identify the new pivot column and pivot position (step 1) as follows: 0 10 As the pivot position contains a nonzero entry, there s nothing to do for step 2. As there are no entries below the pivot, there s nothing to do for step 3. Therefore, we are done the forward phase of the row reduction algorithm. Observe that now the matrix is in an echelon form. From this form, we can already apply Theorem 2 on p. 24 to see that (i) the original linear system is consistent (because the rightmost column of the augmented matrix isn t a pivot column); and (ii) it has a unique solution (because all variables correspond to pivot columns and so are basic variables there are no free variables). Now we can apply the backwards phase (step ) to produce the reduced echelon form. Working from right to left, we attack each of the pivots. The first pivot is, and it must be scaled to one: 0 10 R2 1 R2 0 1 2 Now, it s necessary to zero out the entry above this pivot: 0 1 2 R1 R1 7R2 1 0 10 0 1 2 That s done, so we can move on to the next pivot: 1 0 10 0 1 2 This pivot is already 1, and there are no entries above it to zero out. Therefore, we are done. Observe that the final matrix is in reduced echelon form, and it corresponds to the 2

general solution { x1 = 10 x 2 = 2 with basic variables x 1 and x 2 and no free variables. In short, ( 10, 2) is the unique solution. It is always worthwhile to check our answer, since it s easy to make a small mistake while doing a row operation. Substituting this answer into the original equations gives: x 1 + 7x 2 = 10 + 7(2) = 4 2x 1 9x 2 = 2( 10) 9(2) = 2 and we see that we ve gotten it right. 3. Identify first pivot position. It s already got a nonzero pivot, so just zero out the entry below: 1 3 4 3 9 8 R2 R2+3R1 1 3 4 0 0 20 Cover first row, and identify next pivot position: 1 3 4 0 0 20 There s nothing else to do! Now, the matrix is in echelon form. Already, we can see that it is inconsistent because the last row is equivalent to the invalid equation 0 = 20. There is no need to continue; we know the solution set is empty.. Identify first pivot position. It s already got a nonzero pivot, so just zero out the entry below: 1 4 7 1 1 1 R2 R2 R1 1 4 7 0 8 3

Cover first row, and identify next pivot position: 1 4 7 0 8 There s nothing else to do! The echelon form tells us the underlying linear system is consistent (last column isn t a pivot column) and has a unique solution (all other columns are pivot columns). We continue with the backward phase to get the solution. Working right to left, we find our first pivot must be scaled to 1. Then, the entry above it must be zeroed out : 1 4 7 0 8 R2 1 R2 1 4 7 0 1 8 R1 R1 4R2 1 0 0 1 3 8 The next pivot is already one, and there are no entries above it: 1 0 0 1 3 8 This is the reduced echelon form, giving the unique solution: { x1 = 3 x 2 = 8 and, again, it s worthwhile to check our solution against the original system: x 1 + 4x 2 = 3 4 ( 8 ) = 7 x 1 x 2 = 3 8 = 1 Therefore, the point ( 3, 8 ) is the unique point lying on both given lines. 29. forward: R2 1 2R2; reverse R2 2R2. 4

30. forward: R1 R2; reverse R1 R2. 31. forward: R3 R3 2R2; reverse R3 R3 + 2R2. For problems 17 and 19, I ve used the forward phase of the row reduction algorithm on the augmented matrices to get an echelon form. This tells me where the pivot columns are, and I can apply Theorem 2 on p. 24: the systems are consistent if and only if the rightmost column isn t a pivot column. 17. We find the first pivot position. It s already got a nonzero pivot, so we need only zero out the entries below it: 2 3 4 0 1 2 4 1 3 1 2 R3 R3+ 1 2 R1 0 1 2 4 2 3 4 0 3 2 1 9 2 We cover the first row, and identify the next pivot position. It already contains a nonzero pivot which we use to zero out the entry below it: 2 3 4 0 1 2 4 0 3 2 1 9 2 R3 R3 3 2 R2 0 1 2 4 2 3 4 0 0 4 3 2 We cover the first and second rows, and identify the next pivot position: 2 3 4 0 1 2 4 0 0 4 3 2 Now, there s nothing else to do. Our matrix is in echelon form. If we indicate all pivot

columns and pivot positions: 2 3 4 0 1 2 4 0 0 4 3 2 we see that the rightmost column is not a pivot column. Therefore, by Theorem 2, this system is consistent. (In fact, since all other columns are pivot columns, it has no free variables and so has a unique solution.) 19. We find the first pivot position but discover that it contains a zero entry. We need to interchange two rows to get a nonzero pivot: 2 3 2 1 R1 R2 2 3 2 1 Now, we can use this pivot to zero out the nonzero entry below: R4 R4+2R1 0 3 2 3 1 We cover the first row and identify the next pivot position. Fortunately, it s nonzero, so we need only zero out the entries below it: 0 3 2 3 1 R4 R4 3 2 R2 0 0 1 3 1 6

We cover the first and second rows, and identify the next pivot position. It, too, is nonzero, and we need only zero out the entry below it: 0 0 1 3 1 R4 R4+R3 0 0 0 0 If we cover up the first three rows and identify the pivot position: 0 0 0 0 we see that there s nothing else to do. This final matrix is in echelon form. What s more, in the last step, we identified the rightmost column as a pivot column. By Theorem 2, this system is inconsistent. It has no solutions. The trick with problems 21, 23, and 2 is to apply the row reduction algorithm just as if we knew the value for the unspecified matrix entry (or entries). 21. The first pivot position contains a nonzero entry. We just need to zero out the entry below it: 1 3 h 2 6 R2 R2+2R1 1 3 h 0 0 + 2h At this stage, we cover the first row and try to find the next pivot position: 1 3 h 0 0 + 2h Now, the pivot column will be the leftmost nonzero column. Either the unknown quantity + 2h is zero or it s nonzero. We need to consider these two cases separately. 7

Case 1. If + 2h = 0, then there is no leftmost nonzero column, so the algorithm stops. In this case, the matrix is in echelon form, and the pivot columns and positions are as follows: 1 3 h 0 0 0 Since the rightmost column is not a pivot column, in this case the associated system is consistent. Case 2. If + 2h 0, then there is a leftmost nonzero column, and we identify it as the pivot column. The nonzero quantity + 2h is our pivot, it s already nonzero, and there are no entries below it to zero out. Therefore, we are done, and our matrix is in echelon form with pivot columns and positions as follows: 1 3 h 0 0 + 2h Since the rightmost column is a pivot column, in this case the associated system is inconsistent. Therefore, our associated system is consistent if and only if + 2h = 0 or, equivalently, if and only if h = /2. 23. The first pivot position contains a nonzero entry, and there s a nonzero entry below it that must be zeroed out: 1 h 2 4 2 10 R2 R2+4R1 1 h 2 0 2 + 4h 2 Now, we cover the first row and try to identify the next pivot column: 1 h 2 0 2 + 4h 2 Again, this depends on 2 + 4h, and we must study the two cases: 8

Case 1. If 2 + 4h = 0, then the next pivot column the rightmost column. Immediately, we know the associated linear system must be inconsistent. Case 2. On the other hand, if 2 + 4h 0, then the next pivot column is column two. In this case, the pivot position has entry 2 + 4h (which is nonzero) and no entries below it, so we are done. The matrix is in echelon form, and its pivot columns are the first and second columns. Since its rightmost column is not a pivot column, the associated linear system is consistent. Therefore, the associated system is consistent if and only if 2 + 4h 0 or, equivalently, if and only if h 1/2. 2. This exercise is another variant on the theme. The first pivot position is easy to identify. It contains a nonzero pivot, and we just have to zero out a nonzero entry below it: 1 4 7 g 0 3 h 2 9 k R3 R3+2R1 1 4 7 g 0 3 h 0 3 2g + k Moving on, the next pivot position also contains a nonzero pivot, and we just have to zero out the nonzero entry below it: 1 4 7 g 0 3 h 0 3 2g + k R3 R3+R2 1 4 7 g 0 3 h 0 0 0 2g + h + k Now, as before, the location of the final pivot column depends on the value of 2g + h + k. If 2g + h + k = 0, then there is no additional pivot column; the only two pivot columns are the first and second columns, the rightmost column is not a pivot column, and the associated system is consistent. On the other hand, if 2g + h + k 0, then the final pivot column is the rightmost column, and the associated system is inconsistent. Therefore, the associated linear system is consistent if and only if 2g + h + k = 0. 27. We apply the row reduction algorithm to the augmented matrix associated with this linear system. 9

2 3 1 2 3 1 2 3 1 6 0 R2 R2 3R1 0 4 3 R3 R3 R1 0 4 3 2 7 2 7 0 8 8 2 3 1 2 3 1 0 4 3 R3 R3 2R2 0 4 3 0 8 8 0 0 2 Now, the matrix is in echelon form. Since this system is inconsistent (observe that the rightmost column is a pivot column), the lines have no point in common. Exercises 1.2 (p. 2) Assignment: Do #23, 24, 1, 3 23. (a) False. A matrix may have different echelon forms, but its reduced echelon form is unique. (b) False. The row reduction algorithm may be applied to any matrix to reduce it to echelon or reduced echelon form. The matrix doesn t have to be the augmented matrix of a linear system. (c) True, but... On page 20, the author defines basic variables as those variables corresponding to pivot columns of the augmented matrix, not the coefficient matrix. However, the pivot columns of the coefficient matrix (what we d get if we used our row reduction algorithm on the coefficient matrix directly) are pivot columns of the augmented matrix, too. (Can you see why?) Therefore, the basic variables do in fact correspond to pivot columns of the coefficient matrix. I don t think the author meant to make this problem so hard. (d) Mostly true. (p. 22) Finding a parameteric description or showing that the solution set is empty is the same as solving the system. (e) False. If the augmented matrix contains a row that s all zeros except for a nonzero rightmost entry, then the system is inconsistent. That s because such a row corresponds to an equation 0 = b (for b nonzero) which is clearly contradictory. The row given here corresponds to the equation x 4 = 0, and there s nothing wrong with that! 10

24. (a) False. See 23(a). (b) False. The pivot positions of a matrix are an intrinsic property of that matrix. They don t depend on what kind of row reduction technique we apply to it. (c) True. (p. 17, 20) (d) True. (p. 24) (e) True. (p. 21) (f) False. The ostrich is the largest bird living today, but both the Elephant Bird of Madagascar and some species of New Zealand Moas were much bigger. 1. Matrix (d) isn t in echelon form: it has a zero row at the top. The rest are in echelon form. Matrices (a) and (b) are also in reduced echelon form. Matrix (c) isn t in reduced echelon form because of its third column (the middle entry is a leading entry with a nonzero entry above it). 3. Both are in echelon form. Matrix (a) is in reduced echelon form, too. Note that the 1 in row 1, column 3 is okay because the 1 in row 2, column 3 isn t a leading entry. When in doubt, circle the leading entries. 11