Notes on Row Reduction

Similar documents
Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Linear Equations in Linear Algebra

1 - Systems of Linear Equations

Matrices and RRE Form

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 4. Solving Systems of Equations. Chapter 4

Section Gaussian Elimination

Math 1314 Week #14 Notes

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

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

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Lecture 4: Gaussian Elimination and Homogeneous Equations

System of Linear Equations

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Section 1.1: Systems of Linear Equations

Lectures on Linear Algebra for IT

Chapter 1: Systems of Linear Equations

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

1 Last time: linear systems and row operations

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

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini

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

Lecture 1 Systems of Linear Equations and Matrices

Linear System Equations

Lecture 2 Systems of Linear Equations and Matrices, Continued

Relationships Between Planes

Problem Sheet 1 with Solutions GRA 6035 Mathematics

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

Methods for Solving Linear Systems Part 2

Solutions of Linear system, vector and matrix equation

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved

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

4 Elementary matrices, continued

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

Linear Equations in Linear Algebra

Lecture 18: The Rank of a Matrix and Consistency of Linear Systems

4 Elementary matrices, continued

Matrices and systems of linear equations

Solving Linear Systems Using Gaussian Elimination

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

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

Lecture 22: Section 4.7

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

Determine whether the following system has a trivial solution or non-trivial solution:

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

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

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

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

Section 6.2 Larger Systems of Linear Equations

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

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

Linear Algebra Handout

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Row Reduced Echelon Form

Solutions to Exam I MATH 304, section 6

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

Chapter 1. Vectors, Matrices, and Linear Spaces

Section 5.3 Systems of Linear Equations: Determinants

1300 Linear Algebra and Vector Geometry

Matrices, Row Reduction of Matrices

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices

3. Replace any row by the sum of that row and a constant multiple of any other row.

9.1 - Systems of Linear Equations: Two Variables

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics. The Basics of Linear Algebra

System of Linear Equations. Slide for MA1203 Business Mathematics II Week 1 & 2

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

Linear equations in linear algebra

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

Linear Algebra I Lecture 10

MIDTERM 1 - SOLUTIONS

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

Paul Schrimpf. September 10, 2013

4.3 Row operations. As we have seen in Section 4.1 we can simplify a system of equations by either:

1 Determinants. 1.1 Determinant

Contents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124

Matrices and Determinants

MA 1B PRACTICAL - HOMEWORK SET 3 SOLUTIONS. Solution. (d) We have matrix form Ax = b and vector equation 4

Solving Systems of Linear Equations

Some Notes on Linear Algebra

MTH 2032 Semester II

3.4 Elementary Matrices and Matrix Inverse

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

Name: Section Registered In:

Solving Systems of Linear Equations Using Matrices

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

Lecture 3i Complex Systems of Equations (pages )

Linear Algebra March 16, 2019

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Introduction to Systems of Equations

Handout 1 EXAMPLES OF SOLVING SYSTEMS OF LINEAR EQUATIONS

Linear Algebra I Lecture 8

Math 2174: Practice Midterm 1

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

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

Lecture 2e Row Echelon Form (pages 73-74)

Systems of Linear Equations

Transcription:

Notes on Row Reduction Francis J. Narcowich Department of Mathematics Texas A&M University September The Row-Reduction Algorithm The row-reduced form of a matrix contains a great deal of information, both about the matrix itself and about systems of equations that may be associated with it. To talk about row reduction, we need to define several terms and introduce some notation.. Notation for row operations. Row reduction is made easier by having notation for various row operations. This is the notation that we will use here. (a) Elementary transposition. R R means interchange rows R and R. (b) Elementary multiplication. R = cr means multiply the current row R by c and make the result the new row R. (c) Elementary modification. R = R + cr means multiply R by c, then add cr to R, and make the result the new row R.. Row equivalence. A matrix A is row equivalent to a matrix B if A can be transformed into B using a finite number of elementary row operations. Since such operations are reversible, B is also row-equivalent to A, and we simply say that A and B are row equivalent; we write A B.. Leading entry. The leading entry in a row is the first non-zero entry in a row. The leading entries in each row of M are in boldface type. M = 4 6 5

4. Row-reduced form of a matrix. A matrix is in row-reduced form if these hold: (a) All rows with only zeros for entries are at the bottom. (b) In any non-zero row, the leading entry is. (c) Any column containing a leading entry for some row has zeros in all its other entries. The matrix M above is not in row-reduced form. Here are two examples of matrices that are in row-reduced form. 7 4 and 4. Although we will not prove it here, every matrix is row equivalent to a matrix that is in row-reduced form. We call the process of finding the row-reduced matrix equivalent to a given matrix row reduction. Below is an algorithm for row-reducing a matrix; it uses two sets of steps, forward ones (Gaussian elimination) and backward ones (Jordan reduction). Forward Steps. Starting on the left, find the first column that contains a leading entry. If there are several leading entries in this column, choose a convenient one for example, an entry that is.. Interchange rows until the row containing the leading entry that you have chosen is the top one.. Use the top row and elementary modification to zero-out the other entries in the column that you are working with. 4. Repeat the first three steps with the submatrix comprising all columns to the right of the one you were working with, and all rows below the top. Stop when either there are no more rows left or the next submatrix consists of zeros. When this step is complete, all rows with only zeros for entries are at the bottom of the matrix.

Backward Steps. Find the leading entry in the last non-zero row. If this entry is not already, use elementary multiplication to make it. Use elementary modification to zero-out all of the entries above this leading entry.. Repeat step one for the leading entry in the second to the last nonzero row. Once this is done, do the same thing for the third to the last row, fourth to last, and so on. When there are no more rows left, the matrix is in row-reduced form. (Actually, it is in a special kind of row-reduced form, called reduced echelon form.) Rank of a matrix. Before we give an example, we want to mention a very important quantity that one can obtain from the row-reduced form of a matrix; namely, the rank of a matrix. The rank of a matrix A, which we denote by rank[a], is defined to be the number of leading entries in the row reduced form of A. For future reference, we point out that this is equal to the number of non-zero rows in the row-reduced form of A. One more thing: If, after row-reducing a matrix, a column contains a leading entry, then that column (which is a column in the original matrix) is called a leading column. The rank of A is obviously also equal to the number of leading columns in A. We will now row-reduce a matrix using the algorithm given above. Consider the matrix A shown below. (Starting matrix) A = This is the matrix we will row reduce. We will begin by carrying out the forward steps in the algorithm. Leading entries are in boldface type. R = R R,R =R R : R R : R = R : A A A

This ends the set of forward steps. We will move on to the backward steps. R = R R : A This completes the algorithm. The last matrix on the right above is the row- reduced form of A. Note that this implies that rank[a] = and that the leading columns of A are the first and second. Applications to Solving Systems of Equations One of the most important applications of the row-reduction algorithm is solving a system of linear equations. The procedure begins by converting the system a x + +a n x n = b a x + +a n x n = b S :... a m x + +a mn x n = b m into the matrix form Ax = b. Here A is the m n coefficient matrix for S, x is the n vector of unknowns, and b being the m vector of b j s. There is an important matrix associated with the system S. We call the m (n + ) matrix [A b] = a... a n b...... a m... a mn b m the augmented matrix for the system S. In view of the connection between row operations and operations on the individual equations comprising the system S, any matrix [A b ] that is row equivalent to the original system [A b] is the augmented matrix for a system S equivalent (i.e., having the same solution set) to S. Let us state this formally. Theorem. If [A b] and [A b ] are augmented matrices for two linear systems of equations S and S, and if [A b] and [A b ] are row equivalent, then S and S are equivalent systems. 4

By examining the possible row-reduced matrices corresponding to the augmented matrix for the system S, one can use Theorem. to obtain the following result, which we state without proof. Theorem. Consider the system S with coefficient matrix A and augmented matrix [A b]. As above, the sizes of b, A, and [A b] are m, m n, and m (n+), respectively; in addition, n is the number of unknowns. We have these possibilities:. S is inconsistent if and only if rank[a] < rank[a b].. S has a unique solution if and only if rank[a] = rank[a b] =n.. S has infinitely many solutions if and only if rank[a] = rank[a b] <n. We need to illustrate the use of this theorem. To do that, look at the simple systems below. x +x = x +x = x +x = 6x 4x = x +x = 6x 4x = 6 The augmented matrices for these systems are, respectively, ( ) ( ) ( 6 4 6 4 6 Applying the row-reduction algorithm yields the row-reduced form of each of these augmented matrices. The result is, again respectively, ( ) ( ) ( ) 6 From each of these row-reduced versions of the augmented matrices, one can read off the rank of the coefficient matrix as well as the rank of the augmented matrix. Applying Theorem. to each of these tells us the number of solutions to expect for each of the corresponding systems. We summarize our findings in the table below. System rank[a] rank[a b] n # of solutions First Second (inconsistent) Third We now turn to the discussion of a very important class of systems, homogeneous ones. A homogeneous system is one in which the vector b =. 5 )

By simply plugging X = into the equation AX =, we see that every homogeneous system has at least one solution, the trivial solution X =. Are there any others? To answer this, we need the following result: Corollary. Let A be an m n matrix. A homogeneous system of equations AX =will have a unique solution, the trivial solution X =, if and only if rank[a] =n. In all other cases, it will have infinitely many solutions. As a consequence, if n>m i.e., if the number of unknowns is larger than the number of equations, then the system will have infinitely many solutions. Proof: Since X = is always a solution, case (i) of Theorem. is eliminated as a possibility. Therefore, we must always have rank[a] = rank[a ] n. By Theorem., case (ii), equality will hold if and only if X = is the only solution. When it does not hold, we are always in case (iii) of Theorem.; there are thus infinitely many solutions for the system. If n>m, then we need only note that rank[a] m<nto see that the system has to have infinitely solutions. Thus far we have only discussed how many solutions a system of linear equations has. We have said nothing about how to obtain these solutions. The key to the whole process is row-reducing the augmented matrix for the original system, S. Let us look at an example. Suppose that we have found that our system has an augmented matrix [A b] that is row equivalent to the matrix [A b ]= 7 4. We now convert this back to a system, one that is of course equivalent to whatever one we started with. The result is the following system of equations: x +x = x x 5 = 7 x 4 +x 5 = 4. Notice that the variables corresponding to the leading columns, which are called leading variables, appear in this set only once. That means that they 6

can be solved for in terms of the other variables. Solving for these leading variables results in the system x = x x = x 5 +7 x 4 = x 5 +4. It turns out that by assigning arbitrary values to the non-leading variables gives us all possible solutions to the system. It is customary to show that this assignment has been made by assigning new letters to the non-leading variables. In our example, we could set x = s, x 5 = t, and then rewrite the whole solution in the column form shown below. X = x x x x 4 x 5 = s s t +7 t+4 t = 7 4 +s +t Written in this way, we see that if we set s = t =, we get a particular solution to the original system. When this column is subtracted off, what is left is a solution to the corresponding homogeneous system. This happens in every case: A solution to AX = b may be written X p + X h, where X p is a fixed column vector satisfying AX p = b, and X h runs over all solutions to AX h =. This is exactly analogous to what happens in the case of linear differential equations. 7