Operations on Matrices: Addition, Subtraction, Multiplication and Solved Examples

Collegedunia Team logo

Collegedunia Team

Content Curator

A matrix can be defined as a rectangular array of expressions or numbers. The numbers or expressions present within a matrix are known as elements. The horizontal lines within a matrix are referred to as rows and the vertical lines are known as columns. Thus, a matrix with ‘a’ as rows and ‘b’ columns can be represented as a matrix of the order a * b.

Keyterms: Matrices, Row Matrix, Column Matrix, Square Matrix, Diagonal Matrix, Scalar Matrix, Identity Matrix and Zero Matrix

Read More: Minors and Cofactors


Types of Matrices

[Click Here for Sample Questions]

  • Row Matrix - A matrix have only one row
  • Column Matrix- A matrix constituting of only one column
  • Square Matrix - A matrix containing equal number of rows and columns
  • Diagonal Matrix - A square matrix whose non diagonal elements are equal to zero.
  • Scalar Matrix - A square matrix whose diagonal elements are equal.
  • Identity Matrix - A square matrix whose diagonal elements are equal to 1 and rest are zero.
  • Zero Matrix - A matrix where all its elements are zero.

The video below explains this:

Matrices Detailed Video Explanation:

Also Read:


Matrix operations

[Click Here for Sample Questions]

The range of operations that can be performed on a matrix involves three algebraic operations mainly. These three operations are namely - 

  1. Addition of matrices
  2. Subtraction of matrices
  3. Multiplication of matrices

The basic operations among these are the addition and subtraction to matrices. For these operations, the matrices involved in the operation must be of identical order. However while multiplying, the number of columns of the first matrix must be equal to the number of rows of the second matrix. Let us understand these operations in detail.

1. Addition of Matrices

Let us think that A[aij]m*n and B[bij]m*n are two matrices of the same order m * n. So, when we add these two matrices, each element of the resulting matrix will be a sum of [aij + bij]m*n i.e. it will be a sum of the corresponding values of the A and B matrix, which can be represented as matrix C = [cij]m*n. Hence

\(\begin{bmatrix}a1 & b1 \\[0.3em]c1 & d1 \\[0.3em] \end{bmatrix} + \begin{bmatrix}a2 & b2 \\[0.3em]c2 & d2 \\[0.3em] \end{bmatrix}= \begin{bmatrix}a1 + a2 & b1 + b2 \\[0.3em]c1+ c2 & d1+d2 \\[0.3em] \end{bmatrix}\)

Properties of Addition of Matrices

  • Commutative Law - According to the commutative law of addition

If A = [aij], B = [bij] of the order m * n, then A+B = B+A

  • Associative Law

If A = [aij], B = [bij], C = [cij] of the order m * n, then (A + B) + C = A + (B + C)

  • Additive Inverse

If A = [aij] is a matrix of the order m * n, then its additive inverse -A = [- aij]mn is developed by changing the sign of every element of A. Thus, we have: 

A + (-A) = 0 = (-A) + A

If A+B = 0 = B+A, then A and B can be called the additive inverse of each other.

tr(A+B) = tr(A) + tr(B),

Similarly, tr(A-B) = tr(A) - tr(B)

  • Additive Identity of the Matrix

If A = [aij] is a matrix of the order m*n and O is a zero matrix of the m * n order, then

A + O = O + A = A

Here O is known as the additive identity of the matrix.

2. Subtraction of Matrices

If there are two matrices namely A and B and they both are of the same order m * n., then the difference of these two matrices A - B can be written as D = [dij]. Here dij = aij - bij. We can also say that D = A+(-1) B.

The new elements of the resulting matrix can be found by calculating the difference between the corresponding elements of both the first and second matrix. Thus, 

\(\begin{bmatrix}a1 & b1 \\[0.3em]c1 & d1 \\[0.3em] \end{bmatrix} - \begin{bmatrix}a2 & b2 \\[0.3em]c2 & d2 \\[0.3em] \end{bmatrix}= \begin{bmatrix}a1 - a2 & b1 - b2 \\[0.3em]c1- c2 & d1-d2 \\[0.3em] \end{bmatrix}\)

3. Multiplication of Matrices

Two matrices A and B can be multiplied only when the number of columns of the ‘A’ matrix is equal to the number of rows of the ‘B’ matrix.

i.e. let us consider A[aij]m*n and B[bij]n*p. Then the product of these two matrices can be written as C[Cij]m*p.

Properties of Multiplication of Matrices

  • The multiplication of these matrices A and B is not commutative in nature. This means AB is not equal to BA.
  • Matrix multiplication is associative. This means that for three given Matrices A, B, C we will have (AB)C = A(BC)
  • Matrix multiplication also follows the property of distributive law. This law states if three matrices A,B and C are given, then - 
    • A(B+C) = AB + AC
    • (A + B) C = AC + BC [In this case both sides of the equality must be defined]
    • An identity matrix of the same order will be present for every square matrix ‘A’. Thus, we can say IA = AI = A.

Scalar Multiplication of Matrices

While dealing with Matrices, any real number is called scalar. Thus, in case of scalar multiplication, a real number is multiplied with a matrix. Therefore, If k is any real number and A is a matrix which is [aij]m*n then the multiplication of k with A matrix is the scalar multiplication and can be written as: 

 kA=k[aij]m*n =[k(ai×j)]m * n

Also Read:


Solved Examples

[Click Here for Sample Questions]

Ques. If A =\(\begin{bmatrix}5 & 6 \\[0.3em]1 & 2 \\[0.3em] \end{bmatrix}\) and B = \(\begin{bmatrix}2 & 9 \\[0.3em]7 & 8 \\[0.3em] \end{bmatrix}\) then what is A + B?  (2 marks)

Ans. As A and B are two matrices of the same order, we can get the matrix A+B by adding the corresponding elements of A and B.

So, A + B = \(\begin{bmatrix}7 & 15 \\[0.3em]8 & 10 \\[0.3em] \end{bmatrix}\)

Ques. Demonstrate A+B is commutative if A =  \(\begin{bmatrix}5 & 5 \\[0.3em]3 & 6 \\[0.3em] \end{bmatrix}\)and B = \(\begin{bmatrix}2 & 9 \\[0.3em]5 & 1 \\[0.3em] \end{bmatrix}\) (2 marks)

Ans. If A and B are two matrices of the same order, then A+B is commutative if A+B = B+A. It can be understood as we know that if A and B are of the same order, then the elements of the resulting matrix A + B is equal to the addition of corresponding elements of A and B.

We can see this is true by actually performing the calculations

So, \(\begin{bmatrix}5 & 5 \\[0.3em]3 & 6 \\[0.3em] \end{bmatrix}\) + \(\begin{bmatrix}2 & 9 \\[0.3em]5 & 1 \\[0.3em] \end{bmatrix}\) = \(\begin{bmatrix}2 & 9 \\[0.3em]5 & 1 \\[0.3em] \end{bmatrix}\) + \(\begin{bmatrix}5 & 5 \\[0.3em]3 & 6 \\[0.3em] \end{bmatrix}\) = \(\begin{bmatrix}7 & 14 \\[0.3em]8 & 7 \\[0.3em] \end{bmatrix}\)

Hence A + B is commutative in nature if A and B are two matrices of the same order.

Read Also: Properties of Determinants


Things to Remember 

  • A matrix can be defined as a rectangular array of expressions or numbers.
  • The numbers or expressions present within a matrix are known as elements.
  • The horizontal lines within a matrix are referred to as rows and the vertical lines are known as columns.
  • A matrix with ‘a’ as rows and ‘b’ columns can be represented as a matrix of the order a * b.
  • Types of Matrices are Row Matrix, Column Matrix, Square Matrix, Diagonal Matrix, Scalar Matrix, Identity Matrix and Zero Matrix. 


Sample Questions

Ques 1: If 2\(\begin{bmatrix}3 & 4 \\[0.3em]5 & x \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}1 & y \\[0.3em]0 & 1 \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}7 & 0 \\[0.3em]10 & 5 \\[0.3em] \end{bmatrix}\), then find (x – y). Delhi 2014

Ans: Given, 2 \(\begin{bmatrix}3 & 4 \\[0.3em]5 & x \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}1 & y \\[0.3em]0 & 1 \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}7 & 0 \\[0.3em]10 & 5 \\[0.3em] \end{bmatrix}\)

⇒ \(\begin{bmatrix}6 & 8 \\[0.3em]10 & 2x \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}1 & y \\[0.3em]0 & 1 \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}7 & 0 \\[0.3em]10 & 5 \\[0.3em] \end{bmatrix}\)

⇒ \(\begin{bmatrix}7 & 8+y \\[0.3em]10 & 2x+1 \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}7 & 0 \\[0.3em]10 & 5 \\[0.3em] \end{bmatrix}\)

On comparing the corresponding elements, We get 8 + y = 0 and 2x + 1= 5

⇒ y = – 8 and x = \(\frac{5-1}{2}\)= 2 

∴ x – y = 2 – ( – 8) = 10

Ques 2. The elements a ij of a 3x3 matrix are given by a ij = \(\frac{1}{2}\)| – 3i + j|. Write the value of element a 32. All India 2014 C

Ans: Given, for a 3x3 matrix are given by a ij = \(\frac{1}{2}\)| – 3i + j Here, element a32 denotes the element of third row corresponding to second column.

So, to find a32, put i = 3 and j = 2, we get a32 = \(\frac{1}{2}\)| – 3 x 3 + 2 | = \(\frac{1}{2}\)| – 9 + 2 | = \(\frac{7}{2}\)

Ques 3. If 2 \(\begin{bmatrix}1 & 3 \\[0.3em]0 & x \\[0.3em] \end{bmatrix}\) + \(\begin{bmatrix}y & 0 \\[0.3em]1 & 2 \\[0.3em] \end{bmatrix}\) = \(\begin{bmatrix}5 & 6 \\[0.3em]1 & 8 \\[0.3em] \end{bmatrix}\), then find the value of (x+y). Delhi 2013C; All India 2012

Ans: Given, 2 \(\begin{bmatrix}1 & 3 \\[0.3em]0 & x \\[0.3em] \end{bmatrix}\) + \(\begin{bmatrix}y & 0 \\[0.3em]1 & 2 \\[0.3em] \end{bmatrix}\) = \(\begin{bmatrix}5 & 6 \\[0.3em]1 & 8 \\[0.3em] \end{bmatrix}\)

⇒ \(\begin{bmatrix}2 & 6 \\[0.3em]0 & 2x \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}y & 0 \\[0.3em]1 & 2 \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}5 & 6 \\[0.3em]1 & 8 \\[0.3em] \end{bmatrix}\)

⇒ \(\begin{bmatrix}2+y & 6 \\[0.3em]0 & 2x+2 \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}5 & 6 \\[0.3em]1 & 8 \\[0.3em] \end{bmatrix}\)

On comparing the corresponding elements, We get 2 + y = 5 and 2x + 2= 8

⇒ y = 3 and 2x = 6

⇒ y = 3 and x = 3

∴ x + y = 3 + 3 = 6

Ques 4. For a 2x2 matrix, A = [aij], whose elements are given by aij = i/j, write the value of a12. Delhi 2011

Ans: Given, for a 2x2 matrix,A = [aij], aij = \(\frac{i}{j}\) To find a12, put i = 1 and j = 2, We get a12\(\frac{1}{2}\)

Ques 5. If A = \(\begin{bmatrix}cos \alpha & - sin \alpha \\[0.3em]sin \alpha & cos \alpha \\[0.3em] \end{bmatrix}\), then for what value of α, A is an identity matrix? Delhi 2010, HOTS

Ans: Given, A = \(\begin{bmatrix}cos \alpha & - sin \alpha \\[0.3em]sin \alpha & cos \alpha \\[0.3em] \end{bmatrix}\)

For A to be an identity matrix, we must have \(\begin{bmatrix}cos \alpha & - sin \alpha \\[0.3em]sin \alpha & cos \alpha \\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}1 & 0 \\[0.3em]0 & 1 \\[0.3em] \end{bmatrix}\) \(\because\) I = \(\begin{bmatrix}1 & 0 \\[0.3em]0 & 1 \\[0.3em] \end{bmatrix}\)]

On equating element a11 from both sides, We get 

cos α = 1

⇒ cos α = cos 0o   [\(\because\)cos 0o = 1]

∴ α = 0So, for α = 0o, A is an identity matrix. [\(\because\)sin 0o = 0]

Ques 6. If A = \(\begin{bmatrix}2&1 & 0 \\[0.3em]2 & 1&3\\[0.3em] 1 & -1&0\\[0.3em] \end{bmatrix}\), then find value of A2 – 3A + 2I. All India 2010

Ans: Given, A = \(\begin{bmatrix}2&1 & 0 \\[0.3em]2 & 1&3\\[0.3em] 1 & -1&0\\[0.3em] \end{bmatrix}\)We have to find the value of A2 – 3A + 2I.

Now, A2 = A.A

\(\begin{bmatrix}2&1 & 0 \\[0.3em]2 & 1&3\\[0.3em] 1 & -1&0\\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}2&1 & 0 \\[0.3em]2 & 1&3\\[0.3em] 1 & -1&0\\[0.3em] \end{bmatrix}\)

\(\begin{bmatrix}4+0+1 & 0+0-1 & 2+0+0 \\[0.3em]4+2+3 & 0+1-3 & 2+3+0\\[0.3em] 2-2+0 & 0-1-0 & 1-3+0\\[0.3em] \end{bmatrix}\)[multiplying row by column]

⇒ A2\(\begin{bmatrix}5&-1 & 2 \\[0.3em]9 & -2&5\\[0.3em] 0 & -1&-2\\[0.3em] \end{bmatrix}\)

3A = 3\(\begin{bmatrix}2&1 & 0 \\[0.3em]2 & 1&3\\[0.3em] 1 & -1&0\\[0.3em] \end{bmatrix}\)\(\begin{bmatrix}6&0 & 3 \\[0.3em]6 & 3&9\\[0.3em] 3 & -3&0\\[0.3em] \end{bmatrix}\)

and 2I = 2\(\begin{bmatrix}1&0 & 0 \\[0.3em]0 & 1&0\\[0.3em] 0 & 0&1\\[0.3em] \end{bmatrix}\) = \(\begin{bmatrix}2&0 & 0 \\[0.3em]0 & 2&0\\[0.3em] 0 & 0&2\\[0.3em] \end{bmatrix}\)

∴ A2 – 3A + 2I

\(\begin{bmatrix}5&-1 & 2 \\[0.3em]9 & -2&5\\[0.3em] 0 & -1&-2\\[0.3em] \end{bmatrix}\)– \(\begin{bmatrix}6&0 & 3 \\[0.3em]6 & 3&9\\[0.3em] 3 & -3&0\\[0.3em] \end{bmatrix}\) + \(\begin{bmatrix}2&0 & 0 \\[0.3em]0 & 2&0\\[0.3em] 0 & 0&2\\[0.3em] \end{bmatrix}\)

⇒ A2 – 3A + 2I

\(\begin{bmatrix}5-6+2&-1-0+0 & 2-3+0 \\[0.3em]9-6+0 & -2-3+2&5-9+0\\[0.3em] 0-3+0 & -1+3+0&-2-0+2\\[0.3em] \end{bmatrix}\)

⇒ A2 – 3A + 2I =\(\begin{bmatrix}1&-1 & -1 \\[0.3em]3 & -3&-4\\[0.3em] -3 & 2&0\\[0.3em] \end{bmatrix}\)

Ques 7. What are the different applications of Matrices? (1 mark)

Ans. Matrix operations are applied in various fields which include electronic spreadsheets programs for PCs, cryptography, to represent mathematically various physical operations such as rotations and reflections on a plane.

Ques 8. What are the properties that addition of Matrices must satisfy? (1 mark)

Ans. The properties that addition of matrices must satisfy include commutative law, associative law, existence of additive identity and additive inverse.

Ques 9. When can two matrices be said to be equal? (1 mark)

Ans. Two matrices are said to be equal when each element in A is equal to each element in B and when they are of the same order.

For Latest Updates on Upcoming Board Exams, Click Here: https://t.me/class_10_12_board_updates


Check-Out: 

CBSE CLASS XII Related Questions

1.
Find the inverse of each of the matrices,if it exists. \(\begin{bmatrix} 2 &  3\\ 5 & 7 \end{bmatrix}\)

      2.
      A committee of 11 members is to be formed from 8 males and 5 females. Let m denotes the number of ways of selecting committee having atleast 6 males and n denotes the number of ways of selecting atleast 3 females then

        • m = n - 8
        • m = n = 68
        • m = n = 78
        • m = n = 65

        3.
        Find the inverse of each of the matrices, if it exists. \(\begin{bmatrix} 1 &  3\\ 2 & 7\end{bmatrix}\)

            4.
            Find the inverse of each of the matrices,if it exists \(\begin{bmatrix} 2 & 1 \\ 7 & 4  \end{bmatrix}\)

                5.
                If (i) A=\(\begin{bmatrix} \cos\alpha & \sin\alpha\\ -\sin\alpha & \cos\alpha \end{bmatrix}\),then verify that A'A=I
                (ii) A= \(\begin{bmatrix} \sin\alpha & \cos\alpha\\ -\cos \alpha & \sin\alpha \end{bmatrix}\),then verify that A'A=I

                    6.

                    The cost of 4 kg onion,3 kg wheat and 2kg rice is Rs 60.The cost of 2 kg onion,4 kg wheat and 6 kg rice is Rs 90. The cost of 6 kg onion 2 kg wheat and 3 kg rice is Rs 70. Find cost of each item per kg by matrix method.

                        CBSE CLASS XII Previous Year Papers

                        Comments



                        No Comments To Show