Working with Matrices
Overview
Basic operators (“+”, “-”, “*”, “/”, ) work with matrices, or matrices in combination with vectors. In addition, there’s a number of specialized functions, found in the Array menu, for tasks like transposing, calculation of norms, trace, rank, determinant.
In this tutorial, we perform some basic operations and use matrices and vectors to solve a linear system of equations.
Basic operations
Let’s begin with some basics.
Enter [[3,4[5,6
You’ve entered a 2x2 matrix.
Tap ± (CHS)
You inverted it.
Tap Enter to duplicate it.
Tap “*”
You did a matrix multiplication.
Now, switch to the Array menu.
Tap trans (TRN) (Classic: first go to the next menu page via tap on → (NEXT))
You transposed the matrix.
(Modern: tap → (NEXT) to go to the next menu page)
Tap 2, tap identity (IDN)
You created a 2x2 identity matrix.
Tap “+”
You added two matrices.
(Classic: tap → (NEXT) to go to the next menu page)
Tap det (DET)
You computed the matrix’s determinant.
Undo. (Tap ⌫ (←))
Tap → (NEXT) to go to the next menu page.
Tap rank.
You computed the number of linearly independent vectors in your matrix.
There’s more things you can do with matrices. See the Statistics tutorial for more practice with matrix operations, and see the Functions Reference for all the details.
Solving a linear system of equations
(c) 2010 Naive Design. All rights reserved.
You can use matrices and vectors to solve a system of linear equations, as long as you the number of unknowns matches the number of equations you have.
Let’s solve the following system of equations:
3x + y + 2z = 13
x + y - 8z = -1
-x + 2y + 5z = 13
Enter the constants on the right as a vector: [13,-1,13 (Use the ± (CHS) key to insert the minus!)
Enter the equation coefficients as a matrix: [[3,1,2[1,1,-8[-1,2,5 (Again, use the ± (CHS) key)
Tap “/”
With that, you solved the system of equations.
x is 2, y is 5, z is 1.