Linear Equations in Linear Algebra

Similar documents
A Poorly Conditioned System. Matrix Form

2. Use elementary row operations to rewrite the augmented matrix in a simpler form (i.e., one whose solutions are easy to find).

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

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix.

Exercise Set Decide whether each matrix below is an elementary matrix. (a) (b) (c) (d) Answer:

10/26/ Solving Systems of Linear Equations Using Matrices. Objectives. Matrices

Section 3.1 Gaussian Elimination Method (GEM) Key terms

For example, the system. 22 may be represented by the augmented matrix

Solving Systems of Equations Using Matrices With the TI-83 or TI-84

CS6015 / LARP ACK : Linear Algebra and Its Applications - Gilbert Strang

6.3 Notes O Brien F15

EXTENSION. a 1 b 1 c 1 d 1. Rows l a 2 b 2 c 2 d 2. a 3 x b 3 y c 3 z d 3. This system can be written in an abbreviated form as

Math 2331 Linear Algebra

x = 12 x = 12 1x = 16

Solving Systems Using Row Operations 1 Name

MATH 2000 Gauss-Jordan Elimination and the TI-83 [Underlined bold terms are defined in the glossary]

CHAPTER 5 SYSTEMS OF EQUATIONS. x y

Math 1B03/1ZC3 - Tutorial 3. Jan. 24th/28th, 2014

hp calculators hp 39g+ & hp 39g/40g Using Matrices How are matrices stored? How do I solve a system of equations? Quick and easy roots of a polynomial

Math 355: Linear Algebra: Midterm 1 Colin Carroll June 25, 2011

Numerical Methods 5633

An Improved Measurement Placement Algorithm for Network Observability

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014

Matrices and Systems of Linear Equations

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang

LARP / 2018 ACK : 1. Linear Algebra and Its Applications - Gilbert Strang 2. Autar Kaw, Transforming Numerical Methods Education for STEM Graduates

LAB 2: Linear Equations and Matrix Algebra. Preliminaries

Optimization of Design. Lecturer:Dung-An Wang Lecture 8

MAT 103 F09 TEST 3 REVIEW (CH 4-5)

Linear Programming Terminology

Advanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs

How to Solve a Standard Maximization Problem Using the Simplex Method and the Rowops Program

Math 13 Chapter 3 Handout Helene Payne. Name: 1. Assign the value to the variables so that a matrix equality results.

Self-study session 1, Discrete mathematics

Answers to practice questions for Midterm 1

Example: A Four-Node Network

3.1 Solving Systems Using Tables and Graphs

Performing Matrix Operations on the TI-83/84

Systems of Linear Equations

Introduction to Operations Research

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Legal and impossible dependences

Independent systems consist of x

Math 2B Linear Algebra Test 2 S13 Name Write all responses on separate paper. Show your work for credit.

Matrices and Systems of Equations

Computational Methods CMSC/AMSC/MAPL 460. Vectors, Matrices, Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science

Objectives and Homework List

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini

Column and row space of a matrix

On the maximum rank of completions of entry pattern matrices

Suggested problems - solutions

February 01, Matrix Row Operations 2016 ink.notebook. 6.6 Matrix Row Operations. Page 49 Page Row operations

Precalculus Notes: Unit 7 Systems of Equations and Matrices

4.1 The original problem and the optimal tableau

MITOCW ocw f99-lec07_300k

MA/CSSE 473 Day 20. Student Questions

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Lesson 17. Geometry and Algebra of Corner Points

A Constant Rate of Change Name Part 1

or 5.00 or 5.000, and so on You can expand the decimal places of a number that already has digits to the right of the decimal point.

MA/CSSE 473 Day 20. Recap: Josephus Problem

line test). If it intersects such a line more than once it assumes the same y-value more than once, and is therefore not one-to-one.

Chapter 6. Curves and Surfaces. 6.1 Graphs as Surfaces

Parametric Curves, Lines in Space

Curriculum Map: Mathematics

Lesson 6.1 Matrix Representations

Numerical Linear Algebra

Section 1.5. Finding Linear Equations

Select the Points You ll Use. Tech Assignment: Find a Quadratic Function for College Costs

January 24, Matrix Row Operations 2017 ink.notebook. 6.6 Matrix Row Operations. Page 35 Page Row operations

Date Lesson TOPIC Homework. The Intersection of a Line with a Plane and the Intersection of Two Lines

Three-Dimensional (Surface) Plots

MEMORY EFFICIENT WDR (WAVELET DIFFERENCE REDUCTION) using INVERSE OF ECHELON FORM by EQUATION SOLVING

Casio TI-80 fx-7700ge Casio fx-9700ge Casio CFX-9800G. Systems of Linear Equations Program. Quadratic Formula Program

4. Linear Algebra. In maple, it is first necessary to call in the linear algebra package. This is done by the following maple command

The Simplex Algorithm

Parallel Implementations of Gaussian Elimination

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Lecture 5. If, as shown in figure, we form a right triangle With P1 and P2 as vertices, then length of the horizontal

The points (2, 2, 1) and (0, 1, 2) are graphed below in 3-space:

6-2 Matrix Multiplication, Inverses and Determinants

Let s write this out as an explicit equation. Suppose that the point P 0 = (x 0, y 0, z 0 ), P = (x, y, z) and n = (A, B, C).

Honors Precalculus: Solving equations and inequalities graphically and algebraically. Page 1

The Matrix-Tree Theorem and Its Applications to Complete and Complete Bipartite Graphs

Put the following equations to slope-intercept form then use 2 points to graph

Homework #5 Solutions Due: July 17, 2012 G = G = Find a standard form generator matrix for a code equivalent to C.

Practice Test - Chapter 6

Math background. 2D Geometric Transformations. Implicit representations. Explicit representations. Read: CS 4620 Lecture 6

CHAPTER HERE S WHERE YOU LL FIND THESE APPLICATIONS:

Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS

Problem 2. Problem 3. Perform, if possible, each matrix-vector multiplication. Answer. 3. Not defined. Solve this matrix equation.

Lecture 3: Totally Unimodularity and Network Flows

Graphs of Equations. MATH 160, Precalculus. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Graphs of Equations

Solutions to Programming Assignment Four Simultaneous Linear Equations

Announcements Wednesday, August 22

Linear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way.

Matrix Methods for Lost Data Reconstruction in Erasure Codes

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Ahigh school curriculum in Algebra 2 contains both solving systems of linear equations,

Cryptography. What is Cryptography?

Transcription:

1 Linear Equations in Linear Algebra 1.2 Row Reduction and Echelon Forms

ECHELON FORM A rectangular matrix is in echelon form (or row echelon form) if it has the following three properties: 1. All nonzero rows are above any rows of all zeros. 2. Each leading entry of a row is in a column to the right of the leading entry of the row above it. 3. All entries in a column below a leading entry are zeros. Slide 1.2-2

ECHELON FORM If a matrix in echelon form satisfies the following additional conditions, then it is in reduced echelon form (or reduced row echelon form): 4. The leading entry in each nonzero row is 1. 5. Each leading 1 is the only nonzero entry in its column. An echelon matrix (respectively, reduced echelon matrix) is one that is in echelon form (respectively, reduced echelon form.) Slide 1.2-3

ECHELON FORM Any nonzero matrix may be row reduced (i.e., transformed by elementary row operations) into more than one matrix in echelon form, using different sequences of row operations. However, the reduced echelon form one obtains from a matrix is unique. Theorem 1: Uniqueness of the Reduced Echelon Form Each matrix is row equivalent to one and only one reduced echelon matrix. Slide 1.2-4

PIVOT POSITION If a matrix A is row equivalent to an echelon matrix U, we call U an echelon form (or row echelon form) of A; if U is in reduced echelon form, we call U the reduced echelon form of A. A pivot position in a matrix A is a location in A that corresponds to a leading 1 in the reduced echelon form of A. A pivot column is a column of A that contains a pivot position. Slide 1.2-5

PIVOT POSITION Example 1: Row reduce the matrix A below to echelon form, and locate the pivot columns of A. A 0 3 6 4 9 1 2 1 3 1 = 2 3 0 3 1 1 4 5 9 7 Solution: The top of the leftmost nonzero column is the first pivot position. A nonzero entry, or pivot, must be placed in this position. Slide 1.2-6

PIVOT POSITION Now, interchange rows 1 and 4. Pivot 1 4 5 9 7 1 2 1 3 1 2 3 0 3 1 0 3 6 4 9 Pivot column Create zeros below the pivot, 1, by adding multiples of the first row to the rows below, and obtain the next matrix. Slide 1.2-7

PIVOT POSITION Choose 2 in the second row as the next pivot. Pivot 1 4 5 9 7 0 2 4 6 6 0 5 10 15 15 0 3 6 4 9 Next pivot column Add 5 / 2 times row 2 to row 3, and add 3 / 2 times row 2 to row 4. Slide 1.2-8

PIVOT POSITION 1 4 5 9 7 0 2 4 6 6 0 0 0 0 0 0 0 0 5 0 There is no way a leading entry can be created in column 3. But, if we interchange rows 3 and 4, we can produce a leading entry in column 4. Slide 1.2-9

PIVOT POSITION Pivot 1 4 5 9 7 0 2 4 6 6 0 0 0 5 0 0 0 0 0 0 Pivot columns The matrix is in echelon form and thus reveals that columns 1, 2, and 4 of A are pivot columns. Slide 1.2-10

PIVOT POSITION A 0 3 6 4 9 1 2 1 3 1 = 2 3 0 3 1 1 4 5 9 7 Pivot positions Pivot columns The pivots in the example are 1, 2 and 5. Slide 1.2-11

ROW REDUCTION ALGORITHM Example 2: Apply elementary row operations to transform the following matrix first into echelon form and then into reduced echelon form. 0 3 6 6 4 5 3 7 8 5 8 9 3 9 12 9 6 15 Solution: STEP 1: Begin with the leftmost nonzero column. This is a pivot column. The pivot position is at the top. Slide 1.2-12

ROW REDUCTION ALGORITHM 0 3 6 6 4 5 3 7 8 5 8 9 3 9 12 9 6 15 Pivot column STEP 2: Select a nonzero entry in the pivot column as a pivot. If necessary, interchange rows to move this entry into the pivot position. Slide 1.2-13

ROW REDUCTION ALGORITHM Interchange rows 1 and 3. (Rows 1 and 2 could have also been interchanged instead.) Pivot 3 9 12 9 6 15 3 7 8 5 8 9 0 3 6 6 4 5 STEP 3: Use row replacement operations to create zeros in all positions below the pivot. Slide 1.2-14

ROW REDUCTION ALGORITHM We could have divided the top row by the pivot, 3, but with two 3s in column 1, it is just as easy to add 1 times row 1 to row 2. STEP 4: Cover the row containing the pivot position, and cover all rows, if any, above it. Apply steps 13 to the submatrix that remains. Repeat the process until there are no more nonzero rows to modify. Pivot 3 9 12 9 6 15 0 2 4 4 2 6 0 3 6 6 4 5 Slide 1.2-15

ROW REDUCTION ALGORITHM With row 1 covered, step 1 shows that column 2 is the next pivot column; for step 2, select as a pivot the top entry in that column. Pivot 3 9 12 9 6 15 0 2 4 4 2 6 0 3 6 6 4 5 New pivot column For step 3, we could insert an optional step of dividing the top row of the submatrix by the pivot, 2. Instead, we add 3 / 2 times the top row to the row below. Slide 1.2-16

ROW REDUCTION ALGORITHM This produces the following matrix. When we cover the row containing the second pivot position for step 4, we are left with a new submatrix that has only one row. 3 9 12 9 6 15 0 2 4 4 2 6 0 0 0 0 1 4 3 9 12 9 6 15 0 2 4 4 2 6 0 0 0 0 1 4 Slide 1.2-17

ROW REDUCTION ALGORITHM Steps 13 require no work for this submatrix, and we have reached an echelon form of the full matrix. We perform one more step to obtain the reduced echelon form. STEP 5: Beginning with the rightmost pivot and working upward and to the left, create zeros above each pivot. If a pivot is not 1, make it 1 by a scaling operation. The rightmost pivot is in row 3. Create zeros above it, adding suitable multiples of row 3 to rows 2 and 1. Slide 1.2-18

ROW REDUCTION ALGORITHM 3 9 12 9 0 9 0 2 4 4 0 14 0 0 0 0 1 4 Row 1 + ( 6) row 3 Row 2 + ( 2) row 3 The next pivot is in row 2. Scale this row, dividing by the pivot. 3 9 12 9 0 9 0 1 2 2 0 7 0 0 0 0 1 4 1 Row scaled by 2 Slide 1.2-19

ROW REDUCTION ALGORITHM Create a zero in column 2 by adding 9 times row 2 to row 1. 3 0 6 9 0 72 0 1 2 2 0 7 0 0 0 0 1 4 Row 1 + (9) row 2 Finally, scale row 1, dividing by the pivot, 3. Slide 1.2-20

ROW REDUCTION ALGORITHM 1 0 2 3 0 24 0 1 2 2 0 7 0 0 0 0 1 4 1 Row scaled by 3 This is the reduced echelon form of the original matrix. The combination of steps 14 is called the forward phase of the row reduction algorithm. Step 5, which produces the unique reduced echelon form, is called the backward phase. Slide 1.2-21

SOLUTIONS OF LINEAR SYSTEMS The row reduction algorithm leads to an explicit description of the solution set of a linear system when the algorithm is applied to the augmented matrix of the system. Suppose that the augmented matrix of a linear system has been changed into the equivalent reduced echelon form. 1 0 5 1 0 1 1 4 0 0 0 0 Slide 1.2-22

SOLUTIONS OF LINEAR SYSTEMS There are 3 variables because the augmented matrix has four columns. The associated system of equations is x 5x = 1 1 3 ----(1) x + x = 2 3 4 0 = 0 The variables x 1 and x 2 corresponding to pivot columns in the matrix are called basic variables. The other variable, x 3, is called a free variable. Slide 1.2-23

SOLUTIONS OF LINEAR SYSTEMS Whenever a system is consistent, as in (1), the solution set can be described explicitly by solving the reduced system of equations for the basic variables in terms of the free variables. This operation is possible because the reduced echelon form places each basic variable in one and only one equation. In (1), solve the first and second equations for x 1 and x 2. (Ignore the third equation; it offers no restriction on the variables.) Slide 1.2-24

SOLUTIONS OF LINEAR SYSTEMS x x x 1 3 2 3 3 = 1+ 5x = 4 x is free ----(2) The statement x 3 is free means that you are free to choose any value for x 3. Once that is done, the formulas in (2) determine the values for x 1 and x 2. For instance, when x = 0, the solution is (1,4,0); when x = 1, the 3 3 solution is (6,3,1). Each different choice of x 3 determines a (different) solution of the system, and every solution of the system is determined by a choice of x 3. Slide 1.2-25

PARAMETRIC DESCRIPTIONS OF SOLUTION SETS The description in (2) is a parametric description of solutions sets in which the free variables act as parameters. Solving a system amounts to finding a parametric description of the solution set or determining that the solution set is empty. Whenever a system is consistent and has free variables, the solution set has many parametric descriptions. Slide 1.2-26

PARAMETRIC DESCRIPTIONS OF SOLUTION SETS For instance, in system (1), add 5 times equation 2 to equation 1 and obtain the following equivalent system. x + 5x = 21 1 2 x + x = 2 3 We could treat x 2 as a parameter and solve for x 1 and x 3 in terms of x 2, and we would have an accurate description of the solution set. When a system is inconsistent, the solution set is empty, even when the system has free variables. In this case, the solution set has no parametric representation. 4 Slide 1.2-27

EXISTENCE AND UNIQUENESS THEOREM Theorem 2: Existence and Uniqueness Theorem A linear system is consistent if and only if the rightmost column of the augmented matrix is not a pivot columni.e., if and only if an echelon form of the augmented matrix has no row of the form [0 0 b] with b nonzero. If a linear system is consistent, then the solution set contains either (i) a unique solution, when there are no free variables, or (ii) infinitely many solutions, when there is at least on free variable. Slide 1.2-28

ROW REDUCTION TO SOLVE A LINEAR SYSTEM Using Row Reduction to Solve a Linear System 1. Write the augmented matrix of the system. 2. Use the row reduction algorithm to obtain an equivalent augmented matrix in echelon form. Decide whether the system is consistent. If there is no solution, stop; otherwise, go to the next step. 3. Continue row reduction to obtain the reduced echelon form. 4. Write the system of equations corresponding to the matrix obtained in step 3. Slide 1.2-29

ROW REDUCTION TO SOLVE A LINEAR SYSTEM 5. Rewrite each nonzero equation from step 4 so that its one basic variable is expressed in terms of any free variables appearing in the equation. Slide 1.2-30