Row Operations and Inverse Matrices on the TI-83

Similar documents
Using row reduction to calculate the inverse and the determinant of a square matrix

Solving Systems of Linear Equations Using Matrices

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

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

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

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

Solving Linear Systems, Continued and The Inverse of a Matrix

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

Lecture 2 Matrix Operations

Typical Linear Equation Set and Corresponding Matrices

8 Square matrices continued: Determinants

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

1 Introduction to 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.

Solving Systems of Linear Equations

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

Elementary Matrices and The LU Factorization

1.2 Solving a System of Linear Equations

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.

2.2/2.3 - Solving Systems of Linear Equations

Lecture 4: Partitioned Matrices and Determinants

Arithmetic and Algebra of Matrices

Name: Section Registered In:

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

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2

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.

Solving simultaneous equations using the inverse matrix

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. (

Math 312 Homework 1 Solutions

Linear Algebra Notes for Marsden and Tromba Vector Calculus

LAB 11: MATRICES, SYSTEMS OF EQUATIONS and POLYNOMIAL MODELING

LINEAR ALGEBRA. September 23, 2010

1 Solving LPs: The Simplex Algorithm of George Dantzig

Section 1.1 Linear Equations: Slope and Equations of Lines

( ) which must be a vector

Schneps, Leila; Colmez, Coralie. Math on Trial : How Numbers Get Used and Abused in the Courtroom. New York, NY, USA: Basic Books, p i.

Row Echelon Form and Reduced Row Echelon Form

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

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = i.

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

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

Systems of Linear Equations

x = + x 2 + x

Continued Fractions and the Euclidean Algorithm

Systems of Equations

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Style. Learning Outcomes

Fractions to decimals

Direct Methods for Solving Linear Systems. Matrix Factorization

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

9 MATRICES AND TRANSFORMATIONS

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

Orthogonal Projections

6. Cholesky factorization

Introduction to Matrices for Engineers

THREE DIMENSIONAL GEOMETRY

26. Determinants I. 1. Prehistory

Using a Graphing Calculator With Cramer s Rule

MAT188H1S Lec0101 Burbulla

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

Solving Systems of Linear Equations

Similar matrices and Jordan form

DETERMINANTS TERRY A. LORING

Similarity and Diagonalization. Similar Matrices

Linear Equations and Inequalities

Math 2524: Activity 3 (Excel and Matrices, continued) Fall 2002

7. LU factorization. factor-solve method. LU factorization. solving Ax = b with A nonsingular. the inverse of a nonsingular matrix

Lecture 1: Systems of Linear Equations

Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components

α = u v. In other words, Orthogonal Projection

Matrix Algebra in R A Minimal Introduction

Linearly Independent Sets and Linearly Dependent Sets

Linear Algebra and TI 89

To give it a definition, an implicit function of x and y is simply any relationship that takes the form:

How To Understand And Solve A Linear Programming Problem

Linear Algebra: Determinants, Inverses, Rank

Data Mining: Algorithms and Applications Matrix Math Review

SOLVING COMPLEX SYSTEMS USING SPREADSHEETS: A MATRIX DECOMPOSITION APPROACH

K80TTQ1EP-??,VO.L,XU0H5BY,_71ZVPKOE678_X,N2Y-8HI4VS,,6Z28DDW5N7ADY013

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

Some Lecture Notes and In-Class Examples for Pre-Calculus:

Systems of Linear Equations

Applied Finite Mathematics Second Edition. Rupinder Sekhon De Anza College Cupertino, California. Page 1

Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

Brief Introduction to Vectors and Matrices

2.3. Finding polynomial functions. An Introduction:

CS3220 Lecture Notes: QR factorization and orthogonal transformations

Notes on Determinant

Lecture Notes 2: Matrices as Systems of Linear Equations

MATH APPLIED MATRIX THEORY

10.2 Systems of Linear Equations: Matrices

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

1 Sets and Set Notation.

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

Excel supplement: Chapter 7 Matrix and vector algebra

LS.6 Solution Matrices

5.5. Solving linear systems by the elimination method

Vector Spaces 4.4 Spanning and Independence

Basic Formulas in Excel. Why use cell names in formulas instead of actual numbers?

Applied Linear Algebra I Review page 1

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

Transcription:

Row Operations and Inverse Matrices on the TI-83 I. Elementary Row Operations 2 8 A. Let A =. 2 7 B. To interchange rows and 2 of matrix A: MATRIX MATH C:rowSwap( MATRIX NAMES :[A],, 2 ) ENTER. 2 7 The result is. 2 8 ENTER C. To add rows and 2 of matrix A: MATRIX MATH D:row+( ENTER MATRIX NAMES :[A],, 2 ) ENTER. 2 8 The result is. Row remains unchanged, while the result of the row 0 0 operation replaces row 2. D. To multiply row of matrix A by 4: MATRIX MATH E:*row( 4, MATRIX NAMES :[A], ) ENTER. 8 32 4 The result is. 2 7 E. To multiply row of matrix A by 5 and add it to row 2: MATRIX MATH F:*row+( ENTER 5, MATRIX NAMES :[A],, 2 ) ENTER 2 8 The result is 2 33 4 operation replaces row 2.. Row remains unchanged, while the result of the row F. The result of row operations is displayed on the screen, but it is not stored! It is usually desirable to store the result for further operations. To store the result from the last operation performed as F: STO+ MATRIX NAMES 6:[F] ENTER. II. Inverse Matrices A. If a square matrix has an inverse, it is said to be invertible (nonsingular). If A and A are inverse matrices, then A A = A A = I. 5 6 2 6 26 B. Let A = 4 and B = 5 22. 2 2 0 0 0 53 52 26 Since AB = 0 0 and BA = 44 43 22, A and B are not inverses. 0 2 8 2 2 0

3 7 9 7/3 C. Let A = and B =. 2 27 4 0 0 Since AB = and BA =, A and B are inverse matrices. 0 0 III. Creating an Identity Matrix A. An identity matrix I can be created by entering the proper elements as with any other matrix. B. The shortcut for creating the 3x3 identity matrix and storing it as matrix A is MATRIX MATH 5:identity( 3 ) ENTER STO+ MATRIX NAMES :[A] ENTER. IV. Augmenting a Matrix with Another Matrix 0 7 0 7 A. Let A = 2 2 and B = 0. The augmented matrix 2 2 / 0. 3 / 3 can be created and stored as matrix C without altering the original matrices, as follows: MATRIX MATH 7:augment( MATRIX NAMES :[A], MATRIX NAMES 2:[B] ENTER ) ENTER STO+ MATRIX NAMES :[C] ENTER. B. It is frequently useful to create an augmented matrix using an identity matrix. The 0 0 augmented matrix 2 2 / 0 0 can be formed by letting A = 2 2 / and B = 0 0 and using the method of the previous example. C. A shortcut for augmenting a square matrix with an identity matrix: MATRIX MATH 7:augment( MATRIX NAMES :[A], MATRIX MATH 5:identity( 3 ) ENTER STO+ MATRIX NAMES 3:[C] ENTER. V. Gauss-Jordan Elimination A. Perform any row operation which will yield element a, =. Avoid creating fractions whenever possible! B. Use the first row and row operations to convert all other elements in column to zeros. C. Multiply row 2 by a scalar to yield element a 2,2 =. Sometimes there are other options available, but be careful that you do not change any elements in column! D. Use row 2 and row operations to covert all other elements in column 2 to zeros. E. Repeat this process until all columns have been converted.

VI. Finding an Inverse Matrix Using an Augmented Matrix and Elementary Row Operations A. If a square matrix A has an inverse, it can be found by augmenting A with the appropriately sized identity matrix I and then using the Gauss-Jordan elimination method to transform the matrix to the left of the bar into the identity matrix I. If this cannot be done, then A is singular and has no inverse. 0 0 B. If A = 2 2, then the required augmented matrix is 2 2 / 0 0. /. 2 2, 0 0 0.. /2, 0 /2 0 0. / R : R 2 2 R 6 R The rest of the elements in column already equal zero. 2. Element a already equals. 2,2 0 /2, /2 0 0. / R 2 + R 6 R Column 2 is now completed. 3. Element a already equals. 3,3, /2 /2 0. /, /2 /2 0 0. 0 / 2 R 3 + R 6 R R 3 + R 2 6 R 2 Column 3 is now completed.

/2 /2 4. This means that A = 0. 5. To prove the result is correct, show that AA = A A = 0 0. VII. Shortcuts for Finding an Inverse Matrix A. To find the row reduced form of the augmented matrix A from above: MATRIX MATH B:rref( MATRIX NAMES :[A] ) ENTER. B. To find A directly, begin with A (not augmented): MATRIX NAMES :[A] x ENTER. 3 7 9 7/3 C. If A =, then A =. 2 27 4 3 6 D. If C =, then C does not exist. 2 4 E. If E = 0 0, then E = 0 0. VIII. Determinants A. Although only square matrices can have inverses, there are some square matrices which do not have inverses. Each square matrix has associated with it a real number called its determinant, and the determinant determines whether or not an inverse matrix exists. a b a b B. The determinant of the 2x2 matrix is denoted by c d / 0 c d / and is equal to 0 ad bc. 3 7. If A =, then A = 3( 27) 2( 7) = 3. 2 27 2 5 2. If B =, then B = 2( 0) ( 5)(5) = 95. 5 0

3. If C = 3 6 2 4, then C = 3(4) ( 2)( 6) = 0. C. Although it is possible to find determinants of larger matrices by hand, it can be tedious and time-consuming. If A = 3 7 2 27, the calculator can be used to find A : MATRIX MATH :det( MATRIX NAMES :[A] ) ENTER. D. 0 0 = E. Determinants may be used to write inverse matrices. 3 7 9 7. 3 2 27 / = 3, and A = = 0 4 3 27 7 2 3 a. The denominator of the scalar is the determinant of the original matrix. b. This representation usually eliminates fractions from the inverse matrix. c. Since the determinant is in the denominator of the scalar, any matrix with a zero determinant will fail to have an inverse. Such a matrix is singular. 2 5 2 5 2. Since 2 7 = 2, so 2 7 is invertible. 2 5 2 7 4 3 0 8 6 2 = 2 2 = 0. 9 2 7 2 2 9 7 4 2 IX. Using Matrix Inverses to Solve Equations A. A linear system in standard form can be expressed as the matrix equation AX = B, where A is the matrix of coefficients of the variables, X is the column matrix of the variables, and B is the column matrix of constants appearing to the right of the equal signs. B. If A is nonsingular, then the system s solution is given by X = A B. The inverse matrix A must be placed to the left of B as shown! 2 + 5y = 3 C. To solve the system using matrices. 5x 2y = 4

2 5 x 3 x 2 5 3 26. A =, X =, and B = Y = =. 5 2 y 4 y 5 2 4 63 2. This means the solution is x = 26 and y = 63. Check by substituting these values into both equations. D. If the coefficient matrix A is singular, then the system has no solution. 2x 8y + z = 5 2 8 5 x E. For 2x + 7y z = 3 : A = 2 7, X =, and B = 3. y x + y + z = 2 8 5 8 9 5 4. X = A B = 2 7 3 = 0 3 = 2. 9 0 2 7 2. This means that x = 4, y = 2 and z = 7. X. Cramer s Method A. Another method for solving systems of simultaneous equations uses determinants. The system must be square. [Number of equations = number of variables] 2x 8y + z = 5 B. For 2x + 7y z = 3 : x + y + z = 5 8 3 7 4. x = = 2 8 = 4. 2 7 The determinant on the bottom is the coefficient determinant. The determinant on top is the same as the coefficient determinant, except for the x column which is the column to the right of the equal signs. 2 5 2 3 2 2. y = = 2 8 = 2. 2 7

The determinant on the bottom is the coefficient determinant. The determinant on top is the same as the coefficient determinant, except for the y column which is the column to the right of the equal signs. 2 8 5 2 7 3 7 3. z = = 2 8 = 7. 2 7 The determinant on the bottom is the coefficient determinant. The determinant on top is the same as the coefficient determinant, except for the z column which is the column to the right of the equal signs. XI. Solving Applications using an Inverse Matrix The following application can be solved using a matrix equation or Cramer s method. In Collegeville, there are three pizza parlors, Tomato Pies, Say Cheese, and Crusty s, each of which offers special $50.00 catering packages to school organizations. Each parlor s package contains different amounts of pepperoni, salami, and vegi pan pizzas. The number of pounds of each type of pizza in each parlor s catering package is shown in the table below. Parlor Number Pepperoni Salami Vegi Pan Equations Pizza of pkg. in lb in lb in lb Tomato Pies x 5 4 4 Say Cheese y 4 5 4 Crusty s z 6 6 lbs required 26 25 4 5x + 4y + 6z = 26 4x + 5y + 6z = 25 4x + 4y + z = 4 The student association plans to serve pizza at the Spring Parent s Day party. How many catering packages should be ordered from each pizza parlor to serve 6 lbs pepperoni, 25 lbs salami, and 4 lbs vegi pan pizzas? Row Operations and Inverse Matrices on the TI-83 Judy Ahrens Pellissippi State Technical Community College February 6, 999