Unit Matrix - Definition, Identity Matrix Link, Examples
Book A Free Math Class
Unit Matrix - Definition, Identity Matrix Link, Examples
TL;DR
A unit matrix is a square matrix with 1s along its main diagonal and 0s everywhere else — it is simply another name for the identity matrix, written III or InI_nIn. This article focuses on why the two terms are the same object, how "unit" connects to the multiplicative identity, where each name is preferred, and worked examples; the full property list lives in the identity matrix article.
What Is A Unit Matrix?
A unit matrix is a square matrix in which every entry on the main diagonal is 1 and every other entry is 0. In symbols, for I=[aij]I = [a_{ij}]I=[aij], the entry aij=1 when i=j and aij=0 when i≠j.
I3=[100010001]I_3 = \begin{bmatrix} 1 & 0 & 0 \ 0 & 1 & 0 \ 0 & 0 & 1 \end{bmatrix}I3=[100010001]
It is denoted III, or InI_nIn when the order n needs to be explicit — so I2I_2I2 is the 2×2 unit matrix and I4I_4I4 is the 4×4 unit matrix.
Variable glossary. a_{ij} is the entry in row i, column j. The main diagonal runs top-left to bottom-right, the positions where i=j. The subscript n records the order of the matrix.
Is A Unit Matrix The Same As An Identity Matrix?
Yes — and this is the single most important point of the article. The unit matrix and the identity matrix are the same matrix. "Unit matrix" is an older and more British or Indian-textbook term; "identity matrix" is the more common term in modern and US texts. Both name the square grid of 1s on the diagonal and 0s elsewhere.
So everything true of the identity matrix is true of the unit matrix, with no exceptions:
- Multiplying any matrix by it changes nothing: AI=IA=AAI = IA = A.
- Its determinant is 1.
- It is its own inverse: I^{-1} = I.
Because these properties belong to one object under two names, the identity matrix article carries the full treatment — the determinant proof, the inverse argument, the role in solving AX=B. This page exists to settle the terminology and to make the "unit" name mean something, rather than repeat that material.
Why Is It Called A "Unit" Matrix?
The name "unit" is doing real work — it is not arbitrary. In ordinary arithmetic, the unit is the number 1: the value that leaves any number unchanged under multiplication, since 5×1=5. Mathematicians call 1 the multiplicative identity, or simply the unit.
The unit matrix is the matrix world's version of that exact role. Multiplying any square matrix A by it returns A untouched: A×I=AI.
So the matrix earns the name "unit" for the same reason the number 1 does — it is the element that does nothing under multiplication. That is also why the alternative name is "identity matrix": it preserves the identity of whatever it multiplies. Two names, one job.
How Does The Unit Matrix Relate To Other Special Matrices?
The unit matrix sits inside two larger families:
- It is a diagonal matrix — every off-diagonal entry is 0.
- It is a scalar matrix — a diagonal matrix with the same value repeated down the diagonal.
Reading those two facts together: every unit matrix is diagonal and scalar, but most diagonal and scalar matrices are not the unit matrix. Only when the shared diagonal value lands on 1 does the matrix become the unit.
Examples Of A Unit Matrix
Example 1
Write the 2×2 and 3×3 unit matrices. Place 1s on the diagonal, 0s elsewhere: I2=[1001], I3=[100010001]
Final answer: the two matrices above.
Example 2
Which of these is a unit matrix? [1111] or [1001]? Final answer: the second matrix, [1001].
Example 3
Show that A×I=A for A=[6128]. Final answer: A×I=A, confirming the unit-matrix property.
Example 4
The matrix [p00q] is the 2×2 unit matrix. Find p and q. Final answer: p=1 and q=1.
Example 5
Find the determinant of the 4×4 unit matrix. Final answer: |I4|=1.
Example 6
Is the unit matrix its own inverse? Final answer: Yes, I^{-1}=I.
Why The Unit Matrix Matters: "The number 1, rebuilt for matrices"
The unit matrix exists because matrix multiplication needed a "do-nothing" element to make its algebra complete — the same role the number 1 plays for ordinary multiplication. Where that role shows up:
- Defining inverses. The unit matrix is the target that gives "inverse" its meaning.
- Solving systems. Gaussian elimination drives a coefficient matrix toward the unit matrix; the moment the left side becomes I, the right side holds the solution.
- Resetting transformations. In computer graphics, the unit matrix is the transformation that leaves an object exactly where it is.
Students who store "unit matrix" and "identity matrix" as two separate facts waste effort and second-guess themselves on exams when only one name appears. The fix is to read the word "unit" as a pointer to the number 1's job.
Where Students Slip On The Unit Matrix (And How To Fix It)
Mistake 1: Reading "unit matrix" as "a matrix of all 1s"
Correct way: The 1s sit only on the diagonal.
Mistake 2: Treating unit and identity as different matrices
Correct way: They are the same object.
Mistake 3: Calling any scalar matrix the unit matrix
Correct way: The repeated diagonal value must be exactly 1.
Key Takeaways
- A unit matrix is a square matrix with 1s on the main diagonal and 0s elsewhere.
- "Unit matrix" and "identity matrix" are two names for the same object.
- The unit matrix preserves the multiplicative identity.
- It is a special diagonal and scalar matrix, the case where the diagonal value is exactly 1.
- It is not a matrix of all 1s, and not every scalar matrix is the unit matrix.