Algebra Of Matrices
Algebra of Matrices is the branch of mathematics, which deals with the vector spaces between different dimensions. The innovation of matrix algebra came into existence because of n-dimensional planes present in our coordinate space.
A matrix (plural: matrices) is an arrangement of numbers, expressions or symbols in a rectangular array. This arrangement is done in horizontal-rows and vertical-columns, having an order of number of rows x number of columns. Every pair of points in a Three-dimensional space represent a unique equation with one or more than one solution.
The basic idea or the central idea of applied mathematics revolves around Linear Algebra. For instance, by reliving the rules and regulations or rather say Axioms, we get into a generalization of vector space, which by calculus leads to the Solution of Differential Equations.
Algebra of Matrix
Algebra of matrix involves the operation of matrices, such as Addition, subtraction, multiplication etc.
Let us understand the operation of the matrix in a much better way-
Addition/Subtraction of Matrices
Two matrices can be added/subtracted, iff (if and only if) the number of rows and columns of both the matrices are same, or the order of the matrices are equal.
For addition/subtraction, each element of the first matrix is added/subtracted to the elements present in the 2nd matrix.
Example:
\(\begin{bmatrix} 2 & 0 & 5\\ 3 & 2 & 9 \end{bmatrix} + \begin{bmatrix} 7 & 4 & 1 \\ 8 & 13 & 0 \end{bmatrix} = \begin{bmatrix} 9 & 4 & 6 \\ 11 & 15 & 9 \end{bmatrix}\)
Also, read:
Matrix Multiplication
Like Matrix can be Multiplied two ways,
(i) Scalar Multiplication
(ii) Multiplication with another matrix
- Scalar Multiplication – It involves multiplying a scalar quantity to the matrix. Every element inside the matrix is to be multiplied by the scalar quantity to form a new matrix.
For example-
\(5 \times \begin{bmatrix} 5 & 7\\ 12 & 3 \\ 6 & 2 \end{bmatrix} = \begin{bmatrix} 25 & 35\\ 60 & 15 \\ 30 & 10 \end{bmatrix}\)
- Multiplication of a matrix with another matrix:Two matrix can be multiplied iff the number of column of the first matrix is equal to the number of rows of the second matrix.
Consider two matrix M1 & M2, having order of \( m_{1} \times n_{1},\) and \(m_{2} \times n_{2},\).
The matrices can be multiplied if and only if \(n_{1} = m_{2}\).
The matrices, given above satisfies the condition for matrix multiplication, hence it is possible to multiply those matrices.
The resultant matrix obtained by multiplication of two matrices, is the order of \(m_{1}, n_{2}\), where \(m_{1}\) is the number of rows in the 1st matrix and \(n_{2}\) is the number of column of the 2nd matrix.
Rule of Matrix Algebra
The algebra of matrix follows some rules for addition and multiplication. Let us consider A, B and C are three different square matrices. A’ is the transpose and A-1 is the inverse of A. I is the identity matrix and R is a real number.
Now as per the rules of laws of matrices:
- A+B = B+A →Commutative Law of Addition
- A+B+C = A +(B+C) = (A+B)+C →Associative law of addition
- ABC = A(BC) = (AB)C →Associative law of multiplication
- A(B+C) = AB + AC →Distributive law of matrix algebra
- R(A+B) = RA + RB
Also, see here rules for transposition of matrices:
- (A’)’ = A
- (A+B)’ = A’+B’
- (AB)’ = B’A’
- (ABC) = C’B’A’
The inverse rules of matrices are as follows:
- AI = IA = A
- AA-1 = A-1A = I
- (A-1)-1 = A
- (AB)-1 = B-1A-1
- (ABC)-1 = C-1B-1A-1
- (A’)-1 = (A-1)’
Solved Problems
Example 1: Given \(A= \begin{bmatrix} 3 &-5 \\ -1 &7 \end{bmatrix}\) and \(B= \begin{bmatrix} 1 &4 \\ 8 &3 \end{bmatrix}\) find A + B.
Solution:
Given,
\(A= \begin{bmatrix} 3 &-5 \\ -1 &7 \end{bmatrix}\) and \(B= \begin{bmatrix} 1 &4 \\ 8 &3 \end{bmatrix}\)
Addition of A and B is:
\(A+B= \begin{bmatrix} 3 &-5 \\ -1 &7 \end{bmatrix}+ \begin{bmatrix} 1 &4 \\ 8 &3 \end{bmatrix}\\ =\begin{bmatrix} 3+1 &-5+4 \\ -1+8 &7+3 \end{bmatrix}\\=\begin{bmatrix} 4 &-1 \\ 7 &10 \end{bmatrix}\)
Example 2: If \(P= \begin{bmatrix} 5 &4 \\ 2 &9 \end{bmatrix}\) and \(Q= \begin{bmatrix} 1 &5 \\ 0&2 \end{bmatrix}\), then find P-Q.
Solution:
Given,
\(P= \begin{bmatrix} 5 &4 \\ 2 &9 \end{bmatrix}\) and \(Q= \begin{bmatrix} 1 &5 \\ 0&2 \end{bmatrix}\)
Subtraction of the matrices P and Q is:
\(A-B= \begin{bmatrix} 5 &4 \\ 2 &9 \end{bmatrix}- \begin{bmatrix} 1 &5 \\ 0 &2 \end{bmatrix}\\ =\begin{bmatrix} 5-1 &4-5 \\ 2-0 &9-2 \end{bmatrix}\\=\begin{bmatrix} 4 &-1 \\ 2 &7 \end{bmatrix}\)
Example 3: If \(A= \begin{bmatrix} 4 &-2 \\ 7 &0 \end{bmatrix}\) and \(B= \begin{bmatrix} 3 &5 \\ 2 &-3 \end{bmatrix}\), then find the product of A and B.
Solution:
Given
\(A= \begin{bmatrix} 4 &-2 \\ 7 &0 \end{bmatrix}\) and \(B= \begin{bmatrix} 3 &5 \\ 2 &-3 \end{bmatrix}\)
Product/multiplication of A and B is:
\(A\times B= \begin{bmatrix} 4 &-2 \\ 7 &0 \end{bmatrix}\times \begin{bmatrix} 3 &5 \\ 2 &-3 \end{bmatrix} \\=\begin{bmatrix} 4(3)+(-2)2 & 4(5)+(-2)(-3)\\ 7(3)+0(2) &7(5)+0(-3) \end{bmatrix}\\ =\begin{bmatrix} 12-4 &20+6 \\ 21& 35 \end{bmatrix}\\=\begin{bmatrix} 8 & 26\\ 21& 35 \end{bmatrix}\)
This was all about the algebra of matrix, to understand more concepts like inverse matrix, operation of the matrix, determinants etc. visit our site BYJU’S.