Skip to content

Mathematics · Ch 4 — Determinants and Matrices

Algebra of Matrices — Equality, Scalar Multiplication and Addition

4.5

Algebra of Matrices — Equality, Scalar Multiplication and Addition

4.5 Algebra of Matrices — Equality, Scalar Multiplication, Addition

Four operations make up the algebra of matrices: (1) equality, (2) multiplication by a scalar, (3) addition, (4) multiplication of two matrices (the last one is big enough to need its own section, §4.5's continuation below).

(1) Equality of matrices. A=BA=B iff (i) AA and BB have the same order, AND (ii) every corresponding pair of elements matches: aij=bija_{ij}=b_{ij} for all i,ji,j.

(2) Multiplication of a matrix by a scalar. For A=[aij]m×nA=[a_{ij}]_{m\times n} and a scalar kk, kA=[k aij]m×nkA=[k\,a_{ij}]_{m\times n} — every entry is scaled by kk; the order is unchanged.

(3) Addition of two matrices. For A=[aij]m×nA=[a_{ij}]_{m\times n} and B=[bij]m×nB=[b_{ij}]_{m\times n} of the same order, A+B=[aij+bij]m×nA+B=[a_{ij}+b_{ij}]_{m\times n} — add corresponding entries; A+BA+B has the same order as A,BA,B. (Addition is undefined for matrices of different orders.) Subtraction: A−B=A+(−B)A-B=A+(-B), where −B-B negates every entry of BB.

Algebraic laws (for matrices A,B,CA,B,C conformable for addition, scalars α,β\alpha,\beta)

  1. A+B=B+AA+B=B+A — addition is commutative.
  2. (A+B)+C=A+(B+C)(A+B)+C=A+(B+C) — addition is associative.
  3. A+O=O+A=AA+O=O+A=A — the zero matrix OO is the additive identity.
  4. A+(−A)=(−A)+A=OA+(-A)=(-A)+A=O — (−A)(-A) is the additive inverse of AA.
  5. α(A±B)=αA±αB\alpha(A\pm B)=\alpha A\pm\alpha B.
  6. (α±β)A=αA±βA(\alpha\pm\beta)A=\alpha A\pm\beta A.
  7. α(βA)=(αβ)A\alpha(\beta A)=(\alpha\beta)A.
  8. OA=OOA=O.

Worked Examples

Example (equality). If [2a−b−724]=[a+1−74+b3]\begin{bmatrix}2a-b&-7\\2&4\end{bmatrix}=\begin{bmatrix}a+1&-7\\4+b&3\end{bmatrix} — wait, more simply: given 2a−b=12a-b=1 and a+3b=2a+3b=2 from matching two entries, solving simultaneously gives a=57, b=37a=\dfrac57,\ b=\dfrac37.

Example (scalar multiplication). If A=[124547]A=\begin{bmatrix}1&2&4\\5&4&7\end{bmatrix} and k=32k=\dfrac32, then kA=32A=[32361526212]kA=\dfrac32A=\begin{bmatrix}\tfrac32&3&6\\\tfrac{15}2&6&\tfrac{21}2\end{bmatrix} — every entry multiplied by 32\tfrac32.

Example 1. If A=[53−104−2]A=\begin{bmatrix}5&3&-1\\0&4&-2\end{bmatrix} and B=[−2−731−22]B=\begin{bmatrix}-2&-7&3\\1&-2&2\end{bmatrix}, find 2A−3B2A-3B.

Step 1: 2A=[106−208−4]2A=\begin{bmatrix}10&6&-2\\0&8&-4\end{bmatrix}, 3B=[−6−2193−66]3B=\begin{bmatrix}-6&-21&9\\3&-6&6\end{bmatrix}. …

Misc 4.5Worked Example — equality of matrices, two illustrations

Worked out. Two matrix equations in the unknown matrices X and Y (X+Y=... and X−2Y=...) are solved simultaneously by elimination, just like a numeric simultaneous system, but entry-by-entry. …

Misc 4.5Worked Example — scalar multiple of a matrix

Worked out. Two matrix equations in the unknown matrices X and Y (X+Y=... and X−2Y=...) are solved simultaneously by elimination, just like a numeric simultaneous system, but entry-by-entry. …

Misc 4.5Worked Examples — addition and subtraction of two matrices

Worked out. Two matrix equations in the unknown matrices X and Y (X+Y=... and X−2Y=...) are solved simultaneously by elimination, just like a numeric simultaneous system, but entry-by-entry. …

Misc 4.5Worked Example 1 — a combination 2A − 3B of two matrices

Worked out. Two matrix equations in the unknown matrices X and Y (X+Y=... and X−2Y=...) are solved simultaneously by elimination, just like a numeric simultaneous system, but entry-by-entry. …

Misc 4.5Worked Example 2 — arithmetic with diagonal matrices

Worked out. Two matrix equations in the unknown matrices X and Y (X+Y=... and X−2Y=...) are solved simultaneously by elimination, just like a numeric simultaneous system, but entry-by-entry. …

Misc 4.5Worked Example 3 — solving a matrix equation for an unknown matrix X

Worked out. Two matrix equations in the unknown matrices X and Y (X+Y=... and X−2Y=...) are solved simultaneously by elimination, just like a numeric simultaneous system, but entry-by-entry. …

Misc 4.5Worked Example 4 — finding unknowns x, y from a matrix sum equality

Worked out. Two matrix equations in the unknown matrices X and Y (X+Y=... and X−2Y=...) are solved simultaneously by elimination, just like a numeric simultaneous system, but entry-by-entry. …

Misc 4.5Worked Example 5 — solving simultaneous matrix equations for X and Y

Worked out. Two matrix equations in the unknown matrices X and Y (X+Y=... and X−2Y=...) are solved simultaneously by elimination, just like a numeric simultaneous system, but entry-by-entry. …