Lecture 7: Introduction to linear systems

Similar documents
Solving Linear Systems Using Gaussian Elimination

Linear Algebra I Lecture 8

Relationships Between Planes

1 - Systems of Linear Equations

Section 1.1: Systems of Linear Equations

Methods for Solving Linear Systems Part 2

Exercise Sketch these lines and find their intersection.

Math 1314 Week #14 Notes

Linear Equations in Linear Algebra

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

Linear Equations in Linear Algebra

9.1 - Systems of Linear Equations: Two Variables

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

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

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

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

Lecture 10: Determinants and Cramer s Rule

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

1 Last time: linear systems and row operations

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

Lectures on Linear Algebra for IT

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

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

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

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

POLI270 - Linear Algebra

Matrices and RRE Form

Section 6.2 Larger Systems of Linear Equations

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Lecture 11: Vector space and subspace

Section 6.3. Matrices and Systems of Equations

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

Solving Systems of Linear Equations Using Matrices

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

7.6 The Inverse of a Square Matrix

Lecture 4: Gaussian Elimination and Homogeneous Equations

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

Math 2331 Linear Algebra

Chapter 7. Tridiagonal linear systems. Solving tridiagonal systems of equations. and subdiagonal. E.g. a 21 a 22 a A =

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.

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

Elementary Linear Algebra

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

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

Solving Linear Systems

4 Elementary matrices, continued

Linear Algebra I Lecture 10

22A-2 SUMMER 2014 LECTURE 5

Section Gaussian Elimination

March 19 - Solving Linear Systems

MAC Module 1 Systems of Linear Equations and Matrices I

MATH 2030: ASSIGNMENT 4 SOLUTIONS

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

4 Elementary matrices, continued

MATH 304 Linear Algebra Lecture 20: Review for Test 1.

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

System of Linear Equations

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

MATRICES. a m,1 a m,n A =

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

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

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

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

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

Lecture 13: Row and column spaces

MTH 2032 Semester II

PH1105 Lecture Notes on Linear Algebra.

Chapter 1: Systems of Linear Equations

Matrices and Systems of Equations

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

Math 3C Lecture 20. John Douglas Moore

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

CHAPTER 9: Systems of Equations and Matrices

ECON 186 Class Notes: Linear Algebra

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

Lectures on Linear Algebra for IT

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

MATH 54 - WORKSHEET 1 MONDAY 6/22

Section 9.2: Matrices.. a m1 a m2 a mn

Lecture 22: Section 4.7

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

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

Linear Methods (Math 211) - Lecture 2

Section 5.6. LU and LDU Factorizations

1 System of linear equations

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

Elementary Row Operations on Matrices

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2.

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

Section 5.3 Systems of Linear Equations: Determinants

Linear Systems and Matrices

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

Notes on Row Reduction

CHAPTER 9: Systems of Equations and Matrices

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

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Lecture 2 Systems of Linear Equations and Matrices, Continued

6-2 Matrix Multiplication, Inverses and Determinants

Lecture Notes: Solving Linear Systems with Gauss Elimination

Chapter 4. Solving Systems of Equations. Chapter 4

Transcription:

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 and two equations.. Row picture Draw the two straight lines l : x 2y = 0 and l 2 : 2x+y 7 = 0 in the XY-plane and the intersection (x,y) = (3,) is the solution..2 Column picture ( ) ( ) ( ) x 2y + = 2x y 7 ( ) ( ) ( ) 2 x +y = 2 7 (.2) (.3) x = 3,y =. (.4) ( ) It implies that the column vector b = is a linear combination of two column ( ) ( ) 7 2 vectors v = and v 2 2 =..3 The number of solutions. Only one solution. See (.). 2. Infinitely many solutions. e.g., { x 2y =, 2x 4y = 2. (.5) Copy right reserved by Yingwei Wang

3. No solution. e.g., { x 2y =, x 2y = 2. (.6) Note that case is called normal or nonsingular and cases 2 & 3 are called singular. See Figures 3..-3..3 in your textbook for the plots of the three cases. 2 Matrix forms of linear systems 2. Basics. Matrix: A rectangular array of numbers. An m-by-n matrix means it has m rows and n columns, denoted as A m n. 2. Column vector: a matrix with n rows and column. 3. Row vector: a matrix with row and n columns. 2.2 Matrix-vector multiplication. Simple case: 2-by-2: ( ) a a 2 a 2 a 22 2 2 ( x 2. General case: n-by-n: a a 2... a n a 2 a 22... a 2n...... a n a n2... a nn x 2 ) n n 2 ( ) a x = +a 2 x 2. (2.) a 2 x +a 22 x 2 2 x x 2. x n n n j= a jx j n j= = a 2jx j. n j= a njx j n. (2.2) 2 Copy right reserved by Yingwei Wang

2.3 Augmented matrix { x 2y =, 2x+y = 7. ( ( ) ( column picture 2 x +y = 2) 7) ( )( ( matrix-vector form 2 x = 2 y) 7) augmented matrix 2 2 7 (2.3) (2.4) (2.5) (2.6) Usually, the augmented matrix, coefficient matrix and right hand side vector are denoted as A #,A and b, respectively, i.e., A # = [ A b ]. 2.4 Special matrices. Identity matrix: I n =.... x 2 For any column vector x =, we have. x n x n n I n x = x. (2.7) 2. Exchange matrix: ( 0 0 )( x 3. Zero matrix: all of the entries are zeros. x 2 ) = ( x2 x ). 3 Copy right reserved by Yingwei Wang

3 Gaussian elimination 3. Motivation Questions: How to solve the linear system after we arrive at the matrix forms? Main idea: Two principles about Gaussian elimination: () to create zeros as many as possible in the coefficient matrix (augmented matrix); (2) do not make any change on the solutions. Definition 3.. The matrix E is called (Row-)Echelon Matrix: if it have the following two properties:. Every row of zeros lies below every row with a non-zero element; 2. In each row with a non-zero element, the first non-zero element lies strictly to the right of the first non-zero element in the proceeding row. Remark 3.. The above property says that if E has any all-zero rows, then they are grouped together at the bottom of the matrix. The first (from the left) nonzero element in each of the other rows is called leading entry. The above property 2 says that the leading entries form a descending staircase pattern from upper left to lower right. See the following examples. Several examples: 0 : Yes. (3.) 0 0 0 : Yes. (3.2) 0 0 0 0 0 0 : No. (3.3) 0 0 0 : No. (3.4) 0 4 Copy right reserved by Yingwei Wang

Definition 3.2. A matrix E is called (Row-)Reducd Echelon Matrix if it have the following two properties:. It belongs to echelon matrix; 2. Each leading entry is the only nonzero element in its column; 3. Each leading entry is one. Several examples: 0 0 0 0 : Yes (3.5) 0 0 0 3 : No (3.6) 0 0 0 0 2 R 2 +R R 0 3 : Yes. (3.7) 0 0 0 3.2 Elementary row operations The following are the three types of elementary row operations on the matrix A:. Interchange any two rows. E.g., R R 2. 2. Multiply any (single) row by a non-zero number. E.g., 2 R R. 3. Multiply any row by a non-zero number and add the result to any other row. E.g., 2R +R 2 R 2. Remark 3.2. Note that there is no change of the solutions to the original linear system after the elmentary row operations. Besides, those are the only three operations you are allowed to use in the Gaussian elimination. 5 Copy right reserved by Yingwei Wang

Definition 3.3. Two matrices are called row equivalent if one can be obtained from the other by a finite sequence of elementary row operations. Remark 3.3. If the augmented matrices of two linear systems are row equivalent, then the two systems have the same solutions set. Example. Recall the linear system { x 2y =, 2x+y = 7. (3.8) can be rewritten as the following matrix form: 2. (3.9) 2 7 Starting from the matrix form (3.9), we can perform the elementary row operations: 2 2 7 ( 2) R +R 2 R 2 2 (3.0) 0 5 5 5 R 2 R 2 2 (3.) 0 2R 2 +R R 0 3. (3.2) 0 It follows that the solution to the linear system is x = 3, y =. 3.3 A 3-by-3 example with unique solution Example 2. Solve the linear system 2x y +z = 5, x y z = 4, 2x+3y +z = 6. (3.3) 6 Copy right reserved by Yingwei Wang

Solution: Start from the augmented matrix and performing the elmentary row operations to get the echelon form. 2 5 4 (3.4) 2 3 6 4 R R 2 2 5 (3.5) 2 3 6 4 ( 2) R +R 2 R 2 0 3 3 (3.6) 2 3 6 4 2 R +R 3 R 3 0 3 3 (3.7) 0 2 4 ( ) R 2 +R 3 R 3 0 3 3 (3.8) 0 0 4 5 4 ( /4) R 3 R 3 0 3 3 (3.9) 0 0 5/4 Now we can perform the so-called back substitution:. The third row in (3.9) indicates that 2. The second row in (3.9) tells us 3. The first row in (3.9) gives us x 3 = 5/4. x 2 +3x 3 = 3, x 2 = 3 3x 3 = 3/4. x x 2 x 3 = 4, x = 4+x 2 +x 3 = 7/2. 7 Copy right reserved by Yingwei Wang

The unique solution is x 7/2 y = 3/4. (3.20) z 5/4 Remark 3.4. We observe that the first entry in the matrix (3.9) is 2. There is another way to make it into : 2 5 /2 /2 5/2 4 (/2) R R 4. 2 3 6 2 3 6 8 Copy right reserved by Yingwei Wang