Theory of Intelligence
4.3 Matrix Properties

4.3 Properties of Matrix Addition, Scalar Multiplication and Matrix Multiplication

If AA, BB and CC are conformable for the indicated sum or product of matrices and cc and dd are scalars, then following properties are true:

(I) Commutative property w.r.t. addition: A+B=B+AA + B = B + A
(II) Associative property w.r.t. addition: (A+B)+C=A+(B+C)(A + B) + C = A + (B + C)
(III) Associative property of scalar multiplication: (cd)A=c(dA)(cd)A = c(dA)
(IV) Existence of additive identity: A+O=O+A=AA + O = O + A = A (OO is null matrix and AA is a square matrix)
(V) Existence of multiplicative identity: IA=AI=AIA = AI = A (II is unit/identity matrix)
(VI) Distributive property w.r.t scalar multiplication:
(a) c(A+B)=cA+cBc(A + B) = cA + cB
(b) (c+d)A=cA+dA(c + d)A = cA + dA
(VII) Associative property w.r.t. multiplication: A(BC)=(AB)CA(BC) = (AB)C
(VIII) Left distributive property: A(B+C)=AB+ACA(B + C) = AB + AC
(IX) Right distributive property: (A+B)C=AC+BC(A + B)C = AC + BC
(X) c(AB)=(cA)B=A(cB)c(AB) = (cA)B = A(cB)


Example 3

Find ABAB and BABA if

A=[201142306]andB=[1−1023−11−23]A = \begin{bmatrix} 2 & 0 & 1 \\ 1 & 4 & 2 \\ 3 & 0 & 6 \end{bmatrix} \quad \text{and} \quad B = \begin{bmatrix} 1 & -1 & 0 \\ 2 & 3 & -1 \\ 1 & -2 & 3 \end{bmatrix}

Solution

AB=[201142306][1−1023−11−23]AB = \begin{bmatrix} 2 & 0 & 1 \\ 1 & 4 & 2 \\ 3 & 0 & 6 \end{bmatrix} \begin{bmatrix} 1 & -1 & 0 \\ 2 & 3 & -1 \\ 1 & -2 & 3 \end{bmatrix} =[2×1+0×2+1×12×(−1)+0×3+1×(−2)2×0+0×(−1)+1×31×1+4×2+2×11×(−1)+4×3+2×(−2)1×0+4×(−1)+2×33×1+0×2+6×13×(−1)+0×3+6×(−2)3×0+0×(−1)+6×3]= \begin{bmatrix} 2 \times 1 + 0 \times 2 + 1 \times 1 & 2 \times (-1) + 0 \times 3 + 1 \times (-2) & 2 \times 0 + 0 \times (-1) + 1 \times 3 \\ 1 \times 1 + 4 \times 2 + 2 \times 1 & 1 \times (-1) + 4 \times 3 + 2 \times (-2) & 1 \times 0 + 4 \times (-1) + 2 \times 3 \\ 3 \times 1 + 0 \times 2 + 6 \times 1 & 3 \times (-1) + 0 \times 3 + 6 \times (-2) & 3 \times 0 + 0 \times (-1) + 6 \times 3 \end{bmatrix} =[3−4311729−1518](i)= \begin{bmatrix} 3 & -4 & 3 \\ 11 & 7 & 2 \\ 9 & -15 & 18 \end{bmatrix} \quad \text{(i)} BA=[1−1023−11−23][201142306]BA = \begin{bmatrix} 1 & -1 & 0 \\ 2 & 3 & -1 \\ 1 & -2 & 3 \end{bmatrix} \begin{bmatrix} 2 & 0 & 1 \\ 1 & 4 & 2 \\ 3 & 0 & 6 \end{bmatrix} =[1×2+(−1)×1+0×31×0+(−1)×4+0×01×1+(−1)×2+0×62×2+3×1+(−1)×32×0+3×4+(−1)×02×1+3×2+(−1)×61×2+(−2)×1+3×31×0+(−2)×4+3×01×1+(−2)×2+3×6]= \begin{bmatrix} 1 \times 2 + (-1) \times 1 + 0 \times 3 & 1 \times 0 + (-1) \times 4 + 0 \times 0 & 1 \times 1 + (-1) \times 2 + 0 \times 6 \\ 2 \times 2 + 3 \times 1 + (-1) \times 3 & 2 \times 0 + 3 \times 4 + (-1) \times 0 & 2 \times 1 + 3 \times 2 + (-1) \times 6 \\ 1 \times 2 + (-2) \times 1 + 3 \times 3 & 1 \times 0 + (-2) \times 4 + 3 \times 0 & 1 \times 1 + (-2) \times 2 + 3 \times 6 \end{bmatrix} =[1−4−141229−815](ii)= \begin{bmatrix} 1 & -4 & -1 \\ 4 & 12 & 2 \\ 9 & -8 & 15 \end{bmatrix} \quad \text{(ii)}

Thus, from (i) and (ii), AB≠BAAB \neq BA.

lightbulb

Note
Matrix multiplication is not commutative in general.

Discuss theoretical concepts, mathematical formulas, and architectural foundations.

Supports inline code with `backticks`
No comments yet. Be the first to start the discussion!