Matrix operations mainly involve three algebraic operations, which are the addition of matrices, subtraction of matrices, and multiplication of matrices. Matrix is a rectangular array of numbers or expressions arranged in rows and columns. Important applications of matrices can be found in Mathematics.
All these operations on matrices are covered in this article, along with their properties and solved examples. Before starting with the operation, it is important to know about the elementary operation of a matrix in detail, which is given in the linked articles below.
Read More:
- Introduction to Matrices
- Types of Matrices
- Adjoint and Inverse of a Matrix
- Rank of a Matrix and Special Matrices
Operations on Matrices
Addition, subtraction and multiplication are the basic operations on the matrix. To add or subtract matrices, these must be of identical order, and for multiplication, the number of columns in the first matrix equals the number of rows in the second matrix.
- Addition of Matrices
- Subtraction of Matrices
- Scalar Multiplication of Matrices
- Multiplication of Matrices
Addition of Matrices
If A[aij]mxn and B[bij]mxn are two matrices of the same order, then their sum A + B is a matrix, and each element of that matrix is the sum of the corresponding elements, i.e. A + B = [aij + bij]mxn
Consider the two matrices, A and B, of order 2 x 2. Then, the sum is given by:
Properties of Matrix Addition: If a, B and C are matrices of the same order, then
(a) Commutative Law: A + B = B + A
(b) Associative Law: (A + B) + C = A + (B + C)
(c) Identity of the Matrix: A + O = O + A = A, where O is a zero matrix which is the additive identity of the matrix,
(d) Additive Inverse: A + (-A) = 0 = (-A) + A, where (-A) is obtained by changing the sign of every element of A, which is the additive inverse of the matrix,
(e)
(f) tr(A ± B) = tr(A) ± tr(B)
(g) If A + B = 0 = B + A, then B is called the additive inverse of A, and also A is called the additive inverse of A.
Subtraction of Matrices
If A and B are two matrices of the same order, then we define
Consider the two matrices, A and B, of order 2 x 2. Then, the difference is given by:
We can subtract the matrices by subtracting each element of one matrix from the corresponding element of the second matrix, i.e. A – B = [aij – bij]mxn.
Scalar Multiplication of Matrices
If A = [aij]m×n is a matrix and k any number, then the matrix which is obtained by multiplying the elements of A by k is called the scalar multiplication of A by k, and it is denoted by k A, thus if A = [aij]m×n,
Then
Properties of Scalar Multiplication: If A and B are matrices of the same order and λ and μ are any two scalars, then,
(a) λ(A + B) = λA + λB
(b) (λ + μ)A = λA + μA
(c) λ(μA) = (λμA) = μ(λA)
(d) (-λA) = -(λA) = λ(-A)
(e) tr(kA) = k tr(A)
Multiplication of Matrices
If A and B be any two matrices, then their product AB will be defined only when the number of columns in A is equal to the number of rows in B.
If
Properties of matrix multiplication
(a) Matrix multiplication is not commutative in general, i.e., in general
(b) Matrix multiplication is associative, i.e. (AB)C = A(BC).
(c) Matrix multiplication is distributive over matrix addition, i.e. A.(B + C) = A.B + A.C and (A + B)C = AC + BC.
(d) If A is an m × n matrix, then
(e) The product of two matrices can be a null matrix while neither of them is null, i.e., if AB = 0, it is not necessary that either A = 0 or B = 0.
(f) If A is an m × n matrix and O is a null matrix, then
(g) If AB = 0 (It does not mean that A = 0 or B = 0, again, the product of two non-zero matrices may be a zero matrix).
(h) If AB = AC , B ≠ C (Cancellation law is not applicable).
(i) tr(AB) = tr(BA)
(j) There exists a multiplicative identity for every square matrix, such as AI = IA = A
Matrix Operations Examples
Illustration 1:
find AB and BA if possible.
Solution:
Using matrix multiplication. Here, A is a 3 × 3 matrix, and B is a 3 × 2 matrix; therefore, A and B are conformable for the product AB, and it is of the order 3 × 2 such that
(First row of A) (First column of B)
(First row of A) (Second column of B)
(Second row of A) (First column of B)
Similarly
BA is not possible since the number of columns of B ≠ the number of rows of A.
Illustration 2: Find the value of x and y if
Solution:
Using the method of multiplication and addition of matrices, then equating the corresponding elements of L.H.S. and R.H.S., we can easily get the required values of x and y.
We have,
Equating the corresponding elements, a11 and a22, we get
Hence x = 3 and y = 3.
Illustration 3: Find the value of a, b, c and d, if
Solution:
As the two matrices are equal, their corresponding elements are equal. Therefore, by equating the corresponding elements of given matrices, we will obtain the value of a, b, c and d.
(given)
a – b = -1 … (i)
2a + c = 5 … (ii)
2a-b=0 … (iii)
3c + d = 13 … (iv)
Subtracting equation (i) from (iii), we have a = 1;
Putting the value of a in equation (i), we get b = 2
Putting the value of a in equation (ii), we have
Putting the value of c in equation (iv), we find
Hence a=1,b=2,c=3,d=4.
Illustration 4: Find x and y, if
Solution:
Solving the given equations simultaneously, we will obtain the values of x and y.
We have
Multiplying (i) by 3 and (ii) by 2, we get
Subtracting (iv) from (iii), we get
Putting the value of y in (iii), we get
Hence,
Frequently Asked Questions
Is matrix addition commutative?
Yes, matrix addition is commutative.
Is matrix multiplication commutative?
No, matrix multiplication is not commutative.
Is matrix addition associative?
Yes, matrix addition is associative.
What is the product of a matrix with a null matrix?
The product of the matrix with a null matrix is a null matrix.
Comments