Miscellaneous · Q4: Find from a row-matrix-column product
For what values of :
So the given equation is .
.
Want the reason behind every step, the basics and the checks?
A row () times a square matrix () times a column () collapses to a single number, a matrix. Multiply two factors at a time, keeping the order, and the left side becomes . The zero matrix of that order is , so the problem reduces to the ordinary equation .
- Given
- The row (), the matrix M above, and the column C with entries ().
- To find
- All real with .
- Plan
- (1) Check the orders and find the order of the result (so we know which O is meant). (2) Compute , entry by entry. (3) Multiply by C. (4) Solve. (5) Check, including by the other bracketing .
Basics you need
is defined and has order . Basics: rows, columns and the address
Pair the entries of a row with the entries of a column, multiply each pair, and add. Basics: pair up, multiply, add
, so either pair may be multiplied first; the order of the factors, however, must stay R, M, C. Lesson: properties of the operations
: subtract 4, then divide by 4. Basics: solving equations
Solution
Check the orders, and decide which O is meant
- : ; the inner numbers agree (3 and 3), so it is defined, of order .
- : ; defined, of order .
So the left side is a matrix, and the O on the right must be the zero matrix .
The book writes O for "the zero matrix of whatever order fits". Equality of matrices needs equal orders, so here O can only be . Knowing this tells us the final answer will be one equation in .Section 3.3 (vii): "Its order will be clear from the context." Lesson: types of matricesCompute , entry by entry
has one row and three columns. Entry is the row times column of M:
The columns of M are , and . Reading them as columns (down, not across) is the step where slips happen most. Doing first is a natural choice because it involves only numbers; the unknown enters only in the last step.Entry formula of Section 3.4.5: . Basics: pair up, multiply, addMultiply by the column
so the left side of the equation is the matrix .
A row of length 3 times a column of length 3 is a single row-times-column sum, so the result has exactly one entry.Row times column. Basics: pair up, multiply, addSolve
Two matrices are equal exactly when their single entries are equal:
The equation is linear with a non-zero coefficient of , so this is the only solution: .
The question says "values", but a linear equation with has exactly one solution. Subtracting 4 and dividing by 4 are both reversible, so no solution is lost or gained.Definition 2 (Section 3.3.1), equality of matrices. Basics: solving equationsCheck by the other bracketing
Associativity says must give the same answer. Each entry of is a row of M times the column :
so is the column with entries , and
Getting the same expression by a different route is strong evidence that no entry was miscomputed. It also illustrates the associative law: we may choose which pair to multiply first, but we may never swap the order of R, M and C.Associative law, Section 3.4.6. Lesson: properties of the operations
The product equals , which is the zero matrix exactly when . (Textbook answer: .)
Put : the column becomes , and
For contrast, gives and gives .
- Multiplying the row by the rows of M instead of its columns, which gives and a wrong .
- Changing the order, for example computing or . is , which is not even defined.
- Treating O as the number 0 without comment. It is the zero matrix; equating entries is what turns it into the equation .
- Row matrix column is always a matrix: a single number, built from the entries of all three factors.
- Multiply two factors at a time, keeping their order. Doing it both ways and is a free check.
- Always find the order of the result first; it tells you what O means and how many equations you will get.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Order and entries of a product | Steps 1–3, 5 | Section 3.4.5 (Lesson: matrix multiplication) |
| Zero matrix O, order from context | Step 1 | Section 3.3 (vii) (Lesson: types of matrices) |
| Equality of matrices | Step 4 | Definition 2, Section 3.3.1 (Lesson: equality of matrices) |
| Associative law | Step 5 | Section 3.4.6 (Lesson: properties of the operations) |
| All products and the solution | Steps 2–5, Check | Recomputed with sympy 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 →