MTH 306 Spring Term 2007

Similar documents
MTH MTH Lecture 6. Yevgeniy Kovchegov Oregon State University

a11 a A = : a 21 a 22

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

Math 1314 Week #14 Notes

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

Unit 1 Matrices Notes Packet Period: Matrices

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

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.

1 - Systems of Linear Equations

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

MTH 2530: Linear Algebra. Sec Systems of Linear Equations

Some Notes on Linear Algebra

A2H Assignment #8 Cramer s Rule Unit 2: Matrices and Systems. DUE Date: Friday 12/2 as a Packet. 3x 2y = 10 5x + 3y = 4. determinant.

Systems of Equations

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

Relationships Between Planes

1300 Linear Algebra and Vector Geometry

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

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

MTH 306 Spring Term 2007

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

Chapter 7. Linear Algebra: Matrices, Vectors,

Math Studio College Algebra

System of Linear Equations

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

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics. The Basics of Linear Algebra

March 19 - Solving Linear Systems

Exercise Sketch these lines and find their intersection.

MTH 464: Computational Linear Algebra

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

Methods for Solving Linear Systems Part 2

Linear Algebra I Lecture 8

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:

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

9.1 - Systems of Linear Equations: Two Variables

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Elementary maths for GMT

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

Basics. A VECTOR is a quantity with a specified magnitude and direction. A MATRIX is a rectangular array of quantities

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

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

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2

MAC Learning Objectives. Learning Objectives (Cont.) Module 10 System of Equations and Inequalities II

LS.1 Review of Linear Algebra

Sections 6.1 and 6.2: Systems of Linear Equations

3 Fields, Elementary Matrices and Calculating Inverses

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

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

LINEAR SYSTEMS, MATRICES, AND VECTORS

6-1 Study Guide and Intervention Multivariable Linear Systems and Row Operations

MAC Module 1 Systems of Linear Equations and Matrices I

Matrices. A matrix is a method of writing a set of numbers using rows and columns. Cells in a matrix can be referenced in the form.

8.4. Systems of Equations in Three Variables. Identifying Solutions 2/20/2018. Example. Identifying Solutions. Solving Systems in Three Variables

Algebra 2 Notes Systems of Equations and Inequalities Unit 03d. Operations with Matrices

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

Linear Independence x

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

M. Matrices and Linear Algebra

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

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

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

ECON0702: Mathematical Methods in Economics

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Solving Systems of Linear Equations Using Matrices

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

Linear equations in linear algebra

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

MTH 215: Introduction to Linear Algebra

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

Matrices and systems of linear equations

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Chapter 2 Notes, Linear Algebra 5e Lay

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

1.4 Gaussian Elimination Gaussian elimination: an algorithm for finding a (actually the ) reduced row echelon form of a matrix. A row echelon form

7.6 The Inverse of a Square Matrix

det(ka) = k n det A.

Math 60. Rumbos Spring Solutions to Assignment #17

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

CHAPTER 9: Systems of Equations and Matrices

Chapter 7 Linear Systems

Notes on Row Reduction

Dependent ( ) Independent (1 or Ø) These lines coincide so they are a.k.a coincident.

LINEAR ALGEBRA KNOWLEDGE SURVEY

MTH 2032 Semester II

Matrices and Determinants

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

ELEMENTARY LINEAR ALGEBRA

Section Gaussian Elimination

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

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

Linear Algebra 1 Exam 1 Solutions 6/12/3

Systems of Linear Equations and Matrices

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

Systems of Linear Equations and Matrices

Math 313 Chapter 1 Review

Solving Systems of Linear Equations

A Primer on Solving Systems of Linear Equations

1300 Linear Algebra and Vector Geometry

Systems of Linear Equations and Matrices

Transcription:

MTH 306 Spring Term 2007 Lesson 3 John Lee Oregon State University (Oregon State University) 1 / 27

Lesson 3 Goals: Be able to solve 2 2 and 3 3 linear systems by systematic elimination of unknowns without the aid of a calculator or computer (Oregon State University) 2 / 27

Lesson 3 Goals: Be able to solve 2 2 and 3 3 linear systems by systematic elimination of unknowns without the aid of a calculator or computer Be able to evaluate 2 2 and 3 3 determinants without the aid of a calculator or computer (Oregon State University) 2 / 27

Lesson 3 Goals: Be able to solve 2 2 and 3 3 linear systems by systematic elimination of unknowns without the aid of a calculator or computer Be able to evaluate 2 2 and 3 3 determinants without the aid of a calculator or computer Understand that systematic elimination of unknowns can be applied to n n linear systems and is the basis for computer solution of large systems (Oregon State University) 2 / 27

Lesson 3 Goals: Be able to solve 2 2 and 3 3 linear systems by systematic elimination of unknowns without the aid of a calculator or computer Be able to evaluate 2 2 and 3 3 determinants without the aid of a calculator or computer Understand that systematic elimination of unknowns can be applied to n n linear systems and is the basis for computer solution of large systems Learn Theorems 1, 2, and 3. Be able to illustrate them geometrically for 2 2 and 3 3 linear systems (Oregon State University) 2 / 27

Solving 2 x 2 Linear Systems Example Solve the system x y = 3 2x + 3y = 4. Solution 1. Graph the two equations: (Oregon State University) 3 / 27

4 2 x y = 3 5 4 3 2 1 1 2 3 4 5 2 2x + 3y = 4 4 Conclusion from graph? (Oregon State University) 4 / 27

4 2 x y = 3 5 4 3 2 1 1 2 3 4 5 2 2x + 3y = 4 4 Conclusion from graph? x 1 and y 2 (Oregon State University) 4 / 27

Solving 2 x 2 Linear Systems the geometric view ax + by = e graphs as line L1 (S) cx + dy = f graphs as line L 2 Case I. Lines L 1 and L 2 intersect in a unique point. y x Conclusion: The system (S) has a unique solution. (Oregon State University) 5 / 27

Case II. Lines L 1 and L 2 are distinct parallel lines. y x Conclusion: The system (S) has a no solutions. (Oregon State University) 6 / 27

Case III. Lines L 1 and L 2 coincide. y x Conclusion: The system (S) has in nitely many solutions. (Oregon State University) 7 / 27

Fundamental Fact 1 Theorem Any system of linear algebraic equations has either a unique solution, no solution, or in nitely many solutions. The theorem holds no matter how many equations there are and no matter how many unknowns there are. (Oregon State University) 8 / 27

Fundamental Fact 1 Theorem Any system of linear algebraic equations has either a unique solution, no solution, or in nitely many solutions. The theorem holds no matter how many equations there are and no matter how many unknowns there are. We have established the theorem for 2 linear equations in 2 unknows. (Oregon State University) 8 / 27

Fundamental Fact 1 Theorem Any system of linear algebraic equations has either a unique solution, no solution, or in nitely many solutions. The theorem holds no matter how many equations there are and no matter how many unknowns there are. We have established the theorem for 2 linear equations in 2 unknows. What is the geometric proof for systems of linear equations of the form ax + by + cz = d? (Oregon State University) 8 / 27

Solving 2 x 2 Linear Systems the algebraic view The solutions to ax + by = e cx + dy = f where a, b, c, d, e, and f are given numbers can easily be found by elimination of unknowns. Example Use elimination of unknowns to solve x y = 3 2x + 3y = 4. Solution 2: (Oregon State University) 9 / 27

Example Use elimination of unknowns to solve u v = 3 2u + 3v = 4. Solution : (Oregon State University) 10 / 27

Example Use elimination of unknowns to solve u v = 3 2u + 3v = 4. Solution : This is the same system as in the previous example but with the names of the unknowns changed. So u = 1 and v = 2. The point? (Oregon State University) 10 / 27

Example Use elimination of unknowns to solve u v = 3 2u + 3v = 4. Solution : This is the same system as in the previous example but with the names of the unknowns changed. So u = 1 and v = 2. The point? The solution to a linear system does not depend on the symbols used to represent the unknows. So those symbols aren t needed in the solution of the system. (Oregon State University) 10 / 27

Example Use elimination of unknowns to solve u v = 3 2u + 3v = 4. Solution : This is the same system as in the previous example but with the names of the unknowns changed. So u = 1 and v = 2. The point? The solution to a linear system does not depend on the symbols used to represent the unknows. So those symbols aren t needed in the solution of the system. This leads to an e cient systematic way to solve linear systems. Stay tuned! (Oregon State University) 10 / 27

Coe cient Matrix A matrix is a rectangular array of items. For us the items will be numbers. (Oregon State University) 11 / 27

Coe cient Matrix A matrix is a rectangular array of items. For us the items will be numbers. The linear system has coe cient matrix ax + by = e cx + dy = f a A = c b d. (Oregon State University) 11 / 27

Coe cient Matrix A matrix is a rectangular array of items. For us the items will be numbers. The linear system has coe cient matrix ax + by = e cx + dy = f a A = c Convention: Capital letters are usually used to denote matrices and square brackets enclose the entries. b d. (Oregon State University) 11 / 27

Augmented Matrix The linear system has augmented matrix ax + by = e cx + dy = f a b e c d f. (Oregon State University) 12 / 27

When will a System have a Unique Solution? We will only answer this question for an n n (AKA square) system. (Oregon State University) 13 / 27

When will a System have a Unique Solution? We will only answer this question for an n n (AKA square) system. The 2 2 case will guide us: (S) ax + by = e graphs as line L1 cx + dy = f graphs as line L 2 (Oregon State University) 13 / 27

When will a System have a Unique Solution? We will only answer this question for an n n (AKA square) system. The 2 2 case will guide us: (S) ax + by = e graphs as line L1 cx + dy = f graphs as line L 2 What property of these lines guarantees that we are in Case 1 Lines L 1 and L 2 intersect in a unique point? (Oregon State University) 13 / 27

When will a System have a Unique Solution? We will only answer this question for an n n (AKA square) system. The 2 2 case will guide us: (S) ax + by = e graphs as line L1 cx + dy = f graphs as line L 2 What property of these lines guarantees that we are in Case 1 Lines L 1 and L 2 intersect in a unique point? Answer: (Oregon State University) 13 / 27

When will a System have a Unique Solution? We will only answer this question for an n n (AKA square) system. The 2 2 case will guide us: (S) ax + by = e graphs as line L1 cx + dy = f graphs as line L 2 What property of these lines guarantees that we are in Case 1 Lines L 1 and L 2 intersect in a unique point? Answer: (Oregon State University) 13 / 27

When will a System have a Unique Solution? We will only answer this question for an n n (AKA square) system. The 2 2 case will guide us: (S) ax + by = e graphs as line L1 cx + dy = f graphs as line L 2 What property of these lines guarantees that we are in Case 1 Lines L 1 and L 2 intersect in a unique point? Answer:ad bc 6= 0. (Oregon State University) 13 / 27

Determinants The number ad bc is called the determinant of the system ax + by = e cx + dy = f or of its coe cient matrix A. Notation for determinants: a b c d = ad bc. Important: (Oregon State University) 14 / 27

Determinants The number ad bc is called the determinant of the system ax + by = e cx + dy = f or of its coe cient matrix A. Notation for determinants: a b c d = ad bc. Important: A matrix is a rectangular array of items. (Oregon State University) 14 / 27

Determinants The number ad bc is called the determinant of the system ax + by = e cx + dy = f or of its coe cient matrix A. Notation for determinants: a b c d = ad bc. Important: A matrix is a rectangular array of items. A determinant is a (single) number. (Oregon State University) 14 / 27

Determinants The number ad bc is called the determinant of the system ax + by = e cx + dy = f or of its coe cient matrix A. Notation for determinants: a b c d = ad bc. Important: A matrix is a rectangular array of items. A determinant is a (single) number. We also express the determinant of A by jaj or by det (A). (Oregon State University) 14 / 27

Fundamental Fact 2 Theorem An n n linear system of algebraic equations has a unique solution if and only if its determinant is not zero. You can learn when an m n linear system of algebraic equations has a unique solution if you take a course in linear algebra. (Oregon State University) 15 / 27

Fundamental Fact 2 Theorem An n n linear system of algebraic equations has a unique solution if and only if its determinant is not zero. You can learn when an m n linear system of algebraic equations has a unique solution if you take a course in linear algebra. Of course we don t yet know what the determinant is for an n n linear system when n > 2. What is it? (Oregon State University) 15 / 27

3 x 3 Determinants The determinant of the system of three linear equations 8 < ax + by + cz = j dx + ey + fz = k : gx + hy + iz = l in the three unknowns x, y, z and where a, b, c,..., j, k, and l are given numbers is a b c d e f = aei ahf bdi + bgf + cdh cge. g h i How do you remember that! Read on. (Oregon State University) 16 / 27

Laplace Expansions a b c d e f g h i = a e h f i b d g f i + c d g e h is called the (Laplace) expansion of the determinant by its rst row. Do you see the pattern? (Oregon State University) 17 / 27

Laplace Expansions a b c d e f g h i = a e h f i b d g f i + c d g e h is called the (Laplace) expansion of the determinant by its rst row. Do you see the pattern? Cross out the row and column containing a on the left to get the 2 2 determinant e f h i which multiplies a on the right. (Oregon State University) 17 / 27

Laplace Expansions a b c d e f g h i = a e h f i b d g f i + c d g e h is called the (Laplace) expansion of the determinant by its rst row. Do you see the pattern? Cross out the row and column containing a on the left to get the 2 2 determinant e f h i which multiplies a on the right. The second and third terms on the right are formed in the corresponding way. (Oregon State University) 17 / 27

Laplace Expansions a b c d e f g h i = a e h f i b d g f i + c d g e h is called the (Laplace) expansion of the determinant by its rst row. Do you see the pattern? Cross out the row and column containing a on the left to get the 2 2 determinant e f h i which multiplies a on the right. The second and third terms on the right are formed in the corresponding way. These terms are combined with the alternating sign pattern +,, +. (Oregon State University) 17 / 27

Homogeneous Linear Systems Homogeneous linear systems whose right members are all zeros when the unknowns are all moved to the left are very important. (Oregon State University) 18 / 27

Homogeneous Linear Systems Homogeneous linear systems whose right members are all zeros when the unknowns are all moved to the left are very important. Once again the 2 2 case will guide us: (H) ax + by = 0 cx + dy = 0. The lines L 1 and L 2 that represent the two equations in this homogeneous system both pass through the origin. Why? (Oregon State University) 18 / 27

Homogeneous Linear Systems Homogeneous linear systems whose right members are all zeros when the unknowns are all moved to the left are very important. Once again the 2 2 case will guide us: (H) ax + by = 0 cx + dy = 0. The lines L 1 and L 2 that represent the two equations in this homogeneous system both pass through the origin. Why? So x = 0 and y = 0 is a solution to the system. It is called the trivial solution. (Oregon State University) 18 / 27

Homogeneous Linear Systems Homogeneous linear systems whose right members are all zeros when the unknowns are all moved to the left are very important. Once again the 2 2 case will guide us: (H) ax + by = 0 cx + dy = 0. The lines L 1 and L 2 that represent the two equations in this homogeneous system both pass through the origin. Why? So x = 0 and y = 0 is a solution to the system. It is called the trivial solution. Graph L 1 and L 2 to see there are two possibilities: (Oregon State University) 18 / 27

Either L 1 and L 2 are distinct lines: y x Only the trivial solution Which happens when? or (Oregon State University) 19 / 27

Either L 1 and L 2 are distinct lines: y x Only the trivial solution or Which happens when? Answer: determinant of the system is 6= 0 (Oregon State University) 19 / 27

L 1 and L 2 coincide: y x Nontrivial solutions Which happens when? (Oregon State University) 20 / 27

L 1 and L 2 coincide: y x Nontrivial solutions Which happens when? Answer: determinant of the system is = 0 (Oregon State University) 20 / 27

L 1 and L 2 coincide: y x Nontrivial solutions Which happens when? Answer: determinant of the system is = 0 These observations are summarized next: (Oregon State University) 20 / 27

Fundamental Fact 3 Theorem An n n homogeneous linear system of algebraic equations has nontrivial solutions if and only if its determinant is zero. Corollary An n n homogeneous linear system of algebraic equations has only the trivial solution if and only if its determinant is not zero. You can learn the corresponding results for an m n homogeneous linear system if you take a course in linear algebra. (Oregon State University) 21 / 27

Examples of Systematic Elimination All of the fundamental facts covered in Lesson 3 can be established by systematic elimination of unknowns. This process is usually called Gauss(ian) elimination. (Oregon State University) 22 / 27

Examples of Systematic Elimination All of the fundamental facts covered in Lesson 3 can be established by systematic elimination of unknowns. This process is usually called Gauss(ian) elimination. We will use Gauss elimination to reduce a linear system to an equivalent system (a system that has the same set of solutions) whose augmented matrix is in row echelon form. Such systems are easy to solve by back substitution. (Oregon State University) 22 / 27

Examples of Systematic Elimination All of the fundamental facts covered in Lesson 3 can be established by systematic elimination of unknowns. This process is usually called Gauss(ian) elimination. We will use Gauss elimination to reduce a linear system to an equivalent system (a system that has the same set of solutions) whose augmented matrix is in row echelon form. Such systems are easy to solve by back substitution. Later we will nd the inverse of a square matrix. Then we will use Gauss elimination to even more systematically and put the related system of equations that enable us to nd the inverse of the matrix in reduced row echelon form. (Oregon State University) 22 / 27

Example Solve x + y = 1 4x 3y = 17. (Oregon State University) 23 / 27

Example Solve x + y = 1 4x 3y = 17 Think rst! and x + y = 4 4x 3y = 9. (Oregon State University) 24 / 27

Example Solve 8 < : 3x 11y + 9z = 2 x 4y + 4z = 1 2x + y 5z = 3. (Oregon State University) 25 / 27

Example Solve 8 < : 5x + y 3z = 5 3x + 2y 4z = 4 6x + 3y 3z = 2. (Oregon State University) 26 / 27

Example Solve 8 < : x + y 3z = 5 2x + 3y + 5z = 0 3x 2y 8z = 5. (Oregon State University) 27 / 27