Performing Matrix Operations on the TI-83/84

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

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

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

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

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

Chapter 1 Section 1 Lesson: Solving Linear Equations

FreeMat Tutorial. 3x + 4y 2z = 5 2x 5y + z = 8 x x + 3y = -1 xx

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

TI-89 Calculator Workshop #1 The Basics

x = 12 x = 12 1x = 16

Computer Packet 1 Row Operations + Freemat

OUTLINES. Variable names in MATLAB. Matrices, Vectors and Scalar. Entering a vector Colon operator ( : ) Mathematical operations on vectors.

3.1 Solving Systems Using Tables and Graphs

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

Course contents. Overview: Goodbye, calculator. Lesson 1: Get started. Lesson 2: Use cell references. Lesson 3: Simplify formulas by using functions

SAMLab Tip Sheet #1 Translating Mathematical Formulas Into Excel s Language

Matrices for the TI-73

Chapter 2 Systems of Linear Equations and Matrices

MTH309 Linear Algebra: Maple Guide

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

Create formulas in Excel

Table of Laplace Transforms

Note: The last command (10-5) will generate an error message. Can you see why the calculator is having difficulty deciphering the command?

Matrices. Matrices on the TI Creating, Storing, and Displaying Matrices Using Mathematical Functions with Matrices...

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

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

Section 1.1 Definitions and Properties

Online Technology Guide for Elementary Linear Algebra, 6e Larson/Falvo

Teachers Teaching with Technology (Scotland) Teachers Teaching with Technology. Scotland T 3. Matrices. Teachers Teaching with Technology (Scotland)

Matrices. Matrices. A matrix is a 2D array of numbers, arranged in rows that go across and columns that go down: 4 columns. Mike Bailey.

Matrix Inverse 2 ( 2) 1 = 2 1 2

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

Essentials for the TI-83+

1.1 evaluating expressions 2017 ink.notebook. August 18, page 7 page 8 Unit 1 Basic Equations and Inequalities. 1.1 Order of Operations.

Answers to practice questions for Midterm 1

ENGR 1181 MATLAB 02: Array Creation

Beginner s Mathematica Tutorial

Matrices. Mike Bailey. matrices.pptx. Matrices

ft-uiowa-math2550 Assignment HW8fall14 due 10/23/2014 at 11:59pm CDT 3. (1 pt) local/library/ui/fall14/hw8 3.pg Given the matrix

Finite Math - J-term Homework. Section Inverse of a Square Matrix

Grade 6 Math Circles November 6 & Relations, Functions, and Morphisms

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

Solve the matrix equation AX B for X by using A.(1-3) Use the Inverse Matrix Calculator Link to check your work

Introduction to MATLAB

rrr Cu 'Vt.-1 cal l-c.-<_ {CL/o,_

Chapter 1: Number and Operations

and numbers and no spaces. Press after typing the name. You are now in the Program Editor. Each line of code begins with the colon character ( : ).

SIMPLE INPUT and OUTPUT:

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

Solving Equations with Inverse Operations

Math 308 Autumn 2016 MIDTERM /18/2016

6-2 Matrix Multiplication, Inverses and Determinants

Using Microsoft Excel

Lab 1 Intro to MATLAB and FreeMat

Hot X: Algebra Exposed

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

Introduction to MATLAB

0_PreCNotes17 18.notebook May 16, Chapter 12

Contents Systems of Linear Equations and Determinants

OVERVIEW DISPLAYING NUMBERS IN SCIENTIFIC NOTATION ENTERING NUMBERS IN SCIENTIFIC NOTATION

Graphing Calculator Overview

Rev Name Date. . Round-off error is the answer to the question How wrong is the rounded answer?

In this chapter, I introduce you to Excel s statistical functions and data. Understanding Excel s Statistical Capabilities. Chapter 2.

Math 25 and Maple 3 + 4;

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

MATLAB Tutorial Matrices & Vectors MATRICES AND VECTORS

Identity Matrix: >> eye(3) ans = Matrix of Ones: >> ones(2,3) ans =

if you have anything on the screen you can clear it by pressing: CLEAR

Eric W. Hansen. The basic data type is a matrix This is the basic paradigm for computation with MATLAB, and the key to its power. Here s an example:

LAB 2: Linear Equations and Matrix Algebra. Preliminaries

6B Quiz Review Learning Targets ,

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

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

2.Simplification & Approximation

Using Microsoft Excel

A Mathematica Tutorial

Introduction to the TI-83/84 Calculator

Algebra 2 Common Core Summer Skills Packet

Math 2B Linear Algebra Test 2 S13 Name Write all responses on separate paper. Show your work for credit.

Section 3.1 Gaussian Elimination Method (GEM) Key terms

TI-84+ GC 3: Order of Operations, Additional Parentheses, Roots and Absolute Value

Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS

Introduction to Matlab

Excel: Tables, Pivot Tables & More

Solution Guide for Chapter 12

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

Introduction: Equipment: Getting Started Collecting the data:

How to Do Everything We Need to Do on a TI Calculator in Algebra 2 for Now (Unless Davies Forgot Something)

MATLAB TUTORIAL WORKSHEET

Ph3 Mathematica Homework: Week 1

POWERONE TEMPLATES A DOCUMENT DESCRIBING HOW TO CREATE TEMPLATES.

(Creating Arrays & Matrices) Applied Linear Algebra in Geoscience Using MATLAB

2.0 MATLAB Fundamentals

Graphing Calculator How To Packet

Using Excel This is only a brief overview that highlights some of the useful points in a spreadsheet program.

Matlab Tutorial. The value assigned to a variable can be checked by simply typing in the variable name:

Matlab and Vectors. next page. close. exit. Math 45 Linear Algebra. David Arnold.

MATRIX REVIEW PROBLEMS: Our matrix test will be on Friday May 23rd. Here are some problems to help you review.

3-1 Writing Linear Equations

Physics 326G Winter Class 2. In this class you will learn how to define and work with arrays or vectors.

Transcription:

Page1 Performing Matrix Operations on the TI-83/84 While the layout of most TI-83/84 models are basically the same, of the things that can be different, one of those is the location of the Matrix key. For most models, the Matrix menu is found by clicking on and, but on some models Matrix is its own key. For the rest of this handout we will just say access the Matrix menu rather than refer to specific keystrokes. We ll do the same thing for other common operations. The Matrix menu opens to a screen that looks like this: Names is the menu you use when calling up a matrix to the main screen; Math is for calculation operations, and Edit is for entering the contents of the matrix. Scroll over to the Edit menu (it looks just like this one, but with the sizes of previously entered matrices listed; if none have been entered, no dimensions are listed). To choose the matrix you want to edit, click on the number of the matrix 1-9 and 0 or scroll down to the desired matrix and press Enter. Enter the size of the matrix you want to work with. For starters, let s work with an augmented matrix for a two variable system of equations: This matrix will have two rows and three columns. Press 2 Enter and 3 Enter to input the dimensions. { Then enter the values of the matrix entries. By typing the value and then pressing Enter to move to the next entry position. The cursor will naturally move along rows and then return to the next line. You can also use the cursor to move between entries. To perform any calculations on this matrix, we ll need to return to the main screen. To Quit back to the home screen, press. To change a matrix, just type over the old entries. Let s try some simple operations.

Page2 Example 1. Using the A matrix we ve entered, find A T. To perform this operation, go to the matrix menu and then call up the [A] matrix to the main screen by pressing 1 or Enter. Then return to the Matrix menu and scroll over to Math menu. The transpose operation is 2 on this list. Press 2 or scroll down and press Enter to call the operation up onto the main screen. The screen will appear like this. Now press Enter to execute the operation. The transpose operation just transforms columns into rows and rows into columns. This operation is used in calculating inner products and some least-squares problems. Most of the operations in the Math menu we won t use, but two that we will use regularly are the row echelon form command (ref) and the reduced row echelon form (rref). We can use these commands to solve systems of equations like the one we started with. Both these commands will work on matrices that are either square or with more columns than rows. You will receive an error if you try to reduce ones with fewer columns than rows. Example 2. Solve the system of equations by row-reducing the matrix [A]. From the main screen, access the matrix menu and scroll over to Math. The REF command is letter A on the list or you can scroll to find it (it s faster to scroll up) and press Enter to put it on the main screen. Then, call up matrix A (go to the matrix menu and press enter). Then press Enter. The calculator will perform a series of row operations. The calculator does this very algorithmically, and will not work to avoid fractions. The row echelon form of the matrix is NOT unique, so do not expect it to look like the one you solve by hand. Only the last row and any pivot positions can be expected to be identical. The TI s in this model range will typically display decimals as the default, but by pressing Enter ( Frac) to convert the matrix entries into the fractions that are normally desirable. To run the RREF command, to fully reduce the matrix to a form that is unique, the commands are similar to the ones for REF. Go to the matrix menu and Math. Press B or scroll to put your

Page3 cursor on the command and press Enter. Then call up the matrix [A] to the screen and press Enter to execute the command. The matrix is now fully reduced and as before, we can convert decimals to fractions using the convert to fraction command from the Math menu. Some more recent models have a feature that will allow you to set the option. output to fractions all the time. Check the menu for this The other important matrix commands we need to know how to do need to be performed only on a square matrix: inverses and determinants. Example 3. Calculate the determinant of the coefficient matrix for the system above. The coefficient matrix for the system was [ ]. Go into the matrix menu and change the size of the matrix to 2x2. Because we used the augmented matrix before, the augment should just drop off and leave the values we need. But, you can reenter the values if need be. Access the determinant (DET) function from the Matrix Math menu. Then call up the [A] matrix. The screen will display the value. Assuming that the determinant is not zero (which it isn t here), we can also find the inverse of the matrix. Example 4. Find the inverse of the coefficient matrix. This operation is not in the Matrix Math menu like the others. Instead we use the key. First call up the matrix from the Matrix menu and then press the inverse key. As before, use the convert to fraction feature to get rid of the decimals. Suppose I replace the top row with zeros: [ ]. You ll get an error. You ll get this error any time you try to take the inverse of a matrix whose determinant is zero. If you try to take an inverse of a non-square matrix, you ll also receive an error. You will also get this dimension error when you try to take

Page4 the determinant of a non-square matrix, or multiply matrices with non-matching dimensions. Another potential pitfall with the inverse function is in taking the inverse of a product of matrices. We ll handle this in a separate example. Example 5. Perform matrix operations on the indicated matrices. Let [ ], [ ], [ ], [ ] a. Calculate AB. Enter the two matrices into the calculator as matrix [A] and matrix [B]. Remember that the interior dimensions must match or you ll get the dimension error mentioned in Example 4. Here our dimensions are 2x3 and 3x2. b. Calculate C+3D. Enter the values for matrices [C] and [D] in the matrix menu. Then call up the matrices on the screen in the form of the matrix equation we want to solve. Press Enter. The calculator will perform the operation. c. Calculate C 2. We can also raise square matrices to powers. Non-square matrices will give a dimension error. Example 6. Combining operations. Sometimes we can combine multiple operations and sometimes we can t. The insertion of extra sets of parentheses can help. For instance, to solve a least-squares problem we use the equation, or if the columns of A are linearly independent we can use inverse methods to get. However, sometimes entering this equation into the calculator as is can create errors. The calculator sometimes operates ruthlessly left-to-right. If the dimensions of A don t match the dimensions of, then the operation won t work. Entering an extra set of parentheses around A T can help, but sometimes you just have to perform the entries one at a time. The calculator can sometimes be a little

Page5 quirky. I ve gotten this formula to work with some matrices and not others for the same format, so just try not to get frustrated if it doesn t work like you d expect the first time. The last example I want to do is from the Matrix Math menu, but it creates a matrix rather than performs operations on a matrix. Example 7. Create a 4x4 identity matrix. From the Matrix Math menu select command 5 (or scroll down and choose enter). In parentheses, put the size of the matrix you want. Here, want a 4x4. Since the identity must be square, we only need to enter 4. Creating an identity matrix of a certain size is useful in calculating certain types of problems, such as the steady state vector of Markov chains. The TI-83/84 can perform additional functions such as row operations, generating random matrices and other things, but these are these operations aren t used on a regular basis, so check your operator s manual for more details. How is this different if I have a TI-89? The most of these commands exist in the TI-89. The main difference will be in entering matrices. Matrices in the TI-89/92 aren t normally named; you can work with unnamed vectors. To enter the matrix from the augmented system we had above, you can enter the matrix in square brackets. Separate the entries by commas and use a semi-colon to break to the next row. Beyond that, you ll need to check your operator s manual for more information.