Matrix Addition, Subtraction, and Scalar Multiplication Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Matrix Addition, Subtraction, and Scalar Multiplication.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

Matrix addition and subtraction are performed entry by entry on matrices of the same dimensions. Scalar multiplication multiplies every entry of a matrix by a single number (the scalar).

Adding matrices is like adding two spreadsheets cell by cell. If spreadsheet AA has sales for January and BB has sales for February, then A+BA + B gives total sales in each cell. Scalar multiplication is like giving everyone in the spreadsheet a 10% raiseβ€”multiply every entry by 1.1.

Read the full concept explanation β†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: Add or subtract matrices entry by entry (same dimensions required), and scalar multiplication scales every entry.

Common stuck point: The procedure for matrix addition, subtraction, and scalar multiplication is the easy part; the trap is adding mismatched-size matrices. Asking "For +/βˆ’+/-, do the two matrices have exactly the same dimensions?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: For +/βˆ’+/-, do the two matrices have exactly the same dimensions?

Worked Examples

Example 1

easy
Compute [1234]+[5678]\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} + \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}.

Answer

[681012]\begin{bmatrix} 6 & 8 \\ 10 & 12 \end{bmatrix}

First step

1
Step 1: Add corresponding entries: aij+bija_{ij} + b_{ij}.

Full solution

  1. 2
    Step 2: [1+52+63+74+8]=[681012]\begin{bmatrix} 1+5 & 2+6 \\ 3+7 & 4+8 \end{bmatrix} = \begin{bmatrix} 6 & 8 \\ 10 & 12 \end{bmatrix}.
  2. 3
    Check: Each entry is the sum of the entries in the same position βœ“
Matrix addition adds corresponding entries element by element. Both matrices must have the same dimensions for addition to be defined.

Example 2

medium
Compute 3[2βˆ’104]βˆ’[13βˆ’25]3 \begin{bmatrix} 2 & -1 \\ 0 & 4 \end{bmatrix} - \begin{bmatrix} 1 & 3 \\ -2 & 5 \end{bmatrix}.

Example 3

medium
Show that A+(B+C)=(A+B)+CA+(B+C)=(A+B)+C for A=[1001]A=\begin{bmatrix}1&0\\0&1\end{bmatrix}, B=[2345]B=\begin{bmatrix}2&3\\4&5\end{bmatrix}, C=[1111]C=\begin{bmatrix}1&1\\1&1\end{bmatrix}.

Example 4

medium
Given A=[1βˆ’123]A=\begin{bmatrix}1&-1\\2&3\end{bmatrix} and B=[04βˆ’12]B=\begin{bmatrix}0&4\\-1&2\end{bmatrix}, compute 4Aβˆ’3B4A-3B.

Example 5

hard
Demonstrate that (k+m)A=kA+mA(k+m)A=kA+mA for k=2k=2, m=3m=3, and A=[1βˆ’102]A=\begin{bmatrix} 1 & -1 \\ 0 & 2 \end{bmatrix}.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Compute 2[4βˆ’3]2\begin{bmatrix} 4 \\ -3 \end{bmatrix}.

Example 2

medium
If A=[10βˆ’13]A = \begin{bmatrix} 1 & 0 \\ -1 & 3 \end{bmatrix} and B=[241βˆ’2]B = \begin{bmatrix} 2 & 4 \\ 1 & -2 \end{bmatrix}, find Aβˆ’2BA - 2B.

Example 3

easy
Compute (1234)+(5678)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}.

Example 4

easy
Compute 3(1204)3 \begin{pmatrix} 1 & 2 \\ 0 & 4 \end{pmatrix}.

Example 5

easy
Compute (5792)βˆ’(1340)\begin{pmatrix} 5 & 7 \\ 9 & 2 \end{pmatrix} - \begin{pmatrix} 1 & 3 \\ 4 & 0 \end{pmatrix}.

Example 6

easy
Compute 2(3βˆ’1)2 \begin{pmatrix} 3 \\ -1 \end{pmatrix}.

Example 7

easy
Is (12)+(34)\begin{pmatrix} 1 & 2 \end{pmatrix} + \begin{pmatrix} 3 \\ 4 \end{pmatrix} defined?

Example 8

easy
Compute (2013)+(0000)\begin{pmatrix} 2 & 0 \\ 1 & 3 \end{pmatrix} + \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}.

Example 9

easy
Compute βˆ’1(4βˆ’261)-1 \begin{pmatrix} 4 & -2 \\ 6 & 1 \end{pmatrix}.

Example 10

easy
Compute 12(4826)\frac{1}{2}\begin{pmatrix} 4 & 8 \\ 2 & 6 \end{pmatrix}.

Example 11

medium
Compute 2(1234)+(0110)2\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}.

Example 12

medium
Compute 3(2105)βˆ’2(1042)3\begin{pmatrix} 2 & 1 \\ 0 & 5 \end{pmatrix} - 2\begin{pmatrix} 1 & 0 \\ 4 & 2 \end{pmatrix}.

Example 13

medium
Solve for matrix XX: X+(1234)=(5555)X + \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} = \begin{pmatrix} 5 & 5 \\ 5 & 5 \end{pmatrix}.

Example 14

medium
If A=(2013)A = \begin{pmatrix} 2 & 0 \\ 1 & 3 \end{pmatrix}, compute A+A+AA + A + A and confirm it equals 3A3A.

Example 15

medium
Find xx if (x123)+(4012)=(9135)\begin{pmatrix} x & 1 \\ 2 & 3 \end{pmatrix} + \begin{pmatrix} 4 & 0 \\ 1 & 2 \end{pmatrix} = \begin{pmatrix} 9 & 1 \\ 3 & 5 \end{pmatrix}.

Example 16

medium
Compute (123)βˆ’(401)\begin{pmatrix} 1 & 2 & 3 \end{pmatrix} - \begin{pmatrix} 4 & 0 & 1 \end{pmatrix}.

Example 17

medium
Compute (1βˆ’120)+2(0311)\begin{pmatrix} 1 & -1 \\ 2 & 0 \end{pmatrix} + 2\begin{pmatrix} 0 & 3 \\ 1 & 1 \end{pmatrix}.

Example 18

medium
Find YY if 3Y=(69120)3Y = \begin{pmatrix} 6 & 9 \\ 12 & 0 \end{pmatrix}.

Example 19

medium
Compute (4268)βˆ’2(1111)\begin{pmatrix} 4 & 2 \\ 6 & 8 \end{pmatrix} - 2\begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix}.

Example 20

challenge
Find matrices satisfying 2Xβˆ’(1001)=(3465)2X - \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 3 & 4 \\ 6 & 5 \end{pmatrix}.

Example 21

challenge
If A+B=(5555)A + B = \begin{pmatrix} 5 & 5 \\ 5 & 5 \end{pmatrix} and Aβˆ’B=(13βˆ’11)A - B = \begin{pmatrix} 1 & 3 \\ -1 & 1 \end{pmatrix}, find AA.

Example 22

challenge
For what scalar kk does k(2468)=(1234)k\begin{pmatrix} 2 & 4 \\ 6 & 8 \end{pmatrix} = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}?

Example 23

easy
Compute [2351]+[4βˆ’102]\begin{bmatrix} 2 & 3 \\ 5 & 1 \end{bmatrix} + \begin{bmatrix} 4 & -1 \\ 0 & 2 \end{bmatrix}.

Example 24

easy
Compute 5[1βˆ’203]5\begin{bmatrix} 1 & -2 \\ 0 & 3 \end{bmatrix}.

Example 25

easy
Compute [7492]βˆ’[3150]\begin{bmatrix} 7 & 4 \\ 9 & 2 \end{bmatrix} - \begin{bmatrix} 3 & 1 \\ 5 & 0 \end{bmatrix}.

Example 26

easy
Compute βˆ’3[2βˆ’14]-3\begin{bmatrix} 2 \\ -1 \\ 4 \end{bmatrix}.

Example 27

easy
Compute [123456]+[011022]\begin{bmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{bmatrix} + \begin{bmatrix} 0 & 1 \\ 1 & 0 \\ 2 & 2 \end{bmatrix}.

Example 28

medium
If A=[2βˆ’103]A=\begin{bmatrix} 2 & -1 \\ 0 & 3 \end{bmatrix} and B=[14βˆ’21]B=\begin{bmatrix} 1 & 4 \\ -2 & 1 \end{bmatrix}, find 2A+3B2A+3B.

Example 29

medium
Solve for XX: Xβˆ’[2510]=[4136]X-\begin{bmatrix} 2 & 5 \\ 1 & 0 \end{bmatrix}=\begin{bmatrix} 4 & 1 \\ 3 & 6 \end{bmatrix}.

Example 30

medium
Find the unknown entry yy if [3y21]+[42y5]=[7986]\begin{bmatrix} 3 & y \\ 2 & 1 \end{bmatrix}+\begin{bmatrix} 4 & 2 \\ y & 5 \end{bmatrix}=\begin{bmatrix} 7 & 9 \\ 8 & 6 \end{bmatrix}.

Example 31

medium
Compute 13[69βˆ’312]βˆ’[1203]\tfrac{1}{3}\begin{bmatrix} 6 & 9 \\ -3 & 12 \end{bmatrix}-\begin{bmatrix} 1 & 2 \\ 0 & 3 \end{bmatrix}.

Example 32

medium
Find scalar kk such that k[36912]=[2468]k\begin{bmatrix} 3 & 6 \\ 9 & 12 \end{bmatrix}=\begin{bmatrix} 2 & 4 \\ 6 & 8 \end{bmatrix}.

Example 33

medium
If A=[1234]A=\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, compute Aβˆ’AA-A.

Example 34

hard
Given A+B=[10468]A+B=\begin{bmatrix}10&4\\6&8\end{bmatrix} and 2Aβˆ’B=[2564]2A-B=\begin{bmatrix}2&5\\6&4\end{bmatrix}, find AA and BB.

Example 35

hard
Find aa and bb such that a[12]+b[3βˆ’1]=[53]a\begin{bmatrix}1\\2\end{bmatrix}+b\begin{bmatrix}3\\-1\end{bmatrix}=\begin{bmatrix}5\\3\end{bmatrix}.

Example 36

hard
Determine all values of tt for which [t12t]+[1tt1]\begin{bmatrix} t & 1 \\ 2 & t \end{bmatrix}+\begin{bmatrix} 1 & t \\ t & 1 \end{bmatrix} equals [5555]\begin{bmatrix} 5 & 5 \\ 5 & 5 \end{bmatrix}.

Example 37

hard
Let A=[1234]A=\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}. Find a matrix BB such that A+B=2AA+B=2A.

Example 38

medium
Compute the result of 2[3βˆ’10425]+[10βˆ’2βˆ’310]2\begin{bmatrix} 3 & -1 & 0 \\ 4 & 2 & 5 \end{bmatrix}+\begin{bmatrix} 1 & 0 & -2 \\ -3 & 1 & 0 \end{bmatrix}.

Example 39

easy
Compute 0β‹…[7βˆ’352]0\cdot\begin{bmatrix} 7 & -3 \\ 5 & 2 \end{bmatrix}.

Example 40

challenge
For what matrices AA does A+ATA+A^T have all entries doubled compared to the diagonal of AA?

Example 41

challenge
Find scalars Ξ±,Ξ²,Ξ³\alpha,\beta,\gamma such that Ξ±[10]+Ξ²[01]+Ξ³[11]=[53]\alpha\begin{bmatrix}1\\0\end{bmatrix}+\beta\begin{bmatrix}0\\1\end{bmatrix}+\gamma\begin{bmatrix}1\\1\end{bmatrix}=\begin{bmatrix}5\\3\end{bmatrix} with Ξ³=2\gamma=2.

Background Knowledge

These ideas may be useful before you work through the harder examples.

matrix definition