Number of solutions of a system

Similar documents
Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 7. Inverse matrices

Lecture 2 Systems of Linear Equations and Matrices, Continued

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Cofactors and Laplace s expansion theorem

Recall, we solved the system below in a previous section. Here, we learn another method. x + 4y = 14 5x + 3y = 2

1. Solve each linear system using Gaussian elimination or Gauss-Jordan reduction. The augmented matrix of this linear system is

Special types of matrices

Chapter 4. Solving Systems of Equations. Chapter 4

Using matrices to represent linear systems

Section 6.2 Larger Systems of Linear Equations

Linear Algebra I Lecture 10

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Solving Systems of Linear Equations Using Matrices

Basic matrix operations

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

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

Math x + 3y 5z = 14 3x 2y + 3z = 17 4x + 3y 2z = 1

A summary of factoring methods

Section Gaussian Elimination

Roberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3. Diagonal matrices

Problem Sheet 1 with Solutions GRA 6035 Mathematics

Methods for Solving Linear Systems Part 2

Linear Independence Reading: Lay 1.7

Lecture 1 Systems of Linear Equations and Matrices

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

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Row Reduction and Echelon Forms

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

Solving Systems of Linear Equations

1 - Systems of Linear Equations

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

10.3 Matrices and Systems Of

1300 Linear Algebra and Vector Geometry

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

4 Elementary matrices, continued

Elimination and back substitution

Eigenvalues and eigenvectors

Chapter Practice Test Name: Period: Date:

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

Row and column spaces

4 Elementary matrices, continued

MAC Module 1 Systems of Linear Equations and Matrices I

Row Reduced Echelon Form

The Gauss-Jordan Elimination Algorithm

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

Solving Linear Systems Using Gaussian Elimination

CHAPTER 9: Systems of Equations and Matrices

Dependence and independence

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

Solutions of Linear system, vector and matrix equation

2 Systems of Linear Equations

9.1 - Systems of Linear Equations: Two Variables

Math Computation Test 1 September 26 th, 2016 Debate: Computation vs. Theory Whatever wins, it ll be Huuuge!

Review Packet 1 B 11 B 12 B 13 B = B 21 B 22 B 23 B 31 B 32 B 33 B 41 B 42 B 43

SECTION 3.3. PROBLEM 22. The null space of a matrix A is: N(A) = {X : AX = 0}. Here are the calculations of AX for X = a,b,c,d, and e. =

Chapter 6. Linear Independence. Chapter 6

March 19 - Solving Linear Systems

Name: Section Registered In:

CHAPTER 8: Matrices and Determinants

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

Notes on Row Reduction

Extra Problems: Chapter 1

Roberto s Notes on Linear Algebra Chapter 11: Vector spaces Section 1. Vector space axioms

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

CHAPTER 9: Systems of Equations and Matrices

Chapter 1. Vectors, Matrices, and Linear Spaces

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

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

Chapter 1: Linear Equations

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

Chapter 1 Linear Equations. 1.1 Systems of Linear Equations

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 4. Matrix products

MODEL ANSWERS TO THE THIRD HOMEWORK

Sections 1.5, 1.7. Ma 322 Spring Ma 322. Jan 24-28

Roberto s Notes on Linear Algebra Chapter 9: Orthogonality Section 2. Orthogonal matrices

CHAPTER 8: MATRICES and DETERMINANTS

Chapter 6 Page 1 of 10. Lecture Guide. Math College Algebra Chapter 6. to accompany. College Algebra by Julie Miller

Vector Spaces. 9.1 Opening Remarks. Week Solvable or not solvable, that s the question. View at edx. Consider the picture

Matrices and Determinants

Basic methods to solve equations

7.6 The Inverse of a Square Matrix

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

Linear Algebra, Summer 2011, pt. 2

Exam 2 Solutions. (a) Is W closed under addition? Why or why not? W is not closed under addition. For example,

Linear System Equations

Chapter 8 Linear Algebraic Equations

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

Chapter 1: Linear Equations

Math 220: Summer Midterm 1 Questions

The definition of a vector space (V, +, )

8-15. Stop by or call (630)

Definition of geometric vectors

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C =

Linear Algebra Exam 1 Spring 2007

Sections 1.5, 1.7. Ma 322 Fall Ma 322. Sept

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

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

MATH10212 Linear Algebra B Homework Week 4

Transcription:

Roberto s Notes on Linear Algebra Chapter 3: Linear systems and matrices Section 7 Number of solutions of a system What you need to know already: How to solve a linear system by using Gauss- Jordan elimination. What you can learn here: How to detect the number of solutions of the system from an REF. Don t we know already that a system can have either no solution, or one or infinitely many? Yes, but we are now going to expand on that in two directions: by seeing how the augmented matrix of a system tells us the number of solutions and by seeing that there are different versions of the infinitely many case that needs to be analyzed. You may remember that the REF of a matrix is not unique, but it turns out that all possible REF s of the augmented matrix of a system have some special features related to its number of solutions. We start with a very easy situation. 0 0... 0 k, k 0 If we ready this row as an equation, it tells that a non-zero number (on the right) is equal to 0 (on the left). This is clearly impossible, so that no matter what values we pick for the variables, we end up with a false equation. Hence the system has no solutions. I refer you to the exercises to become practically familiar with this easy property of the REF of a system. The next fact is equally easy to check and it leads directly to another useful property. A linear system is inconsistent if its REF (any one of them) has a leading coefficient in the last column. The process of going from an REF to its RREF does not change the position of the leading entries of the matrix. Proof If this the case, the row to which that coefficient belongs will be of the form Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 1

Proof Well, just look back at how the Gauss-Jordan process works and check that in going from REF to RREF no leading coefficient can become 0, thus making another entry a leading coefficient. Proof A linear system has a unique solution if its REF (any one of them) has one leading coefficient in each of the variable columns. If there is one leading coefficient for each variable column of the REF, there will also be one for each variable column in the RREF. But in that case the rows of the RREF all correspond to equations of the form: x k and therefore there is only one possible solution for the system. This leaves us with only one more option to consider. i A consistent linear system has infinitely many solutions if the number of leading coefficients in its REF (any one of them) is less than the number of variables. i In this case each non-zero row of the RREF will correspond to an equation that includes one variable that has a leading coefficient and some that don t. For any choice of values for the variables without a leading coefficient (and there are infinitely many of them!) there is one possible set of values for the variables with a leading coefficient that makes all equations, and hence the system, satisfied. Therefore, the system has infinitely many solutions. Slow down! I can t see what is going on anymore! Good point, so let me show you an example. 1 2 4 25 0 1 9 25 0 0 0 0 Let s say that this is the REF of the augmented matrix of a system. We can see that the system has 3 variables, but only the first two have leading coefficients. This will not change by going to the RREF, which is as follows (check it!): 1 0 14 25 0 1 9 25 0 0 0 0 From this we can read that the original system is equivalent to either of these two: x 14z 25 x 25 14z y 9z 25 y 25 9z But notice that for any value we pick for z the last version automatically gives us values for x and y. We have infinitely many choices for z, so the system has infinitely many solutions. Proof Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 2

Notice that the thinking behind this last example does not change in case we have a different number of variables or of leading coefficients. It only requires that we have a consistent system and fewer leading coefficients than variables, just like the Fact claims. Before I give you more examples to explore, please notice that the previous s exhaust all possibilities. Therefore, we can summarize them in the following way: Knots on your finger A linear system with m variables and whose REF (any one of them) has k leading coefficients will have: no solutions (inconsistent) if and only if one of those coefficients is in the column of constants. one (unique) solution if and only if m=k and no leading coefficient is in the column of constants. infinitely many solutions if m>k and no leading coefficient is in the column of constants. 3 4 1 1 1 1 1 1 2 3 0 0 0 1 2 2 4 3 1 2 0 0 7 8 7 0 7 11 0 0 0 0 Did you get the same one? If not, did you get the same number of leading coefficients and in the same positions? The fact that we have 3 variables, 3 leading coefficients and none in the last column tells us that this system has a unique solution. You may want to complete the Gauss-Jordan process to figure out what that solution is. If we change the constant in the last equation to 12 we should end up with an inconsistent system, since the only solution we have now makes the left side of the last equation equal to 11, not 12. In fact, the REF of the new matrix becomes: 3 4 1 1 1 1 1 1 2 3 0 0 0 1 2 2 4 3 1 2 0 0 7 8 7 0 7 12 0 0 0 1 and the leading coefficient of the last row is in the column of constants, confirming that the system is not consistent. Let s see how we can use all this. 3x 4y z 1 2x3y 0 4x 3y z 2 7x 7z 11 If we solve this system by using Gaussian elimination, we start from its augmented matrix and end up with an REF, say: 2 1 1 2 1 1 1 1 1 1 6 0 1 9 2 5 1 2 8 3 If we try to solve the system whose augmented matrix is the one above, we get: Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 3

1 1 1 1 1 1 1 1 1 1 R2 2R1 2 1 1 2 1 0 1 3 0 3 R1 R 2 R3 6R 1 6 0 1 9 2 0 6 7 3 4 R4 5R1 5 1 2 8 3 0 6 7 3 8 1 1 1 1 1 0 1 3 0 3 R4 R 30 6 7 3 4 0 0 0 0 4 Although we are not at the REF stage yet, we can stop here, since the presence of a leading coefficient in the last column tells us that the system is inconsistent, both because of what the corresponding equation reads (0=4) and because there is no way to get the leading coefficient out of that column. 1 2 1 3 0 1 1 1 2 2 3 0 3 2 2 4 3 6 1 5 5 5 10 8 15 2 13 12 Changing this augmented matrix (can you write down its system?) to REF form by hand is easy, but tedious. However your friendly calculator will tell you that its RREF is: 1 2 0 3 0 1 0 0 0 1 0 0 2 1 0 0 0 0 1 1 2 0 0 0 0 0 0 0 We can see that there are no leading coefficients in the last column, so the system is consistent. But it is a system with 6 variables and only 3 leading coefficients, therefore it will have infinitely many solutions. You may want to write down the equations that provide such solutions. Definition Any variable of a consistent linear system whose corresponding column of the augmented matrix does NOT have a leading coefficient in a REF is called a free variable. A variable that is not free, that is, a variable whose corresponding column of the augmented matrix has a leading coefficient in a REF, is called a basic variable. 3x 4y z 1 2x3y 0 4x 3y z 2 7x 7z 11 One REF corresponding to the above system is: 1 1 1 1 0 1 2 2 0 0 7 8 0 0 0 0 This is a consistent system, but each column has a leading coefficient, hence there are no free variables, which is consistent with the fact that the system has a unique solution: no variable can have a choice. Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 4

2 1 1 2 1 1 1 1 1 1 6 0 1 9 2 5 1 2 8 3 You can check that one REF for this augmented matrix is: 1 1 1 1 1 0 1 3 0 3 0 0 11 3 14 0 0 0 0 4 This time there is no leading coefficient in the fourth column, but we cannot say that the fourth variable is free, because the system is inconsistent. 1 2 1 3 0 1 1 1 2 2 3 0 3 2 2 4 3 6 1 5 5 5 10 8 15 2 13 12 We have seen earlier that the RREF of this matrix is: 1 2 0 3 0 1 0 0 0 1 0 0 2 1 0 0 0 0 1 1 2 0 0 0 0 0 0 0 This time the system is consistent and the second, fourth and sixth variables do not have a leading coefficient in their column, hence they are free. If you write down the corresponding equations and the isolate the basic variables on the left side, you will see that the free variables are exactly the ones that are moved to the right side of the equations and that we can give them any value we choose. That is why we call them free. 7x 2y z 3w 5 x 2y 4z 1 Solving this system can be done easily by using Gauss-Jordan elimination: 7 2 1 3 5 1 2 4 0 1 R1 R 2 1 2 4 0 1 7 2 1 3 5 1 2 4 0 1 R2 7R 1 0 12 27 3 2 This is only an REF, not an RREF, but it is sufficient for us to determine that the system has infinitely many solutions and that z and w are its free variables. Try to write down its solution set. Be careful to not read too much into the uniqueness of the RREF! Warning bells While the number of free variables is a characteristic of the system, which variables are free depends on the order in which we write such variables within the system and may end up being different. Usually this is not an issue, but keep that in mind just in case This looks like an efficient way to get information. It is! And it is related to other information that we shall uncover later. Do I see more terminology coming? Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 5

You bet! This is linear algebra! Definition The rank of a matrix is the number of leading coefficients in any one of its REF, including its RREF. This is also equivalent to the number of non-zero rows in any REF or RREF. Notice that this definition really depends on matrices, not on systems and we shall see later what else it produces when we study matrices more in depth. But for now, let s start simple. to RREF does not change the position of any leading entry. Therefore, the RREF provides an explicit solution and hence such a solution exists. In the same way you can check the following two statements: A consistent linear system has a unique solution if and only if the rank of its matrix of coefficients is the same as the number of variables. A consistent linear system has infinitely many solutions if and only if the rank of its matrix of coefficients is less than the number of variables. A linear system has no solutions, and is therefore inconsistent, if and only if any REF of its augmented matrix has a leading entry in the augmented column. This is the same as saying that it is inconsistent if and only if the rank of its augmented matrix is greater than the rank of the matrix of coefficients. Notice that if a system is consistent and has infinitely many solutions, we are also able to count how many free variables it has. This information will become useful later, so that, once again, it deserves a definition. Definition The number of free variables of a consistent system is called the dimension of its solution set. Proof If the REF of the augmented matrix has a leading entry in the last column, the row that includes that entry states that 0 (the left side, which only includes 0 s) is equal to the non-zero leading entry. This is impossible and hence the system cannot have a solution. On the other hand, if there are no leading entries in the last column of the REF, neither are there any in the RREF, since the process of going from REF So, the rank plus the dimension of the solution set gives the number of variables, right? Yes, a fact that we shall solidify later in the course. Time to move to other ideas. Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 6

Summary The number of solutions of a linear system can be determined by comparing the number and position of the leading coefficients of any one of its REF s. When a system has infinitely many solutions, it may be informative to determine how many free variables give rise to those solutions. Such number is called the dimension of the solution set. Common errors to avoid There is no need to go all the way to the RREF to determine the number of solutions: any REF will do. Learning questions for Section LA 3-7 Review questions: 1. For a given system, describe how the relationships among n (number of variables), r A (rank of the augmented matrix) and r C (rank of the coefficient matrix) determines the presence of no solution, one solution or infinitely many solutions respectively. Memory questions: 1. What is the rank of a matrix? 2. What kind of systems can have 3 and only 3 solutions? 3. For what type of systems is the rank of the matrix of coefficients less than the rank of the augmented matrix? Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 7

Computation questions: Each of questions 1-5 provides an REF of the augmented matrix of a linear system. Determine: a) The rank of the augmented matrix b) The rank of the matrix of coefficients c) The number of solutions of the system d) The number of free variables e) The number of solutions of the associated homogeneous system 1. 2. 3. 1 2 4 25 0 1 9 25 0 0 0 14 1 2 4 25 0 1 9 25 0 0 0 0 4 0 6 4 3 0 4 14 0 1 0 0 6 0 1 0 0 0 0 0 4. 5. 6. 1 1/ 2 3 / 2 1/ 2 5 0 1 2 5 / 2 11/ 2 0 0 1 1/ 2 5 / 2 0 0 0 0 1 7 1 3 2 2 0 6 17 30 5 0 0 5 6 11/ 7 7 1 0 1 2 0 0 1 3 5 0 0 0 0 0 7. Determine the condition on a, b and c for which the system 3x y 2z a x 4y 2z b 5x 6y 6z c solutions it has. has solutions and, in such case, determine how many 8. Determine the value of a for which the system 3x y z 3 x y 3z 5 4x ay 4z 4 infinitely many solutions and determine the solution set in vector form. has Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 8

9. Use suitable substitutions to change the system x 3 e y z 7 x 3 6e y 2 z 2 into a linear system and use it to explain why this system will have infinitely many solutions. Theory questions: 1. How many solutions does a system have if the rank of the matrix of coefficients is less than the rank of the augmented matrix? 2. How many solutions can a system of 3 equations in four variables have? 3. How many solutions can a homogeneous system of 3 equations in four variables have? 4. Can the rank of the augmented matrix of a linear system be larger than the number of variables? 5. Is it possible for a non-linear system to have more than one solution, but not infinitely many? 6. If A is an nn matrix of rank n, how many solutions does the system Ax 1n have? Templated questions: 1. Construct a simple linear system, compute one of its REF s and, from it, determine the number of solutions of the system. What questions do you have for your instructor? Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 9

Linear Algebra Chapter 3: Linear systems and matrices Section 7: Number of solutions of a system Page 10