Topic 7: Matrices and Determinants Objectives
Topic 7: Matrices and Determinants Objectives
Topic 7: Matrices and Determinants Objectives
Objectives:
1. Use matrix notation.
2. Understand what is meant by equal matrices.
3. Add and subtract matrices.
4. Perform scalar multiplication.
5. Solve matrix equations.
6. Multiply matrices.
A = [aij]
aij is an element in the in the ith row and jth column. A matrix of order m x n has
m rows and n columns. If m = n, a matrix has the same number of rows as
columns and is called a square matrix.
3 2 4
2 3 2
A B 0 1 4
1 0 4 3 5 3
2 x 3 matrix 3 x 3 matrix
Equality of Matrices
Two matrices A and B are equal if and only if they have the same order m x n
and aij = bij for i = 1, 2,…, m and j = 1, 2, …, n.
Transpose of a Matrix
If A is a matrix, the matrix formed from A by interchanging its rows with its
columns is called the transpose of A.
Definition:
The transpose of an m x n matrix A, denoted AT, is the n x m matrix whose ith
row is the ith column of A.
1
Topic 7: Matrices and Determinants DIM5058
Example:
4 7 1 3
Example: 0 2
5 8
Subtraction
A – B = [aij bij]
4 7 1 3
Example: 0 2
5 8
Scalar Multiplication
A = [aij] is a matrix of order m x n and c is a scalar, then matrix cA is the matrix
given by cA = [caij]
4 1 1 2
B 8 5 , find
Examples: If A 3 0 and
a) –6B b) 3A + 2B
2
Topic 7: Matrices and Determinants DIM5058
Properties of Scalar Multiplication
A and B are m x n matrices, and c and d are scalar, then following properties are
true.
1. (cd)A = c(dA)
2. 1A = A
3. c(A+B) = cA +cB
4. (c+d)A = cA+dA
Matrix Multiplication
2 x 2 matrices
a b e f ae bg af bh
AB
c d g h ce dg cf dh
3 2 0 0
Example: Find AB, given A 1 5 and B 5 6
For the product of two matrices to be defined, the number of columns of the
1st matrix must be equal to the number of rows of the 2nd matrix.
x A B
x x xx Pij mxn nxp
x
ith row of A jth col AB
of B mxp
Examples: Compute:
1 2 2 4
2 1 2 2 2 4
a) 3 2 4 4 3 b) 1 5 1 3 1
0 1 3 1
3
Topic 7: Matrices and Determinants DIM5058
1
Let A be an n x n matrix. If there exists an n x n matrix A such that
A A1 =In and A1A=In
then A1 is the inverse of A.
7.3 Determinants
The determinant of a 2 x 2 matrix
a1 b1 a1 b1
The determinant of matrix is denoted by a b and is defined by
a 2 b 2 2 2
a1 b1
a1b2 a2b1
a2 b2
4 0 0 1 2 3
3 1 4 2 2 3
a) b)
2 3 5 3 2 1
where
a1 b1 c1 d1 b1 c1
D a2 b2 c2 , D x d2 b2 c2
a3 b3 c3 d3 b3 c3
a1 d1 c1 a1 b1 d1
D y a2 d2 c2 , Dz a2 b2 d2
a3 d3 c3 a3 b3 d3