Mastering Ti-84: Unveiling Matrix Traces

Michael Aug 03, 2026
an old computer screen with some type of text on it, and the words in black are
an old computer screen with some type of text on it, and the words in black are

The TI-84 Plus calculator, a staple in classrooms worldwide, is renowned for its versatility and capabilities in mathematics and science. But did you know that it can also delve into the realm of computer science, allowing you to explore programming concepts and even derivatives of a famous movie? Yes, we're talking about The Matrix. Let's explore how to find a 'trace of The Matrix' on your TI-84.

an old computer screen with some type of text on it, and the words in black are
an old computer screen with some type of text on it, and the words in black are

Before we dive into Matrix-inspired calculations, let's ensure the TI-BASIC editor is enabled. Press 2ND, then STATS, followed by 6 - this activates the TI-BASIC editor, a fundamental tool for our matrix exploration.

Texas Instruments TI-84 Plus CE Color Graphing Calculator, Mint Small
Texas Instruments TI-84 Plus CE Color Graphing Calculator, Mint Small

Understanding Matrices on the TI-84

Matrices, essentially arrays of numbers, are represented on the TI-84 by storing them in lists (L1, L2, etc.). Each row is separated by a comma, and entries within a row use spaces for separation. Let's start by defining a simple 2x2 matrix, akin to Neo's journey from the real world into The Matrix:

a drawing of a calculator with numbers on the front and back side of it
a drawing of a calculator with numbers on the front and back side of it

Example Matrix (Matrix 1): 1, 0
0, 1

To input this matrix, use: L1 {'1 0
0 1'}

TI-84 Plus CE Test Mode Reminder Posters
TI-84 Plus CE Test Mode Reminder Posters

Calculating a Matrix Trace

In linear algebra, the 'trace' of a matrix is the sum of its diagonal entries. For our 2x2 matrix, the trace is 1+1 = 2. The TI-84 doesn't have a built-in 'trace' function, but we can create one using a simple program.

Here's a basic program to calculate the trace of a 2x2 matrix in L1:

How To Graph Mario On A TI-83 Calculator
How To Graph Mario On A TI-83 Calculator
  • Prompt input: LBL A
        Input "Entr the values:"
        L1 {'1 0
    0 1'}
  • Main calculation: LBL B
        OUTPUT "T"   A1 (L1) + A1 (L2)
  • End program: END

Entering Multi-Dimensional Matrices

Now, let's create a 3x3 matrix, reminiscent of the Matrix's green numbers morphing into reality. For a 3x3 matrix, use the following syntax to input the values:

tiSkills.com - Ti-84 Graphing Calculator Tutorial - Graphing Part II
tiSkills.com - Ti-84 Graphing Calculator Tutorial - Graphing Part II
  1. List L1: 3 3 L1 {'214, 431, 567
    7 7 5, 1122, 9
    7 3 9, 3 3, 66'}
  2. List L2: 3 3 L2 {'7 0, 7 7, 7 0
    0 4, 0 0, 4 0
    0 7, 0 9, 0 7'}

In the real world, you can explore larger dimensions, but 3x3 will suffice for our Matrix-themed exploration.

TI-84
TI-84
Comparing the NumWorks and Ti-84 Plus CE Graphing Calculators
Comparing the NumWorks and Ti-84 Plus CE Graphing Calculators
Running Videos on a TI84 Calculator
Running Videos on a TI84 Calculator
Matrix Formula - TRUNG TÂM GIA SƯ TÂM TÀI ĐỨC - HOTLINE: 091 6265 673
Matrix Formula - TRUNG TÂM GIA SƯ TÂM TÀI ĐỨC - HOTLINE: 091 6265 673
a calculator with an electronic display on the screen and numbers displayed below it
a calculator with an electronic display on the screen and numbers displayed below it
A Bird’s-Eye View of Linear Algebra: Why Is Matrix Multiplication Like That? | Towards Data Science
A Bird’s-Eye View of Linear Algebra: Why Is Matrix Multiplication Like That? | Towards Data Science
Types of Matrix
Types of Matrix
TI-84 Evo Graphing Calculator Texas Instruments, White | Intuitive Icon-based Ho — 39% Off Today
TI-84 Evo Graphing Calculator Texas Instruments, White | Intuitive Icon-based Ho — 39% Off Today
2D Matrix Transformations for Computer Vision | Towards Data Science
2D Matrix Transformations for Computer Vision | Towards Data Science
TI 84 EVO Graphing Calculator – White
TI 84 EVO Graphing Calculator – White

The Intersection of Matrices and The Matrix

Now that we've inputted our matrices, let's explore a fictional 'intersection' with The Matrix. We'll create a simple program that finds the trace of a product of the two matrices, inspired by the Zion议会 discussing the fate of the human race.

To find the product and trace, use the following program:

  • Prompt input: LBL A
        Input "Entr the values (3 lists per matrix):"
        L1 '3 3 L1'
        L2 '3 3 L2'
        L3='3 3 L3' (For the result)
  • Calculate product: LBL B
        For (I,1)
          For (J,1)
            L3 (I,J) = L1 (1,1)*L2 (1,1) + L1 (1,2)*L2 (2,1) + L1 (1,3)*L2 (3,1)
          Next J
        Next I
  • Calculate trace: LBL C
        Output "T"   L3 (1,1) + L3 (2,2) + L3 (3,3)
  • End program: END

The final trace result signifies the strength of our Matrix intersection, echoing the Architects' plan for humanity's fate. Prove your coding skills, embrace your inner Neo, and find your trace of The Matrix on your TI-84!