Matrices 473
To raise a matrix to
a power
You can raise a matrix to any power as long as the power
is an integer. The following example shows the result of
raising matrix M1, created earlier, to the power of 5.
AQ1k5
E
You can also raise a
matrix to a power without
first storing it as a
variable.
Matrices can also be
raised to negative
powers. In this case, the result is equivalent to 1/
[matrix]^ABS(power). In the following example, M1 is
raised to the power of –2.
A
Q
1
kQ
2
E
To divide by a
square matrix
For division of a matrix or a vector by a square matrix, the
number of rows of the dividend (or the number of
elements, if it is a vector) must equal the number of rows
in the divisor.
This operation is not a mathematical division: it is a left-
multiplication by the inverse of the divisor. M1/M2 is
equivalent to M2
–1
* M1.
To divide the two
matrices you created for
the previous example,
press the following keys:
A Q1 n
A Q2