beautypg.com

Casio, U matrix arithmetic operations, U determinant – Casio FX-CG10 User Manual

Page 99

background image

CASIO

2-53

u Matrix Arithmetic Operations

[OPTN] - [MAT] - [Mat]/[Identity]

Example 1

To add the following two matrices (Matrix A + Matrix B):

K2(MAT) 1(Mat) av(A) +

1(Mat) al(B) w

Example 2

To multiply the two matrices in Example 1 (Matrix A

× Matrix B)

K2(MAT) 1(Mat) av(A) *

1(Mat) al(B) w

• The two matrices must have the same dimensions in order to be added or subtracted. An

error occurs if you try to add or subtract matrices of different dimensions.

• For multiplication (Matrix 1

× Matrix 2), the number of columns in Matrix 1 must match the

number of rows in Matrix 2. Otherwise, an error occurs.

u Determinant

[OPTN] - [MAT] - [Det]

Example

Obtain the determinant for the following matrix:

Matrix A =

1 2 3

4 5 6

−1 −2 0

K2(MAT) 3(Det) 1(Mat)

av(A) w

• Determinants can be obtained only for square matrices (same number of rows and columns).

Trying to obtain a determinant for a matrix that is not square produces an error.

• The determinant of a 2

× 2 matrix is calculated as shown below.

| A | =

a

11

a

12

= a

11

a

22

– a

12

a

21

a

21

a

22

• The determinant of a 3

× 3 matrix is calculated as shown below.

= a

11

a

22

a

33

+ a

12

a

23

a

31

+ a

13

a

21

a

32

– a

11

a

23

a

32

– a

12

a

21

a

33

– a

13

a

22

a

31

a

11

a

12

a

13

a

21

a

22

a

23

a

31

a

32

a

33

| A | =

A =

1

1

2

1

2

3

2

1

B =

A =

1

1

2

1

2

3

2

1

B =

This manual is related to the following products: