Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Unit Matrix in Linear Algebra with Concept and Applications

ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

What Is a Unit Matrix Definition Formula Properties and Solved Examples

The concept of unit matrix is essential in mathematics and helps in solving real-world and exam-level problems efficiently. Understanding unit matrices is crucial for topics like linear algebra, matrix inverses, and many mathematical operations encountered in advanced classes and competitive exams. This concept is widely used for simplifying matrix multiplication and system of equations.


Understanding Unit Matrix

A unit matrix is a special type of square matrix where all the elements on the main diagonal are 1, and all other elements are 0. It is also known as the identity matrix. In mathematical notation, the unit matrix of order ‘n’ is represented by In, and is an important concept in matrix multiplication, finding inverse matrices, and understanding algebra of matrices. The unit matrix acts like the number 1 in normal multiplication: multiplying any square matrix by the unit matrix of the same order gives back the original matrix.


Definition and Notation of Unit Matrix

Formally, a unit matrix (or identity matrix) is defined as a square matrix in which all the diagonal elements are 1 and all other elements are zero. The general form for an n × n unit matrix is:

\[ I_n = \begin{bmatrix} 1 & 0 & 0 & \ldots & 0 \\ 0 & 1 & 0 & \ldots & 0 \\ 0 & 0 & 1 & \ldots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \ldots & 1 \\ \end{bmatrix} \]

Here, ‘n’ is the order of the unit matrix, and it is always a square matrix. The symbol I (sometimes with a subscript for order) is used to denote it. The unit matrix is also called the “identity matrix” because it does not change another matrix when used in multiplication.


Examples of Unit Matrix

Let’s look at standard examples of unit matrices of order 2 and 3:

2 × 2 Unit Matrix:

\[ I_2 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ \end{bmatrix} \]

3 × 3 Unit Matrix:

\[ I_3 = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \\ \end{bmatrix} \]


Properties of Unit Matrix

  • If A is any n × n matrix, then \( AI = IA = A \). The unit matrix is the multiplicative identity for square matrices.
  • Multiplying two unit matrices of same order always gives another unit matrix of that order.
  • The inverse of a unit matrix is itself: \( I^{-1} = I \).
  • The determinant of a unit matrix of any order is 1.
  • Every unit matrix is a diagonal matrix and also a scalar matrix with scalar 1.
  • The trace (sum of diagonal elements) of an n × n unit matrix is n. For more on trace, see Trace of a Matrix.

Comparison: Unit Matrix vs. Zero Matrix vs. Scalar Matrix

It’s important to distinguish the unit matrix from other special matrices. Here’s a quick comparison:

Matrix Type Diagonal Elements Other Elements Example (2 × 2)
Unit Matrix (Identity Matrix) All 1 All 0 \( \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ \end{bmatrix} \)
Zero Matrix All 0 All 0 \( \begin{bmatrix} 0 & 0 \\ 0 & 0 \\ \end{bmatrix} \)
Scalar Matrix (k = 3) All 3 All 0 \( \begin{bmatrix} 3 & 0 \\ 0 & 3 \\ \end{bmatrix} \)

To learn more about these, visit Zero Matrix and Scalar Matrix.


How to Construct a Unit Matrix

Constructing a unit matrix of any order is easy. Follow these steps:

1. Decide the order ‘n’. For example, for a 4 × 4 unit matrix, n = 4.

2. Draw a square matrix with ‘n’ rows and ‘n’ columns.

3. Place 1 in every diagonal position where the row number and column number are the same.

4. Fill all other positions with 0.

For example, a 4 × 4 unit matrix looks like this:

\[ I_4 = \begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ \end{bmatrix} \]


Worked Example – Identifying a Unit Matrix

Let’s solve a problem step by step:

Is the following matrix a unit matrix?
\[ A= \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 2 \\ 0 & 0 & 1 \\ \end{bmatrix} \]

1. Check diagonal elements: They are 1, 1, 1.

2. Check all non-diagonal elements: 0, except for the element in row 2, column 3 (which is 2).

3. Since not all non-diagonal elements are zero, this is not a unit matrix.

Final answer: This matrix is not a unit matrix.


Practice Problems

  • Write the unit matrix of order 5.
  • Which of the following matrices are unit matrices? (Give examples and check their elements.)
  • True or False: Every square matrix with 1's on the diagonal is a unit matrix.
  • Find the determinant of a 6 × 6 unit matrix.
  • If \( B \) is a 3 × 3 matrix, what is \( BI_3 \)?

Common Mistakes to Avoid

  • Confusing unit matrix with zero matrix or scalar matrix.
  • Thinking non-square matrices can be unit matrices (unit matrices are always square).
  • Placing numbers other than 1 on the diagonal or non-zero numbers outside the diagonal.
  • Using the term "identity matrix" to mean something different than "unit matrix" (they are the same).

Real-World Applications

The unit matrix is used in computer graphics, engineering calculations, cryptography, and scientific research wherever identity elements are needed for matrix operations. Inverting systems of equations, transforming coordinate axes, and working with matrix multiplication all require unit matrices. Vedantu helps students connect these abstract concepts to practical applications in science and technology.


We explored the idea of unit matrix, how to recognise and construct it, solved example problems, and saw its importance in various mathematical applications. Practice more with Vedantu to build a solid understanding of matrices and their real-world uses.


Related Helpful Pages: Identity Matrix, Algebra of Matrices, Matrix Introduction, Matrix Multiplication, Inverse Matrix, Elementary Operation of Matrix.

FAQs on Unit Matrix in Linear Algebra with Concept and Applications

1. What is a unit matrix in mathematics?

A unit matrix, also called the identity matrix, is a square matrix in which all diagonal elements are 1 and all other elements are 0.

  • It is denoted by I.
  • For an order n matrix, it is written as In.
  • Example (2×2): I2 = [[1, 0], [0, 1]].
  • It acts like the number 1 in matrix multiplication.

2. What is the formula for a unit matrix of order n?

The formula for a unit matrix of order n is: aij = 1 if i = j, and aij = 0 if i ≠ j.

  • All diagonal elements are 1.
  • All non-diagonal elements are 0.
  • It is written as In.
This definition ensures the identity property in matrix algebra.

3. Why is a unit matrix called an identity matrix?

A unit matrix is called an identity matrix because multiplying any compatible matrix by it leaves the matrix unchanged.

  • If A is an n×n matrix, then A × I = I × A = A.
  • It plays the same role as the number 1 in multiplication.
  • This property is called the multiplicative identity property.

4. What is an example of a 3×3 unit matrix?

A 3×3 unit matrix has 1s on the main diagonal and 0s elsewhere.

  • I3 = [[1, 0, 0], [0, 1, 0], [0, 0, 1]].
  • There are three diagonal elements, each equal to 1.
  • All other six elements are 0.
This is the identity matrix of order 3.

5. What is the difference between a unit matrix and a diagonal matrix?

The difference is that a unit matrix has all diagonal elements equal to 1, while a diagonal matrix can have any numbers on its diagonal.

  • Unit matrix: diagonal entries are all 1.
  • Diagonal matrix: diagonal entries can be any real numbers.
  • Every unit matrix is a diagonal matrix, but not every diagonal matrix is a unit matrix.

6. Is a unit matrix always a square matrix?

Yes, a unit matrix is always a square matrix because it must have the same number of rows and columns.

  • It is defined only for order n×n.
  • Rectangular matrices cannot have a proper identity form.
  • The notation In clearly indicates a square matrix.

7. What happens when you multiply a matrix by a unit matrix?

When you multiply a matrix by a unit matrix, the result is the original matrix itself.

  • If A is 2×2, then A × I2 = A.
  • Example: If A = [[2, 3], [4, 5]], then A × I2 = [[2, 3], [4, 5]].
  • This shows the identity property of the unit matrix.

8. What is the determinant of a unit matrix?

The determinant of a unit matrix of any order is 1.

  • For I2, det(I2) = 1.
  • For I3, det(I3) = 1.
  • This is because the determinant of a diagonal matrix equals the product of its diagonal entries, and all entries are 1.

9. What is the inverse of a unit matrix?

The inverse of a unit matrix is the unit matrix itself.

  • (In)-1 = In.
  • This is because In × In = In.
  • It is the only matrix that is its own inverse in this way.

10. What are the main properties of a unit matrix?

The unit matrix has key properties that make it fundamental in matrix algebra.

  • Multiplicative identity: A × I = I × A = A.
  • Determinant: det(In) = 1.
  • Inverse: (In)-1 = In.
  • Transpose: (In)T = In.
  • All diagonal elements are 1 and non-diagonal elements are 0.
These properties make the unit matrix essential in linear algebra and matrix operations.