Course contentsShow
← Mathematics
Lesson 1273 of 3,12130. Matrices (Precalculus)Free lesson

Matrix Equality

Understand when two matrices are equal: they must have the same dimensions and identical corresponding entries.

Matrix Equality

You'll learn when two matrices can be considered equal to one another.

Just as you wouldn't say two people are "the same" unless they match in every way, two matrices are equal only when they match perfectly in both shape and content.

The Two Requirements

For two matrices to be equal, they must satisfy both of these conditions:

1. Same Dimensions

The matrices must have the exact same number of rows and columns. A 2×3 matrix can never equal a 3×2 matrix, even if they contain the same numbers. Think of it like puzzle pieces—they have to be the same shape to match.

2. Identical Corresponding Entries

Every entry in the first matrix must match the entry in the same position in the second matrix. The element in row 1, column 1 of matrix A must equal the element in row 1, column 1 of matrix B, and so on for every single position.

Example

These matrices are equal:

A = [2  -1]     B = [2  -1]
    [0   5]         [0   5]

Both are 2×2, and every corresponding entry matches: A₁₁ = B₁₁ = 2, A₁₂ = B₁₂ = -1, etc.

These matrices are NOT equal:

C = [2  -1]     D = [2  -1  0]
    [0   5]         [0   5  0]

Even though C's entries appear in D, they have different dimensions (2×2 vs. 2×3).

Practical Use

Matrix equality is essential for solving matrix equations. If you know two matrices are equal, you can set their corresponding entries equal to find unknown values.

Key Takeaway: Two matrices are equal if and only if they have the same dimensions and every corresponding entry is identical.