Lecture Note on Linear Algebra 1. Systems of Linear Equations

Similar documents
1 - Systems of Linear Equations

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

Notes on Row Reduction

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Linear Equations in Linear Algebra

System of Linear Equations

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

Linear Equations in Linear Algebra

A linear equation in two variables is generally written as follows equation in three variables can be written as

Section 1.1: Systems of Linear Equations

Math 2331 Linear Algebra

Matrix Algebra Lecture Notes. 1 What is Matrix Algebra? Last change: 18 July Linear forms

Matrices and RRE Form

Methods for Solving Linear Systems Part 2

Linear Algebra I Lecture 8

Lectures on Linear Algebra for IT

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

Row Reduction and Echelon Forms

Lecture 22: Section 4.7

March 19 - Solving Linear Systems

Solving Linear Systems Using Gaussian Elimination

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

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

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

M 340L CS Homework Set 1

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

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

Math 1314 Week #14 Notes

Chapter 1. Vectors, Matrices, and Linear Spaces

1 Last time: linear systems and row operations

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

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

Linear Algebra I Lecture 10

Math 4377/6308 Advanced Linear Algebra

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

Solving Systems of Linear Equations

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

MTHSC 3110 Section 1.1

Section Gaussian Elimination

MTH 464: Computational Linear Algebra

Linear Algebra. Preliminary Lecture Notes

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

PH1105 Lecture Notes on Linear Algebra.

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

Linear Algebra. Preliminary Lecture Notes

Chapter 1: Systems of Linear Equations

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

Lecture 2 Systems of Linear Equations and Matrices, Continued

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

Matrices and Systems of Equations

Lecture Notes: Solving Linear Systems with Gauss Elimination

Chapter 4 Systems of Linear Equations; Matrices

c i r i i=1 r 1 = [1, 2] r 2 = [0, 1] r 3 = [3, 4].

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

Lecture 7: Introduction to linear systems

Lesson 3. Inverse of Matrices by Determinants and Gauss-Jordan Method

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

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

System of Linear Equations

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

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

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

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

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

Solving Linear Systems

Problem Sheet 1 with Solutions GRA 6035 Mathematics

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

Relationships Between Planes

Systems of Linear Equations and Matrices

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

9.1 - Systems of Linear Equations: Two Variables

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

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

Some Notes on Linear Algebra

1111: Linear Algebra I

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

12/1/2015 LINEAR ALGEBRA PRE-MID ASSIGNMENT ASSIGNED BY: PROF. SULEMAN SUBMITTED BY: M. REHAN ASGHAR BSSE 4 ROLL NO: 15126

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

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

Linear Algebra Handout

4 Elementary matrices, continued

Linear Systems and Matrices

Elimination and back substitution

Elementary Linear Algebra

Chapter 1: Linear Equations

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

Systems of Linear Equations and Matrices

Matrices and systems of linear equations

4 Elementary matrices, continued

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

Chapter 1: Linear Equations

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

(I.D) Solving Linear Systems via Row-Reduction

Lecture 4: Gaussian Elimination and Homogeneous Equations

7.6 The Inverse of a Square Matrix

ORIE 6300 Mathematical Programming I August 25, Recitation 1

Row Reduced Echelon Form

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

1300 Linear Algebra and Vector Geometry

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:

Transcription:

Lecture Note on Linear Algebra 1 Systems of Linear Equations Wei-Shi Zheng, 2012 1 Why Learning Linear Algebra( 5 ê)? Solving linear equation system is the heart of linear algebra Linear algebra is widely used in computer science and electronic engineering, eg artificial intelligence (<óœu), pattern recognition(ª O), computer vision(ožåàú), data mining(êâ ), machine learning(åìæs) It is fundamental of many other subjects/courses and research approaches 2 What Do You Learn from This Note Basic concept about linear equation( 5 ), system of linear equations( 5 ), matrix(ý) and its solution()) 3 What Is System of Linear Equations? Let us begin with an introduction of solving systems of linear equations We first show some examples of linear equations: x = 0, 2x = 1, 3x = 4(y 9), x 1 11x 2 = 1 3 (x 3 + e) In general, linear equation is defined as follows: Definition 1 (linear equation( 5 )) A linear equation with variables x 1, x 2,, x n is an equation that can be written in the form a 1 x 1 + + a n x n = b The first version of this lecture note was edited by Dr Jialun Huang 1

where b and the coefficients (Xê) a 1, a 2,, a n are real ( ê) or complex (Jê) numbers known in advance Definition 2 (system of linear equations( 5 )) A system of linear equations with variables (Cþ) x 1, x 2,, x n is a collection of finite linear equations with variables x 1, x 2,, x n Examples: 2x 1 3x 2 = 5 x 1 +2x 2 = 8 2x 1 +4x 2 = 0, x1 +4x 2 x 3 = 1 2 5 1 +5x 2 x 3 = 0 The general form of a system of m linear equations with n variables is: a 11 x 1 +a 12 x 2 + +a 1n x n = b 1 a 21 x 1 +a 22 x 2 + +a 2n x n = b 2 (1) a m1 x 1 +a m2 x 2 + +a mn x n = b m 4 Solution of System of Linear Equations Definition 3 (solution())) A list (s 1, s 2,, s n ) of numbers is called a solution of (1) iff (ie if and only if) all the equations in (1) are satisfied by substituting s 1, s 2,, s n for x 1, x 2,, x n The set of all solutions of (1) is called the solution set ()8) of (1) Two systems of linear equations are said to be equivalent (d) if they have the same solution set Does a system of linear equations always have a solution? Let us investigate some examples as follows: Examples: x1 2x 2 = 1 x 1 +3x 2 = 3, x1 2x 2 = 1 x 1 +2x 2 = 3, x1 2x 2 = 1 x 1 +2x 2 = 1 2

From the above examples, we see that not all systems of linear equations have a solution Generally speaking, a system of linear equations has either: 1 no solutions (Ã)), ie the solution set is empty (empty set), or 2 exactly one solution( )), ie the solution set contains only one element (singleton set), or 3 infinitely many solutions(ã õ)), ie the solution set contains infinitely many elements (infinite set) Definition 4 (consistence (ƒn)) A system of linear equations is said to be consistent if its solution set is non empty (ie either one solution or infinitely many solutions), otherwise it is inconsistent 5 Matrix Definition 5 (matrix (Ý)) A table of numbers with m rows (1) and n columns () as above is called an m n matrix we normally use a capital letter such as A, B, X etc to denote a matrix We define the m (n + 1) matrix a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a m1 a m2 a mn b m to be the corresponding augmented matrix (O2Ý) of system (1), where we call the corresponding m rows and n columns: a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn as the coefficient matrix (XêÝ) of system (1) Accordingly, we generate a one to one correspondence ( éa) between systems and matrices 3

Example: 4x 1 +5x 2 +9x 3 = 9 1 2 1 0 0 2 8 8 4 5 9 9 6 Solving a Linear System We are now introducing a procedure for solving systems of linear equations Basic strategy (ÄüÑ) The basic strategy is to replace one system with an equivalent system (ie one with the same solution set) that is easier to solve For example, if a linear system consists of three variables x 1, x 2 and x 3, then use the x 1 term in the first equation of a system to eliminate the x 1 terms in the other equations Then use the x x term in the second equation of a system to eliminate the x 1 terms in the other equations, and so on, until you finally obtain a very simple equivalent system of equations A system can be transformed into another equivalent system such that some variable is eliminated in some equation by applying an elementary operation(ðc ) After applying a series of elementary operations to the original system, the original system is transformed into an easy to solve system The following is a special example: 3x 1 +x 2 +x 3 = 5 2x 2 + x 3 = 1 Furthermore, by applying elementary operations, the above system can be transformed into the trivial system x 1 = 1 x 2 = 1 x 3 = 1 Operations Formally, three types of elementary operations on systems of linear equations are necessary for us to realize the above transformation Let S bs a linear system consists of m equations and n variables Let e i denote the i th equation of S The three types of elementary operations are defined 4

as follows: 1 Interchange(é C ): Perform exchange between the i th equation and the j th equation of S (e i e j ); 2 Scaling( C ): Multiply the i th equation by a nonzero number λ (e i := λe i ); 3 Replacement(\C ): Add the result of multiplying the j th equation by a number λ to the i th equation (e i := e i + λe j ) To solve the linear system S, we shall perform a sequence of elementary operations, resulting in a set of equivalent linear systems op 1 op 2 op S = S 0 S1 l Sl systematically, such that S l is an easy to solve or even a trivial system Example: 4x 1 +5x 2 +9x 3 = 9 x 2 = 16 e 3 :=e 3 +4e 1 e 2 :=e 2 +8e 3 e 1 :=e 1 e 3 x 1 = 29 x 2 = 16 3x 2 +13x 3 = 9 2x 2 = 32 x 1 2x 2 = 3 x 2 = 16 e 2 := 1 2 e 2 e 1 :=e 1 +2e 2 e 3 :=e 3 + 3 2 e 1 Theorem 6 Elementary operations are reversible(œ_) That is, if op S 1 S 2 where S 1, S 2 are systems and op is an elementary operation, then there is another elementary operation op 1 op such that S 1 2 S 1 Proof Exercise Connection to Row Operations In terms of matrix representation for a linear system of equations, the corresponding to elementary operations on 5

linear systems can be directly performed as elementary row operations (1 C ) on matrices as follows: 1 Interchange: Exchange the i th row and the j th row of a matrix (r i r j ); 2 Scaling: Multiply the i th row of a matrix by a nonzero number λ (r i := λr i ); 3 Replacement: Add the result of multiplying the j th row by a number λ to the i th row of a matrix (r i := r i + λr j ) Definition 7 (Row Equivalence (1d)) If matrix A can be transformed into matrix B by applying a series of elementary row operations on A then we say A is row equivalent to B and denote this equivalence by A B Obviously, A B if and only if their corresponding systems are equivalent From now on, we always represent a system of linear equations by its corresponding augmented matrix We shall use the more convenient matrix language in the remaining part of this course Reference David C Lay Linear Algebra and Its Applications (3rd edition) Pages 1 13 6