Skip to content

CASIO

User´s Guide

Find

Matrix Calculations (MAT) (fx-570MS/fx-991MS only)

Use the key to enter the MAT Mode when you want to perform matrix calculations.

  • (MAT)

Use the MAT Mode to perform calculations involving matrices of up to 3 rows by 3 columns. To perform a matrix calculation, you first assign data to special matrix variables (MatA, MatB, MatC), and then use the variables in the calculation as shown in the example below.


Note

Matrix calculations can use up to two levels of the matrix stack. Squaring a matrix, cubing a matrix, or inverting a matrix uses one stack level. See "Stacks" for more information.

Example 1: To assign to MatA and to MatB, and then perform the following calculations: × (MatA × MatB), + (MatA + MatB)


1. Press (MAT)(Dim)(A).

2. Input the dimensions of MatA: 22.

This will display the Matrix Editor for input of the elements of the 2 × 2 matrix you specified for MatA.

(1) Shows the row number and column number of the element. (Example: MatA23 indicates row 2, column 3 of MatA.)

3. Input the elements of MatA: 2111.

4. Perform the following key operation: (MAT)(Dim)(B) 22.

This will display the Matrix Editor for input of the elements of the 2 × 2 matrix you specified for MatB.

5. Input the elements of MatB: 2112.

6. Press to advance to the calculation screen, and perform the first calculation (MatA × MatB):
(MAT)(Mat)(A)(MAT)(Mat)(B).

This will display the MatAns screen with the calculation results.

Note: "MatAns" stands for "Matrix Answer Memory".

7. Perform the next calculation (MatA + MatB): (MAT) (Mat)(A)(MAT)(Mat)(B).

Matrix Answer Memory

Whenever the result of a calculation executed in the MAT Mode is a matrix, the MatAns screen will appear with the result. The result also will be assigned to a variable named "MatAns".


The MatAns variable can be used in calculations as described below.

To insert the MatAns variable into a calculation, perform the following key operation: (MAT)(Mat)(Ans).

Pressing any one of the following keys while the MatAns screen is displayed will switch automatically to the calculation screen: ,,,,,,(x3). The calculation screen will show the MatAns variable followed by the operator or function for the key you pressed.

Assigning and Editing Matrix Variable Data

Important: The following operations are not supported by the Matrix Editor: ,(M-),(STO). Pol, Rec, and multi-statements also cannot be input with the Matrix Editor.


To assign new data to a matrix variable:

1. Press (MAT)(Dim), and then, on the menu that appears, select the matrix variable to which you want to assign data.

2. On the next menu that appears, input the dimensions.

3. Use the Matrix Editor that appears to input the elements of the matrix.


Example 2: To assign to MatC

  • (MAT)(Dim)(C) 23
    101011

To edit the elements of a matrix variable:

1. Press (MAT)(Edit), and then, on the menu that appears, select the matrix variable you want to edit.

2. Use the Matrix Editor that appears to edit the elements of the matrix.

Use the ,,, and keys to display the element you want to edit. Input a new value and then press .

Matrix Calculation Examples

The following examples use MatA = and MatB = from Example 1, and MatC = from Example 2. You can input a matrix variable into a key operation by pressing (MAT)(Mat) and then pressing one of the following number keys: (A),(B),(C).


Example 3: 3 × MatA (Matrix scalar multiplication). (Result: )

  • 3 MatA

Example 4: Obtain the determinant of MatA (Det(MatA)).

  • (MAT)(Det) MatA
  • 1.

Example 5: Obtain the transposition of MatC (Trn(MatC)). (Result: )

  • (MAT)(Trn) MatC

Example 6: Obtain the inverse matrix of MatA (MatA-1). (Result: )

Note: You cannot use for this input. Use the key to input "-1".

  • MatA

Example 7: Obtain the absolute value of each element of MatB (Abs(MatB)). (Result: )

  • (Abs) MatB

Example 8: Determine the square and cube of MatA (MatA2, MatA3). (Result: MatA2 = , MatA3 = )

Note: You cannot use for this input. Use to specify squaring, and (x3) to specify cubing.

  • MatA
  • MatA (x3)
print this page
Top of page