Ora

How to Multiply Matrices on fx-991MS?

Published in Calculator Matrix Multiplication 5 mins read

The Casio fx-991MS scientific calculator does not feature a dedicated matrix mode for automated matrix multiplication. Instead, you must perform matrix multiplication manually, calculating each element of the resulting matrix using the calculator's basic arithmetic functions and its variable memory. This approach requires understanding the fundamentals of matrix multiplication and systematically entering the calculations.

The fx-991MS, being an advanced scientific calculator but not a graphing or dedicated matrix calculator, requires a manual approach where you formulate each part of the matrix multiplication using its algebraic input capabilities and variable storage. This involves setting up expressions with variables and then using the CALC function to substitute values, effectively performing the dot product for each individual element.

Understanding Matrix Multiplication Fundamentals

Before using your calculator, it's essential to recall how matrix multiplication works. To multiply two matrices, say A and B, to get a resulting matrix C (C = A * B), each element Cij (row i, column j of matrix C) is calculated as the dot product of the i-th row of matrix A and the j-th column of matrix B.

The general formula for an element Cij is:

Cij = (Ai1 * B1j) + (Ai2 * B2j) + ... + (Ain * Bnj)

Where n is the number of columns in matrix A (which must be equal to the number of rows in matrix B). For a deeper dive into the mathematical concept, you can refer to resources like Khan Academy's Matrix Multiplication explanation.

The fx-991MS Workaround: Manual Calculation with Variables

Since the fx-991MS cannot automatically perform matrix multiplication, you will calculate each element of the resulting matrix individually. The calculator's ability to store variables (A, B, C, D, X, Y, M) and use the CALC feature becomes invaluable here.

Step-by-Step Guide for Calculating a Single Element

Let's illustrate with an example of calculating an element Cij where C = A * B.

  1. Prepare Your Matrices: Have your matrices A and B clearly written down. For this guide, we'll use a simple 2x2 example:

    Matrix A:
    | 1 | 2 |
    |---|---|
    | 3 | 4 |

    Matrix B:
    | 5 | 6 |
    |---|---|
    | 7 | 8 |

    We want to find C = A * B.

  2. Identify the Target Element: Decide which element of the result matrix C you want to calculate first. Let's aim for C₁₁ (the element in the first row, first column of C).

  3. Formulate the Dot Product for the Element: Write out the specific formula for C₁₁:
    C₁₁ = (A₁₁ * B₁₁) + (A₁₂ * B₂₁)
    Substituting our example values:
    C₁₁ = (1 * 5) + (2 * 7)

  4. Enter the Formula into the Calculator Using Variables: This is where the fx-991MS's variable capabilities come into play. You will input the general form of the dot product using variables available on the calculator (e.g., A, B, C, D, X, Y, M).

    • Press MODE, then select COMP (1) for general calculations.
    • To calculate C₁₁ = (A₁₁ * B₁₁) + (A₁₂ * B₂₁), you can map:
      • A₁₁ to calculator variable A
      • B₁₁ to calculator variable B
      • A₁₂ to calculator variable C
      • B₂₁ to calculator variable D
    • Type the expression: ALPHA A × ALPHA B + ALPHA C × ALPHA D
      • (Remember: Use ALPHA followed by the desired variable key (e.g., A is above (-)), B is above º''').
  5. Use the CALC Function to Substitute Values:

    • After typing the expression, press the CALC button.
    • The calculator will prompt you to enter a value for each variable it finds in your expression:
      • A? (Enter 1 for A₁₁, then press =)
      • B? (Enter 5 for B₁₁, then press =)
      • C? (Enter 2 for A₁₂, then press =)
      • D? (Enter 7 for B₂₁, then press =)
    • After entering the last value, press = again to see the result for C₁₁.
      • For our example: (1*5) + (2*7) = 5 + 14 = 19. So, C₁₁ = 19.
  6. Repeat for All Elements: This process of formulating, entering the expression, and using CALC must be repeated for every single element of your resulting matrix. For a 2x2 result, you'll do this four times. For larger matrices (e.g., 4x4 mentioned in some contexts), this can become very time-consuming and requires careful tracking of your calculations.

Practical Example: Multiplying Two 2x2 Matrices

Let's complete the multiplication of:

Matrix A:
| 1 | 2 |
|---|---|
| 3 | 4 |

Matrix B:
| 5 | 6 |
|---|---|
| 7 | 8 |

Resulting Matrix C will be 2x2.

1. Calculate C₁₁ (First row of A, first column of B)

  • Formula: (A₁₁ * B₁₁) + (A₁₂ * B₂₁)
  • Values: (1 * 5) + (2 * 7)
  • Calculator Input: ALPHA A × ALPHA B + ALPHA C × ALPHA D
  • CALC: A=1, B=5, C=2, D=7
  • Result: 19

2. Calculate C₁₂ (First row of A, second column of B)

  • Formula: (A₁₁ * B₁₂) + (A₁₂ * B₂₂)
  • Values: (1 * 6) + (2 * 8)
  • Calculator Input: ALPHA A × ALPHA B + ALPHA C × ALPHA D
  • CALC: A=1, B=6, C=2, D=8
  • Result: 22

3. Calculate C₂₁ (Second row of A, first column of B)

  • Formula: (A₂₁ * B₁₁) + (A₂₂ * B₂₁)
  • Values: (3 * 5) + (4 * 7)
  • Calculator Input: ALPHA A × ALPHA B + ALPHA C × ALPHA D
  • CALC: A=3, B=5, C=4, D=7
  • Result: 43

4. Calculate C₂₂ (Second row of A, second column of B)

  • Formula: (A₂₁ * B₁₂) + (A₂₂ * B₂₂)
  • Values: (3 * 6) + (4 * 8)
  • Calculator Input: ALPHA A × ALPHA B + ALPHA C × ALPHA D
  • CALC: A=3, B=6, C=4, D=8
  • Result: 50

So, the resulting Matrix C is:
| 19 | 22 |
|----|----|
| 43 | 50 |

Tips for Efficiency

  • Organize Your Work: Write down the matrices and the formula for each Cij element before you start calculating.
  • Use Calculator Memory (M+, M-, STO, RCL): If certain matrix elements are used repeatedly across different calculations, store them in the independent memory (M) or other variable memories to avoid re-typing.
  • Clear Display: Press AC between calculations to prevent errors from previous inputs.
  • Double-Check: Matrix multiplication is prone to small errors. Always double-check your input values when prompted by the CALC function.

While the fx-991MS doesn't offer the convenience of modern calculators with dedicated matrix modes, its basic arithmetic and variable functions can still be utilized to perform matrix multiplication, albeit through a manual, element-by-element process.