Math 2331 Linear Algebra

Similar documents
Math 2331 Linear Algebra

Math 2331 Linear Algebra

Math 2331 Linear Algebra

Math 4377/6308 Advanced Linear Algebra

Math 2331 Linear Algebra

Math 2331 Linear Algebra

Linear Equations in Linear Algebra

Math 4377/6308 Advanced Linear Algebra

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

Linear Equations in Linear Algebra

Solving Linear Systems Using Gaussian Elimination

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

Relationships Between Planes

Math 2331 Linear Algebra

Section 1.1: Systems of Linear Equations

1 - Systems of Linear Equations

9.1 - Systems of Linear Equations: Two Variables

System of Linear Equations

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

7.6 The Inverse of a Square Matrix

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

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

Methods for Solving Linear Systems Part 2

Section 6.2 Larger Systems of Linear Equations

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

Linear Algebra I Lecture 10

Math 1314 Week #14 Notes

Math 4377/6308 Advanced Linear Algebra

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

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

Section 1.1: Systems of Linear Equations. A linear equation: a 1 x 1 a 2 x 2 a n x n b. EXAMPLE: 4x 1 5x 2 2 x 1 and x x 1 x 3

Section 1.1: Systems of Linear Equations. A linear equation: a 1 x 1 a 2 x 2 a n x n b. EXAMPLE: 4x 1 5x 2 2 x 1 and x x 1 x 3

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Math Studio College Algebra

MATH 54 - WORKSHEET 1 MONDAY 6/22

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

Matrices and RRE Form

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

Section 5.6. LU and LDU Factorizations

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

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

Chapter 5. Linear Algebra. 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

Elementary Linear Algebra

MAC Module 1 Systems of Linear Equations and Matrices I

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

Chapter 1: Systems of Linear Equations and Matrices

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

4 Elementary matrices, continued

Lecture 7: Introduction to linear systems

Elementary maths for GMT

Linear System Equations

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

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

Chapter 1. Vectors, Matrices, and Linear Spaces

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:

Linear Algebra I Lecture 8

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

Components and change of basis

2. Every linear system with the same number of equations as unknowns has a unique solution.

Section 5.3 Systems of Linear Equations: Determinants

Linear Algebra Practice Problems

March 19 - Solving Linear Systems

Notes on Row Reduction

Solving Linear Systems

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

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

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

Lecture 1 Systems of Linear Equations and Matrices

Math 147 Section 3.4. Application Example

MATHEMATICS FOR COMPUTER VISION WEEK 2 LINEAR SYSTEMS. Dr Fabio Cuzzolin MSc in Computer Vision Oxford Brookes University Year

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

Lectures on Linear Algebra for IT

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

4 Elementary matrices, continued

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

Solving Systems of Linear Equations Using Matrices

Math 4377/6308 Advanced Linear Algebra

MTHSC 3110 Section 1.1

MATH 3511 Lecture 1. Solving Linear Systems 1

Math 4377/6308 Advanced Linear Algebra

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

Matrices and systems of linear equations

Handout 1 EXAMPLES OF SOLVING SYSTEMS OF LINEAR EQUATIONS

Row Reduction and Echelon Forms

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

Evaluating Determinants by Row Reduction

1 Last time: linear systems and row operations

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

Matrices and Systems of Equations

Systems of Linear Equations

Linear Algebra Math 221

Chapter 4. Solving Systems of Equations. Chapter 4

Solving Consistent Linear Systems

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Solving Ax = b w/ different b s: LU-Factorization

Solving Systems of Linear Equations

Unit 4 Systems of Equations Systems of Two Linear Equations in Two Variables

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

Transcription:

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 of Houston Math 2331, Linear Algebra Fall, 2017 1 / 19

1.1 Systems of Linear Equations Basic Fact on Solution of a Linear System Example: Two Equations in Two Variables Example: Three Equations in Three Variables Consistency Equivalent Systems Strategy for Solving a Linear System Matrix Notation Solving a System in Matrix Form by Row Eliminations Elementary Row Operations Row Eliminations to a Triangular Form Row Eliminations to a Diagonal Form Two Fundamental Questions Existence Uniqueness Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 2 / 19

Linear Equation A Linear Equation a 1 x 1 + a 2 x 2 + + a n x n = b Examples (Linear) 4x 1 5x 2 + 2 = x 1 and x 2 = 2( 6 x 1 ) + x 3 rearranged rearranged 3x 1 5x 2 = 2 2x 1 + x 2 x 3 = 2 6 Examples (Not Linear) 4x 1 6x 2 = x 1 x 2 and x 2 = 2 x 1 7 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 3 / 19

Linear System A solution of a System of Linear Equations A list (s 1, s 2,..., s n ) of numbers that makes each equation in the system true when the values s 1, s 2,..., s n are substituted for x 1, x 2,..., x n, respectively. Examples (Two Equations in Two Variables) Each equation determines a line in 2-space. x 1 + x 2 = 10 x 1 + x 2 = 0 x 1 2x 2 = 3 2x 1 4x 2 = 8 one unique solution no solution Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 4 / 19

Basic Fact on Solution Basic Fact on Solution of a Linear System 1 exactly one solution (consistent) or 2 infinitely many solutions (consistent) or 3 no solution (inconsistent). Examples (Two Equ. Two Var.) x 1 + x 2 = 3 2x 1 2x 2 = 6 infinitely many solutions Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 5 / 19

Basic Fact on Solution (cont.) Examples (Three Equations in Three Variables) Each equation determines a plane in 3-space. i) The planes intersect in ii) There is not point in common one point. (one solution) to all three planes. (no solution) Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 6 / 19

Equivalent Systems Solution Set of a Linear System The set of all possible solutions of a linear system. Examples (Two Equ. Two Var.) x 1 2x 2 = 1 x 1 + 3x 2 = 3 Equivalent Systems Two linear systems with the same solution set. STRATEGY FOR SOLVING A SYSTEM Replace one system with an equivalent system that is easier to solve. x 1 2x 2 = 1 x 2 = 2 x 1 = 3 x 2 = 2 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 7 / 19

Equivalent Systems (cont.) Examples (Two Equ. in Two Var. (cont.)) x 1 2x 2 = 1 x 1 + 3x 2 = 3 x 1 2x 2 = 1 x 2 = 2 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 8 / 19

Equivalent Systems (cont.) Examples (Two Equ. in Two Var. (cont.)) x 1 2x 2 = 1 x 2 = 2 x 1 = 3 x 2 = 2 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 9 / 19

Matrix Notation Example (Coefficient Matrix: Two Row and Two Columns) x 1 2x 2 = 1 [ 1 ] 2 x 1 + 3x 2 = 3 1 3 (coefficient matrix) Example (Augmented Matrix: Two Row and Three Columns) x 1 2x 2 = 1 [ 1 2 1 ] x 1 + 3x 2 = 3 1 3 3 (augmented matrix) Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 10 / 19

Solving a Linear System Example Solving a System in Matrix Form[ x 1 2x 2 = 1 1 2 1 ] x 1 + 3x 2 = 3 1 3 3 (augmented matrix) x 1 2x 2 = 1 [ 1 2 1 ] x 2 = 2 0 1 2 x 1 = 3 x 2 = 2 [ 1 0 3 0 1 2 ] Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 11 / 19

Row Operations Elementary Row Operations 1 (Replacement) Add one row to a multiple of another row. 2 (Interchange) Interchange two rows. 3 (Scaling) Multiply all entries in a row by a nonzero constant. Row Equivalent Matrices Two matrices where one matrix can be transformed into the other matrix by a sequence of elementary row operations. Fact about Row Equivalence If the augmented matrices of two linear systems are row equivalent, then the two systems have the same solution set. Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 12 / 19

Solving a System by Row Eliminations: Example Example (Row Eliminations to a Triangular Form) x 1 2x 2 + x 3 = 0 2x 2 8x 3 = 8 4x 1 + 5x 2 + 9x 3 = 9 x 1 2x 2 + x 3 = 0 2x 2 8x 3 = 8 3x 2 + 13x 3 = 9 x 1 2x 2 + x 3 = 0 x 2 4x 3 = 4 3x 2 + 13x 3 = 9 x 1 2x 2 + x 3 = 0 x 2 4x 3 = 4 x 3 = 3 1 2 1 0 0 2 8 8 4 5 9 9 1 2 1 0 0 2 8 8 0 3 13 9 1 2 1 0 0 1 4 4 0 3 13 9 1 2 1 0 0 1 4 4 0 0 1 3 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 13 / 19

Solving a System by Row Eliminations: Example (cont.) Example (Row Eliminations to a Diagonal Form) x 1 2x 2 + x 3 = 0 x 2 4x 3 = 4 x 3 = 3 x 1 2x 2 = 3 x 2 = 16 x 3 = 3 x 1 = 29 x 2 = 16 x 3 = 3 Solution: (29, 16, 3) 1 2 1 0 0 1 4 4 0 0 1 3 1 2 0 3 0 1 0 16 0 0 1 3 1 0 0 29 0 1 0 16 0 0 1 3 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 14 / 19

Solving a System by Row Eliminations: Example (cont.) Example (Check the Answer) Is (29, 16, 3) a solution of the original system? x 1 2x 2 + x 3 = 0 2x 2 8x 3 = 8 4x 1 + 5x 2 + 9x 3 = 9 (29) 2(16)+ (3) = 29 32 + 3 = 0 2(16) 8(3) = 32 24 = 8 4(29) + 5(16) + 9(3) = 116 + 80 + 27 = 9 Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 15 / 19

Existence and Uniqueness Two Fundamental Questions (Existence and Uniqueness) 1 Is the system consistent; (i.e. does a solution exist?) 2 If a solution exists, is it unique? (i.e. is there one & only one solution?) Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 16 / 19

Existence: Examples Example (Is this system consistent?) x 1 2x 2 + x 3 = 0 2x 2 8x 3 = 8 4x 1 + 5x 2 + 9x 3 = 9 In the last example, this system was reduced to the triangular form: x 1 2x 2 + x 3 = 0 1 2 1 0 x 2 4x 3 = 4 0 1 4 4 x 3 = 3 0 0 1 3 This is sufficient to see that the system is consistent and unique. Why? Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 17 / 19

Existence: Examples (cont.) Example (Is this system consistent?) 3x 2 6x 3 = 8 x 1 2x 2 + 3x 3 = 1 5x 1 7x 2 + 9x 3 = 0 0 3 6 8 1 2 3 1 5 7 9 0 Solution: Row operations produce: 0 3 6 8 1 2 3 1 1 2 3 1 1 2 3 1 0 3 6 8 0 3 6 8 5 7 9 0 0 3 6 5 0 0 0 3 Equation notation of triangular form: x 1 2x 2 + 3x 3 = 1 3x 2 6x 3 = 8 0x 3 = 3 Never true The original system is inconsistent! Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 18 / 19

Existence: Examples (cont.) Example (For what values of h will the system be consistent?) 3x 1 9x 2 = 4 2x 1 + 6x 2 = h Solution: Reduce to triangular form. [ 3 9 4 2 6 h ] [ 1 3 4 3 2 6 h ] [ 1 3 4 3 0 0 h + 8 3 ] The second equation is 0x 1 + 0x 2 = h + 8 3. System is consistent only if h + 8 8 3 = 0 or h = 3. Shang-Huan Chiu, University of Houston Math 2331, Linear Algebra Fall, 2017 19 / 19