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

Size: px
Start display at page:

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

Transcription

1 DM559 Linear and Integer Programming Lecture Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark

2 Outline 1.

3 Outline 1. 3

4 A Motivating Example You are organizing the next party at IMADA. In order to make it a memorable experience for everybody, you want to prepare 8 liters of a drink that contains 3% of alcohol. At the store you find two products that contain 50% alcohol and 10% alcohol, respectively. How much of each is needed? Let x represent the amount of the 50% product needed. Let y represent the amount of the 10% product needed. The total amount of the mixture must be 8 liters. x + y = 8 The amount of alcohol from each product in the end result must be 3% of 8 liters, or 0.3(8). 0.50x y = 0.3(8) We have a system of two linear equations and two variables (aka, unknowns). { x + y = x y = 0.3(8) How do you find a solution? Is there always a solution? 4

5 Another Motivating Example The picture shows a network of one-way streets with traffic flowing in the directions indicated. The flow rates along the streets are measured as the average number of vehicles per hour. Determine the flow rates in the inner branches of the network. Intersection In Flow Out Flow A: x 3 = 50 + x 4 B: 00 + x 4 = x 1 C: 00 + x 1 = x D: x = x 3 x 3 + x 4 = 500 x 1 + x 4 = 100 x 1 x = 00 x x 3 = 100 A system of linear equations in 4 unknowns 5

6 Yet Another Motivating Example Polynomial Interpolation Given any n points in the xy-plane that have distinct x-coordinates, there is a unique polynomial of degree n 1 or less whose graph passes through those points. The graph of the polynomial is the graph of the equation: y = a 0 + a 1 x + a x + + a n 1 x n 1 The coordinates of the points (x 1, y 1 ), (x, y ),..., (x n, y n ) must satisfy: a 0 + a 1 x 1 + a x1 + + a n 1x n 1 1 = y 1 a 0 + a 1 x + a x + + a n 1x n 1 = y..... =. a 0 + a 1 x n + a xn + + a n 1 xn n 1 = y n 6

7 Find a cubic polynomial that passes through the points: (1, 3) (, ) (3, 5) (4, 0) y = a 0 + a 1 x + a x + a 3 x 3 a 0 + a 1 + a + a 3 = 3 a 0 + a 1 + a 4 + a 3 8 = a 0 + a a 9 + a 3 7 = 5 a 0 + a a 16 + a 3 64 = a a a = a 3 0 7

8 Definition (Linear Equation) A linear equation in the n variables x 1, x,..., x n is an equation that can be written in the form: a 1 x 1 + a x + + a n x n = b a 1, a,..., a n, b R, i : a i 0 Definition (System of linear equations, aka linear system) A system of m linear equations in n unknowns x 1, x,..., x n is a set of m equations of the form a 11 x 1 + a 1 x + + a 1n x n = b 1 a 1 x 1 + a x + + a n x n = b.. a m1 x 1 + a m x + + a mn x n = b m The numbers a ij are known as the coefficients of the system. We say that s 1, s,..., s n is a solution of the system if all m equations hold true when x 1 = s 1, x = s,..., x n = s n 8

9 Examples x 1 + x + x 3 + x 4 + x 5 = 3 x 1 + x + x 3 + x 4 + x 5 = 4 x 1 x x 3 + x 4 + x 5 = 5 x 1 + x 4 + x 5 = 4 has solution x 1 = 1, x =, x 3 = 1, x 4 = 3, x 5 =. Is it the only one? x 1 + x + x 3 + x 4 + x 5 = 3 x 1 + x + x 3 + x 4 + x 5 = 4 x 1 x x 3 + x 4 + x 5 = 5 x 1 + x 4 + x 5 = 6 has no solutions 9

10 Matrices Definition (Matrix) A matrix is a rectangular array of numbers or symbols. It can be written as a 11 a 1 a 1n a 1 a a n a m1 a m a mn We denote this array by a single letter A or by (a ij ) and we say that A has m rows and n columns, or that it is an m n matrix. The size of A is m n. The number a ij is called the (i, j) entry or scalar. 10

11 Vectors An n 1 matrix is a column vector, or simply a vector: v 1 v v =. v n The numbers v 1, v,... are known as the components (or entries) of v. A row vector is a 1 n matrix We write vectors in lower boldcase type (writing by hand we can either underline them or add an arrow over v). 11

12 Definition (Coefficient Matrix) The matrix A = (a ij ), whose (i, j) entry is the coefficient a ij of the system of linear equations is called the coefficient matrix. a 11 a 1 a 1n a 1 a a n A = a m1 a m a mn Let x = [x 1, x,..., x n ] T then m n a 11 a 1 a 1n a 1 a a n a m1 a m a mn n 1 x 1 x. x n = n 1 a 11 x 1 + a 1 x + + a 1n x n a 1 x 1 + a x + + a n x n.. a m1 x 1 + a m x + + a mn x n 1

13 Row operations How do we find solutions? R1: x 1 + x + x 3 = 3 R: x 1 + x + x 3 = 4 R3: x 1 x + x 3 = 5 Eliminate one of the variables from two of the equations R1 =R1: x 1 + x + x 3 = 3 R =R-*R1: x x 3 = R3 =R3: x 1 x + x 3 = 5 R1 =R1: x 1 + x + x 3 = 3 R =R: x x 3 = R3 =R3-R1: x + x 3 = We can now eliminate one of the variables in the last two equations to obtain the solution 13

14 Row operations that do not alter solutions: RO1: multiply both sides of an equation by a non-zero constant RO: interchange two equations RO3: add a multiple of one equation to another These operations only act on the coefficients of the system For a system Ax = b: [ ] A b =

15 Problem Statement Given the system of linear equations: R1: x 1 + x + x 3 = 3 R: x 1 + x + x 3 = 4 R3: x 1 x + x 3 = 5 Find whether it has any solution and in case characterize the solutions. 15

16 Augmented Matrix Definition (Augmented Matrix and Elementary Row Operations) For a system of linear equations Ax = b with a 11 a 1 a 1n x 1 b 1 a 1 a a n A = x = x. b = b. a m1 a m a mn x n b m the augmented matrix of the system is a 11 a 1 a 1n b 1 [ ] a 1 a a n b A b = a m1 a m a mn b m and the elementary row operations are: RO1: multiply a row by a non-zero constant RO: interchange two rows RO3: add a multiple of one row to another They modify the linear system into an equivalent system (same solutions) 16

17 Gaussian Elimination: Example Let s consider the system Ax = b with: [ ] A b = Left most column that is not all zeros It is column 1. A non-zero entry at the top of this column It is the one on the top 3. Make the entry 1 It is already 1 4. Make all entries below the leading one zero: R1 =R R =R-R R3 =R3-R Cover up the top row and apply steps 1. to 4. again

18 Example, cntd. Row Echelon Form 5. Cover up the top row and apply steps 1. to 4. again 1. Left most column that is not all zeros is column. Non-zero entry at the top of the column 3. Make this entry the leading 1 by elementary row operations RO1 or RO. 4. Make all entries below the leading 1 zero by RO Definition (Row echelon form) x 1 + x + x 3 = x + x 3 = x 3 = A matrix is said to be in row echelon form (or echelon form) if it has the following three properties: 1. the first nonzero entry in each nonzero row is 1. a leading 1 in a lower row is further to the right 3. zero rows are at the bottom of the matrix 18

19 Back substitution x 1 + x + x 3 = 3 x + x 3 = x 3 = From the row echelon form we solve the system by back substitution: from the last equation: set x 3 = substitute x 3 in the second equation x substitute x and x 3 in the first equation x 1 19

20 Reduced Row Echelon Form In the augmented matrix representation: 6. Begin with the last row and add suitable multiples to each row above to get zero above the leading Definition (Reduced row echelon form) A matrix is said to be in reduced (row) echelon form if it has the following properties: 1. The matrix is in row echelon form. Every column with a leading 1 has zeros elsewhere 0

21 From a Reduced Row Echelon Form (RREF) we can read the solution: [ ] A b = x 1 1 x = 0 x 1 1 x = The system has a unique solution. Is it a correct solution? Let s check: x 3 x 3 x 1 + x + x 3 = 3 x 1 + x + x 3 = 4 x 1 x + x 3 = =

22 Gaussian Elimination: Algorithm Gaussian Elimination algorithm for solving a linear system: (puts the augmented matrix in a form from which the solution can be read) 1. Find left most column that is not all zeros. Get a non-zero entry at the top of this column (pivot element) 3. Make this entry 1 by elementary row operations RO1 or RO. This entry is called leading one 4. Add suitable multiples of the top row to rows below so that all entries below the leading one become zero 5. Cover up the top row and apply steps (1) and (4) again The matrix left is in (row) echelon form 6. Back substitution

23 Gauss-Jordan Reduction Gauss Jordan Reduction algorithm for solving a linear system: (puts the augmented matrix in a form from which the solution can be read) 1. Find left most column that is not all zeros. Get a non-zero entry at the top of this column (pivot element) 3. Make this entry 1 by elementary row operations RO1 or RO. This entry is called leading one 4. Add suitable multiples of the top row to rows below so that all entries below the leading one become zero 5. Cover up the top row and apply steps (1) and (4) again The matrix left is in (row) echelon form 6. Begin with the last row and add suitable multiples to each row above to get zero above the leading 1. The matrix left is in reduced (row) echelon form 3

24 Will there always be exactly one solution? R1: x 3 = 3 R: x + 3x 3 = 4 R3: x 3 = 5 [ A b ] = R R R1/ R R R3/ R3-R x 1 x = x 3 1 No Solution! R3: 0 1

25 Definition (Consistent) A system of linear equations is said to be consistent if it has at least one solution. It is inconsistent if there are no solutions. x 1 + x + x 3 = 3 x 1 + x + x 3 = 4 x 1 x + x 3 = 5 [ A b ] = x 3 = 3 x + 3x 3 = 4 x 3 = 5 [ A b ] = z 4 z x y 4 x 4 y 4 5

26 Geometric Interpretation Three equations in three unknowns interpreted as planes in space 6

27 Definition (Overdetermined) A linear system is said to be over-determined if there are more equations than unknowns. Over-determined systems are usually (but not always) inconsistent. Definition (Underdetermined) A linear system of m equations and n unknowns is said to be under-determined if there are fewer equations than unknowns (m < n). They have usually infinitely many solutions (never just one). 7

28 Linear systems with free variables [ A b ] = x 1 + x + x 3 + x 4 + x 5 = 3 x 1 + x + x 3 + x 4 + x 5 = 4 x 1 x x 3 + x 4 + x 5 = 5 x 1 + x 4 + x 5 = R-R R3-R R4-R

29 (-1)R R3+R R4+R (1/)R R4-R Row echelon form

30 R1-R R-R R1-R x x 5 = 1 + x + x = 1 + x = 3

31 x x 5 = 1 + x + x = 1 + x = 3 Definition (Leading variables) The variables corresponding with leading ones in the reduced row echelon form of an augmented matrix are called leading variables. The other variables are called non-leading variables x 1, x and x 4 are leading variables. x 3, x 5 are non-leading variables. we assign x 3, x 5 the arbitrary values s, t R and solve for the leading variables. there are infinitely many solutions, represented by the general solution: x 1 1 t x x = x 3 x 4 = 1 s s 3 = s t x 5 t 0 0 1

32 Homogeneous systems Definition (Homogenous system) An homogeneous system of linear equations is a linear system of the form Ax = 0. A homogeneous system Ax = 0 is always consistent A0 = 0. If Ax = 0 has a unique solution, then it must be the trivial solution x = 0. In the augmented matrix the last column stays always zero we can omit it. 3

33 Example x + y + 3z + w = 0 x y + z + w = 0 y + z + w = 0 A = x x = y z = t w 3 1, t R 33

34 Theorem If A is an m n matrix with m < n, then Ax = 0 has infinitely many solutions. Proof. The system is always consistent since homogeneous. Matrix A brought in reduced echelon form contains at most m leading ones (variables). n m 1 non-leading variables How about Ax = b with A m n and m < n? If the system is consistent, then there are infinitely many solutions. 34

35 Example x + y + 3z + w = x y + z + w = 4 y + z + w = Ax = 0 RREF (A) x x = y z = t w 3 1 [A b] = x 1 x = y z = 1 + t w Ax = b RREF ([A b]) x 1, t R x = y z = 1 + t w 0 3 1, t R, t R 35

36 Definition (Associated homogenous system) Given a system of linear equations, Ax = b, the linear system Ax = 0 is called the associated homogeneous system Eg: RREF (A) = How can you tell from here that Ax = b is consistent with infinitely many solutions? Definition (Null space) For an m n matrix A, the null space of A is the subset of R n given by N(A) = {x R n Ax = 0} where 0 = (0, 0,..., 0) T is the zero vector of R n 36

37 Summary If Ax = b is consistent, the solutions are of the form: {solutions of Ax = b} = p + {solutions of Ax = 0} if Ax = b has a unique solution, then Ax = 0 has only the trivial solution if Ax = b has a infinitely many solutions, then Ax = 0 has infinitely many solutions Ax = b may be inconsistent, but Ax = 0 is always consistent. 37

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

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

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

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

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

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

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

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

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

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

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

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:

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: 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: x x = 3 1 2 2x + 4x = 12 1 2 Geometric meaning: Do these

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

DM559 Linear and Integer Programming. Lecture 6 Rank and Range. Marco Chiarandini

DM559 Linear and Integer Programming. Lecture 6 Rank and Range. Marco Chiarandini DM559 Linear and Integer Programming Lecture 6 and Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 3. 2 Outline 1. 2. 3. 3 Exercise Solve the

More information

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

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

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

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 4: Gaussian Elimination and Homogeneous Equations

Lecture 4: Gaussian Elimination and Homogeneous Equations Lecture 4: Gaussian Elimination and Homogeneous Equations Reduced Row Echelon Form An augmented matrix associated to a system of linear equations is said to be in Reduced Row Echelon Form (RREF) if the

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 equations in linear algebra

Linear equations in linear algebra Linear equations in linear algebra Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra Pearson Collections Samy T. Linear

More information

March 19 - Solving Linear Systems

March 19 - Solving Linear Systems March 19 - Solving Linear Systems Welcome to linear algebra! Linear algebra is the study of vectors, vector spaces, and maps between vector spaces. It has applications across data analysis, computer graphics,

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

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

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 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

1.2 Row Echelon Form EXAMPLE 1

1.2 Row Echelon Form EXAMPLE 1 .2 Row Echelon Form 7. The two systems 2x + x 2 = 4x + x 2 = 5 and 2x + x 2 = 4x + x 2 = have the same coefficient matrix but different righthand sides. Solve both systems simultaneously by eliminating

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

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

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

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

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

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

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

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

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

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics. The Basics of Linear Algebra Lecture Notes in Mathematics Arkansas Tech University Department of Mathematics The Basics of Linear Algebra Marcel B. Finan c All Rights Reserved Last Updated November 30, 2015 2 Preface Linear algebra

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

Matrices and systems of linear equations

Matrices and systems of linear equations Matrices and systems of linear equations Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra by Goode and Annin Samy T.

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

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

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

Linear Independence x

Linear Independence x Linear Independence A consistent system of linear equations with matrix equation Ax = b, where A is an m n matrix, has a solution set whose graph in R n is a linear object, that is, has one of only n +

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

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

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

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

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

Systems of Equations

Systems of Equations Prerequisites: Solving simultaneous equations in 2 variables; equation and graph of a straight line. Maths Applications: Finding circle equations; finding matrix inverses; intersections of lines and planes.

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

MTH 464: Computational Linear Algebra

MTH 464: Computational Linear Algebra MTH 464: Computational Linear Algebra Lecture Outlines Exam 1 Material Dr. M. Beauregard Department of Mathematics & Statistics Stephen F. Austin State University January 9, 2018 Linear Algebra (MTH 464)

More information

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

1300 Linear Algebra and Vector Geometry Week 2: Jan , Gauss-Jordan, homogeneous matrices, intro matrix arithmetic 1300 Linear Algebra and Vector Geometry Week 2: Jan 14 18 1.2, 1.3... Gauss-Jordan, homogeneous matrices, intro matrix arithmetic R. Craigen Office: MH 523 Email: craigenr@umanitoba.ca Winter 2019 What

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. The analysis of many models in the social sciences reduces to the study of systems of equations.

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations. POLI 7 - Mathematical and Statistical Foundations Prof S Saiegh Fall Lecture Notes - Class 4 October 4, Linear Algebra The analysis of many models in the social sciences reduces to the study of systems

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

LINEAR SYSTEMS, MATRICES, AND VECTORS

LINEAR SYSTEMS, MATRICES, AND VECTORS ELEMENTARY LINEAR ALGEBRA WORKBOOK CREATED BY SHANNON MARTIN MYERS LINEAR SYSTEMS, MATRICES, AND VECTORS Now that I ve been teaching Linear Algebra for a few years, I thought it would be great to integrate

More information

LU Factorization. Marco Chiarandini. DM559 Linear and Integer Programming. Department of Mathematics & Computer Science University of Southern Denmark

LU Factorization. Marco Chiarandini. DM559 Linear and Integer Programming. Department of Mathematics & Computer Science University of Southern Denmark DM559 Linear and Integer Programming LU Factorization Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark [Based on slides by Lieven Vandenberghe, UCLA] Outline

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

Matrices and Systems of Equations

Matrices and Systems of Equations M CHAPTER 4 F 2 2 4 C 4 4 Matrices and Systems of Equations Probably the most important problem in mathematics is that of solving a system of linear equations. Well over 75 percent of all mathematical

More information

1111: Linear Algebra I

1111: Linear Algebra I 1111: Linear Algebra I Dr. Vladimir Dotsenko (Vlad) Lecture 5 Dr. Vladimir Dotsenko (Vlad) 1111: Linear Algebra I Lecture 5 1 / 12 Systems of linear equations Geometrically, we are quite used to the fact

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

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

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

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

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education MTH 3 Linear Algebra Study Guide Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education June 3, ii Contents Table of Contents iii Matrix Algebra. Real Life

More information

MTH 2032 Semester II

MTH 2032 Semester II MTH 232 Semester II 2-2 Linear Algebra Reference Notes Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education December 28, 2 ii Contents Table of Contents

More information

Chapter 2: Matrices and Linear Systems

Chapter 2: Matrices and Linear Systems Chapter 2: Matrices and Linear Systems Paul Pearson Outline Matrices Linear systems Row operations Inverses Determinants Matrices Definition An m n matrix A = (a ij ) is a rectangular array of real numbers

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

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.

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. Matrices Operations Linear Algebra Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0 The rectangular array 1 2 1 4 3 4 2 6 1 3 2 1 in which the

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

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

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

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system Finite Math - J-term 07 Lecture Notes - //07 Homework Section 4. - 9, 0, 5, 6, 9, 0,, 4, 6, 0, 50, 5, 54, 55, 56, 6, 65 Section 4. - Systems of Linear Equations in Two Variables Example. Solve the system

More information

Solutions of Linear system, vector and matrix equation

Solutions of Linear system, vector and matrix equation Goals: Solutions of Linear system, vector and matrix equation Solutions of linear system. Vectors, vector equation. Matrix equation. Math 112, Week 2 Suggested Textbook Readings: Sections 1.3, 1.4, 1.5

More information

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

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices IT 131: Mathematics for Science Lecture Notes 3 Source: Larson, Edwards, Falvo (2009): Elementary Linear Algebra, Sixth Edition. Matrices 2.1 Operations with Matrices This section and the next introduce

More information

DM559 Linear and Integer Programming. Lecture 3 Matrix Operations. Marco Chiarandini

DM559 Linear and Integer Programming. Lecture 3 Matrix Operations. Marco Chiarandini DM559 Linear and Integer Programming Lecture 3 Matrix Operations Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline and 1 2 3 and 4 2 Outline and 1 2

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

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

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

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions A. LINEAR ALGEBRA. CONVEX SETS 1. Matrices and vectors 1.1 Matrix operations 1.2 The rank of a matrix 2. Systems of linear equations 2.1 Basic solutions 3. Vector spaces 3.1 Linear dependence and independence

More information

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

Chapter 2. Systems of Equations and Augmented Matrices. Creighton University Chapter Section - Systems of Equations and Augmented Matrices D.S. Malik Creighton University Systems of Linear Equations Common ways to solve a system of equations: Eliminationi Substitution Elimination

More information

MathQuest: Linear Algebra. 1. Which of the following operations on an augmented matrix could change the solution set of a system?

MathQuest: Linear Algebra. 1. Which of the following operations on an augmented matrix could change the solution set of a system? MathQuest: Linear Algebra Gaussian Elimination 1. Which of the following operations on an augmented matrix could change the solution set of a system? (a) Interchanging two rows (b) Multiplying one row

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

Elementary Linear Algebra

Elementary Linear Algebra Elementary Linear Algebra Linear algebra is the study of; linear sets of equations and their transformation properties. Linear algebra allows the analysis of; rotations in space, least squares fitting,

More information

Chapter 1 Matrices and Systems of Equations

Chapter 1 Matrices and Systems of Equations Chapter 1 Matrices and Systems of Equations System of Linear Equations 1. A linear equation in n unknowns is an equation of the form n i=1 a i x i = b where a 1,..., a n, b R and x 1,..., x n are variables.

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

Matrices and Systems of Equations

Matrices and Systems of Equations M CHAPTER 3 3 4 3 F 2 2 4 C 4 4 Matrices and Systems of Equations Probably the most important problem in mathematics is that of solving a system of linear equations. Well over 75 percent of all mathematical

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

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

1111: Linear Algebra I

1111: Linear Algebra I 1111: Linear Algebra I Dr. Vladimir Dotsenko (Vlad) Michaelmas Term 2015 Dr. Vladimir Dotsenko (Vlad) 1111: Linear Algebra I Michaelmas Term 2015 1 / 15 From equations to matrices For example, if we consider

More information

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

MATRICES. a m,1 a m,n A = MATRICES Matrices are rectangular arrays of real or complex numbers With them, we define arithmetic operations that are generalizations of those for real and complex numbers The general form a matrix of

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 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

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

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

2. Every linear system with the same number of equations as unknowns has a unique solution. 1. For matrices A, B, C, A + B = A + C if and only if A = B. 2. Every linear system with the same number of equations as unknowns has a unique solution. 3. Every linear system with the same number of equations

More information

Chapter 3. Directions: For questions 1-11 mark each statement True or False. Justify each answer.

Chapter 3. Directions: For questions 1-11 mark each statement True or False. Justify each answer. Chapter 3 Directions: For questions 1-11 mark each statement True or False. Justify each answer. 1. (True False) Asking whether the linear system corresponding to an augmented matrix [ a 1 a 2 a 3 b ]

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

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

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

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 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

APPENDIX: MATHEMATICAL INDUCTION AND OTHER FORMS OF PROOF

APPENDIX: MATHEMATICAL INDUCTION AND OTHER FORMS OF PROOF ELEMENTARY LINEAR ALGEBRA WORKBOOK/FOR USE WITH RON LARSON S TEXTBOOK ELEMENTARY LINEAR ALGEBRA CREATED BY SHANNON MARTIN MYERS APPENDIX: MATHEMATICAL INDUCTION AND OTHER FORMS OF PROOF When you are done

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

Linear Systems and Matrices

Linear Systems and Matrices Department of Mathematics The Chinese University of Hong Kong 1 System of m linear equations in n unknowns (linear system) 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.......

More information