107
Example 1 To add the following two matrices (Matrix A + Matrix B) :
A =
11
B =
23
2 1 2 1
1(Mat)aA+
1(Mat)aB
w
This display indicates the following result.
A + B =
34
42
Example 2 To multiply the two matrices in Example 1 (Matrix A ! Matrix B)
1(Mat)aA*
1(Mat)aB
w
This display indicates the following result.
A ! B =
44
67
• The two matrices must have the same dimensions in order to be added or sub-
tracted. An error (Dim ERROR) occurs if you try to add or subtract matrices of
different dimensions.
• For multiplication, the number of columns in Matrix 1 must match the number of
rows in Matrix 2. Otherwise, an error (Dim ERROR) occurs.
• You can use an identity matrix in place of Matrix 1 or Matrix 2 in the matrix
arithmetic format. Use the matrix command menu’s Identity (1) command to
input the identity matrix.
1 23456
1 23456
Matrix Calculations 6 - 4