Mathematics Topic
Data Matrices and Matrix Problems
- Read notes
- Flashcards
- Quiz
- Confident
Study focus - 3 things
- A data matrix stores numbers with a meaning for each row and column (rows for items, columns for days or shops); matrices of the same order can be added, subtracted and multiplied by a number
- A price row times a quantity matrix gives the takings or cost for each day or shop: check that the columns of the first matrix equal the rows of the second
- In algebra, equal matrices have equal entries, so a matrix equation gives ordinary equations for the unknowns; in geometry the vertices go in the columns and a matrix on the left gives the image
Section 1Storing data in a matrix
A matrix is a rectangle of numbers, so it can store a table of counts. A common layout puts one row for each item (patties, buns, drinks) and one column for each day or shop. The entry in row 2, column 3 is then 'item 2 on day 3'. The order of the matrix is rows by columns: three items over four days is a 3 by 4 matrix. The matrix itself carries no labels, so say beside it what the rows and columns mean. For hand work at this level the orders stay up to 3 by 3.
Section 2Adding, subtracting and scaling data
Two data matrices of the SAME order are added entry by entry: if one matrix holds this week's sales and another holds next week's, their sum holds the two-week totals. Subtraction works the same way, for example opening stock minus items sold gives stock remaining. A scalar multiple multiplies every entry: 'next week we plan 3 times as many of each' is 3 times the matrix. A price rise given as a factor in the problem (for example 'every price is multiplied by 1.1') is also a scalar multiple of the price row. Adding a number to every entry is not a scalar multiple.
Section 3Price times quantity
To find takings, multiply a row of prices by a matrix of quantities. If P is a 1 by 3 row of prices and Q is a 3 by 2 matrix (rows: items; columns: days), then PQ is 1 by 2: each entry is price 1 × quantity 1 + price 2 × quantity 2 + price 3 × quantity 3 for that day. The number of columns of P (3) must equal the number of rows of Q (3). Adding the entries of PQ gives the total over all the days. The other way round also works: with quantities arranged as shops by items, multiply by a column of prices to get one total per shop. If the orders do not match, the product does not exist, so the order of multiplication matters.
Section 4Matrix equations in algebra
Two matrices are equal only if they have the same order and equal entries in every position. So an equation between matrices becomes several ordinary equations, one for each position. Work out the left side first (add, scale or multiply), then compare entries. For example [[x, 5], [3, y]] + [[2, 1], [4, 6]] = [[9, 6], [7, 11]] gives x + 2 = 9, 5 + 1 = 6, 3 + 4 = 7 and y + 6 = 11. To find an unknown matrix, treat it like an unknown number: X + A = B gives X = B - A, and kX = B gives X = B divided entry by entry by k. A position that contains no unknown acts as a check on your arithmetic.
Section 5Matrices in geometry
To transform a shape, write each vertex as a column and place the columns side by side to make a vertex matrix V. A 2 by 2 matrix M on the left gives the image vertices as the columns of MV, because each column of V is multiplied by M separately. A matrix M is fixed by what it does to (1, 0) and (0, 1): those images are its two columns. To work back from an image to an original point, use the inverse of M, which exists when the determinant is not 0. The area of the image is not asked for here.
Section 6Habits for matrix problems
Before any product, write the orders and check that the inner numbers match. Keep the units (J$, goals, kilograms) with the answer, and say in words what each entry of the answer means. Check totals a second way when you can, for example by adding down columns and across rows, or by working one entry out directly. Never add matrices of different orders, and never add a number to a matrix when the problem asks you to multiply it.
Examples
A school tuck shop sells patties, buns and drinks. The matrix Q shows the number sold on Monday, Tuesday and Wednesday (rows: patties, buns, drinks; columns: Mon, Tue, Wed): Q = [[12, 15, 9], [8, 6, 10], [20, 18, 14]]. Suppose a patty costs J$150, a bun J$90 and a drink J$120, so the price row is P = [[150, 90, 120]]. (a) State the order of P and of Q, and the order of PQ. (b) Find PQ and say what its entries show. (c) Find the total takings for the three days and check it another way.
(a) P is 1 by 3 and Q is 3 by 3. The columns of P (3) equal the rows of Q (3), so PQ exists, and it is 1 by 3. (b) PQ = [[150 × 12 + 90 × 8 + 120 × 20, 150 × 15 + 90 × 6 + 120 × 18, 150 × 9 + 90 × 10 + 120 × 14]] = [[1800 + 720 + 2400, 2250 + 540 + 2160, 1350 + 900 + 1680]] = [[4920, 4950, 3930]]. The three entries are the takings in J$ on Monday, Tuesday and Wednesday. (c) The total is 4920 + 4950 + 3930 = 13800, so the takings were J$13,800 in the three days. Check another way: the three-day totals for each item are 36 patties, 24 buns and 52 drinks (the row sums of Q), and 150 × 36 + 90 × 24 + 120 × 52 = 5400 + 2160 + 6240 = 13800, the same answer.
(a) P = [[a, 2], [3, b]] and Q = [[4, c], [-1, 5]]. Given that 2P + Q = [[10, 7], [5, 9]], find a, b and c. (b) Triangle ABC has vertices A(1, 1), B(3, 1) and C(3, 4). The vertices are written as the columns of V, and the matrix T = [[2, 1], [0, 1]] is multiplied by V. Find the image vertices A', B' and C'.
(a) Multiply P by 2 entry by entry and add Q: 2P + Q = [[2a + 4, 4 + c], [6 + (-1), 2b + 5]]. Equal matrices have equal entries, so [[2a + 4, 4 + c], [5, 2b + 5]] = [[10, 7], [5, 9]]. Top left: 2a + 4 = 10, so a = 3. Top right: 4 + c = 7, so c = 3. Bottom right: 2b + 5 = 9, so b = 2. The bottom left entry has no unknown: 6 + (-1) = 5, which agrees with the right-hand side, so the arithmetic is consistent. (b) V = [[1, 3, 3], [1, 1, 4]]. TV = [[2 × 1 + 1 × 1, 2 × 3 + 1 × 1, 2 × 3 + 1 × 4], [0 × 1 + 1 × 1, 0 × 3 + 1 × 1, 0 × 3 + 1 × 4]] = [[3, 7, 10], [1, 1, 4]]. So A' is (3, 1), B' is (7, 1) and C' is (10, 4). Check for A: T × (1, 1) = (2 × 1 + 1 × 1, 0 × 1 + 1 × 1) = (3, 1).
Now let's water it
Session runs notes to flashcards to quiz back-to-back.
Where this comes from
- CSEC Mathematics Syllabus (CXC 05/G/SYLL 16, revised 2016; registry URL names an Oct 2025 amendment) · Caribbean Examinations Council (CXC) · Section 9, Specific Objective 9.13 · Syllabus scope
- Precalculus, 3rd Corrected Edition (2013) · Carl Stitz and Jeff Zeager · Section 8.3, Matrix Arithmetic, checked against (https://www.stitz-zeager.com/szprecalculus07042013.pdf) · Facts
- Precalculus, 3rd Corrected Edition (2013) · Carl Stitz and Jeff Zeager · Section 8.4, Systems of Linear Equations: Matrix Inverses, checked against (https://www.stitz-zeager.com/szprecalculus07042013.pdf) · Facts