Linear Algebra and TI 89



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

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Introduction to Matrix Algebra

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

Similarity and Diagonalization. Similar Matrices

LAYOUT OF THE KEYBOARD

Linear Algebra Review. Vectors

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

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

Chapter 6. Orthogonality

Solving Linear Systems, Continued and The Inverse of a Matrix

Chapter 17. Orthogonal Matrices and Symmetries of Space

MATH APPLIED MATRIX THEORY

Brief Introduction to Vectors and Matrices

DATA ANALYSIS II. Matrix Algorithms

[1] Diagonal factorization

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

Orthogonal Diagonalization of Symmetric Matrices

The Characteristic Polynomial

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

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors

Lecture 5: Singular Value Decomposition SVD (1)

MATRIX ALGEBRA AND SYSTEMS OF 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

Basic Use of the TI-84 Plus

AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables

This is a square root. The number under the radical is 9. (An asterisk * means multiply.)

1 Solving LPs: The Simplex Algorithm of George Dantzig

Lecture Notes 2: Matrices as Systems of Linear Equations

Calculator Notes for the TI-89, TI-92 Plus, and Voyage 200

MAT 242 Test 2 SOLUTIONS, FORM T

Solving Systems of Linear Equations Using Matrices

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.

Notes on Determinant

Matrix Multiplication

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

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

Similar matrices and Jordan form

u = [ 2 4 5] has one row with three components (a 3 v = [2 4 5] has three rows separated by semicolons (a 3 w = 2:5 generates the row vector w = [ 2 3

Using a Graphing Calculator With Cramer s Rule

Row Echelon Form and Reduced Row Echelon Form

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.

Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components

Chapter 7 - Roots, Radicals, and Complex Numbers

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

NOTES ON LINEAR TRANSFORMATIONS

5.1 Radical Notation and Rational Exponents

x = + x 2 + x

Name: Section Registered In:

Typical Linear Equation Set and Corresponding Matrices

CALCULATOR QUICK REFERENCE GUIDE and INSTRUCTIONS. TI-89 Titanium TI-VOYAGE 200 TI-89

2.5 Zeros of a Polynomial Functions

Linearly Independent Sets and Linearly Dependent Sets

Using Casio Graphics Calculators

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.

The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression

The Determinant: a Means to Calculate Volume

Inner Product Spaces

LINEAR ALGEBRA. September 23, 2010

Arithmetic and Algebra of Matrices

1 Sets and Set Notation.

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

LAB 11: MATRICES, SYSTEMS OF EQUATIONS and POLYNOMIAL MODELING

8 Square matrices continued: Determinants

160 CHAPTER 4. VECTOR SPACES

Lecture 2 Matrix Operations

Linear Programming. March 14, 2014

Methods for Finding Bases

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

DETERMINANTS IN THE KRONECKER PRODUCT OF MATRICES: THE INCIDENCE MATRIX OF A COMPLETE GRAPH

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

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

Systems of Equations

AP Computer Science Java Mr. Clausen Program 9A, 9B

2+2 Just type and press enter and the answer comes up ans = 4

FACTORING QUADRATICS and 8.1.2

Solutions to Math 51 First Exam January 29, 2015

5: Magnitude 6: Convert to Polar 7: Convert to Rectangular

EXCEL SOLVER TUTORIAL

1.2 Solving a System of Linear Equations


1 Introduction to Matrices

Math Common Core Sampler Test

Section 1. Inequalities

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Solving simultaneous equations using the inverse matrix

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

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2

Vector and Matrix Norms

Classroom Tips and Techniques: The Student Precalculus Package - Commands and Tutors. Content of the Precalculus Subpackage

Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VI

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

Excel supplement: Chapter 7 Matrix and vector algebra

Getting to know your TI-83

MATH Fundamental Mathematics IV

Mehtap Ergüven Abstract of Ph.D. Dissertation for the degree of PhD of Engineering in Informatics

SALEM COMMUNITY COLLEGE Carneys Point, New Jersey COURSE SYLLABUS COVER SHEET. Action Taken (Please Check One) New Course Initiated

Determine If An Equation Represents a Function

Math 312 Homework 1 Solutions

Transcription:

Linear Algebra and TI 89 Abdul Hassen and Jay Schiffman This short manual is a quick guide to the use of TI89 for Linear Algebra. We do this in two sections. In the first section, we will go over the editing of matrices and vectors. The second section will address the algebraic operations of Linear Algebra. To make the manual short and useful, we have assumed that the reader is familiar with the keyboard and the functions of the SECOND, ALPHA, DIAMOND GREEN keys as well as the use of CATALOG. The reader should also be familiar with the usages of the cursor keys to move form one option to another in a given menu. Note also that some menus have several submenus, which in turn may have many options. 1. EDITING MATRICES AND VECTORS APPS 6:DATA/MATRIX Editor provides the format for editing matrix. To edit a new matrix, simply enter APPS 6 and then select :matrix for Type. In the box for variable, type in a name for your matrix. The next two boxes are to be filled with the dimension of the matrix. Note that you should use the cursor key to move from a box to another. At the end press ENTER. This way of editing a matrix has several advantages as you can see from the tool bars at the top of your screen. The figures below show these steps. The first figure shows the result of APPS 6, the second shows that we selected matrix for Type, we called our matrix a, and it is by. The last figure show the entries which by default are all zeros. We can now start editing. Notice the top of the screen in the last figure has F1, F, F, F6, and F7 are highlighted. This means that you can press these keys and apply the options provided in them. For example, F1 9 allows you to resize the width of the columns. F6 has many commands you might want to explore. There is however a shorter way of editing a matrix. From the home screen, we can enter a matrix by using Define(which can be accessed by F4 1 or could be typed in). Use the square bracket [ ] to enclose the matrix. We enter the matrix by typing the first row and then the second and so on. Use commas to separate entries and semicolons to separate rows. Here is an example. Example 1: Enter the matrix 0 A = 1 Solution: Here is the input and output of the calculator. Example : Edit the vectors u = and v = [ 1,,, 4] Solution: Note that u can be regarded as a by 1 matrix while v is a 1 by 4. Here are the two vectors.

. OPERATIONS ON MATRICES We begin with examples of matrix operations. Example : Consider the following matrices. A 1 9 1 = 1 0 1 = 0 C = 0 1 0 1 1 1 1 0 6 1 1 0 1 D = E 4 1 0 = 7 0 1 F = 1 0 1 0 1 0 1 4 If possible, compute each of the following. a) A+ B b) A - 4B c) AB d) A+ C e) D E f) E D g) E C h) D E+ F i) T AB j) Solution: 1 Example 4: Find the inverse of the matrices A = 1 1, and C 1 0 B = 0 1 1 0 = 1 0 0 0 1 4 Solution: Enter the matrices and then from the HOME screen evaluate A ^ ( 1), B ^ ( 1) and C ^ ( 1). Note that for C ^ ( 1) the output is error: Singular matrix. Example 5: of B. Let B be as in Example 4. Find the - entry, the diagonal entries, first row, and second column

Solution: Enter the matrix as b. For the j-k entry use b[j,k], for first row use b[1], and for the T second column use b [], where the T in the exponent is for the transpose of b. Example 6(Special Matrices) (a) Generate a by random matrix. b) Generate a by identity matrix. Solution. a) Use MATH 4 E to display randmat( and then type,) and evaluate. For b) either type or use MATH 4 6 to display identity( and then type and evaluate. SOLVING SYSTEMS OF LINEAR EQUATIONS Example 7 Solve the system of linear equations. x+ y+ z = x+ y = 1 x+ y+ z = 1 a) b) x+ y 4z = 1 c) x y = x y + z = 4 x 6y+ 5z = Soution: From the home screen press MATH 4 5. This gives simult(. Next we enter the coefficients and the constant matrix as below.( Recall that we enter a matrix by typing the first row and then the second and so on. Use commas to separate entries and semicolons to separate rows.) Note that for c) we got an error message as we notice above. We might want to try the elementary row operations to solve this problem. To do this, we define the coefficient matrix as A and the constant matrix as B and then apply rref(augment(a,b)). The rref command can be accessed by Math 4 4 while augment can be obtained by MATH 4 7. We leave it to the reader to interpret this output. 4. Vector Operations 1 Example 8:Let u = and v =. Find u v, u v, v and the unit vector in the direction of u. 9 Solution: Enter the vectors as in Example above. Then MATH 4 L will display dotp(. Now type u,v) and ENTER. The result is the dot product; in this case it is 4. Similarly MATH 4 L u,v) ENTER will give the cross product. For the norm of v use MATH 4 H 1 v) ENTER. Finally, to find the unit vector in the direction of u,we use MATH 4 L 1 u) ENTER. The first figure below shows the result of defining the vectors, the second shows the dot and the cross products and the last one shows the norm of v and the unit vector in the direction of u.

5. Eigenvalues and Eigenvectors Example 9 Find the eigenvalues and eigenvectors for the following matrices 1 A = B 1 1 = 1 0 C = 0 1 1 0 D = 1 0 0 0 1 4 Solution: We use the define option to enter the matrices as a, b, c, and d, respectively. To find the eigenvalues of the matrix A, use Math 4 9 a ) ENTER or type eigvl(a) and ENTER. To find the eigenvectors of the matrix a use Math 4 A a ) ENTER or type eigvc(a). The figure below shows the eigenvalues and eigenvectors of the matrix A. Remark: 1. The first number given by eigvl(a) is the first eigenvalue which in this case is -1 and second eigenvalue is 1. The first column of the eigvc(a) is an eigenvector corresponding to the first eigenvalue of a. Note that TI 89 is normalizing the vectors, that is the eigenvectors are unit vectors.. For most purposes and easier notations, it is convenient to rewrite the eigenvectors with integer entries. This is usually possible. One possible method is to replace the smallest number in the columns by 1 and divide the other entries in that column by the smallest value you just replaced. Use the command eigvc(a)[j,k] to refer to the j-k entry of the matrix eigvc(a). It is clear that the entries in the first column are equal. Thus for an eigenvector corresponding to the eigenvalue -1, 1 we may take. The second one may not be clear so we replace -.168 by 1. Note then that -.9668/-.168 is.06. Thus it is highly recommended that you compute eigvc(a)[,1]/ eigvc(a)[,]. We find that this is. Thus we may take as the second eigenvector. 1 If we evaluating eigvl(b), we will get the message Non-real result. This means that the characteristic equation of the matrix B has complex roots. Note that we could use the command csolve(det( b x*identity())=0,x) ENTER, we get the complex eigenvalues, namely, x= 1+ ior x= 1 ias shown below.

6. Applications Example 10. Let v1, v, v, v4 be the vertices of the complete graph on four vertices. Find the determinant and eigenvalues of the graph. Solution: Note that the determinant and eigenvalues of a graph are the determinant and eigenvalues of the adjacency matrix. The adjacency matrix is defined as the matrix A= a ij, where { vi v j} 1, if, is an edge of the graph aij = 0, otherwise 0 1 1 1 1 0 1 1 For the complete graph on four vertices, the adjacency matrix is given by A =. We enter this 1 1 0 1 1 1 1 0 matrix as a and evaluate det(a) to get as the determinant of the graph and evaluate eigvl(a) to get {, 1, 1, 1} as the eigenvalues of the graph. Example 11: Find the number of walks of length from v1 to v. Solution: Again we use the adjacency matrix as defined in example 10 above. The number of walks of length from v to v is given by the (1,) entry of the cube of the adjacency matrix A. As in example 10, we 1 6 7 7 7 7 6 7 7 enter the adjacency matrix as a and evaluate a to obtain the matrix A =. Thus the (1,) entry is 7 7 6 7 7 7 7 6 7. Hence there are 7 walks of length from v 1 to v in the complete graph on four vertices. We leave it to the reader to list the seven walks.