Exercise 3.1 · Q5: Construct a matrix from a rule for
Construct a matrix, whose elements are given by:
(i) (ii)
(i)
(ii)
Want the reason behind every step, the basics and the checks?
A matrix has 3 rows and 4 columns, so it has addresses with and . The rule turns each address into a number. We go through the rows one at a time, substituting along each row, and then assemble the matrix.
- Given
- Two rules for ; order , so (row) and (column).
- To find
- The matrix for each rule.
- Plan
- For each rule, compute row 1 (), row 2 () and row 3 (), four entries each, then assemble. In Part (i), find first, then take its absolute value, then halve.
Basics you need
is the distance of from 0, so it is never negative: if and if . For example , , .
with is . Work out the inside of completely before taking the absolute value. Basics: working with equations
Example 3 builds a matrix from , a close cousin of Part (i). Lesson: what a matrix is
Part (i):
Row 1 (): here
The inside is negative for , zero for and positive for . The absolute value makes every result non-negative, so becomes and becomes . Halving comes last.when , e.g. .Row 2 (): here
For and , the inside is at most , so it is always negative here and . That gives the values , each then halved.Work inside the bars first, then the bars, then the .Row 3 (): here
Again the inside is negative for every , so , giving before halving.Assemble the matrix
Rows 1, 2, 3 from Part (i), Steps 1, 2, 3, in that order:
The matrix has 3 rows and 4 columns, as the question requires. Row 1 is the only row with a 0 and with a rise at the end, because it is the only row where changes sign (at ).
Part (ii):
Compute the three rows
For row , is fixed () and we subtract the column numbers in turn. There is no absolute value here, so negative entries such as and stay negative.: row number doubled, minus the column number. Basics: substitutionAssemble the matrix
The pattern is a good self-check: along each row the entries fall by 1 ( goes up by 1), and down each column they rise by 2 ( goes up by 1, so goes up by 2).
(Textbook answer: the same two matrices. In some PDF viewers the first row of (ii) in the answer key shows as "1 0 1 2", because its minus signs use a font that is not embedded in the file; the key itself has the minus signs. The entries are and , as in Part (ii), Step 1.)
Part (i): should satisfy ✓. Every entry is , as an absolute value must give ✓. Part (ii): add all twelve entries row by row, then add them again straight from the rule (each occurs 4 times, once per column; each occurs 3 times, once per row):
Both totals are 18 ✓.
- Dropping the absolute value in Part (i), giving negative entries such as for .
- Taking and separately. , but . The bars apply to the whole sum.
- Swapping rows and columns, producing a matrix. Row runs over 3 values and column over 4.
- Sign slips in Part (ii), e.g. writing . It is .
- Work row by row: fix , then run through all column numbers.
- With an absolute value, simplify the inside first, then remove the sign.
- Look for patterns along rows and down columns; they catch arithmetic slips.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| has 3 rows, 4 columns, in row , column | Both parts | Section 3.2.1 (Lesson: what a matrix is) |
| Building a matrix from a rule with an absolute value | Part (i) | Example 3 |
| for , for | Part (i), Steps 1–3 | Definition of absolute value |
| All 24 entries | Both parts | Recomputed in the site's verification script |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →