Search Helium

Home > Sciences > Mathematics

How to multiply matrices using a graphing calculator

by Bennett Kalafut

Created on: July 23, 2010

Since the introduction of the legendary HP-15C, high-end electronic pocket calculators have had the capability to do matrix arithmetic, making them useful tools for computing eigenvalues and eigenvectors, solving linear systems, rotating vectors, and implementing the many algorithms that can be put into the form of a sequence of linear operations.  Most graphing calculators, including those of the TI-89, HP-48, TI-82, and TI-85 series calculators, have this capability, which is at least as appealing and powerful a feature as graphical display.

Every common graphics calculator makes use of an overloaded multiplication operator; the same button is used to multiply two matrices on the stack and two numbers on the HP-48 series, and on the TI calculators the same asterisk (*) operator multiplies both matrices and numbers.  In most cases, with the exception of the early TI-81, the manner in which matrices are entered is uniform, similar to the pattern established by MATLAB, but without use of the semicolon, and with a few machine-specific quirks as explained below.


• TI-82 series calculators, including the TI-83 and TI-84 •

These are the most common graphing calculators, although neither the best nor the best for the money, so they will be covered first.  Matrices can either be entered using the matrix editor application (inherited from the TI-81!) accessed by pressing 2nd, MATRX and selecting "edit", or at the command line using square brackets.  Enclose the entire matrix in a pair of brackets, enclose each row in a pair of brackets, and separate the individual entries using commas.    For example, [[1,0][0,1]] is the identity matrix.  Matrices can either be used as entered or stored and accessed by reference.  As is the case for lists, matrices are given pre-determined variable names [A]-[J], all accessed from the "Names" portion of the 2nd, MATRX menu.  To store a matrix from the command line, use the standard "STO" arrow operator, e.g. [[2,3][4,5]]→[A].

Multiplication can be done on either explicitly input or stored matrices, following the common left-to-right order.  (Inner matrix dimensions must agree.)  For example, [A]*[B] returns the product of [A][B].


• HP-48 series calculators, including the HP-49 and HP-50 •

Matrix entry is exactly as on the TI-82 series: enclose the entire matrix in a pair of brackets (accessed by pressing the [ ] key) and enclose each row of the matrix

150919

Featured Partner

Private Sector Solutions Network

Private Sector Solutions Network is a group of leaders working together to improve the world by developing and implementing private sector solutions to augment, preempt or replace government services. Members utilize the secure soci...more


CONNECT WITH US

Read
our blog
Helum for writers

Write and get published
Share with other writers
Polish your freelancing skills

Join our active writing community
Helium Content Source for Publishers

Quality articles from proven freelancers
Exclusive rights, fast turnaround
Brand engagement, business blogging -- our writers do it all

Get custom content today!

INFORMATION


Helium, Inc.
200 Brickstone Square Andover, MA 01810 USA
#