beautypg.com

HP Prime Graphing Calculator User Manual

Page 477

background image

Matrices

471

To multiply two

matrices

To multiply the two matrices that you created for the
previous example, press the following keys:

AQ

1

sA

Q

2

E

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.

AQ

1

k

5

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.

AQ

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.