Now you are in the subtree of Container for Linear Algebra project. 

Definition of equality of matrices

Created over 8 years ago, updated 10 days ago

Definition: Two matrices $A$ and $B$ are equal, written $A = B$, if and only if:

  1. They have the same size ($m \times n$), and
  2. Corresponding entries are equal: $a_{ij} = b_{ij}$ for all $i$ and $j$.

Formally, $A = B \iff a_{ij} = b_{ij} \quad \forall\, 1 \leq i \leq m, \; 1 \leq j \leq n$.

Example:
$$\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}$$
but
$$\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \neq \begin{pmatrix} 1 & 2 \\ 3 & 5 \end{pmatrix}$$

Note: matrices of different sizes can never be equal.