LINEAR ALGEBRA • SYSTEMS OF LINEAR EQUATIONS & MATRICES

Identity Matrices

The special matrix that leaves every other matrix unchanged — the "1" of the matrix world.

Historical Context & Motivation

Imagine you're multiplying a number by 1. The answer is always the same number you started with. Mathematicians wanted to find something that works the same way for matrices (rectangular grids of numbers). That search led to one of the most important building blocks in all of linear algebra: the identity matrix.

The story of matrices stretches back centuries, growing out of efforts to solve systems of equations and to organize data. As mathematicians developed rules for adding and multiplying matrices, they realized they needed a special matrix that acted like the number 1 does for regular multiplication. Let's see how that idea developed over time.

1683
Seki Takakazu & Determinants
Japanese mathematician Seki Takakazu introduced early ideas about arrays of numbers (determinants), laying groundwork for matrix theory long before the word "matrix" existed.
1850
James Joseph Sylvester Coins "Matrix"
English mathematician Sylvester used the word "matrix" to describe a rectangular arrangement of numbers, giving the concept its modern name.
1858
Arthur Cayley Defines Matrix Algebra
Cayley published the first systematic rules for matrix multiplication and explicitly described the identity matrix as the element that leaves any matrix unchanged when multiplied.
1900s
Matrices Enter Physics & Engineering
Identity matrices became essential in quantum mechanics, computer graphics, and data science — anywhere transformations need a "do nothing" starting point.

So here's the question this lesson answers: What does a matrix look like if multiplying it by any other matrix gives back the original matrix? That special matrix is the identity matrix, and understanding it is the key to unlocking inverse matrices, solving systems of equations, and much more.

Core Principles & Definitions

An identity matrix is a square matrix (same number of rows and columns) that has 1s along its main diagonal and 0s everywhere else. It is usually written as I, sometimes with a subscript showing its size (like I₃ for a 3 × 3 identity matrix). Here are the foundational ideas you need to know.

1

Square Shape

An identity matrix must be square — it has the same number of rows as columns. Common sizes are 2 × 2, 3 × 3, and 4 × 4.
2

Ones on the Diagonal

The main diagonal runs from the top-left corner to the bottom-right corner. Every entry on this diagonal is 1.
3

Zeros Everywhere Else

Every entry that is NOT on the main diagonal is 0. These zeros are what make the identity matrix special.
4

Multiplicative Identity Property

When you multiply any matrix A by the identity matrix I, the result is just A. In symbols: A × I = A and I × A = A.
5

Unique for Each Size

There is exactly one identity matrix for every size. The 2 × 2 identity matrix is different from the 3 × 3 identity matrix, but each one plays the same role for matrices of its size.
KEY TAKEAWAY
Think of the identity matrix like a mirror at a photo booth that doesn't add any filters or effects. When a matrix "looks into" the identity matrix through multiplication, it sees an exact copy of itself — nothing changes. Just as multiplying any number by 1 gives you the same number, multiplying any matrix by the identity matrix gives you the same matrix.

Visual Explanation

The diagram below shows what 2 × 2, 3 × 3, and 4 × 4 identity matrices look like. Notice the clear pattern: 1s march along the main diagonal from top-left to bottom-right, and every other entry is 0. No matter how large the identity matrix gets, this pattern holds.

Each identity matrix has 1s on the main diagonal (shown by the highlighted cells and dashed line) and 0s everywhere else. The pattern is the same no matter how large the matrix gets.

In the diagram above, the main diagonal is the line of entries running from the top-left corner to the bottom-right corner. Every entry on this diagonal is 1, and every entry off the diagonal is 0. You can write any identity matrix by following this simple rule, whether the matrix is 2 × 2 or 100 × 100.

Mathematical Framework

Now let's express the identity matrix and its key property using mathematical notation. Don't worry — we'll break every part down step by step.

IDENTITY MATRIX DEFINITION
Iₙ = [δᵢⱼ] where δᵢⱼ = 1 if i = j, δᵢⱼ = 0 if i ≠ j
Here, n is the size of the matrix, i is the row number, and j is the column number. The symbol δᵢⱼ (called the Kronecker delta) simply says: "put a 1 if the row and column numbers match, and a 0 if they don't."
MULTIPLICATIVE IDENTITY PROPERTY
A × Iₙ = A and Iₙ × A = A
For any matrix A whose dimensions are compatible, multiplying by Iₙ returns A unchanged. This is why it's called the "identity" — it preserves the identity of any matrix it touches.
2 × 2 IDENTITY MATRIX
I₂ = [ 1 0 ] [ 0 1 ]
This is the smallest identity matrix. It has 1s at positions (1,1) and (2,2) and 0s at (1,2) and (2,1).
RELATIONSHIP TO INVERSE MATRICES
A × A⁻¹ = I and A⁻¹ × A = I
The identity matrix appears whenever you talk about inverse matrices. If a matrix A has an inverse A⁻¹, then multiplying them together gives the identity matrix. Think of it like: 5 × (1/5) = 1.

The key idea to remember is that the identity matrix plays the exact same role in matrix multiplication that the number 1 plays in regular multiplication. Whenever you see I in a matrix equation, you can think of it as the "do nothing" matrix.

How Matrix Multiplication by I Works

Let's see why multiplying a matrix by the identity matrix gives back the original. The diagram below walks through a 2 × 2 example, showing each dot product that makes up the result.

When you multiply matrix A = [3, 7; 2, 5] by I₂, each dot product picks out exactly one entry from A because the identity column has only one 1 in it. The result is the original matrix A.

Here's the magic: when you take the dot product of any row of A with a column of I, the 1 in the identity column "selects" exactly one element from that row, and the 0s cause the other elements to vanish. That's why the result is always the original matrix. The identity matrix acts like a filter that lets everything through unchanged.

💡 PATTERN INSIGHT
Column j of the identity matrix has a single 1 in row j. When you dot any row with that column, the 1 picks out the entry in position j and the 0s eliminate everything else. This is why every entry of the product lands back in its original spot.

Worked Example

Let's work through a full example with a 3 × 3 matrix to make sure the identity property holds for larger matrices too.

Verify that B × I₃ = B
1
Step 1 — Write Down Matrix B and I₃Let B = [ 4 −1 6 ; 0 3 2 ; 5 −2 8 ] and I₃ = [ 1 0 0 ; 0 1 0 ; 0 0 1 ]. We will multiply B × I₃ and check that the result equals B.
2
Step 2 — Compute Row 1 of the ProductRow 1 of B is [4, −1, 6]. We dot it with each column of I₃. Column 1: (4 × 1) + (−1 × 0) + (6 × 0) = 4. Column 2: (4 × 0) + (−1 × 1) + (6 × 0) = −1. Column 3: (4 × 0) + (−1 × 0) + (6 × 1) = 6.
Row 1 of the product = [4, −1, 6] ✓ matches Row 1 of B.
3
Step 3 — Compute Row 2 of the ProductRow 2 of B is [0, 3, 2]. Column 1: (0 × 1) + (3 × 0) + (2 × 0) = 0. Column 2: (0 × 0) + (3 × 1) + (2 × 0) = 3. Column 3: (0 × 0) + (3 × 0) + (2 × 1) = 2.
Row 2 of the product = [0, 3, 2] ✓ matches Row 2 of B.
4
Step 4 — Compute Row 3 of the ProductRow 3 of B is [5, −2, 8]. Column 1: (5 × 1) + (−2 × 0) + (8 × 0) = 5. Column 2: (5 × 0) + (−2 × 1) + (8 × 0) = −2. Column 3: (5 × 0) + (−2 × 0) + (8 × 1) = 8.
Row 3 of the product = [5, −2, 8] ✓ matches Row 3 of B.
5
Step 5 — State the ConclusionCombining all three rows, the product B × I₃ = [ 4 −1 6 ; 0 3 2 ; 5 −2 8 ] = B. The identity matrix preserved every entry of B, exactly as predicted by the identity property.
B × I₃ = B ✓ Verified!

Identity Matrix vs. Other Special Matrices

The identity matrix is one of several special matrices you'll encounter in linear algebra. The table below compares it to other common types so you can see how they're alike and how they differ.

Comparison of the identity matrix with other special matrices
Matrix TypeWhat Makes It SpecialRelationship to I
Identity Matrix (I)1s on the main diagonal, 0s everywhere elseIt IS the identity! A × I = A.
Zero Matrix (O)Every entry is 0A × O = O. The zero matrix annihilates — the opposite of I.
Diagonal MatrixNon-zero entries only on the diagonal (values can differ)I is a special diagonal matrix where every diagonal entry equals 1.
Scalar MatrixSame constant on the diagonal, 0s elsewhere (like 3I)A scalar matrix is just a constant times I. For example, 3I₂ = [3,0;0,3].
Inverse Matrix (A⁻¹)"Undoes" A so that A × A⁻¹ = IThe product of a matrix and its inverse is always I.
KEY TAKEAWAY
The identity matrix is to matrix multiplication what the number 1 is to regular multiplication, and what the number 0 is to addition. Each of these is a neutral element — it lets you perform the operation without changing the value you started with. Recognizing neutral elements is a recurring theme in algebra and will come up again when you study groups and rings in advanced math.

Connection to Advanced Topics

The identity matrix isn't just a classroom concept — it shows up everywhere in more advanced math and real-world applications. Here's a quick look at where the identity matrix leads.

How identity matrices connect to advanced topics
Concept in This LessonAdvanced ExtensionWhy It Matters
A × I = AInverse matrices: A × A⁻¹ = ISolving systems of equations by finding a matrix that "undoes" another
Diagonal of 1sDeterminants: det(I) = 1The determinant of the identity matrix is always 1, a benchmark for understanding other determinants
I preserves a matrixEigenvalues: det(A − λI) = 0I appears in the characteristic equation used to find eigenvalues, which reveal stretching behavior of transformations
Neutral element for multiplicationComputer graphicsTransformations start from the identity matrix; rotations, scaling, and translations are built by modifying I

As you move deeper into linear algebra, you'll find the identity matrix hiding inside almost every major formula. Mastering it now gives you a strong foundation for topics like inverse matrices, eigenvalues, and matrix transformations in computer graphics and engineering.

Practice Problems

PROBLEM 1CONCEPTUAL
In your own words, explain why the identity matrix is called the "identity" matrix. What does it do when multiplied by another matrix, and what everyday number does it behave like?
PROBLEM 2BASIC CALCULATION
Write out the 3 × 3 identity matrix I₃. Then compute the product I₃ × C, where C = [ 2 0 −4 ; 1 5 3 ; −3 7 6 ].
PROBLEM 3INTERMEDIATE
A student claims that the matrix M = [ 1 0 ; 0 0 ] is a 2 × 2 identity matrix. Is this correct? Explain your reasoning by multiplying M by A = [ 3 5 ; 2 4 ] and checking whether M × A = A.
PROBLEM 4APPLIED
In a video game, a character's position is stored as a 2 × 1 column vector. Multiplying this vector by a 2 × 2 transformation matrix moves the character. If the game needs a "no movement" option, which 2 × 2 matrix should it use? Write out this matrix and explain why it guarantees the character stays in place.
PROBLEM 5CRITICAL THINKING
Suppose you have a matrix A and you know that A × B = I and B × A = I. What can you conclude about the relationship between A and B? Could there be more than one matrix B with this property for a given A? Explain your reasoning.

Lesson Summary

The identity matrix (written as I or Iₙ) is a square matrix with 1s on the main diagonal and 0s everywhere else. Its defining property is the multiplicative identity property: multiplying any compatible matrix A by I gives back A (A × I = A and I × A = A). It plays the same role for matrices that the number 1 plays for ordinary numbers.

The identity matrix is the foundation for understanding inverse matrices (A × A⁻¹ = I), determinants (det(I) = 1), and matrix transformations in fields like computer graphics and physics. Whenever you see I in an equation, remember: it means "leave everything unchanged."

Varsity Tutors • Linear Algebra • Identity Matrices