matrices practice

1. Add the following matrices:

Matrix A:
1 2
3 4

Matrix B:
5 6
7 8

Matrix A + Matrix B:
6 8
10 12

2. Subtract the following matrices:

Matrix C:
9 10
11 12

Matrix D:
4 3
2 1

Matrix C - Matrix D:
5 7
9 11

3. Multiply the following matrices:

Matrix E:
2 3
4 5

Matrix F:
6 7
8 9

Matrix E * Matrix F:
26 30
46 53

4. Find the determinant of the following matrix:

Matrix G:
3 1
4 2

Determinant of Matrix G:
(3*2) - (1*4) = 6 - 4 = 2

5. Find the inverse of the following matrix:

Matrix H:
2 3
1 4

Inverse of Matrix H:
1/5 * Matrix:
4 -3
-1 2