Skip to content
← All questions

Why does matrix addition require matrices to have the same dimensions?

Matrix addition requires matching dimensions so that every entry in one matrix has exactly one corresponding partner in the other matrix. Without identical row and column counts, some positions would lack a pair to add, making the operation undefined under standard rules.

Conditions

  • Standard definition of matrix addition applies.
  • Matrices represent rectangular arrays of numbers.

Reasoning, step by step

  1. Define addition as combining entries at the same index (i,j)(i,j).
  2. Check if Matrix A has an entry at (i,j)(i,j) whenever Matrix B does.
  3. If dimensions differ, there exists an index present in one but not the other.
  4. Conclude that pairing fails without equal dimensions.
  5. Therefore, the sum cannot be constructed consistently.

Example

The video shows two 2×32\times 3 matrices being added because they share the exact shape. Later, it demonstrates that adding a3×2a 3\times 2 matrix to a2×2a 2\times 2 matrix yields 'undefined' because positions like (3,1) exist only in the first matrix.

Common misconceptions

  • Thinking that smaller matrices can be padded with zeros implicitly.
  • Assuming addition works like scalar addition regardless of array structure.

Watch the explanation

Connected concepts

Explore next

Related questions

Meet the concept

↗
Find a method

↗
Find a method

↗
Find a method

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.