Section 8.2 Solving a System of Equations Using Matrices (Guassian Elimination)



Similar documents
1.2 Solving a System of Linear Equations

Solving Systems of Linear Equations Using Matrices

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Linear Equations ! $ & " % & " 11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development

Solving Systems of Linear Equations

5.5. Solving linear systems by the elimination method

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Reduced echelon form: Add the following conditions to conditions 1, 2, and 3 above:

Systems of Linear Equations

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Section Continued

Systems of Linear Equations

1.5 SOLUTION SETS OF LINEAR SYSTEMS

Arithmetic and Algebra of Matrices

Methods for Finding Bases

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

2.2/2.3 - Solving Systems of Linear Equations

Row Echelon Form and Reduced Row Echelon Form

( ) which must be a vector

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

10.2 Systems of Linear Equations: Matrices

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Lecture Notes 2: Matrices as Systems of Linear Equations

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

Solving Systems of Linear Equations

Homogeneous systems of algebraic equations. A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

Solving Linear Systems, Continued and The Inverse of a Matrix

Solutions to Math 51 First Exam January 29, 2015

Lecture 1: Systems of Linear Equations

5 Homogeneous systems

x y The matrix form, the vector form, and the augmented matrix form, respectively, for the system of equations are

Question 2: How do you solve a matrix equation using the matrix inverse?

Name: Section Registered In:

MAT 242 Test 2 SOLUTIONS, FORM T

Linearly Independent Sets and Linearly Dependent Sets

160 CHAPTER 4. VECTOR SPACES

A =

1.2 Linear Equations and Rational Equations

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

Linear Equations in Linear Algebra

8 Square matrices continued: Determinants

4.5 Linear Dependence and Linear Independence

MATH2210 Notebook 1 Fall Semester 2016/ MATH2210 Notebook Solving Systems of Linear Equations... 3

How To Understand And Solve A Linear Programming Problem

Elementary Matrices and The LU Factorization

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

Systems of Equations

1 Determinants and the Solvability of Linear Systems

LS.6 Solution Matrices

MATH APPLIED MATRIX THEORY

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

Math Quizzes Winter 2009

Solving systems by elimination

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

by the matrix A results in a vector which is a reflection of the given

Simplifying Algebraic Fractions

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

LINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to,

Linear Programming. March 14, 2014

Notes on Determinant

Lecture 5: Singular Value Decomposition SVD (1)

1 Determine whether an. 2 Solve systems of linear. 3 Solve systems of linear. 4 Solve systems of linear. 5 Select the most efficient

Here are some examples of combining elements and the operations used:

Solving Systems of Two Equations Algebraically

8.1. Cramer s Rule for Solving Simultaneous Linear Equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

Vector Spaces 4.4 Spanning and Independence

COLLEGE ALGEBRA 10 TH EDITION LIAL HORNSBY SCHNEIDER 1.1-1

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

Zeros of Polynomial Functions

JobTestPrep's Numeracy Review Decimals & Percentages

Practical Guide to the Simplex Method of Linear Programming

Linear Equations in Linear Algebra

Subspaces of R n LECTURE Subspaces

CHAPTER 2. Eigenvalue Problems (EVP s) for ODE s

Math 312 Homework 1 Solutions

Lecture notes on linear algebra

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

THE DIMENSION OF A VECTOR SPACE

2.6 Exponents and Order of Operations

Section 1.1 Linear Equations: Slope and Equations of Lines

Linear Algebra Notes

Standard Form of a Linear Programming Problem

1 Solving LPs: The Simplex Algorithm of George Dantzig

Chapter 11 Number Theory

Solving Linear Equations in One Variable. Worked Examples

LINEAR ALGEBRA. September 23, 2010

LAB 11: MATRICES, SYSTEMS OF EQUATIONS and POLYNOMIAL MODELING

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

University of Lille I PC first year list of exercises n 7. Review

Applied Math 245 Midterm Exam: Winter 2007

1 VECTOR SPACES AND SUBSPACES

MULTIPLICATION AND DIVISION OF REAL NUMBERS In this section we will complete the study of the four basic operations with real numbers.

CS3220 Lecture Notes: QR factorization and orthogonal transformations

Solution of Linear Systems

Unit 1 Equations, Inequalities, Functions

Transcription:

Section 8. Solving a System of Equations Using Matrices (Guassian Elimination) x + y + z = x y + 4z = x 4y + z = System of Equations x 4 y = 4 z A System in matrix form x A x = b b 4 4 Augmented Matrix Not every system has a unique solution. There are three different possible solutions a unique solution (exactly one solution) infinitely many solutions the system is called consistent no solution the system is called inconsistent

Starting with an augmented matrix, you have two options: Use row operations to reduce to: row-echelon form Any row consisting of all zeros must be on the bottom of the matrix For all nonzero rows, the first nonzero entry must be a. This is called the leading. Take any consecutive nonzero rows: The leading for the higher row must be to the left of the leading of the lower row. The leading ones must staircase down from left to right. Reduction to row-echelon form is called : Gaussian elimination The solution is then found by back-substitution reduced row-echelon form Row echelon form + Find all the leading ones. All other entries in the column containing a leading should be zero (above and below the leading ). Reduction to reduced row-echelon form is called : Gauss-Jordan elimination The solution is then found by inspection or by a few simple steps Row-echelon, Reduced row-echelon, or Neither. 5 4. 6. 5 4 5. 9 7. 4 row-echelon neither reduced row-echelon 6. 4 7 5 neither reduced row-echelon row-echelon Order Matters! row-echelon for each column (move left to right), first get the appropriate leading, then get s underneath it. reduced row-echelon for each column (move left to right), first get the appropriate leading, then get s above and below it.

Permitted Row Operations : (remember: every row represents an equation) a) Multiply a row by a number 9 6 5 R 5 5 4 5 4 4 4 b) Switch rows 7 4 R c) Add a multiple of one row to another row Row that is not changing 7 R 4 Row you want to replace 4 R + R = New R R 6 + R 4 NewR 4 4 To get s : a) Switch Rows if there is a in the same column but below the desired spot. 7 4 R b) If k is the entry in the desired spot, multiply the row by if every other entry in the row is divisible by k. 9 6 5 R 5 5 4 5 4 4 4 c) Do step b) followed by step a) if there is another row where every entry is divisible by k. 4 4 7 R 4 4 4 R R R These are the easier ways to get a k

To get s : (continued) d) Use elimination step add one row to a multiple of another row 4 R + R = New R 4 7 4 7 R e) Last Resort Introduce fractions by multiplying by k + R 4 NewR 5 7 4 9 4 6 4 5 7 R 4 9 4 6 4 These are the harder ways to get a To get s : Use "elimination" step : add a multiple of one row to another row Row with the leading in it The leading is always obtained before getting the zero(s) Row you want to replace Multiply the row with the leading by the same # but opposite sign of the number you would like to be zero. 4 R + R = New R R 6 + R 4 NewR 4 4 4

x + y + z = x y + 4z = 4 x 4y + z = 4 4 4 4 4 R R R R 6 4 R + R = New R + R 4 NewR 4 4 4 R 4 R + R = New R + R NewR 5 4 5 4 R + R = New R 5 5 5 R + R = New R then ( ) + + R 5 R NewR 4 5 5R 5 5 R NewR 5 x y + z = y = z = ( ) ( ) x + = x 4 = x = Solution : (,, ) 5

x y + z = 6 x y = 7 x + y z = 6 7 R + R R + R 6 5 5 R + R 6 x y + z = 6 x = 6 + y z x = 6 + + 4t t 5 y z = 5 y = 5 + t z is free let z = t Infinitely many solutions x = 4 + t y = 5 + t z = t x + 6y + 6z = 5 x 6y z = x y = 6 6 5 6 R 5 6 R + R R + R 5 9 8 6 4 R 5 4 4 8R 8 6 4 + R 5 4 4 No solution x + y + z = = FALSE Inconsistent System 6

A system of linear equations is said to be homogeneous is each of its equations has a constant term of. a x + a x + + a x = n n a x + a x + + a x = n n a x + a x + + a x m m mn n x x x n,,, is always a solution of a homogeneous system. This solution is called the trivial solution. This means that a homogeneous system is always consistent. For a homogeneous system, there are only two different possible solutions : a unique solution (the trivial solution) infinitely many solutions What is more interesting is when there is a solution that has one or more of the variables not zero. A solution of this type is called a non-trivial solution. = x + y z y + z x + 4y + z 4 R + R repeated row x + y z y + z z is free x = z y x = 4t y = t let z = t There are infinitely many solutions, one in particular is (8, -,). This is a nontrivial solution found by letting t be. 7

In a homogeneous system of equations, if you have more variables than equations, you are guaranteed to have nontrivial solutions x + y z x + y + 4z 4 R + R x + y z x = y y is free 6 6z z let y = t x = t y = t z With fewer equations than variables you will always have at least one free parameter, this leads to infinitely many nontrivial solutions 8