Skip to content

Mathematics · Ch 3 — Matrices

Addition of Matrices

3.4.1

Addition of Matrices

Addition of Matrices

Concept from a Real-World Situation

Consider a manufacturer, Fatima, who owns two factories — one at location A and another at location B. Each factory produces sports shoes for boys and girls in three price categories: 1 (budget), 2 (mid-range), and 3 (premium). The production quantities from each factory can be arranged in a matrix, where rows represent price categories and columns represent gender (boys, girls).

Factory A's production matrix:

A=[806075659085]A = \begin{bmatrix} 80 & 60 \\ 75 & 65 \\ 90 & 85 \end{bmatrix}

Factory B's production matrix:

B=[905070557575]B = \begin{bmatrix} 90 & 50 \\ 70 & 55 \\ 75 & 75 \end{bmatrix}

If Fatima wants the total production of shoes in each price category for both genders, she adds the corresponding entries from the two matrices. The result is a new matrix:

A+B=[80+9060+5075+7065+5590+7585+75]=[170110145120165160]A + B = \begin{bmatrix} 80+90 & 60+50 \\ 75+70 & 65+55 \\ 90+75 & 85+75 \end{bmatrix} = \begin{bmatrix} 170 & 110 \\ 145 & 120 \\ 165 & 160 \end{bmatrix}

This new matrix is called the sum of matrices AA and BB. The operation is performed by adding the corresponding elements of the two matrices.

Important

For addition of two matrices to be defined, both matrices must have the same order (same number of rows and same number of columns). If the orders differ, addition is not possible.

Formal Definition of Matrix Addition

Let A=[aij]A = [a_{ij}] and B=[bij]B = [b_{ij}] be two matrices of the same order, say m×nm \times n. Then the sum A+BA + B is defined as a matrix C=[cij]m×nC = [c_{ij}]_{m \times n}, where

cij=aij+bijc_{ij} = a_{ij} + b_{ij}

for all values of ii (from 1 to mm) and jj (from 1 to nn). In other words, add each entry of the first matrix to the corresponding entry of the second, keeping the same position.

Watch out

A common mistake is to try adding matrices of different orders. For instance, if A=[2310]A = \begin{bmatrix} 2 & 3 \\ 1 & 0 \end{bmatrix} (a 2×22 \times 2 matrix) and B=[123101]B = \begin{bmatrix} 1 & 2 & 3 \\ 1 & 0 & 1 \end{bmatrix} (a 2×32 \times 3 matrix), then A+BA + B is not defined because the orders do not match.

Binary Operation on Matrices …