TI-84 Calculator Online

How to solve matrices on a TI-84

A TI-84 solves a system of linear equations in a few keystrokes once the coefficients are in a matrix. Here are the two ways your teacher will expect, with a 3×3 example you can type on this page.

Short answer: Enter the coefficients in [A] and the constants in [B] under 2nd x⁻¹ (MATRIX) ▶▶ EDIT, then type [A]⁻¹[B] on the home screen and press ENTER.

The example system

Solve:

  • 2x + y − z = 8
  • −3x − y + 2z = −11
  • −2x + y + 2z = −3

Write it as a matrix equation AX = B. A holds the coefficients, one row per equation, and B holds the right-hand sides:

A B
2 1 −1 8
−3 −1 2 −11
−2 1 2 −3

Write a coefficient of 0 if a variable is missing from an equation, and put the variables in the same order in every row.

Step 1: enter matrix [A]

  1. Press 2nd x⁻¹ to open the MATRIX menu. The tabs are NAMES, MATH and EDIT.
  2. Press ▶ ▶ to reach EDIT and choose 1:[A].
  3. The cursor is on the size. Type 3 ENTER 3 ENTER for 3 rows and 3 columns.
  4. Type the entries row by row, pressing ENTER after each one: 2, 1, (−)1, then (−)3, (−)1, 2, then (−)2, 1, 2.

Use the (−) key for negative numbers. The − key is subtraction and gives an error inside a matrix.

Step 2: enter matrix [B]

Press 2nd MODE (QUIT), then 2nd x⁻¹ ▶ ▶ 2 to edit [B]. Set the size to 3 ENTER 1 ENTER and type 8, (−)11, (−)3.

Step 3: solve with the inverse

The solution is X = A⁻¹B. On the home screen:

  1. Press 2nd x⁻¹ and 1 to paste [A]. Don't type the brackets yourself: [A] has to come from the menu.
  2. Press x⁻¹.
  3. Press 2nd x⁻¹ and 2 to paste [B].
  4. Press ENTER.

The answer is a column: [[2] [3] [−1]], so x = 2, y = 3, z = −1.

Order matters. [A]⁻¹[B] is correct, [B][A]⁻¹ gives ERR:DIM MISMATCH because a 3×1 matrix can't be multiplied by a 3×3 one in that order.

If the answers are long decimals, add MATH 1:▸Frac before ENTER to see them as fractions.

Method 2: rref( on the augmented matrix

Many classes teach row reduction instead. Put A and B side by side and reduce:

  1. Press 2nd x⁻¹ ▶ for the MATH tab. Press ▲ once to jump to the bottom and pick B:rref(.
  2. Press 2nd x⁻¹ ▶ 7 for augment(.
  3. Paste [A] (2nd x⁻¹ 1), type a comma, paste [B] (2nd x⁻¹ 2), then ) ) and ENTER.

The screen shows [[1 0 0 2] [0 1 0 3] [0 0 1 −1]]. The left part is the identity matrix and the last column is the solution: x = 2, y = 3, z = −1.

You can also enter the 3×4 augmented matrix directly in [C] and run rref([C]).

When there is no single solution

If the equations don't have exactly one solution, [A]⁻¹ fails with ERR:SINGULAR MAT: the matrix has no inverse because its determinant is 0. Check with det([A]) from 2nd x⁻¹ ▶ 1.

In that case use rref( on the augmented matrix. A row of zeros that ends in 0 means infinitely many solutions. A row of zeros that ends in a non-zero number means no solution.

Other matrix operations

Everything below is on the MATRIX MATH tab or the keyboard, in the same positions as the handheld:

You want Keys
Determinant 2nd x⁻¹ ▶ 1 (det(), then [A] )
Inverse [A] x⁻¹
Transpose [A] then 2nd x⁻¹ ▶ 2 (ᵀ)
Multiply [A][B] (sizes must match: columns of A = rows of B)
Square a matrix [A] x²
Identity matrix 2nd x⁻¹ ▶ 5, then 3 )

For this example det([A]) is −1 and [A]⁻¹ is [[4 3 −1] [−2 −2 1] [5 4 −1]].

Matrices can be up to 10×10, as on the handheld. They stay saved in your browser until you change them.

Questions people ask

Where is the matrix button on a TI-84 Plus?

It is 2nd x⁻¹. The MATRIX menu has three tabs: NAMES to paste a matrix, MATH for det(, rref( and others, and EDIT to type one in.

Why does my TI-84 say ERR:SINGULAR MAT?

The matrix has no inverse because its determinant is 0, so the system has no solution or infinitely many. Use rref( on the augmented matrix to see which.

Why do I get ERR:DIM MISMATCH when multiplying matrices?

The sizes don’t fit. To multiply A by B, A needs as many columns as B has rows. For a system, type [A]⁻¹[B], not [B][A]⁻¹.

Can I type [A] with the bracket keys?

No. The bracket keys and the letter A don’t refer to the stored matrix. Always paste [A] from 2nd x⁻¹, NAMES tab.

Open the full-size calculator