A diagonal matrix of multipliers
A diagonal matrix is a square matrix whose entries off the leading diagonal (top left to bottom right) are all 0, for example \(\begin{pmatrix}1.1&0\\ 0&0.8\end{pmatrix}\).
Each entry on the diagonal is a multiplier. An increase of \(r\%\) multiplies by \(1+\frac{r}{100}\), a decrease of \(r\%\) multiplies by \(1-\frac{r}{100}\), and "decreases to 80%" multiplies by \(0.8\). A profit of 30% of a price is \(0.3\) times the price.
Why each row or column gets its own factor
\(\begin{pmatrix}a&0\\ 0&b\end{pmatrix}\begin{pmatrix}p&q\\ r&s\end{pmatrix}=\begin{pmatrix}ap&aq\\ br&bs\end{pmatrix}\) On the left: row 1 is multiplied by \(a\) and row 2 by \(b\).
\(\begin{pmatrix}p&q\\ r&s\end{pmatrix}\begin{pmatrix}a&0\\ 0&b\end{pmatrix}=\begin{pmatrix}ap&bq\\ ar&bs\end{pmatrix}\) On the right: column 1 is multiplied by \(a\) and column 2 by \(b\).
A diagonal matrix times a column matrix multiplies each entry of the column by its own factor: \(\begin{pmatrix}a&0\\ 0&b\end{pmatrix}\begin{pmatrix}p\\ q\end{pmatrix}=\begin{pmatrix}ap\\ bq\end{pmatrix}\). With three matrices, such as \(QRP\), multiply in two steps: \(Q(RP)\) gives the same answer as \((QR)P\), so you may work out \(RP\) first.
In the row-by-column rule the zeros remove every product except one, so each entry is multiplied by one factor only. A single percentage for every entry needs only a scalar, such as \(1.07A\); a diagonal matrix is needed when the categories change by different percentages.
Method
Example
A museum sells adult and child tickets. Next weekend, adult sales are expected to rise by 10% and child sales to fall by 20%.
| Tickets sold | Adult | Child |
|---|---|---|
| Saturday | 120 | 80 |
| Sunday | 150 | 95 |
\(T=\begin{pmatrix}120&80\\ 150&95\end{pmatrix}\)
Rows: Saturday, Sunday. Columns: adult, child.
Adult and child are the columns, so multiply on the right by \(D=\begin{pmatrix}1.1&0\\ 0&0.8\end{pmatrix}\). The orders \((2\times2)(2\times2)\) give a \(2\times2\) answer.
\(TD=\begin{pmatrix}120(1.1)&80(0.8)\\ 150(1.1)&95(0.8)\end{pmatrix}=\begin{pmatrix}132&64\\ 165&76\end{pmatrix}\)
| Entry | Value | Meaning |
|---|---|---|
| Row 1, column 1 | 132 | 132 adult tickets expected on Saturday |
| Row 1, column 2 | 64 | 64 child tickets expected on Saturday |
| Row 2, column 1 | 165 | 165 adult tickets expected on Sunday |
| Row 2, column 2 | 76 | 76 child tickets expected on Sunday |
Putting \(D\) on the left instead gives \(DT=\begin{pmatrix}132&88\\ 120&76\end{pmatrix}\), which raises Saturday by 10% and lowers Sunday by 20%: the wrong categories.
Check
A decrease of 20% uses the multiplier \(0.8\), not \(0.2\) or \(-0.2\). Check one entry by ordinary arithmetic, for example \(120\times1.1=132\).
Create a free account to practise similar questions.
Need help? Join our E-Maths tuition for O-Level success.
Learn more