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

Size: px
Start display at page:

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

Transcription

1 Chapter Section - Systems of Equations and Augmented Matrices D.S. Malik Creighton University

2 Systems of Linear Equations Common ways to solve a system of equations: Eliminationi Substitution

3 Elimination Methods Consider the following system of equations: x + y = 7 () x +y = () Eliminate one of the variables, say x. Multiply the first equation by and then add the resulting equation with the second equation:

4 x + y = 7 () x + y = () x 4y y = 4 x + y = y = 4 add That is, y = 4 or y = 4. Next we substitute the value of y into one of equations and solve for x. Let us substitute y = 4 in the first equation. Thus,

5 x + y = 7 () x + y = () x + y = 7 x + 4 = 7, substitute y = 4 x + 8 = 7 x = 7 8 x =. Thus, the solution of the system of equations is (, 4).

6 x + y = 7 () x + y = () Note that, to find a solution of the given system of equations, the given system of equations is replaced with the following system of equations: x + y = 7 y = 4 That is, the second equation is replace with Eq + Eq.

7 Substitution Method In the substitution i method one of the equations is solved for one of the variables in terms of the remaining variables. The value of that variable is substituted in the remaining equations to eliminate that variable from those equations. Let us consider the following system of equations. x y = 4 x y = 7

8 x y = 4 x y = 7 To use the substitution method, solve one of these equations for x or y. Suppose that we solve the first equation for x as follows: x y = 4 x = y + 4. Next we use substitute this value of x into the second equation and solve for y. Thus,

9 x y = 7 x y = 4 x y = 7 x = y + 4 (y y + 4) y y = 7, substitute x = y y + 4 4y + 8 y = 7 y +8 = 7 y = 7 8 y =.

10 x y = 4 x y = 7 x = y + 4 y = Now we substitute the value of y into the equation x = y + 4, to get x = ( ) + 4 = + 4 =. The solution of the given system of equations is (, ).

11 Systems of Equations: Consistent or Inconsistent Consistent t Consistent and dependent (infinite solutions) Consistent and independent (unique solution) Inconsistent- No solutions

12 Consider the following systems of equations: () (a) x + y = x y = This has a unique solution: (, ) (b) x y = 4 4x y = 8 This has infinite solutions. Second equation is multiple of the first equation.

13 (c) x y = 5 x 6y = 4 Multiply pythe first equation with, to get =, which is not true. So this system of equations has no solutions.

14

15 Matrices and Systems of Equations A system of equations can be represented by a matrix. Consider the following system of equations: x + y = 7 x + y = Suppose we write the coefficient of x first and then the coefficient of y, we can express the given system of equations as follows:

16 7 x + y = 7 x + y = The numbers in the first row correspond to the numbers in the first equation. The numbers in the second row correspond to the numbers in the second equation. The numbers in the first column are the coefficients of x. The numbers in the second column are the coefficients of y. The numbers in the third column are the constant terms on the right side of the equations. We have drawn a straight line to separate the coefficients of the variables and the constant terms of the equations. This matrix is called the augmented matrix of the system of equations.

17 Consider the following system of equations in two variables: a x + a y = b a x + a y = b, a, a, a, a, b, and b are real numbers. The matrix A = a a a a consists of the coefficients of the variables is called the coefficient matrix of the system of equations.

18 Now consider the matrices a x + a y = b a x + a y = b, X = x b = and B y b These are column matrices. The matrix X contains the variables. The matrix B contains the constant terms on the right side of the equations

19 Let us evaluate the following matrix multiplication: AX = a a x a x + a = a a y a x + a y y b = B b = That is AX = B. So the given system of equations can be expressed as a matrix equation.

20 Example: Consider the system of equations: x 5y = 8 4x + 6y = 7 Here 8 5 x = = = 7 8 and, B y x X A The matrix equation is: = y x y

21 Consider the following system of n equations in n variables, ibl x, x,, x n : a x + + = + a x L a x b n n a x + a x + L + a x = b n n M a x + a x + L + a x = n n nn n b n

22 Let b n n b b B x x X a a a a a a A L L = = = n b B X A M M M M M M and,, n n nn n n b x a a a L The matrix A is called the coefficient matrix of the system of equations. y q The equation AX = B is called the matrix equation of the system of equations equation of the system of equations.

23 The matrix a a L a b n a M a M a a n n L a b n M L M a nn M b n is called the augmented matrix of the system of equations.

24 Example: Consider the following system of equations: x y 4z = x y + 7z = 9 5x +y z = 6 Then, the coefficient matrix is: A = 4 7 5

25 x y 4z = x y + 7z = 9 5x +y z = 6 The augmented matrix is:

26 Example: Consider the following system of equations x + 7y z + w = x x +z +6w = 7 y + 5z w = x +4 4y z +8 8w =. This can be written as: x + 7y z + w = x + y + z + 6w = 7 x + y + 5z w = x + 4y z + 8w =.

27 x + 7y z + w = x + y + z + 6w = 7 x + y + 5z w = x + 4y z + 8w =. The coefficient matrix is: The augmented matrix is: is: 7 7 = 5 6 A

28 Example: Suppose that the augmented matrix of a system of equations in variables x, y, and z is: The system of equations corresponding to this augmented matrix is: x 7y + 4z = x + z = 5 x + y 9z = 8.

29 In general, to solve a system of equations, we will write the augmented matrix of the system of equations and then use row operations to transform the augmented matrix in a form, called reduced row-echelon form. We will determine the solutions, if any of the system of equations from the reduced row-echelon form. Next, we discuss the reduced row-echelon from of a matrix and the row operations performed on an augmented matrix.

30 educed ow-echelon Form of a Matrix Consider the following matrices: 4, 4,, 5 5

31 In each row, the first nonzero entry, if any, is, called the leading. If two successive rows contain a leading, then the leading in the lower row is (farther) to the right of the leading in the upper row. The rows consisting of all the zero entries are grouped at the bottom. If a column contains a leading, then all other entries in that column are. All of these matrices are said to be in reduced row-echelon form.

32 Definition: A matrix is said to be in reduced row- echelon form if the following conditions are satisfied: i. If a row contains at least one nonzero entry, then the first nonzero entry of that row is. This is called the leading. ii. If two successive rows contain a leading, then the leading of the lower row is (farther) to the right of the leading of the upper row. iii.the rows consisting of all the zero entries are grouped at the bottom. iv. If a column contains a leading, then all other entries in that column are.

33 Suppose that a matrix that satisfies (i), (ii), and (iii) of previous definition and (iv ) Suppose that a column contains a leading, and it is in row, say i. Then all entries in this column below the ith row, if any, are. Then the matrix is said to be in row-echelon hl form. It follows that if a matrix is in reduced row- echelon form, then the matrix is in row-echelon form.

34 Example: The following matrices are in reduced rowechelon form echelon form.,, 5 4

35 Example: The following matrices are not in reduced rowechelon form , 4 4 In the first matrix, the leading in the fourth row is to the left of the leading one in the third row. In the second matrix, the third row consists of zeros and the fourth row has a nonzero entry. So the third row should be towards the bottom.

36 Gauss-Jordan Elimination Method Obtain the augmented matrix of the system of equations. Use elementary row operations, defined next, to find the reduced row-echelon form of the augmented matrix.

37 Let A = [a ij ] m n be an m n matrix. For each i, i =,,, m, let i denote the ith row of A. The elementary row operations we typically perform on A matrix are: T(): Interchange any two rows of the matrix, i.e., interchange i and j, written i j, where i =,,, m and j =,,, m. T(): eplace a row with a nonzero multiple of that row. That is, multiply l each element of a row i with a nonzero number, written as a i i, where a is a nonzero number and i =,,, m. T(): eplace a row with the sum of that row and a multiple of another row, written a i + j j, where a is a nonzero number and i =,,, m and j =,,, m.

38 Note the following: T() corresponds to interchanging two equations. T() corresponds to multiplying both sides of an equation by a nonzero number. T() corresponds to replacing an equation by the sum of that equation and a multiple of another equation.

39 Example: Consider the following matrix: Apply to get:

40 Example: Consider the following matrix: Apply the row operations (/), i.e., di id h l t f th fi t b t t 5 divide each element of the first row by, to get: 5

41 Example: Consider the following augmented matrix: 4 8 Let us apply the row operations ( ) +. We multiply each element of with, add the corresponding elements of and, and finally replace with the new elements. That is, 4 6 ( ) ( ) +

42 The resulting matrix is: 5 4 Note that in this matrix, the elements of rows and are unaffected. Also, if you write the system of equations corresponding to this matrix, then in the second equation, the coefficient i of x is, i.e., the variables x is eliminated.

43 5 4 Next, if you apply the row operation () + to the previous matrix, then the resulting matrix is: If you write the system of equations corresponding to If you write the system of equations corresponding to this matrix, then in the second and the third equations, the coefficient of x is, i.e., the variables x is eliminated. So, the last two rows correspond to the system of equations in two variables.

44 In order to find the reduced row-echelon form of a matrix we make the leading entry, if any, in each row. Consider the following matrix: In this matrix, in the first row, the first nonzero entry is and all other elements of the first row are multiples. So in the first row, we can make the leading entry by dividing all the elements by, i.e., by applying the row operation (/).

45 Now consider the following matrix: In this matrix, the first nonzero entry in the first row is. However, not all the elements of the first row are multiples of. So if we divide the elements of row by, then some of the elements will be fractions. Sometimes we have no choice and we must work with fractions. However, sometimes, we can make the leading entry in a row and avoid idfractions in that trow by using rows below that row. For example, in the previous matrix, we can apply the row operation and make the leading entry in first row.

46 In general, to find the reduced row-echelon form we start with the first row and make the leading entry in this row a. Then using the leading entry, we make all other entries in the column containing the leading entry. We continue this process. To make the leading entry in a nonzero row a, we always use that row and the rows below, if any, not the rows above, if any.

47 Example: Consider the following system of equations: x + y z = x + y + z = x + y + z = 4 The augmented matrix for this system of equations is: 4

48 Next, we apply row operations to find the reduced row-echelon from of this matrix. 4 4

49 4 4 ) ( () ) ( ( )

50 ) ( ) ( ( /) 7 5 ( /) 7

51 7 5 5) ( + 7) ( (5) + + The system of equations corresponding to this augmented matrix is: x =, y =, z =., y, The solution of the given system of equations is ( ) is (,, ).

52 Example: Consider the following system of equations: x y + z = 4 x y + z = 4x 5y +8 8z = The augmented matrix corresponding to this system of equations is: Next, we find the reduced row-echelon form of this augmented matrix.

53 ) ( 4 4) ( ) ( (/) 4 6 6

54 ) ( () ) ( This matrix is in reduced row-echelon form. The system of equations corresponding to The system of equations corresponding to this augmented matrix is: x + 7z = y + z =

55 x + 7z = y + z = We have two equations and three variables. The system of equations has at least one solution. This is the case when the system of equations has infinite solutions. We assume one of the variables as a free variable, i.e., which can assume any real number as its value. Let us assume z as the free variable and write z = r, where r is any real number. Next, we solve the remaining equations in terms of r.

56 We have: x = 7z = 7r y = z = r x + 7z = y + z = Hence, solutions of the given system of equations are of the form ( 7r, r, r), where r is any real number. If r =, then the solution is ( 7r, r, r) = ( 7,, ) = (,,). If r =, then the solution is ( 7r, r, r) = ( 7,,) = ( 7,, ) = ( 7, 4, ). Hence, two particular solutions are: (,, ) and ( 7, 4, ).

57 To find the solutions of a consistent and dependent system of equations, we assume some of the variables as the free variables and then solve the remaining variables in terms of the free variables. We can assume any of the variables as the free variable. For example, in the previous, we assumed z as the free variable. However, we could have assumed x or y as the free variable. To be consistent, as well as keeping the reduced row-echelon form in mind, we will assume the variables occurring towards the end of the equation as the free variables.

58 Example: Suppose that the reduced row-echelon form of a system of equations in variables x, y, and z is: 4 The system of equations corresponding to this augmented matrix is: x y + 4z = This system of equations has infinite solutions. We have one equation and three variables. So we will have = free variables. We assume that y and z are the free variables.

59 x y + 4z = Let y = r and z = s, where r and s are any real numbers. Then x = + y 4z = + r 4s. The solutions of the given system of equations are of the form ( +r 4s, r, s), where r and s are any real numbers.

60 Example: Suppose that the reduced row-echelon form of a system of equations in variables x, y, and z is: 5 The system of equations corresponding to this augmented matrix is: x + y = 5 z =

61 x + y = 5 z = This system of equations has infinite solutions. We have two equations and three variables. So we will have = free variable. Note that z has a specific value, which is. We assume that y is a free variable. Let y = r, where r is any real number. Then x = 5 y = 5 r. The solutions of the given system of equations are of the form (5 r, r, ), where r is any real number.

62 Example: Suppose that the reduced row-echelon form of a system of equations in variables x, y, and z is: 5 The system of equations corresponding to this augmented matrix is: y = 5 z =

63 y = 5 z = This system of equations has infinite solutions. We have two equations and three variables. So we will have = free variable. Note that both y and z have specific values. In this case, we assume that x is a free variable. Let x = r, where r is any real number. The solutions of the given system of equations are of the form (r, 5, ), where r is any real number.

64 Example: Suppose that the reduced row-echelon form of a system of equations in variables x, y, z, and w is: 5 4 The system of equations corresponding to this augmented matrix is: x + y + 5w = z + w = 4

65 x + y + 5w = z + w = 4 This system of equations has infinite solutions. We have two equations and four variables. So we will have 4 = free variables. The second equations is in terms of z and w. So we assume w as one of the free variables. The first equation contains the variables x, y and w. We have already assumed that w is a free variable. We assume that y is also a free variable.

66 x + y + 5w = z + w = 4 Let y = r and w = s, where r and s are any real numbers. Then x = y 5w = r 5s z = 4 w = 4 s. The solutions of the given system of equations are of the form ( r 5s, r, 4 s, s), where r and s are any real numbers.

67 Example: Consider the following system of equations x + y 4z = x y z = 5x 9y + z = The augmented matrix corresponding to this system of equations is: 4 5 9

68 To determine solutions of the given system of equations, we find the reduced row-echelon form of this augmented g matrix ( ) 4 9 5

69 ) ( ) ( ) ( 8 6 8/ 4 (/) 8 6 8/ 8 6

70 () + ( 6) + 5 8/ 9 4 8/ 6 8 This matrix is in reduced row-echelon form. The system of equations corresponding to this matrix is: x 5z =, y z = 8/, = 9 From the last equation, we have = 9, which is false. Hence, the given system of equations has no solutions.

71 When obtaining the reduced row-echelon form of the augmented matrix, if you come across a matrix in which all entries, except the last entry, of a row are zero, you can stop obtaining the reduced rowechelon form. Because in this case, the given system of equations is inconsistent. That is, it has no solutions

Chapter 1. Vectors, Matrices, and Linear Spaces

Chapter 1. Vectors, Matrices, and Linear Spaces 1.4 Solving Systems of Linear Equations 1 Chapter 1. Vectors, Matrices, and Linear Spaces 1.4. Solving Systems of Linear Equations Note. We give an algorithm for solving a system of linear equations (called

More information

1 - Systems of Linear Equations

1 - Systems of Linear Equations 1 - Systems of Linear Equations 1.1 Introduction to Systems of Linear Equations Almost every problem in linear algebra will involve solving a system of equations. ü LINEAR EQUATIONS IN n VARIABLES We are

More information

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

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8 1 To solve the system x 1 + x 2 = 4 2x 1 9x 2 = 2 we find an (easier to solve) equivalent system as follows: Replace equation 2 with (2 times equation 1 + equation 2): x 1 + x 2 = 4 Solve equation 2 for

More information

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination Winfried Just, Ohio University September 22, 2017 Review: The coefficient matrix Consider a system of m linear equations in n variables.

More information

System of Linear Equations

System of Linear Equations Chapter 7 - S&B Gaussian and Gauss-Jordan Elimination We will study systems of linear equations by describing techniques for solving such systems. The preferred solution technique- Gaussian elimination-

More information

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

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices MAC05-College Algebra Chapter 5-Systems of Equations & Matrices 5. Systems of Equations in Two Variables Solving Systems of Two Linear Equations/ Two-Variable Linear Equations A system of equations is

More information

MAC Module 1 Systems of Linear Equations and Matrices I

MAC Module 1 Systems of Linear Equations and Matrices I MAC 2103 Module 1 Systems of Linear Equations and Matrices I 1 Learning Objectives Upon completing this module, you should be able to: 1. Represent a system of linear equations as an augmented matrix.

More information

Section 6.2 Larger Systems of Linear Equations

Section 6.2 Larger Systems of Linear Equations Section 6.2 Larger Systems of Linear Equations Gaussian Elimination In general, to solve a system of linear equations using its augmented matrix, we use elementary row operations to arrive at a matrix

More information

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

3. Replace any row by the sum of that row and a constant multiple of any other row. Section. Solution of Linear Systems by Gauss-Jordan Method A matrix is an ordered rectangular array of numbers, letters, symbols or algebraic expressions. A matrix with m rows and n columns has size or

More information

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Gauss-Jordan Row Reduction and Reduced Row Echelon Form Gauss-Jordan Row Reduction and Reduced Row Echelon Form If we put the augmented matrix of a linear system in reduced row-echelon form, then we don t need to back-substitute to solve the system. To put

More information

Math 1314 Week #14 Notes

Math 1314 Week #14 Notes Math 3 Week # Notes Section 5.: A system of equations consists of two or more equations. A solution to a system of equations is a point that satisfies all the equations in the system. In this chapter,

More information

Solving Linear Systems Using Gaussian Elimination

Solving Linear Systems Using Gaussian Elimination Solving Linear Systems Using Gaussian Elimination DEFINITION: A linear equation in the variables x 1,..., x n is an equation that can be written in the form a 1 x 1 +...+a n x n = b, where a 1,...,a n

More information

Linear System Equations

Linear System Equations King Saud University September 24, 2018 Table of contents 1 2 3 4 Definition A linear system of equations with m equations and n unknowns is defined as follows: a 1,1 x 1 + a 1,2 x 2 + + a 1,n x n = b

More information

CHAPTER 9: Systems of Equations and Matrices

CHAPTER 9: Systems of Equations and Matrices MAT 171 Precalculus Algebra Dr. Claude Moore Cape Fear Community College CHAPTER 9: Systems of Equations and Matrices 9.1 Systems of Equations in Two Variables 9.2 Systems of Equations in Three Variables

More information

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

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015 Midterm 1 Review Written by Victoria Kala vtkala@math.ucsb.edu SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015 Summary This Midterm Review contains notes on sections 1.1 1.5 and 1.7 in your

More information

Linear Algebra I Lecture 8

Linear Algebra I Lecture 8 Linear Algebra I Lecture 8 Xi Chen 1 1 University of Alberta January 25, 2019 Outline 1 2 Gauss-Jordan Elimination Given a system of linear equations f 1 (x 1, x 2,..., x n ) = 0 f 2 (x 1, x 2,..., x n

More information

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

Math Matrix Approach to Solving Systems Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25 Math 102 6.3 "Matrix Approach to Solving Systems" Bibiana Lopez Crafton Hills College November 2010 (CHC) 6.3 November 2010 1 / 25 Objectives: * Define a matrix and determine its order. * Write the augmented

More information

Notes on Row Reduction

Notes on Row Reduction 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

More information

Methods for Solving Linear Systems Part 2

Methods for Solving Linear Systems Part 2 Methods for Solving Linear Systems Part 2 We have studied the properties of matrices and found out that there are more ways that we can solve Linear Systems. In Section 7.3, we learned that we can use

More information

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

Elementary matrices, continued. To summarize, we have identified 3 types of row operations and their corresponding Elementary matrices, continued To summarize, we have identified 3 types of row operations and their corresponding elementary matrices. If you check the previous examples, you ll find that these matrices

More information

Matrix Solutions to Linear Equations

Matrix Solutions to Linear Equations Matrix Solutions to Linear Equations Augmented matrices can be used as a simplified way of writing a system of linear equations. In an augmented matrix, a vertical line is placed inside the matrix to represent

More information

Section 5.3 Systems of Linear Equations: Determinants

Section 5.3 Systems of Linear Equations: Determinants Section 5. Systems of Linear Equations: Determinants In this section, we will explore another technique for solving systems called Cramer's Rule. Cramer's rule can only be used if the number of equations

More information

Lectures on Linear Algebra for IT

Lectures on Linear Algebra for IT Lectures on Linear Algebra for IT by Mgr. Tereza Kovářová, Ph.D. following content of lectures by Ing. Petr Beremlijski, Ph.D. Department of Applied Mathematics, VSB - TU Ostrava Czech Republic 2. Systems

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.1 SYSTEMS OF LINEAR EQUATIONS LINEAR EQUATION x 1,, x n A linear equation in the variables equation that can be written in the form a 1 x 1 + a 2 x 2 + + a n x n

More information

CHAPTER 9: Systems of Equations and Matrices

CHAPTER 9: Systems of Equations and Matrices MAT 171 Precalculus Algebra Dr. Claude Moore Cape Fear Community College CHAPTER 9: Systems of Equations and Matrices 9.1 Systems of Equations in Two Variables 9.2 Systems of Equations in Three Variables

More information

Linear Algebra I Lecture 10

Linear Algebra I Lecture 10 Linear Algebra I Lecture 10 Xi Chen 1 1 University of Alberta January 30, 2019 Outline 1 Gauss-Jordan Algorithm ] Let A = [a ij m n be an m n matrix. To reduce A to a reduced row echelon form using elementary

More information

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

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University Systems of Linear Equations By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University Standard of Competency: Understanding the properties of systems of linear equations, matrices,

More information

4 Elementary matrices, continued

4 Elementary matrices, continued 4 Elementary matrices, continued We have identified 3 types of row operations and their corresponding elementary matrices. If you check the previous examples, you ll find that these matrices are constructed

More information

Section Gaussian Elimination

Section Gaussian Elimination Section. - Gaussian Elimination A matrix is said to be in row echelon form (REF) if it has the following properties:. The first nonzero entry in any row is a. We call this a leading one or pivot one..

More information

Matrices and RRE Form

Matrices and RRE Form Matrices and RRE Form Notation R is the real numbers, C is the complex numbers (we will only consider complex numbers towards the end of the course) is read as an element of For instance, x R means that

More information

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

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations Chapter 1: Systems of linear equations and matrices Section 1.1: Introduction to systems of linear equations Definition: A linear equation in n variables can be expressed in the form a 1 x 1 + a 2 x 2

More information

4 Elementary matrices, continued

4 Elementary matrices, continued 4 Elementary matrices, continued We have identified 3 types of row operations and their corresponding elementary matrices. To repeat the recipe: These matrices are constructed by performing the given row

More information

Chapter 4. Solving Systems of Equations. Chapter 4

Chapter 4. Solving Systems of Equations. Chapter 4 Solving Systems of Equations 3 Scenarios for Solutions There are three general situations we may find ourselves in when attempting to solve systems of equations: 1 The system could have one unique solution.

More information

Row Reduction and Echelon Forms

Row Reduction and Echelon Forms Row Reduction and Echelon Forms 1 / 29 Key Concepts row echelon form, reduced row echelon form pivot position, pivot, pivot column basic variable, free variable general solution, parametric solution existence

More information

Relationships Between Planes

Relationships Between Planes Relationships Between Planes Definition: consistent (system of equations) A system of equations is consistent if there exists one (or more than one) solution that satisfies the system. System 1: {, System

More information

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. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form Chapter 5. Linear Algebra Sections 5.1 5.3 A linear (algebraic) equation in n unknowns, x 1, x 2,..., x n, is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b where a 1, a 2,..., a n and b are

More information

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

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra Section 1.1 System of Linear Equations College of Science MATHS 211: Linear Algebra (University of Bahrain) Linear System 1 / 33 Goals:. 1 Define system of linear equations and their solutions. 2 To represent

More information

Section 1.1: Systems of Linear Equations

Section 1.1: Systems of Linear Equations Section 1.1: Systems of Linear Equations Two Linear Equations in Two Unknowns Recall that the equation of a line in 2D can be written in standard form: a 1 x 1 + a 2 x 2 = b. Definition. A 2 2 system of

More information

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

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0. ) Find all solutions of the linear system. Express the answer in vector form. x + 2x + x + x 5 = 2 2x 2 + 2x + 2x + x 5 = 8 x + 2x + x + 9x 5 = 2 2 Solution: Reduce the augmented matrix [ 2 2 2 8 ] to

More information

Chapter 5. Linear Algebra. 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 5. Linear Algebra A linear (algebraic) equation in n unknowns, x 1, x 2,..., x n, is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b where a 1, a 2,..., a n and b are real numbers. 1

More information

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

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013 Lecture 6 & 7 Shuanglin Shao September 16th and 18th, 2013 1 Elementary matrices 2 Equivalence Theorem 3 A method of inverting matrices Def An n n matrice is called an elementary matrix if it can be obtained

More information

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

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved. 7.5 Operations with Matrices Copyright Cengage Learning. All rights reserved. What You Should Learn Decide whether two matrices are equal. Add and subtract matrices and multiply matrices by scalars. Multiply

More information

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

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix Algebra & Trig. I 8.1 Matrix Solutions to Linear Systems A matrix is a rectangular array of elements. o An array is a systematic arrangement of numbers or symbols in rows and columns. Matrices (the plural

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.1 SYSTEMS OF LINEAR EQUATIONS LINEAR EQUATION,, 1 n A linear equation in the variables equation that can be written in the form a a a b 1 1 2 2 n n a a is an where

More information

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

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal [ x y Augmented matrix: 1 1 17 4 2 48 (Replacement) Replace a row by the sum of itself and a multiple

More information

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

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued Definition The process of solving a system of linear equations by converting the system to an augmented matrix is called Gaussian Elimination. The general strategy is as follows: Convert the system of

More information

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. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form Chapter 5. Linear Algebra Sections 5.1 5.3 A linear (algebraic) equation in n unknowns, x 1, x 2,..., x n, is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b where a 1, a 2,..., a n and b are

More information

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

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix Pre-Calculus I 8.1 Matrix Solutions to Linear Systems A matrix is a rectangular array of elements. o An array is a systematic arrangement of numbers or symbols in rows and columns. Matrices (the plural

More information

Chapter 1: Systems of Linear Equations

Chapter 1: Systems of Linear Equations Chapter : Systems of Linear Equations February, 9 Systems of linear equations Linear systems Lecture A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where

More information

Chapter 1 Linear Equations. 1.1 Systems of Linear Equations

Chapter 1 Linear Equations. 1.1 Systems of Linear Equations Chapter Linear Equations. Systems of Linear Equations A linear equation in the n variables x, x 2,..., x n is one that can be expressed in the form a x + a 2 x 2 + + a n x n = b where a, a 2,..., a n and

More information

9.1 - Systems of Linear Equations: Two Variables

9.1 - Systems of Linear Equations: Two Variables 9.1 - Systems of Linear Equations: Two Variables Recall that a system of equations consists of two or more equations each with two or more variables. A solution to a system in two variables is an ordered

More information

Lecture 2 Systems of Linear Equations and Matrices, Continued

Lecture 2 Systems of Linear Equations and Matrices, Continued Lecture 2 Systems of Linear Equations and Matrices, Continued Math 19620 Outline of Lecture Algorithm for putting a matrix in row reduced echelon form - i.e. Gauss-Jordan Elimination Number of Solutions

More information

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

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns 5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns (1) possesses the solution and provided that.. The numerators and denominators are recognized

More information

Extra Problems: Chapter 1

Extra Problems: Chapter 1 MA131 (Section 750002): Prepared by Asst.Prof.Dr.Archara Pacheenburawana 1 Extra Problems: Chapter 1 1. In each of the following answer true if the statement is always true and false otherwise in the space

More information

Section 6.3. Matrices and Systems of Equations

Section 6.3. Matrices and Systems of Equations Section 6.3 Matrices and Systems of Equations Introduction Definitions A matrix is a rectangular array of numbers. Definitions A matrix is a rectangular array of numbers. For example: [ 4 7 π 3 2 5 Definitions

More information

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero. Finite Mathematics Chapter 2 Section 2.1 Systems of Linear Equations: An Introduction Systems of Equations Recall that a system of two linear equations in two variables may be written in the general form

More information

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to : MAC 0 Module Systems of Linear Equations and Matrices II Learning Objectives Upon completing this module, you should be able to :. Find the inverse of a square matrix.. Determine whether a matrix is invertible..

More information

10.3 Matrices and Systems Of

10.3 Matrices and Systems Of 10.3 Matrices and Systems Of Linear Equations Copyright Cengage Learning. All rights reserved. Objectives Matrices The Augmented Matrix of a Linear System Elementary Row Operations Gaussian Elimination

More information

1 Last time: linear systems and row operations

1 Last time: linear systems and row operations 1 Last time: linear systems and row operations Here s what we did last time: a system of linear equations or linear system is a list of equations a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22

More information

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

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions. Review for Exam. Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions. x + y z = 2 x + 2y + z = 3 x + y + (a 2 5)z = a 2 The augmented matrix for

More information

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

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini DM559 Linear and Integer Programming Lecture Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. Outline 1. 3 A Motivating Example You are organizing

More information

Lecture 7: Introduction to linear systems

Lecture 7: Introduction to linear systems Lecture 7: Introduction to linear systems Two pictures of linear systems Consider the following system of linear algebraic equations { x 2y =, 2x+y = 7. (.) Note that it is a linear system with two unknowns

More information

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS MA1111: LINEAR ALGEBRA I, MICHAELMAS 2016 1 Linear equations We now switch gears to discuss the topic of solving linear equations, and more interestingly, systems

More information

7.6 The Inverse of a Square Matrix

7.6 The Inverse of a Square Matrix 7.6 The Inverse of a Square Matrix Copyright Cengage Learning. All rights reserved. What You Should Learn Verify that two matrices are inverses of each other. Use Gauss-Jordan elimination to find inverses

More information

System of Linear Equations

System of Linear Equations Math 20F Linear Algebra Lecture 2 1 System of Linear Equations Slide 1 Definition 1 Fix a set of numbers a ij, b i, where i = 1,, m and j = 1,, n A system of m linear equations in n variables x j, is given

More information

Math 2331 Linear Algebra

Math 2331 Linear Algebra 1.1 Linear System Math 2331 Linear Algebra 1.1 Systems of Linear Equations Shang-Huan Chiu Department of Mathematics, University of Houston schiu@math.uh.edu math.uh.edu/ schiu/ Shang-Huan Chiu, University

More information

Lecture 1 Systems of Linear Equations and Matrices

Lecture 1 Systems of Linear Equations and Matrices Lecture 1 Systems of Linear Equations and Matrices Math 19620 Outline of Course Linear Equations and Matrices Linear Transformations, Inverses Bases, Linear Independence, Subspaces Abstract Vector Spaces

More information

Problem Sheet 1 with Solutions GRA 6035 Mathematics

Problem Sheet 1 with Solutions GRA 6035 Mathematics Problem Sheet 1 with Solutions GRA 6035 Mathematics BI Norwegian Business School 2 Problems 1. From linear system to augmented matrix Write down the coefficient matrix and the augmented matrix of the following

More information

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

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ] Matrices: Definition: An m n matrix, A m n is a rectangular array of numbers with m rows and n columns: a, a, a,n a, a, a,n A m,n =...... a m, a m, a m,n Each a i,j is the entry at the i th row, j th column.

More information

MATH 54 - WORKSHEET 1 MONDAY 6/22

MATH 54 - WORKSHEET 1 MONDAY 6/22 MATH 54 - WORKSHEET 1 MONDAY 6/22 Row Operations: (1 (Replacement Add a multiple of one row to another row. (2 (Interchange Swap two rows. (3 (Scaling Multiply an entire row by a nonzero constant. A matrix

More information

MODEL ANSWERS TO THE THIRD HOMEWORK

MODEL ANSWERS TO THE THIRD HOMEWORK MODEL ANSWERS TO THE THIRD HOMEWORK 1 (i) We apply Gaussian elimination to A First note that the second row is a multiple of the first row So we need to swap the second and third rows 1 3 2 1 2 6 5 7 3

More information

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.

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. 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. 2. Each leading entry (i.e. left most nonzero entry) of a row

More information

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices Chapter 1 Systems of Linear Equations and Matrices System of linear algebraic equations and their solution constitute one of the major topics studied in the course known as linear algebra. In the first

More information

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

4.3 Row operations. As we have seen in Section 4.1 we can simplify a system of equations by either: 4.3 Row operations As we have seen in Section 4.1 we can simplify a system of equations by either: 1. Swapping the order of the equations around. For example: can become 3x 1 + 7x 2 = 9 x 1 2x 1 = 2 x

More information

Math 3C Lecture 20. John Douglas Moore

Math 3C Lecture 20. John Douglas Moore Math 3C Lecture 20 John Douglas Moore May 18, 2009 TENTATIVE FORMULA I Midterm I: 20% Midterm II: 20% Homework: 10% Quizzes: 10% Final: 40% TENTATIVE FORMULA II Higher of two midterms: 30% Homework: 10%

More information

Chapter 3. Linear Equations. Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33

Chapter 3. Linear Equations. Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33 Chapter 3 Linear Equations Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33 Lineares Gleichungssystem System of m linear equations in n unknowns: a 11 x 1 + a 12 x 2 + + a 1n x n

More information

Exercise Sketch these lines and find their intersection.

Exercise Sketch these lines and find their intersection. These are brief notes for the lecture on Friday August 21, 2009: they are not complete, but they are a guide to what I want to say today. They are not guaranteed to be correct. 1. Solving systems of linear

More information

Solving Systems of Linear Equations Using Matrices

Solving Systems of Linear Equations Using Matrices Solving Systems of Linear Equations Using Matrices What is a Matrix? A matrix is a compact grid or array of numbers. It can be created from a system of equations and used to solve the system of equations.

More information

Row Reduced Echelon Form

Row Reduced Echelon Form Math 40 Row Reduced Echelon Form Solving systems of linear equations lies at the heart of linear algebra. In high school we learn to solve systems in or variables using elimination and substitution of

More information

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511) GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511) D. ARAPURA Gaussian elimination is the go to method for all basic linear classes including this one. We go summarize the main ideas. 1.

More information

SOLVING Ax = b: GAUSS-JORDAN ELIMINATION [LARSON 1.2]

SOLVING Ax = b: GAUSS-JORDAN ELIMINATION [LARSON 1.2] SOLVING Ax = b: GAUSS-JORDAN ELIMINATION [LARSON.2 EQUIVALENT LINEAR SYSTEMS: Two m n linear systems are equivalent both systems have the exact same solution sets. When solving a linear system Ax = b,

More information

Lecture 22: Section 4.7

Lecture 22: Section 4.7 Lecture 22: Section 47 Shuanglin Shao December 2, 213 Row Space, Column Space, and Null Space Definition For an m n, a 11 a 12 a 1n a 21 a 22 a 2n A = a m1 a m2 a mn, the vectors r 1 = [ a 11 a 12 a 1n

More information

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

Math x + 3y 5z = 14 3x 2y + 3z = 17 4x + 3y 2z = 1 Math 210 1. Solve the system: x + y + z = 1 2x + 3y + 4z = 5 (a z = 2, y = 1 and x = 0 (b z =any value, y = 3 2z and x = z 2 (c z =any value, y = 3 2z and x = z + 2 (d z =any value, y = 3 + 2z and x =

More information

CHAPTER 1 Systems of Linear Equations

CHAPTER 1 Systems of Linear Equations CHAPTER Systems of Linear Equations Section. Introduction to Systems of Linear Equations. Because the equation is in the form a x a y b, it is linear in the variables x and y. 0. Because the equation cannot

More information

MTH 2530: Linear Algebra. Sec Systems of Linear Equations

MTH 2530: Linear Algebra. Sec Systems of Linear Equations MTH 0 Linear Algebra Professor Chao Huang Department of Mathematics and Statistics Wright State University Week # Section.,. Sec... Systems of Linear Equations... D examples Example Consider a system of

More information

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices Chapter 1 Systems of Linear Equations and Matrices System of linear algebraic equations and their solution constitute one of the major topics studied in the course known as linear algebra. In the first

More information

1300 Linear Algebra and Vector Geometry

1300 Linear Algebra and Vector Geometry 1300 Linear Algebra and Vector Geometry R. Craigen Office: MH 523 Email: craigenr@umanitoba.ca May-June 2017 Introduction: linear equations Read 1.1 (in the text that is!) Go to course, class webpages.

More information

M 340L CS Homework Set 1

M 340L CS Homework Set 1 M 340L CS Homework Set 1 Solve each system in Problems 1 6 by using elementary row operations on the equations or on the augmented matri. Follow the systematic elimination procedure described in Lay, Section

More information

Lecture Notes: Solving Linear Systems with Gauss Elimination

Lecture Notes: Solving Linear Systems with Gauss Elimination Lecture Notes: Solving Linear Systems with Gauss Elimination Yufei Tao Department of Computer Science and Engineering Chinese University of Hong Kong taoyf@cse.cuhk.edu.hk 1 Echelon Form and Elementary

More information

PH1105 Lecture Notes on Linear Algebra.

PH1105 Lecture Notes on Linear Algebra. PH05 Lecture Notes on Linear Algebra Joe Ó hógáin E-mail: johog@mathstcdie Main Text: Calculus for the Life Sciences by Bittenger, Brand and Quintanilla Other Text: Linear Algebra by Anton and Rorres Matrices

More information

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

System of Linear Equations. Slide for MA1203 Business Mathematics II Week 1 & 2 System of Linear Equations Slide for MA1203 Business Mathematics II Week 1 & 2 Function A manufacturer would like to know how his company s profit is related to its production level. How does one quantity

More information

Elimination Method Streamlined

Elimination Method Streamlined Elimination Method Streamlined There is a more streamlined version of elimination method where we do not have to write all of the steps in such an elaborate way. We use matrices. The system of n equations

More information

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 0 Row Reduced Echelon Form Techniques for solving systems of linear equations lie at the heart of linear algebra. In high school we learn to solve systems with or variables using elimination and substitution

More information

UNIT 3 INTERSECTIONS OF LINES AND PLANES

UNIT 3 INTERSECTIONS OF LINES AND PLANES UNIT 3 INTERSECTIONS OF LINES AND PLANES UNIT 3 INTERSECTIONS OF LINES AND PLANES...1 VECTOR EQUATIONS OF LINES IN SCALAR EQUATION OF LINES IN EQUATIONS OF LINES IN 2...2 2...4 3...6 VECTOR AND SCALAR

More information

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics Elementary Matrices MATH 322, Linear Algebra I J. Robert Buchanan Department of Mathematics Spring 2015 Outline Today s discussion will focus on: elementary matrices and their properties, using elementary

More information

Matrix equation Ax = b

Matrix equation Ax = b Fall 2017 Matrix equation Ax = b Authors: Alexander Knop Institute: UC San Diego Previously On Math 18 DEFINITION If v 1,..., v l R n, then a set of all linear combinations of them is called Span {v 1,...,

More information

Chapter 9: Systems of Equations and Inequalities

Chapter 9: Systems of Equations and Inequalities Chapter 9: Systems of Equations and Inequalities 9. Systems of Equations Solve the system of equations below. By this we mean, find pair(s) of numbers (x, y) (if possible) that satisfy both equations.

More information

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

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved Fundamentals of Linear Algebra Marcel B. Finan Arkansas Tech University c All Rights Reserved 2 PREFACE Linear algebra has evolved as a branch of mathematics with wide range of applications to the natural

More information

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

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 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 or a ij lives in row i and column j Definition of a matrix

More information

Number of solutions of a system

Number of solutions of a system 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.

More information