Chapter 1-1 Engineering Analysis
Chapter 1-1 Engineering Analysis
2 7 a b
1 1 5 8 c d
Matrices - Introduction
Properties:
•A specified number of rows and a specified number of columns
•Two numbers (rows x columns) describe the dimensions or size
of the matrix (Order of the Matrix) .
Examples:
1 2 4
1 1 3 3
4 1 5
0 0 3 2
24
1 112
3 3 3 33
Matrices - Introduction
A matrix is denoted by a capital letter and the elements within the
matrix are denoted by lower case letters
matrix A with elements aij
1 1 613 0 3 5 214
1 1
3 7 1 1 1 0 0
2 0 3 3 0
7 7
7 6
mn
Matrices - Introduction
TYPES OF MATRICES
4. Square matrix
The number of rows is equal to the number of columns
(a square matrix m m has an order of m)
1 1 1 1 1
3 0 9 9 0
22
6 6 1 33
The principal or main diagonal of a square matrix is composed of all
elements aij for which i=j
Matrices - Introduction
TYPES OF MATRICES
5. Diagonal matrix
A square matrix where all the elements are zero except those on
the main diagonal
3 0 0 0
1 0 0 0
0 2 0 3 0 0
0 0 5 0
0 0 1
0 0 0 9
Matrices – Introduction
TYPES OF MATRICES
6. Scalar matrix
A diagonal matrix whose main diagonal elements are equal to the
same scalar
A scalar is defined as a single number or constant
aij k for i j , and aij 0 for i j
6 0 0 0
k 0 0 1 0 0 0 6 0 0
0 k 0 0 1 0
0 0 6 0
0 0 k 0 0 1
0 0 0 6
Matrices - Introduction
TYPES OF MATRICES
7. Unit or Identity matrix – In
A diagonal matrix with ones on the main diagonal
aij 1 for i j , and aij 0 for i j
1 0 0 0 1 0 0
0 1 0
I4
1 0 0 I 3 0 1 0 I2
0 0 1 0 0 1
0 0 1
0 0 0 1
Matrices - Introduction
TYPES OF MATRICES
8. Null (zero) matrix - 0
All elements in the matrix are zero
0 0 0 0
0 0 0 0
0 0 0 0
1 0 0 1 8 9
2 1 0 0 1 6
5 2 3 0 0 3
Matrices - Introduction
TYPES OF MATRICES
9a. Upper triangular matrix
A square matrix whose elements below the main diagonal are
all zero
1 7 4 4
aij aij aij 1 8 7 0
0 1 8 1 7 4
0 aij aij 0 0 7 8
0 0 aij 0 0 3
0 0 0 3
i.e. aij = 0 for all i > j
Matrices - Introduction
TYPES OF MATRICES
9b. Lower triangular matrix
A square matrix whose elements above the main diagonal are all
zero
aij 0 0 1 0 0
2 1 0
aij aij 0
aij aij aij 5 2 3
A aij , B bij
mn mn
1 0 0 1 0 0
2 1 0 , then A B
If A 2 1 0 and B
5 2 3 5 2 3
Matrices - Operations
Some properties of equality:
•If A = B, then B = A for all A and B
•If A = B, and B = C, then A = C for all A, B and C
6 4 2 1 2 0 5 2 2
3 2 7 1 0 8 2 2 1
Matrices - Operations
1- Commutative Law:
A+B=B+A
2- Associative Law:
A + (B + C) = (A + B) + C = A + B + C
3- A+0=0+A=A
4- A + (-A) = 0
Matrices - Operations
SCALAR MULTIPLICATION OF MATRICES