Formulaic Maths Problems - get another problem: level 1, level 2, level 3 - link to this problem
Let $A = \begin{pmatrix} 8 & -11 \\ -6 & -11 \\ -5 & 1 \end{pmatrix}$ and $B = \begin{pmatrix} -6 & 0 & -4 \\ -2 & 8 & -1 \end{pmatrix}$. Find $AB$.
Row 1, column 1: Hint: Row 1 of $A$ is $\begin{pmatrix} 8 & -11 \end{pmatrix}$. Column 1 of $B$ is $\begin{pmatrix} -6 \\ -2 \end{pmatrix}$. Multiply in pairs and add the results.
$\class{inputBox step1}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c0a0}}\hspace{40px}}~} \times \class{inputBox step1}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c0b0}}\hspace{40px}}~} + \class{inputBox step1}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c0a1}}\hspace{40px}}~} \times \class{inputBox step1}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c0b1}}\hspace{40px}}~}$ $8 \times -6 + -11 \times -2$
$= \class{inputBox step2}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c0p0}}\hspace{54px}}~} + \class{inputBox step2}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c0p1}}\hspace{54px}}~} = \class{inputBox step2}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c0R}}\hspace{54px}}~}$ $= -48 + 22 = -26$
Row 1, column 2: Hint: Row 1 of $A$ is $\begin{pmatrix} 8 & -11 \end{pmatrix}$. Column 2 of $B$ is $\begin{pmatrix} 0 \\ 8 \end{pmatrix}$. Multiply in pairs and add the results.
$\class{inputBox step3}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c1a0}}\hspace{40px}}~} \times \class{inputBox step3}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c1b0}}\hspace{40px}}~} + \class{inputBox step3}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c1a1}}\hspace{40px}}~} \times \class{inputBox step3}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c1b1}}\hspace{40px}}~}$ $8 \times 0 + -11 \times 8$
$= \class{inputBox step4}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c1p0}}\hspace{54px}}~} + \class{inputBox step4}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c1p1}}\hspace{54px}}~} = \class{inputBox step4}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c1R}}\hspace{54px}}~}$ $= 0 + -88 = -88$
Row 1, column 3: Hint: Row 1 of $A$ is $\begin{pmatrix} 8 & -11 \end{pmatrix}$. Column 3 of $B$ is $\begin{pmatrix} -4 \\ -1 \end{pmatrix}$. Multiply in pairs and add the results.
$\class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c2a0}}\hspace{40px}}~} \times \class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c2b0}}\hspace{40px}}~} + \class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c2a1}}\hspace{40px}}~} \times \class{inputBox step5}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c2b1}}\hspace{40px}}~}$ $8 \times -4 + -11 \times -1$
$= \class{inputBox step6}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c2p0}}\hspace{54px}}~} + \class{inputBox step6}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c2p1}}\hspace{54px}}~} = \class{inputBox step6}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r0c2R}}\hspace{54px}}~}$ $= -32 + 11 = -21$
Row 2, column 1: Hint: Row 2 of $A$ is $\begin{pmatrix} -6 & -11 \end{pmatrix}$. Column 1 of $B$ is $\begin{pmatrix} -6 \\ -2 \end{pmatrix}$. Multiply in pairs and add the results.
$\class{inputBox step7}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c0a0}}\hspace{40px}}~} \times \class{inputBox step7}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c0b0}}\hspace{40px}}~} + \class{inputBox step7}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c0a1}}\hspace{40px}}~} \times \class{inputBox step7}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c0b1}}\hspace{40px}}~}$ $-6 \times -6 + -11 \times -2$
$= \class{inputBox step8}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c0p0}}\hspace{54px}}~} + \class{inputBox step8}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c0p1}}\hspace{54px}}~} = \class{inputBox step8}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c0R}}\hspace{54px}}~}$ $= 36 + 22 = 58$
Row 2, column 2: Hint: Row 2 of $A$ is $\begin{pmatrix} -6 & -11 \end{pmatrix}$. Column 2 of $B$ is $\begin{pmatrix} 0 \\ 8 \end{pmatrix}$. Multiply in pairs and add the results.
$\class{inputBox step9}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c1a0}}\hspace{40px}}~} \times \class{inputBox step9}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c1b0}}\hspace{40px}}~} + \class{inputBox step9}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c1a1}}\hspace{40px}}~} \times \class{inputBox step9}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c1b1}}\hspace{40px}}~}$ $-6 \times 0 + -11 \times 8$
$= \class{inputBox step10}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c1p0}}\hspace{54px}}~} + \class{inputBox step10}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c1p1}}\hspace{54px}}~} = \class{inputBox step10}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c1R}}\hspace{54px}}~}$ $= 0 + -88 = -88$
Row 2, column 3: Hint: Row 2 of $A$ is $\begin{pmatrix} -6 & -11 \end{pmatrix}$. Column 3 of $B$ is $\begin{pmatrix} -4 \\ -1 \end{pmatrix}$. Multiply in pairs and add the results.
$\class{inputBox step11}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c2a0}}\hspace{40px}}~} \times \class{inputBox step11}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c2b0}}\hspace{40px}}~} + \class{inputBox step11}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c2a1}}\hspace{40px}}~} \times \class{inputBox step11}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c2b1}}\hspace{40px}}~}$ $-6 \times -4 + -11 \times -1$
$= \class{inputBox step12}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c2p0}}\hspace{54px}}~} + \class{inputBox step12}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c2p1}}\hspace{54px}}~} = \class{inputBox step12}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r1c2R}}\hspace{54px}}~}$ $= 24 + 11 = 35$
Row 3, column 1: Hint: Row 3 of $A$ is $\begin{pmatrix} -5 & 1 \end{pmatrix}$. Column 1 of $B$ is $\begin{pmatrix} -6 \\ -2 \end{pmatrix}$. Multiply in pairs and add the results.
$\class{inputBox step13}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c0a0}}\hspace{40px}}~} \times \class{inputBox step13}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c0b0}}\hspace{40px}}~} + \class{inputBox step13}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c0a1}}\hspace{40px}}~} \times \class{inputBox step13}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c0b1}}\hspace{40px}}~}$ $-5 \times -6 + 1 \times -2$
$= \class{inputBox step14}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c0p0}}\hspace{54px}}~} + \class{inputBox step14}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c0p1}}\hspace{54px}}~} = \class{inputBox step14}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c0R}}\hspace{54px}}~}$ $= 30 + -2 = 28$
Row 3, column 2: Hint: Row 3 of $A$ is $\begin{pmatrix} -5 & 1 \end{pmatrix}$. Column 2 of $B$ is $\begin{pmatrix} 0 \\ 8 \end{pmatrix}$. Multiply in pairs and add the results.
$\class{inputBox step15}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c1a0}}\hspace{40px}}~} \times \class{inputBox step15}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c1b0}}\hspace{40px}}~} + \class{inputBox step15}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c1a1}}\hspace{40px}}~} \times \class{inputBox step15}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c1b1}}\hspace{40px}}~}$ $-5 \times 0 + 1 \times 8$
$= \class{inputBox step16}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c1p0}}\hspace{54px}}~} + \class{inputBox step16}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c1p1}}\hspace{54px}}~} = \class{inputBox step16}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c1R}}\hspace{54px}}~}$ $= 0 + 8 = 8$
Row 3, column 3: Hint: Row 3 of $A$ is $\begin{pmatrix} -5 & 1 \end{pmatrix}$. Column 3 of $B$ is $\begin{pmatrix} -4 \\ -1 \end{pmatrix}$. Multiply in pairs and add the results.
$\class{inputBox step17}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c2a0}}\hspace{40px}}~} \times \class{inputBox step17}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c2b0}}\hspace{40px}}~} + \class{inputBox step17}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c2a1}}\hspace{40px}}~} \times \class{inputBox step17}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c2b1}}\hspace{40px}}~}$ $-5 \times -4 + 1 \times -1$
$= \class{inputBox step18}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c2p0}}\hspace{54px}}~} + \class{inputBox step18}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c2p1}}\hspace{54px}}~} = \class{inputBox step18}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{r2c2R}}\hspace{54px}}~}$ $= 20 + -1 = 19$
Therefore,
$AB = \begin{pmatrix} \class{inputBox step19}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Fr0c0}}\hspace{54px}}~} & \class{inputBox step19}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Fr0c1}}\hspace{54px}}~} & \class{inputBox step19}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Fr0c2}}\hspace{54px}}~} \\ \class{inputBox step19}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Fr1c0}}\hspace{54px}}~} & \class{inputBox step19}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Fr1c1}}\hspace{54px}}~} & \class{inputBox step19}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Fr1c2}}\hspace{54px}}~} \\ \class{inputBox step19}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Fr2c0}}\hspace{54px}}~} & \class{inputBox step19}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Fr2c1}}\hspace{54px}}~} & \class{inputBox step19}{~\bbox[border:2px solid blue]{\strut\rlap{\class{inputReplace}{Fr2c2}}\hspace{54px}}~} \end{pmatrix}$ $AB = \begin{pmatrix} -26 & -88 & -21 \\ 58 & -88 & 35 \\ 28 & 8 & 19 \end{pmatrix}$