Equality of Matrices

Two matrices A and B are said to be equal if

  1. Both the matrices A and B are of the same order or size.
  2. The corresponding entries in both the matrices A and B are equal.

The matrices A = [aij]m×n and B = [bij]p×q are equal if

  1. m = p, n = q
  2. aij = bij for every i and j