Laboratory 2.1 Matrix Algebra Operations and Methods

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 6

NAME: GODOY , NADYN MAE B.

SECTION: CE-2208

DIRECTION: FIND THE MATRIX C OF THE GIVEN MATRIXES.

I. Additon and Subtraction of Matrix


3 5 14 5 6 10
12 4 3 6 27 8
M(a) = 20 15 2 3 1. M(c) 34 27
5 3 8 9 13 5
12 8 9 7 23 15

3 5 9 2 0 0
15 4 1 5 -3 0
M(b) = 14 12 2 2 2. M(c) 6 3
8 2 2 8 -3 1
11 7 8 6 1 1

1. 'M(C) = M(b) + M(a) 0 0


2. M(C) = M(a) - M(b) 3 0
3. 'M(C) = M(b) - M(a) 3. M(c) -6 -3
3 -1
-1 -1

II. Matrix of Multiplication

3 14 5
M(a) = 5 8 9 Find the M(C) = M(a) x M(b)
12 9 7 176 95 148
M(C) = 178 133 128
3 9 2 185 182 138
M(b) = 8 2 8
11 8 6

3 14 5
12 3 6
M(a) = 20 2 3 Find the M(C) = M(a) x M(b)
5 8 9 m1 = 3 m2 = 3
12 9 7 n1 = 5 n2 = 5
(m1xn1)+(m2xn2) = (m1xn2)
3 9 2 (3x5)+(3x5) = (m1xn2)
15 1 5 As m1 and n2 are not equal, we are unable to multip
M(b) =
M(b) = 14 2 2
8 2 8
11 8 6

15 18 25
M(a) = 12 14 14 Find the M(C) = M(a) x M(b)
18 20 27 671 899 604
M(C) = 466 628 402
12 15 9 753 1008 673
M(b) = 12 18 8
11 14 13

III. Find the determinants of below matrix using the Basket Method and Co-Factor Method

Basket Method
12 15 2 12 15 2 12
M(a) = 8 12 8 8 12 8 8
12 8 9 12 8 9 12

Solution 1 2 3
1296 1440 128
288 768 1080
Determinant =

Basket Method
2 5 3 2 5 3 2
M(a) = 5 1 8 5 1 8 5
12 7 10 12 7 10 12

Solution 1 2 3
20 480 105
36 112 250
Determinant =
Basket Method
12 15 2 12 15 2 12
M(a) = 8 12 8 8 12 8 8
12 15 2 12 15 2 12

Solution 1 2 3
288 1440 240
288 1440 240
Determinant =

Basket Method
0 0 0 0 0 0 0
M(a) = 5 1 8 5 1 8 5
0 0 0 0 0 0 0

Solution 1 2 3
0 0 0
0 0 0
Determinant =
23 7
4 11
4 5
10 17
17 13

5 3
2 1
0 1
6 1
1 1

-5 -3
-2 -1
0 -1
-6 -1
-1 -1

we are unable to multiply the two matrix.


or Method

Co-Factor Method
15 12 -15 2
12 -8 12 -8
8 12 -8 9

sum (m,n) value dcm product


2864 1,1 12 44 528
2136 2,1 -15 -24 360
728 3,1 2 -80 -160
Determinant = 728

Co-Factor Method
5 2 -5 3
1 -5 1 -8
7 12 -7 10

sum (m,n) value dcm product


605 1,1 2 -46 -92
398 2,1 -5 -46 230
207 3,1 3 23 69
Determinant = 207
Co-Factor Method
15 12 -15 2
12 -8 12 -8
15 12 -15 2

sum (m,n) value dcm product


1968 1,1 12 -96 -1152
1968 2,1 -15 -80 1200
0 3,1 2 -24 -48
Determinant = 0

Co-Factor Method
0 0 0 0
1 5 1 8
0 0 0 0

sum (m,n) value dcm product


0 1,1 0 0 0
0 2,1 0 0 0
0 3,1 0 0 0
Determinant = 0

You might also like