Matrices 18-7
M1 M2
To multiply and
divide by a scalar
For division by a scalar, enter the matrix first, then the
operator, then the scalar. For multiplication, the order of
the operands does not matter.
The matrix and the scalar can be real or complex. For
example, to divide the result of the previous example by
2, press the following keys:
2
To multiply two
matrices
To multiply the two matrices M1 and M2 that you created
for the previous example, press the following keys:
M1 M
2
To multiply a matrix by a
vector, enter the matrix
first, then the vector. The
number of elements in the vector must equal the number
of columns in the matrix.
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.
M1 5
Note: You can also raise a
matrix to a power without
first storing it as a variable.
Matrices can 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.
M1
2
hp40g+.book Page 7 Friday, December 9, 2005 1:03 AM