Matrix Multiplication: Definition, Types, Properties and Formula

Collegedunia Team logo

Collegedunia Team

Content Curator

A matrix is nothing but a rectangular table (which we generally call an Array) of arranged numbers, symbols, expressions in the form of rows and columns. Numerous operations can be conducted on matrices such as addition, subtraction, multiplication, etc. Multiplication of matrix additionally called Matrix Multiplication is one of those operations in linear algebra which are mainly performed on matrices. But every operation on the matrix comes with certain terms and conditions. Likewise, for Matrix Multiplication to be successful, matrices involved Let’s say A and B are the defined matrices, then both A and B should be compatible. Because at least 2 matrices are required to perform the operation of matrix multiplication, Hence Matrix Multiplication is a binary operation as well.

Read More: Statistics Formula

Key Terms:- Matrix multiplication, Expressions, Symbols, Numbers, Cross product, Matrices, Addition, Subtraction, Multiplication, Division, Numerous operations, Linear algebra


Matrix Multiplication

[Click Here for Sample Questions]

If A and B are the two matrices, then their product (X) is denoted by:

X = AB

Hence we can conclude that the multiplication of two matrices is the dot product of two matrices.

The video below explains this:

Matrices Detailed Video Explanation:

Also Read:


Types of Matrices

[Click Here for Sample Questions]

  • Column Matrix: Column matrices are those in which any number of rows and only one column is present.
  • Row Matrix: A row matrix contains any number of columns but only one row. 
  • Horizontal Matrix: Horizontal matrix is one in which the number of rows is less than the number of columns.
  • Vertical Matrix: It is a type of matrix where the number of rows is greater than the number of columns.
  • Square Matrix: A square matrix is a matrix of an order ab, with condition satisfying, a=b.
  • Rectangular Matrix: A rectangular matrix is a matrix having an order of cd, such that c d.
  • Null/Zero Matrix: Null or zero matrix is a matrix of any order but all of its elements would be zero.
  • Scalar Matrix: A scalar matrix is a square matrix in which the diagonal elements are equal while every non-diagonal element is zero.
  • Diagonal Matrix: A diagonal matrix is a square matrix where P=a| || |a| || || |x| |, provided all the elements except the elements in the leading diagonals are zero.
  • Principal Diagonal of a Matrix: The first diagonal element of the first row to the last diagonal element of the last row is known as the principal diagonal of a matrix in a square matrix. 
  • Identity/Unit Matrix: Identity matrix also refers to a square matrix in which every diagonal element is equal to 1 and every non-diagonal element is 0.
  • Singular Matrix: A singular matrix is a square matrix P when the determinant of P is denoted by det (P) or |P| is zero which means, |P|= 0 if otherwise, it is known as a non-singular matrix.
  • Equal Matrices: Two matrices suppose, A and B are said to be equal if both have the same order and corresponding elements of the matrices are all equal.

Read More: Area of Parallelogram


Concept of Matrix Compatibility

[Click Here for Sample Questions]

Let’s say we have two matrices A and B, so they will be compatible only when the number of columns in A should be equal to the number of rows in B. Also if A is a matrix of order m×n and B is the matrix of order n×p, then the matrices A and B are compatible.

Matrix Multiplication Formula and Rules 

A . B

Dimensions of AB
Dimensions of AB

a×b b×c

While multiplying the matrices, the first row will be multiplied and then the successive rows will be filled accordingly. Consider two matrices of order 3×3,

A = [a b c d e f g h i]  and B = [j k l m n o p q r]

Then the resultant matrix multiplication would be:

AB = [a b c d e f g h i][j k l m n o p q r]

= [aj+bm+cp] [ak+bn+cq] [al+bo+cr] [dj+em+fp] [dk+en+fq] [dl+eo+fr] [gj+hm+ip] [gk+mn+iq] [gl+ho+ir]

Also Read:


Matrix Multiplication Categorization

[Click Here for Sample Questions]

  • 2×2 Matrix Multiplication

A = a1 b1 c1 d1 and B = a2 b2 c2 d2

AB = (a1a2+b1c2) (a1b2 + b1d2) (c1a2+d1c2) (c1b2+d1d2)

  • 3×3 Matrix Multiplication

A = [a1 b1 c1 d1 e1 f1 g1 h1 i1] and B = [a2 b2 c2 d2 e2 f2 g2 h2 i2]

Then AB= [(a1a2+b1d2+c1g2) (a1b2+b1e2+c1h2) (a1c2+b1f2+c1i2) (d1a2+e1d2+f1g2) (d1b2+e1e2+f1h2) (d1c2+e1f2+f1i2) (g1a2+h1d2+i1g2) (g1b2+h1e2+i1h2) (g1c2+h1f2+i1i2)]


Properties of Matrix Multiplication

[Click Here for Sample Questions]

Matrix multiplication comes with quite a wide variety of properties, some of which are below.

  • Commutative Property

The multiplication of matrices is non=commutative in nature. Let’s say there are two matrices namely A and B. Then AB ≠ BA.

Let’s look at one example to clearly understand this.

A = [1 2 3 4] and B = [5 6 7 8]

AB = [1 2 3 4] [5 6 7 8] =>[1×5+2×7 1×6+2×8 3×5+4×7 3×6+4×8] =>[14 22 43 50]

BA = [1 2 3 4] [5 6 7 8] =>[5×1+6×3 5×2+6×4 7×1+8×3 7×2+8×4]

=[23 34 31 46]

Hence it’s clearly proved that AB ≠ BA

  • Associative Property

The multiplication of matrices is associative in nature i.e. (AB) C = A (BC)

Let’s look at one example to clearly understand this.

A = [1 2 3 4] , B = [5 6 7 8] , C = [9 10 11 12]

AB = [1 2 3 4] [5 6 7 8] = [19 22 43 50] and

BC = [5 6 7 8] [9 10 11 12] => [111 122 151 166]

Now (AB) C = [19 22 43 50] [9 10 11 12] => [171+242 190+264 387+550 430+600]

=> [413 454 937 1030]

A(BC) = [1 2 3 4] [111 122 151 166] => [111+302 122+332 333+604 366+664]

=> [413 454 937 1030]

Clearly, (AB) C = A (BC)

  • Distributive Property

Matrix Multiplication is distributive in nature i.e. A (B+C) = AB + AC

A = [1 2 3 4] , B = [5 3 2 4] , C = [1 3 5 7]

B+C = [5 3 2 4 + 1 3 5 7] => [6 6 7 11]

A(B+C) = [1 2 3 4] [6 6 7 11] => [20 28 46 62]

AB = [1 2 3 4] [5 3 2 4] => [9 11 23 25]

AC = [1 2 3 4] [1 3 5 7] => [11 17 23 37]

AB + BC = [9 11 23 25] + [11 17 23 37] => [20 28 46 62]

Clearly, A (B+C) = AB + AC

  • Multiplicative Identity Property

Multiplicative identity property is, 1.I = I.A = A

Where I is an identity matrix of order n and A is a matrix of order m×n

A = [2 3 1 6] and I = [1 0 0 1] => [2 3 1 6] = A

  • Matrix Multiplication by Scalar/Integer/Constant

When we multiply an integer with a matrix, the resultant is simply known as a Scalar Multiplication.

Let’s say A = [34 -109 5] is being multiplied by 4

A = [4 × 34 -109 5] => [1216 – 403 620]

  • Transpose Property

Suppose we have two matrices A and B, then the transpose property is defined as below.

(AB)T = BT AT, where T is the transpose

A = [1 2 3 4] and B = [1 3 5 7]

AB = [1 2 3 4] [1 3 5 7] => [1 + 103 + 143 + 209 + 28]

= [11 17 23 37]

(AB)T = [11 23 17 37] , AT = [1 3 2 4] and BT = [1 5 3 7]

Therefore, BT AT = [1 5 3 7] [1 3 2 4] => [1 + 103 + 203 + 149 + 28]

= [11 23 17 37]

  • Dimension Property

Suppose that Matrix A is of order m×n and matrix B is of order n×a

Then multiplication of A and B would be m×a

If A is of order 2×3 and B is of order 3×4, then multiplication of AB would be of order 2×4.

  • Multiplication of Matrix by zero

Suppose, A = [11 23 17 37] and we have a zero matrix in which all the numbers would be zero i.e. 

[0 0 0 0]

Then the product would be equal to [0 0 0 0] with no doubt.

Also Read:


Matrix Multiplication Algorithms

[Click Here for Sample Questions]

There are mainly 4 kinds of algorithms as per the significant amount of research in the field of matrix multiplication.

  • Iterative Algorithm
  • Sub-Cubic Algorithm
  • Divide and Conquer Algorithm
  • Parallel and Distributed Algorithm

And for online multiplication, these are used in a wide variety of languages such as C, Java, etc.

Now, this is the time we must be knowing where these matrices are used in our real life.

Read More: Differential Equations Applications


Applications of Matrices

[Click Here for Sample Questions]

  • Cryptography

The process of encrypting data so that only authorized and destined users can access and know the meaning of the message. Two keys are used in this process – private and public key, and hence comes the role of matrices.

  • Wireless Communication

Matrices are used to define, extract/fetch and process the encoded form of data in the signal. We can easily predict and detect issues in wireless communication using matrices. Matrices can also be used to process and display digitally formed images.

  • Computer Graphics

To project 3-dimensional images into 2-dimensional planes, metrics are used. Also, a digital image is nothing but the representation of various patterns combined and arranged in a defined manner in graphics.

Also Read:


Things to Remember

  • The first and foremost condition for successful matrix multiplication is that matrices should be compatible.
  • If A is a matrix having order m×n while Matrix B is of order n×q, then their product would be equal to m×p.
  • Rows by column multiplication are performed in the Matrix Multiplication process.
  • If the resultant matrix of multiplication of any 2 given matrices is a zero matrix, then it is not compulsory to be a zero matrix for one of them.
  • Matrix Multiplication is both associative and distributive.

Sample Questions

Ques. Find the product of the given two matrices. A = [11 23 17 37] and B = [1 2 4 3] (2 marks)

Ans. The Product of given matrix would be:

Matrix Multiplication => AB = [11 23 17 37] [1 2 4 3]

= [11+92 22+69] [17+148 34+111] => [103 91 165 145]

Ques. Which of the given values of x and y make the following pair of matrices equal [3x+7 5 y + 1 2-3x] = [0 y-2 8 4] (3 marks)
(A) x = -1/3, y = 7
(B) Not possible to find
(C) y = 7, x = -2/3
(D) x = -1/3, y = -2/3

Ans. For the given equation, the correct solution is Option (B). 

Explanation: Since the given equations are equal, we can equate the corresponding elements. Thus, we get: 3x + 7 =0 = > x= -7/3 

y-2 = 5 => y = 7 

y + 1 = 8 => y = 7 

2-3x = 4 => x= -2/3 

Since x and y cannot have two values, the values of x and y are impossible to find. Hence, option (B) is the correct answer.

Ques. If A = [3 -2 4 -2] and I = [1 0 0 1] , find k so that A2 = KA-2I.  (3 marks)

Ans. Given that, A2 = kA – 21 (1) 

To find the value of k, we will substitute the A and I value in (1), 

we get [3 – 24 – 2][3 – 24 – 2] = K [3 – 24 – 2] – 2 [1 0 0 1] ,

Now, equate the corresponding values in the matrices, we can find the value of 

k 1 = 3k - 2 => k = 1 

-2 = -2k => k = 1 

4 = 4k => k = 1 

-4 = -2k - 2 => k= 1 

It is noticed that all the k values are equal to 1. Hence, the value of k is 1.

Ques. Given 3 [2x 2y 2z 2w] = [x6 – 12w]  + [4x + yz + w3] determine the values of x, y, z and w.  (3 marks)

Ans. Given that, 

3 [2x 2y 2z 2w] =  [x6 – 12w] +  [4x+yz+w3]

 [6x 6y 6z 6w] =    [x+46+x+y – 1+z+w2w+3]

To find the values of x, y, z and w, equate the corresponding elements, and we get 

6x = x + 4 => x= 4/5 

6z = -1 + Z+W ......(1)

6y = 6 + x + y ...... (2) 

6w = 2w + 3 => w = 3/4

Substitute the value of w in equation (1), we get the value of z. 

6z = -1 + 2 + 3/4 => 6z = 7/4 => z= 7/24

Similarly, substitute the value of x in equation (2), we get the value of y. 

6y = 6 + 4/5 + y => y = 34/25. 

Hence, the values are: 

X = 4/5, y = 34/25, z = 7/24, and w = ¾

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 vector and the cartesian equations of the lines that pass through the origin and(5,-2,3).

      2.

      Let A=\(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\),show that(aI+bA)n=anI+nan-1bA,where I is the identity matrix of order 2 and n∈N

          3.

           If \(\frac{d}{dx}f(x) = 4x^3-\frac{3}{x^4}\) such that \(f(2)=0\), then \(f(x)\) is

            • \(x^4+\frac{1}{x^3}-\frac{129}{8}\)

            • \(x^3+\frac{1}{x^4}+\frac{129}{8}\)

            • \(x^4+\frac{1}{x^3}+\frac{129}{8}\)

            • \(x^3+\frac{1}{x^4}-\frac{129}{8}\)

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

                5.
                Let f: R→R be defined as f(x) = 3x. Choose the correct answer.

                  • f is one-one onto
                  • f is many-one onto
                  • f is one-one but not onto
                  • f is neither one-one nor onto

                  6.

                  If A=\(\begin{bmatrix}2&-1&1\\-1&2&-1\\1&-1&2\end{bmatrix}\)verify that A3-6A2+9A-4 I=0 and hence find A-1 

                      CBSE CLASS XII Previous Year Papers

                      Comments



                      No Comments To Show