# Multiplication of Two Matrices

Here we will learn the process of Multiplication of two matrices.

Two matrices A and B are conformable (compatible) for multiplication

(i) AB if the number of columns in A = the number of rows in B

(ii) BA if the number of columns in B = the number of rows in A.

To find the product AB when A and B are conformable for multiplication AB

Let A = $$\begin{bmatrix} a & b\\ c & d \end{bmatrix}$$ and B = $$\begin{bmatrix} x & y & z\\ l & m & n \end{bmatrix}$$

A is a 2 × 2 matrix and B is a 2 × 3 matrix.

Therefore, the number of columns in A = the number of rows in B = 2.

Therefore, AB can be found because A, B are conformable for multiplication AB.

The product AB is defined as

AB = $$\begin{bmatrix} a & b\\ c & d \end{bmatrix}$$ $$\begin{bmatrix} x & y & z\\ l & m & n \end{bmatrix}$$

= $$\begin{bmatrix} a(x) + b(l) & a(y) + b(m) & a(z) + b(n)\\c(x) +d(l) & c(y) + d(m) & c(z) + d(n) \end{bmatrix}$$

Clearly, the product BA is not possible because the number of columns in B(=3) ≠ the number of rows in A(=2).

Note: Given two matrices A and B, AB may be found but BA may not be found. It is also possible that neither AB nor BA can be found, or both AB and BA can be found.

Solved Example on Multiplication of Two Matrices:

1. Let A = $$\begin{bmatrix} 2 & 5\\ -1 & 3 \end{bmatrix}$$ and B = $$\begin{bmatrix} 2 & 5\\ -1 & 3 \end{bmatrix}$$. Find AB and BA. Is AB = BA?

Solution:

Here, A is of the order 2 × 2 and B is of the order 2 × 2.

So, the number of columns in A = the number of rows in B. Hence, AB can be found. Also, the number of columns in B = the number of rows in A. Hence, BA can also found.

Now,

AB = $$\begin{bmatrix} 2 & 5\\ -1 & 3 \end{bmatrix}$$ $$\begin{bmatrix} 2 & 5\\ -1 & 3 \end{bmatrix}$$

= $$\begin{bmatrix} 2 × 1 + 5 × 4 & 2 × 1 + 5 × (-2)\\ (-1) × 1 + 3 × 4 & (-1) × 1 + 3 × (-2) \end{bmatrix}$$

= $$\begin{bmatrix} 22 & -8\\ 11 & -7 \end{bmatrix}$$

BA = $$\begin{bmatrix} 2 & 5\\ -1 & 3 \end{bmatrix}$$ $$\begin{bmatrix} 2 & 5\\ -1 & 3 \end{bmatrix}$$

= $$\begin{bmatrix} 1 × 2 + 1 × (-1) & 1 × 5 + 1 × 3\\ 4 × 2 + (-2) × (-1) & 4 × 5 + (-2) × 3 \end{bmatrix}$$

= $$\begin{bmatrix} 1 & 8\\ 10 & 14 \end{bmatrix}$$.

Clearly, $$\begin{bmatrix} 22 & -8\\ 11 & -7 \end{bmatrix}$$ ≠ $$\begin{bmatrix} 1 & 8\\ 10 & 14 \end{bmatrix}$$.

Therefore, AB ≠ BA.

2. Let X = $$\begin{bmatrix} 11 & 4\\ -5 & 2 \end{bmatrix}$$ and I = $$\begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix}$$. Prove that XI = IX = A.

Solution:

XI = $$\begin{bmatrix} 11 & 4\\ -5 & 2 \end{bmatrix}$$ $$\begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix}$$

= $$\begin{bmatrix} 11 × 1 + 4 × 0 & 11 × 0 + 4 × 1\\ -5 × 1 + 2 × 0 & -5 × 0 + 2 × 1 \end{bmatrix}$$

= $$\begin{bmatrix} 11 & 4\\ -5 & 2 \end{bmatrix}$$ = X

IX = $$\begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix}$$$$\begin{bmatrix} 11 & 4\\ -5 & 2 \end{bmatrix}$$

= $$\begin{bmatrix} 1 × 11 + 0 × (-5) & 1 × 4 + 0 × 2\\ 0 × 11 + 1 × (-5) & 0 × 4 + 1 × 2 \end{bmatrix}$$

= $$\begin{bmatrix} 11 & 4\\ -5 & 2 \end{bmatrix}$$ = X

Therefore, AI = IA =A. (Proved)

Didn't find what you were looking for? Or want to know more information about Math Only Math. Use this Google Search to find what you need.

## Recent Articles

1. ### Roman Numerals | System of Numbers | Symbol of Roman Numerals |Numbers

Feb 22, 24 04:21 PM

How to read and write roman numerals? Hundreds of year ago, the Romans had a system of numbers which had only seven symbols. Each symbol had a different value and there was no symbol for 0. The symbol…

2. ### Worksheet on Roman Numerals |Roman Numerals|Symbols for Roman Numerals

Feb 22, 24 04:15 PM

Practice the worksheet on roman numerals or numbers. This sheet will encourage the students to practice about the symbols for roman numerals and their values. Write the number for the following: (a) V…

3. ### Roman Symbols | What are Roman Numbers? | Roman Numeration System

Feb 22, 24 02:30 PM

Do we know from where Roman symbols came? In Rome, people wanted to use their own symbols to express various numbers. These symbols, used by Romans, are known as Roman symbols, Romans used only seven…

4. ### Place Value | Place, Place Value and Face Value | Grouping the Digits

Feb 19, 24 11:57 PM

The place value of a digit in a number is the value it holds to be at the place in the number. We know about the place value and face value of a digit and we will learn about it in details. We know th…