← Back to course overview

Real or Complex Matrix Addition, Subtraction, and Scalar Multiplication

Unit: Matrices

Lesson Preview

Similar to vectors, we can add or subtract matrices. This is done by adding or subtracting the corresponding entries of each matrix.  

Note that this can only be done for matrices of the same dimensions.  

Consider A=[125+i3]A = \begin{bmatrix} 1 & -2 \\ 5 + i & 3 \end{bmatrix} and B=[1i72].B = \begin{bmatrix} -1 & i \\ 7 & -2 \end{bmatrix}.

Then:

A+B=[125+i3]+[1i72]=[112+i(5+i)+732]=[02+i12+i1].\begin{align*} A + B &= \begin{bmatrix} 1 & -2 \\ 5 + i & 3 \end{bmatrix} + \begin{bmatrix} -1 & i \\ 7 & -2 \end{bmatrix} \\ &= \begin{bmatrix} 1 - 1 & -2 + i \\ (5 + i) + 7 & 3 - 2 \end{bmatrix} \\ &= \begin{bmatrix} 0 & -2 + i \\ 12 + i & 1 \end{bmatrix}. \end{align*}

Similarly, we can calculate ABA - B:

AB=[125+i3][1i72]=[1(1)2i(5+i)73(2)]=[22i2+i5].\begin{align*} A - B &= \begin{bmatrix} 1 & -2 \\ 5 + i & 3 \end{bmatrix} - \begin{bmatrix} -1 & i \\ 7 & -2 \end{bmatrix} \\ &= \begin{bmatrix} 1 - (-1) & -2 - i \\ (5 + i) - 7 & 3 - (-2) \end{bmatrix} \\ &= \begin{bmatrix} 2 & -2 - i \\ -2 + i & 5 \end{bmatrix}. \\ \end{align*}

In index notation, we would express this as:

\begin{align*} ...

... continued in the full lesson.

Ready to Start Learning?

Sign up now to access the full Real or Complex Matrix Addition, Subtraction, and Scalar Multiplication lesson and our entire curriculum!