Mada za sehemu hiiMatrices And TransformationsMada 3
- Operations on matrices
- Inverse of a matrix
- Matrices and transformation
Definition:
A matrix is an array or an orderly arrangement of objects in rows and columns. Each object in the matrix is called an element (entity). Consider the following table showing the number of students in each stream in each form.
| Form | I | II | III | IV |
|---|---|---|---|---|
| Stream A | 38 | 35 | 40 | 28 |
| Stream B | 36 | 40 | 34 | 39 |
| Stream C | 40 | 37 | 36 | 35 |
From the above table, if we enclose the numbers in brackets without changing their arrangement, then a matrix is formed. This can be done by removing the headings and the bracket enclosing the numbers (elements) and given a name (normally a capital letter). Now the above information can be presented in a matrix form as
Any matrix has rows and columns but sometimes you may find a matrix with only one row without column or only one column without row. In the matrix A above, the numbers 38, 36 and 40 form the first column and 38, 35, 40 and 28 form the first row. Matrix A above has three (3) rows and four (4) columns. In the matrix A, 34 is the element (entity) in the second row and third column while 28 lies in the first row and fourth column. The plural form of matrix is matrices. Normally matrices are named by capital letters and their elements by small letters which represent real numbers.
e.g. is a matrix.
is a matrix containing the elements and .
is also a matrix which contains elements 1, 2, 3, and 4.
The order of a matrix or size of a matrix is given by the number of its rows and the number of its columns. So if A has m rows and n columns, then the order of matrix is m x n. It is important to note that the order of any matrix is given by stating the number of its rows first and then the number of its columns.
For example is a matrix or the order of matrix A is , and
is a matrix while is a matrix.
NB: since an is a matrix with rows and columns while is a matrix with rows and columns.
The following are the common types of matrices:
- Zero matrix;
A zero matrix is the matrix whose elements are all zeros.
e.g.
- Square matrix:
Is a matrix whose number of rows is equal to the number of columns.
For example
- Identity Matrix:
Is the square matrix whose elements in the leading diagonal are ones and zeros elsewhere.
- Column matrix:
Is the matrix with only one column.
- Row matrix:
This is a matrix with only one row.
When adding or subtracting one matrix from another, the corresponding elements (entities) are added or subtracted respectively. This being the case, we can only perform addition and subtraction of matrices with the same orders.
Example 1
Given that
Solution:
Example 2
Given that
and , find
Solution:
Example 3
Solution:
Now x - 3 = 2, 2 - z = 0 and 0 - y = 3. So x = 5, y = -3 and z = 2.
Solve for x, y and z in the following matrix equation:
Additive identity matrix.
If M is any square matrix, that is a matrix with order m×m or n×n and Z is another matrix with the same order as M such that M + Z = Z + M = M then Z is the additive identity matrix.
The additive inverse of a matrix.
If A and B are any matrices with the same order such that A + B = Z, then it means that either A is an additive inverse of B or B is an additive inverse of A, that is B = -A or A = -B.
Example 4
Find the additive inverse of A, if .
Solution: The additive inverse of is
The additive inverse of is .
Example 5
Find the additive identity of B if B is a 3×3 matrix.
Solution:
The additive identity of any matrix is the zero matrix.
So
A matrix can be multiplied by a constant number (scalar) or by another matrix.
Scalar multiplication of matrices:
Rule: If A is a matrix with elements say a, b, c and d, or
Example 6
Given that
Find (a) 2A (b) -5A
Solution:
(a) ,
(b)
Example 7
Given,
Solution:
Multiplication of matrix by another matrix:
AB is the product of matrices A and B while BA is the product of matrix B and A. In AB, matrix A is called a pre-multiplier because it comes first while matrix B is called the post multiplier because it comes after matrix A.
Rules of finding the product of matrices:
- The pre-multiplier matrix is divided row wise, that is it is divided according to its rows.
- The post multiplier is divided according to its columns.
- Multiplication is done by taking an element from the row and multiplied by an element from the column.
- In rule (iii) above, the left most element of the row is multiplied by the top most element of the column and the right most element from the row is multiplied by the bottom most element of the column and their sums are taken:
Therefore it can be concluded that matrix by matrix multiplication is only possible if the number of columns in the pre-multiplier is equal to the number of rows in the post multiplier.
Example 8
Given that;
Solution
(a)
(b)
From the above example it can be noted that AB ≠ BA, therefore matrix by matrix multiplication does not obey commutative property except when the multiplication involves an identity matrix i.e. AI = IA = A.
Example 9
Let,
Solution:
Example 10
Find C × D if
Solution:
Product of a matrix and an identity matrix:
If A is any square matrix and I is an identity matrix with the same order as A, then AI = IA = A.
Example 11
Given;
Find (a) AI (b) IA
Solution:
(b)
Mwalimu
Unasoma somo hili? Niulize nikuelezee chochote kilichomo.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.
Ingia ili kuuliza