Professional Documents
Culture Documents
Definition:
An m×n matrix is a rectangular array of numbers (m rows and n columns)
enclosed in brackets. The numbers are called the elements of the matrix.
Examples:
* +
2. Here’s a 3 × 3 square matrix:
[ ]
[ ]
[ ]
[ ]
1
Chapter one Mathematics II Matrices and determinates
*Special matrices
1. The unit matrix I is a square matrix whose only non-zero elements are on the
diagonal and are equal to one, e.g.
* + [ ], [ ]
2. Zero matrix 0 : All elements of the zero matrix are equal to zero, e.g.
* + [ ] [ ]
3. A diagonal matrix only has non-zero elements on the main diagonal. These
non-zero elements can have any value, e.g.
[ ] [ ] [ ]
4. Upper triangular matrix: all the elements under the main diagonal are zero
and the others can have any value, e.g.
* + [ ] [ ]
5. Lower triangular matrix: all the elements above the main diagonal are zero
and the others can have any value, e.g.
L=* + [ ] [ ]
2
Chapter one Mathematics II Matrices and determinates
Matrix algebra
1. Matrix equality.
Two matrices are equal if they have the same size and if their corresponding
elements are identical , i.e.
A=B
if and only if:
aij = bij , for i = 1,….., m ; j = 1,……, n
Examples:
1. If A = * +,B=* + then A
2. If A = [ ],B=* + then A
( different size)
3. If A = * +,B=* + then A
Sol.
A=B
a=1
b=0
c = -4
d=2
3
Chapter one Mathematics II Matrices and determinates
2. Matrix addition.
Two matrices can only be added if they have the same size. The result is
another matrix of the same size. We add matrices by adding their corresponding
elements, i.e.
C=A+B
cij = aij + bij for i = 1,….., m ; j = 1,……, n
1. C = A + B ?
2. D = B – A ?
Sol.
C=A+B=* +=* +
D=B–A=* +=* +
Sol.
3A = [ ] [ ]
4
Chapter one Mathematics II Matrices and determinates
This implies that the number of columns of the first matrix must be equal
to the number of rows in the second matrix.
Here are some examples:
* + [ ]
2×3 3×3
[ ] [ ]
3×4 4×2
We can form :
AB : the result is a 2 × 3 matrix
AC : the result is a 2 × 4 matrix
BC : the result is a 3 × 4 matrix
CD : the result is a 3 × 2 matrix
But, It is not possible to form:
BA or AD
The product matrix of two matrices is obtained by taking dot products of
the rows of the left matrix with the columns of the right matrix.
5
Chapter one Mathematics II Matrices and determinates
Ex: Find AB if * + * +
Sol.
( )( ) ( )( ) ( )( )
[ ]
( )( ) ( )( ) ( )( )
( ) ( ) ( )
[ ]
( ) ( ) ( )
=* +
2 1 1
AB = * +
Proof: * + * +
AB = * + * +
BA = * + * +
6
Chapter one Mathematics II Matrices and determinates
Proof: * + * +
( ) ( )
AB = [ ] * +
( ) ( )
( ) ( )
BA = * + * + [ ]
( ) ( )
= * +
Proof: * + * + * +
* + * + * + * +
AC = * + * + * + * +
Proof: * + * + * +
* +
A(B+C) = * + * + * +
AB = * + , AC = * +
AB + AC = * + * + * +
A(B + C) = AB + AC O.K.
5. A(BC) = (AB)C associative law
7
Chapter one Mathematics II Matrices and determinates
Transpose of a matrix.
The transpose of a matrix is obtained by interchanging its rows and columns
[ ]
Ex: Find AT if A = * +?
Sol.
[ ]
A=[ ] [ ]
8
Chapter one Mathematics II Matrices and determinates
Determinant of a matrix
1. The determinant of a 2 × 2 matrix
* +
+ ˗
is written det. A or | | | |
Sol.
| | | | ( )
| | | | | | | | | |
| | ( ) ( ) ( )
Sol. | | | |
= | | ( )| | | |
9
Chapter one Mathematics II Matrices and determinates
[ ]
+ + + - - -
| | | |
2. det. A = det. AT
11
Chapter one Mathematics II Matrices and determinates
Example:
Find the determinant of each matrix
Sol:
1-Det(a)=| |=3(-8)-9(2)=-42
2-Det(b)= | |=(1)(0)-(-2)(1)=2
3-Det(c)= | |=2| | | | | |=
11
Chapter one Mathematics II Matrices and determinates
Exercise :
Calculate the determinate of the following 2X2 matrices
A=[ ] B=[ ]
A=[ ] B=[ ]
12