Mada za sehemu hiiMatricesMada 5
- Introduction of Operation with Matrices
- Operations with matrices
- Determinant of a matrices
- Solving system of simultaneous equations in 2 unknowns
- Matrix of Cofactors
A matrix is a rectangular array of numbers, symbols, or objects arranged in rows and columns. The plural of matrix is matrices. Matrices help to easily identify corresponding values.
Order of matrices
The order of a matrix is described by the number of rows (m) and columns (n), written as m × n. Matrices are typically denoted by capital letters (A, B, C, etc.). The numbers or letters within the brackets are called elements. An element "e" in matrix A belonging to the second row and second column is denoted as . Elements across the matrix form rows, and elements downwards form columns.
Different information can be arranged using matrices. For example, student enrollment in different subjects can be represented in a matrix.
| Class | Mathematics | Chemistry | Physics |
|---|---|---|---|
| Form I | 90 | 90 | 90 |
| Form II | 60 | 60 | 60 |
| Form III | 85 | 85 | 85 |
| Form IV | 58 | 58 | 58 |
This information can be represented as matrix C:
Matrix C is of order 4 × 3. Matrix concepts are useful for summarizing data.
- Row Matrix: A matrix with only one row (1 × n). Example: (1 × 3).
- Column Matrix: A matrix with only one column (m × 1). Example:
- Square Matrix: A matrix with the same number of rows and columns (n × n).
- Identity Matrix: A square matrix with 1s on the main diagonal and 0s elsewhere, denoted by I. Example:
- Zero or Null Matrix: A matrix with all elements equal to 0. Example:
- Diagonal Matrix: A square matrix with all non-diagonal elements equal to 0. Example:
- Scalar Matrix: A diagonal matrix with all diagonal elements equal. Example:
Two matrices A and B are equal (A = B) if they have the same order and all corresponding entries are equal.
Addition and subtraction
Addition and subtraction are performed element-wise on matrices of the same order. The resulting matrix has the same order.
Example:
Properties of matrix addition
The sum of two m × n matrices is an m × n matrix.
Commutative: A + B = B + A
Associative: (A + B) + C = A + (B + C)
A + (-A) = 0 (zero matrix)
Properties of matrix subtraction
Not commutative: A - B ≠ B - A
The difference of two m × n matrices is an m × n matrix.
Not associative: (A - B) - C ≠ A - (B - C)
A - A = 0
Multiplication of a matrix by a scalar
Multiplying a matrix A by a scalar p results in a matrix where each element of A is multiplied by p.
Example:
Properties of scalar multiplication
r(A ± B) = rA ± rB
(r ± s)A = rA ± sA
(rs)A = r(sA) = s(rA)
Multiplication of a matrix by another matrix
Two matrices A (m × a) and B (b × n) can be multiplied if a = b. The resulting matrix AB has order m × n. Multiplication involves multiplying rows of A by columns of B.
Example:
Matrix multiplication is not commutative in general (AB ≠ BA).
Transpose of a matrix
The transpose of a matrix A (m × n), denoted by , is an n × m matrix obtained by interchanging the rows and columns of A.
Example:
Mwalimu
Unasoma somo hili? Niulize nikuelezee chochote kilichomo.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.
Ingia ili kuuliza