Skip to main content

Additional course content; not assessed on the AP Precalculus Exam.

AP Precalculus · Lesson 4.4

Matrix Operations

How it works

Add matrices entry by entry when dimensions agree. Matrix multiplication uses row-column dot products and requires the inner dimensions to match. Multiplication order generally matters.

(AB)ij=∑kAikBkj(AB)_{ij}=\sum_k A_{ik}B_{kj}

Worked examples

Example 1

For A=(1201)\displaystyle A=\begin{pmatrix}1&2\\0&1\end{pmatrix} and B=(2013)\displaystyle B=\begin{pmatrix}2&0\\1&3\end{pmatrix}, find AB.

Row-column products give AB=(4613)\displaystyle AB=\begin{pmatrix}4&6\\1&3\end{pmatrix}.

Example 2

Can a 2×3\displaystyle 2\times3 matrix multiply a 3×4\displaystyle 3\times4 matrix?

Yes. The inner dimensions agree, and the product has dimensions 2×4\displaystyle 2\times4.

Problems

Problem 4.4.1

Compute (1234)(21)\displaystyle \begin{pmatrix}1&2\\3&4\end{pmatrix}\begin{pmatrix}2\\1\end{pmatrix}.

Show worked solution

Dot each row with the column: the result is (410)\displaystyle \begin{pmatrix}4\\10\end{pmatrix}.

Problem 4.4.2

Add (1−102)\displaystyle \begin{pmatrix}1&-1\\0&2\end{pmatrix} and (324−2)\displaystyle \begin{pmatrix}3&2\\4&-2\end{pmatrix}.

Show worked solution

Entrywise addition gives (4140)\displaystyle \begin{pmatrix}4&1\\4&0\end{pmatrix}.

Problem 4.4.3

Why is a 2×3\displaystyle 2\times3 matrix times a 2×2\displaystyle 2\times2 matrix undefined?

Show worked solution

The inner dimensions are 3\displaystyle 3 and 2\displaystyle 2, which do not agree.

Need help with this topic?

Work through questions with a tutor and get help with the steps you find difficult.

Get help with this topic