Matrix arithmetic, Matrix arithmetic -6 – HP 38g Graphing Calculator User Manual

Page 136

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Matrix Arithmetic

You can use the arithmetic functions (+, -, X, /) with matrix

arguments. Multiplication and division have different

meanings depending on whether one of the arguments is a

scalar or not.

Adding and

For addition and subtraction, the dimensions of the matrices

Subtracting

must be the same. You can enter the matrices themselves or

enter the names of stored matrix variables. The matrices can

be real or complex.

For the next four examples, store [[1,2],[3,4]] into Ml and

[[5,6],[7,8]] into M2.

m

[MATRIX] ([NEW]} ([OK]}

1

I ENTER I

2

I ENTER I

E 3

I ENTER I

4

I ENTER I

■ [MATRIX] [

t

] [[

new

]}

([OK]} 5 I ENTER I 6

0

I ENTER I

7

I ENTER I

8

I ENTER I

M2

1

2

1

S

s

1

I

HOME 11 A...Z |M 1 0

|A...Z|M 2

I

ENTER

I

im

M1+M2

Has

[ [ 6 , 8 ] , [ 1 0 , 1 2 3 ]

Multiplying

For division by a scalar, enter the matrix first, then the

and Dividing

operator, then the scalar. For multiplication, the order of the

by a Scalar

operands does not matter. The matrbc and the scalar can be

real or complex.

¡7]

2

I ENTER I

(This diuides the previous

matrix sum by 2.)

m+M2

[ [ 6 , 8 ] , [ 1 0 , 1 2 ] ]

flnsx2

__________ [ [ 3 , 4 ] , [ 5 , 6 ] ]

BEHi

6-6 Using Matrices

Advertising