# Identity Matrix

Identity Matrix is also called as a Unit Matrix or Elementary matrix.

## Identity Matrix Definition

An identity matrix is a square matrix in which all the elements of principal diagonals are one and all other elements are zeros. It is denoted by the notation “In” or simply “I”. If any matrix is multiplied with the identity matrix, the result will be given matrix. The elements of the given matrix remain unchanged. In other words,  If all the main diagonal of a square matrix are 1’s and rest all o’s, it is called an identity matrix. Here, the 2 x 2 and 3 x 3 identity matrix is given below:

2 x 2 Identity Matrix 3 x 3 Identity Matrix Identity Matrix is donated by In X n , where n X n shows the order of the matrix.

A X I n X n = A, A = any square matrix of order n X n.

## Properties of Identity Matrix

1) It is always a Square Matrix

These Matrices are said to be square as it always has the same number of rows and columns. For any whole number n, there’s a corresponding Identity matrix, n x n.

2) By multiplying any matrix by the unit matrix gives the matrix itself.

As the multiplication is not always defined, so the size of the matrix matters when we work on matrix multiplication.

Like, for “m x n” matrix C, we get

ImC = C = CIn

So the size of the matrix is important as multiplying by the unit is like doing it by 1 with numbers. For example:

C = $\begin{bmatrix} 1 & 2 & 3 &4 \\ 5& 6& 7 & 8 \end{bmatrix}$

The above is 2 x 4 matrix as it has 2 rows and 4 columns.

3) We always get an identity after multiplying two inverse matrices.

If we multiply two matrices which are inverses of each other, then we get an identity matrix.

C = $\begin{bmatrix} 0 &1 \\ -2& 1 \end{bmatrix}$

D= $\begin{bmatrix} \frac{1}{2} &- \frac{1}{2} \\ 1& 0 \end{bmatrix}$

CD= $\begin{bmatrix} 0 &1 \\ -2& 1 \end{bmatrix}$$\begin{bmatrix} \frac{1}{2} &- \frac{1}{2} \\ 1& 0 \end{bmatrix}$ = $\begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix}$

DA = $\begin{bmatrix} \frac{1}{2} &- \frac{1}{2} \\ 1& 0 \end{bmatrix}$ $\begin{bmatrix} 0 &1 \\ -2& 1 \end{bmatrix}$ = $\begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix}$

### Identity Matrix Examples

Example 1: Write an example of 4 X 4 order unit matrix.

Solution:

The unit matrix is the one having ones on the main diagonal & other entries as ‘zeros’.

Example 2: Check the following matrix is Identity matrix?

V= $\begin{bmatrix} 1 & 0 & 0 &0 \\ 0& 1 & 0 &0 \\ 0 & 0 & 1 & 0\\ \end{bmatrix}$

Solution: No, It’s not an identity matrix, because it is of the order 3 X 4, which is not a square matrix.

Example 3:

B = $\begin{bmatrix} 1 & 1 & 1\\ 1 & 1& 1\\ 1 & 1 & 1 \end{bmatrix}$

Solution: No, It is not a unit matrix as it doesn’t contain the value of 0 beside one property of having diagonal values of 1.