Mathematics

Mathematics

Problem

Explain why a 3×43\times 4 matrix cannot be added to a 4×34\times 3 matrix even though both contain 1212 elements.
Intuitive explanation

Matrix addition requires matching dimensions because each element occupies a specific position—the entry in row ii, column jj of one matrix must correspond to the same position in the other. A 3×43\times 4 matrix has 3 rows and 4 columns, while a 4×34\times 3 matrix has 4 rows and 3 columns, so their positions don't align. Having the same total count of elements is irrelevant; what matters is that the structure and indexing must be identical.

Intuitive explanation

Matrix addition requires matching dimensions because each element occupies a specific position—the entry in row ii, column jj of one matrix must correspond to the same position in the other. A 3×43\times 4 matrix has 3 rows and 4 columns, while a 4×34\times 3 matrix has 4 rows and 3 columns, so their positions don't align. Having the same total count of elements is irrelevant; what matters is that the structure and indexing must be identical.

Browse the problem library