# Identity Matrix

**Identity Matrix **is the matrix which is n × n square matrix where the diagonal consist of ones and the other elements are all zeros. It is also called as a Unit Matrix or Elementary matrix. It is represented as I_{n} or just by I, where n represents the size of the square matrix. For example,

We can also say, the identity matrix is a type of diagonal matrix, where the principal diagonal elements are ones, and rest elements are zeros. Let’s study about its definition, properties and practice some examples on it.

## 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 “I_{n”} 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 **×** 2 and 3 **×** 3 identity matrix is given below:

**2 × 2 Identity Matrix**

This is also called the identity matrix of order 2.

**3× 3 Identity Matrix**

This is known as the identity matrix of order 3 or unit matrix of order 3 **×** 3.

Identity Matrix is donated by I_{n × n, }where n **×** n shows the order of the matrix.

A **×** I _{n × n} = A, A = any square matrix of order n **× **n.

**Also, read:**

## 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 **×** 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 **×** n” matrix C, we get

I_{m}C = C = CI_{n}

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 **×** 4 matrix as it has 2 rows and 4 columns.

Let’s multiply the 2 **× 2** identity matrix by C.

Hence proved.

**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}\)

DC = \(\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 × 4 order unit matrix.**

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

Thus, the unit matrix of order 4 **× 4 or the identity matrix of order 4 can be written as:**

**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 **×** 4, which is not a square matrix.

**Example 3: Check the following matrix is Identity matrix; ****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.

Visit BYJU’S – The Learning App to explore a fun and interesting way to learn Mathematics.

## Frequently Asked Questions on Identity Matrix

### What do you mean by an identity matrix?

### What is the identity matrix of a 2×2?

[1 0 0 1].

### What is the identity matrix of a 3×3?

[1 0 0 0 1 0 0 0 1].

### Is the identity matrix nonsingular?

### How do you create an identity matrix?

1 0 0 0

0 1 0 0

0 0 1 0

0 0 0 1