MATH 2000 Gauss-Jordan Elimination and the TI-83 [Underlined bold terms are defined in the glossary]

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

10/26/ Solving Systems of Linear Equations Using Matrices. Objectives. Matrices

EXTENSION. a 1 b 1 c 1 d 1. Rows l a 2 b 2 c 2 d 2. a 3 x b 3 y c 3 z d 3. This system can be written in an abbreviated form as

For example, the system. 22 may be represented by the augmented matrix

Solving Systems Using Row Operations 1 Name

2. Use elementary row operations to rewrite the augmented matrix in a simpler form (i.e., one whose solutions are easy to find).

x = 12 x = 12 1x = 16

Section 3.1 Gaussian Elimination Method (GEM) Key terms

Basic Matrix Manipulation with a TI-89/TI-92/Voyage 200

Solving Systems of Equations Using Matrices With the TI-83 or TI-84

6.3 Notes O Brien F15

MATH 423 Linear Algebra II Lecture 17: Reduced row echelon form (continued). Determinant of a matrix.

Exercise Set Decide whether each matrix below is an elementary matrix. (a) (b) (c) (d) Answer:

Linear Equations in Linear Algebra

Matrix Inverse 2 ( 2) 1 = 2 1 2

A Poorly Conditioned System. Matrix Form

Chapter 2 Systems of Linear Equations and Matrices

6-2 Matrix Multiplication, Inverses and Determinants

Matrices and Systems of Equations

Paul's Online Math Notes. Online Notes / Algebra (Notes) / Systems of Equations / Augmented Matricies

Column and row space of a matrix

February 01, Matrix Row Operations 2016 ink.notebook. 6.6 Matrix Row Operations. Page 49 Page Row operations

3.1 Solving Systems Using Tables and Graphs

Maths for Signals and Systems Linear Algebra in Engineering. Some problems by Gilbert Strang

Math 355: Linear Algebra: Midterm 1 Colin Carroll June 25, 2011

January 24, Matrix Row Operations 2017 ink.notebook. 6.6 Matrix Row Operations. Page 35 Page Row operations

Numerical Methods 5633

Math 13 Chapter 3 Handout Helene Payne. Name: 1. Assign the value to the variables so that a matrix equality results.

CHAPTER 5 SYSTEMS OF EQUATIONS. x y

Matrices and Determinants

Add a multiple of a row to another row, replacing the row which was not multiplied.

CHAPTER HERE S WHERE YOU LL FIND THESE APPLICATIONS:

Self-study session 1, Discrete mathematics

0_PreCNotes17 18.notebook May 16, Chapter 12

Precalculus Notes: Unit 7 Systems of Equations and Matrices

Linear Equation Systems Iterative Methods

Curriculum Map: Mathematics

Independent systems consist of x

Math 1B03/1ZC3 - Tutorial 3. Jan. 24th/28th, 2014

Ahigh school curriculum in Algebra 2 contains both solving systems of linear equations,

Performing Matrix Operations on the TI-83/84

Classroom Tips and Techniques: Stepwise Solutions in Maple - Part 2 - Linear Algebra

hp calculators hp 39g+ & hp 39g/40g Using Matrices How are matrices stored? How do I solve a system of equations? Quick and easy roots of a polynomial

Solving Algebraic Equations

SCIE 4101, Spring Math Review Packet #4 Algebra II (Part 1) Notes

Put the following equations to slope-intercept form then use 2 points to graph

A Study of Numerical Methods for Simultaneous Equations

Recreational Mathematics:

Numerical Linear Algebra

4. Linear Algebra. In maple, it is first necessary to call in the linear algebra package. This is done by the following maple command

REGULAR GRAPHS OF GIVEN GIRTH. Contents

Objectives and Homework List

Computational Methods CMSC/AMSC/MAPL 460. Vectors, Matrices, Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science

Matrices and Systems of Linear Equations

DM545 Linear and Integer Programming. Lecture 2. The Simplex Method. Marco Chiarandini

LARP / 2018 ACK : 1. Linear Algebra and Its Applications - Gilbert Strang 2. Autar Kaw, Transforming Numerical Methods Education for STEM Graduates

Introduction: Equipment: Getting Started Collecting the data:

5 The Theory of the Simplex Method

Math 2331 Linear Algebra

Algorithms and Data Structures

Problem 2. Problem 3. Perform, if possible, each matrix-vector multiplication. Answer. 3. Not defined. Solve this matrix equation.

CS Elementary Graph Algorithms & Transform-and-Conquer

Systems of Inequalities and Linear Programming 5.7 Properties of Matrices 5.8 Matrix Inverses

MAT 103 F09 TEST 3 REVIEW (CH 4-5)

How to Solve a Standard Maximization Problem Using the Simplex Method and the Rowops Program

CS6015 / LARP ACK : Linear Algebra and Its Applications - Gilbert Strang

MA 162: Finite Mathematics - Sections 2.6

Computational Methods CMSC/AMSC/MAPL 460. Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science

Linear programming II João Carlos Lourenço

Coefficient Constant Equivalent expressions Equation. 3 A mathematical sentence containing an equal sign

Unit 3: Multiplication and Division Reference Guide pages x 7 = 392 factors: 56, 7 product 392

Mastery. PRECALCULUS Student Learning Targets

Working with Algebraic Expressions

Practice Test - Chapter 6

Matrices for the TI-73

Output: For each size provided as input, a figure of that size is to appear, followed by a blank line.

Monday, 12 November 12. Matrices

,!7IA3C1-cjfcei!:t;K;k;K;k ISBN Graphing Calculator Reference Card. Addison-Wesley s. Basics. Created in conjuction with

A MATRIX FORMULATION OF THE CUBIC BÉZIER CURVE

Linear Block Codes. Allen B. MacKenzie Notes for February 4, 9, & 11, Some Definitions

Computational Methods CMSC/AMSC/MAPL 460. Vectors, Matrices, Linear Systems, LU Decomposition, Ramani Duraiswami, Dept. of Computer Science

Chapter 1: Foundations for Algebra

1.1 calculator viewing window find roots in your calculator 1.2 functions find domain and range (from a graph) may need to review interval notation

LINPACK Benchmark. on the Fujitsu AP The LINPACK Benchmark. Assumptions. A popular benchmark for floating-point performance. Richard P.

Computer Packet 1 Row Operations + Freemat

Optimization of Design. Lecturer:Dung-An Wang Lecture 8

Matlab and Matrices. Math 45 Linear Algebra. David Arnold

MAT 343 Laboratory 2 Solving systems in MATLAB and simple programming

Cryptography. What is Cryptography?

LAB 2: Linear Equations and Matrix Algebra. Preliminaries

Chapter 1: Number and Operations

Therefore, after becoming familiar with the Matrix Method, you will be able to solve a system of two linear equations in four different ways.

9 abcd = dcba b + 90c = c + 10b b = 10c.

Parallelizing LU Factorization

MATH (CRN 13695) Lab 1: Basics for Linear Algebra and Matlab

Multiplying and Dividing Rational Expressions

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Geometric transformations assign a point to a point, so it is a point valued function of points. Geometric transformation may destroy the equation

Exploration Assignment #1. (Linear Systems)

Lesson 11: Duality in linear programming

Transcription:

x y z 0 0 3 4 5 MATH 000 Gauss-Jordan Elimination and the TI-3 [Underlined bold terms are defined in the glossary] 3z = A linear system such as x + 4y z = x + 5y z = can be solved algebraically using ordinary elimination or by using an augmented matrix and elementary row operations. When we write a matrix, we are using only the coefficients, so it is imperative that all equations be in standard form. An augmented matrix includes the constant terms also. The augmented matrix for this system is given below. In larger matrices where variables may get confused, we will put the appropriate variable at the top of each column as I have done here. In small systems this is not usually necessary. The vertical line indicates the location of the = signs. There are three elementary row operations that produce row-equivalent matrices Two rows are interchanged Ri Rj A row is replaced by a nonzero multiple of itself kri Ri A row is replaced by the sum of itself and a nonzero kr j + Ri Ri multiple of another row. (NOTE : means "replaces") You are responsible for performing all of these operations by hand, if asked, but you will be allowed to use your calculator most of the time. Make certain you know how to do all row operations on your calculator, or you will have to do all the computations by hand! The result of a row operation is displayed on the home screen, but it is not automatically stored (on a TI-3)! You should immediately store the result under a different name. It is convenient (and frequently useful) to store the results alphabetically. Row Swap: To interchange rows and 3 of matrix A: MATRIX MATH C:rowSwap( ENTER MATRIX NAMES :[A] ENTER,, 3 ) ENTER STO$ MATRIX NAMES :[B] ENTER You must write down which row operation you are using. Please put this notation beside the resulting row in the new matrix. Note the calculator command on each screen shot. The original matrix The matrix after swapping rows and 3 0 0 3 4 5 R R 3 MATH 000 - Gauss-Jordan Elimination and the TI-3 ~ page J. Ahrens //005

Multiplying a row by a nonzero scalar: This operation automatically replaces the old row with the new one. To multiply row of matrix A by : 3 MATRIX MATH E:*row( ENTER 3, MATRIX NAMES :[A] ENTER, ) ENTER STO$ MATRIX NAMES 3:[C] ENTER The original matrix The matrix after multiplying row by 3 0 0 3 4 5 R R 3 Adding a nonzero scalar multiple of one row to another row: Perform the multiplication first, then add that result to the second equation. Replace the second equation with the result. To multiply row of matrix A by and add it to row 3 MATRIX MATH F:*row+( ENTER, MATRIX NAMES :[A] ENTER,, 3 ) ENTER STO$ MATRIX NAMES 4:[D] ENTER The original matrix The matrix after multiplying row by and adding it to row 3 0 0 3 4 5 R + R R 3 3 General directions for using Gauss-Jordan elimination: a) Write the system of equations as an augmented matrix b) Begin with the original matrix and use elementary row operations until the coefficient matrix becomes an identity matrix. c) List each row operation used to the left of the new matrix beside the new row. d) Store each result in your calculator (as a new matrix). e) Please work DOWN! 4x + y 4z = 4 Example: Solve this system of linear equations: 3x + 6y + 5z = 3 x + y + x = 7. Write the system as an augmented matrix and store it in your calculator as matrix [A]. 4 4 4 3 6 5 3 7 store as [A] MATH 000 - Gauss-Jordan Elimination and the TI-3 ~ page J. Ahrens //005

. Desired result: Change element a to. Row op: *row,[a], 4 R R 4 3 6 5 3 7 store as [B] 3. Desired result: Change element a to 0 by using row. Row op: *row + ( 3,[B],,) 3R + R R 0 0 6 7 store as [C] 4. Desired result: Change element a3 to 0 by using row Row op: *row + (,[C],,3) R + R3 R3 0 0 6 0 5 0 5 store as [D] 5. Desired result: Change a to This is not a typical problem! We would normally multiply row by the reciprocal of a. Since we must have a nonzero number in that location we will need to do a row swap. We do not want to swap rows and because we would then have a nonzero number for element a. Cardinal rule: Do not undo something you just worked hard to fix! Swapping rows and 3 is not a big deal, but it is unusual to have to do so at this point. Row op: rowswap([d],, 3] R R 3 0 5 0 5 0 0 6 store as [E] Row op: *row,[e], 5 R R 5 0 3 0 0 6 store as [F] Let s go off on a tangent for a few moments: A. If we multiply row 3 by, we will change element a 33 to. Row op: *row,[f],3 R 3 R 3 0 3 0 0 B. Our matrix is now in row echelon form. We can solve using back substitution:. The third row means that z =!, i.e. z =! Back substitute into row : y + (!) =!3, so y = Back substitute into row : x + ()! (!) =, so x =!3 The solution is (!3,,!) Check by substituting result in all original equations. This method of solution is called Gaussian Elimination. MATH 000 - Gauss-Jordan Elimination and the TI-3 ~ page 3 J. Ahrens //005

Meanwhile, back to the original problem! 6. Desired result: Change element a to 0 using row Row op: *row + (,[F],,) R + R R 0 5 7 0 3 0 0 6 save as [G] 7. Desired result: Change element a 33 to Row op: *row,[g],3 R 3 R 3 0 5 7 0 3 0 0 save as [H]. Desired result: Change element a3 5R3 + R R 0 0 3 to 0 using row 3 0 3 save as [I] Row op: *row + (5,[H],3,) 0 0 9. Desired result: Change element a3 to 0 using row 3 Row op: *row + (,[I],3,) R3 + R R 0 0 3 0 0 0 0 The solution can now be read directly from the matrix: x =!3 y = z =!, in other words, (!3,,!) This method is called the Gauss-Jordan Elimination Method. Its algorithm is ideal for use with calculator and/or computer programs and is the basis for linear programming problems. Summary of the Gauss-Jordan Elimination Method: Get a " in position,. Then use row to get 0"s in the rest of column. Get a " in position,. Then use row to get 0"s in the rest of column. Get a " in position 3,3. Then use row 3 to get 0"s in the rest of column 3. You will be required to solve one problem on the test by showing the individual row operations as demonstrated above. You may use your calculator to do the actual calculations on each step. Study your owners manual to see if your calculator has a row reduced echelon form command. If so, it will save you a lot of time and effort! If not, practice until you can do the necessary steps quickly and accurately. On the TI-3, matrix A can be changed from augmented form to row reduced echelon form in one step using: MATRIX MATH B:rref( ENTER MATRIX NAMES :[A] ENTER! MATH 000 - Gauss-Jordan Elimination and the TI-3 ~ page 4 J. Ahrens //005

Not all linear systems have solutions The augmented matrix is Solve: 6 3 3 x + 6x = 3 x + 3x = 3 The row reduced echelon form is 0 0 7 The last row of the row reduced echelon form means that 0x + 0x = 7, i.e. 0 = 7. This system has no solution. Such a system is said to be inconsistent. Some linear systems have multiple solutions The augmented matrix is 4 6 3 Solve x x = 4 6x + 3x = The row reduced echelon form is 0 0 0 The last row of the row reduced echelon form means that 0x + 0x = 0, which is true regardless of the values of the variables. Since the bottom row is always true, we must determine when the first row is true. Introduce a parameter t, and let x = t. [t is a real number] Then x x = x = t + All solutions to this system have the form t, t t + R Examples of solutions are (, 0), (!,!6), and (4, 4). This is a consistent system. MATH 000 - Gauss-Jordan Elimination and the TI-3 ~ page 5 J. Ahrens //005