After The School
Class 12MathematicsChapter 3: Matrices

3.3 Operations on Matrices

Addition, scalar multiplication, and matrix multiplication with examples.

3.3 Operations on Matrices

Addition

Two matrices AA and BB of the same order can be added:

(A+B)ij=aij+bij(A + B)_{ij} = a_{ij} + b_{ij}

Scalar Multiplication

(kA)ij=kaij(kA)_{ij} = k \cdot a_{ij}

Matrix Multiplication

If AA is m×nm \times n and BB is n×pn \times p, then ABAB is m×pm \times p:

(AB)ij=k=1naikbkj(AB)_{ij} = \sum_{k=1}^{n} a_{ik} \cdot b_{kj}

Note: In general, ABBAAB \neq BA. Matrix multiplication is not commutative.

Example

Let A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} and B=[5678]B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}.

AB=[1×5+2×71×6+2×83×5+4×73×6+4×8]=[19224350]AB = \begin{bmatrix} 1 \times 5 + 2 \times 7 & 1 \times 6 + 2 \times 8 \\ 3 \times 5 + 4 \times 7 & 3 \times 6 + 4 \times 8 \end{bmatrix} = \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix}