Miscellaneous · Q8: Find from
Find the matrix X so that
Let be the given matrix. For to be defined, has 2 columns. As is , has 2 rows. So is of order .
Equating corresponding entries with the right side:
From the first two: , so , giving , .
Similarly , so , giving , .
These values also satisfy and .
Want the reason behind every step, the basics and the checks?
We cannot "divide by a matrix", but we do not need to. First let the orders tell us the shape of X: it must be . Then write X with four unknown entries, multiply out, and use equality of matrices: six entry equations for four unknowns. Each row of X gives its own little system of two unknowns, plus one extra equation that must agree.
- Given
- , where A is the matrix with rows , and B is the matrix with rows , .
- To find
- The matrix X (all matrices X, if there were more than one).
- Plan
- (1) Work out the order of X. (2) Write with entries and compute XA entry by entry. (3) Equate with B. (4) Solve for and for , checking the extra equations. (5) Check .
Basics you need
: the columns of the first factor must equal the rows of the second. Basics: rows, columns and the address
Each entry of XA is a row of X times a column of A. Basics: pair up, multiply, add
Same order, and every corresponding pair of entries equal. Lesson: equality of matrices
Solve one equation for one unknown, substitute into the other (substitution), then check. Basics: solving equations, one unknown at a time
Solution
The orders force X to be
Let X be . A is and B is .
- For XA to be defined, the columns of X must equal the rows of A: .
- Then XA is . For it to equal B (), we need .
So X is a matrix.
Finding the order first turns "find a matrix" into "find four numbers". Without it we would not know how many unknowns to write down.Section 3.4.5 (order of a product) and Definition 2 (equal matrices have the same order). Lesson: matrix multiplicationWrite X with unknown entries and compute XA
The columns of A are , , . Row 1 of X, , times each column, and then row 2, , times each column:
Notice that row 1 of XA involves only and (row 1 of X), and row 2 involves only and . That splits the problem into two independent small systems.Entry formula of Section 3.4.5. Basics: pair up, multiply, addEquate with B, entry by entry
XA and B are both , so means these six equations all hold:
The left column comes from row 1 of B, the right column from row 2.
Six equations but only four unknowns: each system has one equation more than it needs. We solve with two of them and use the third as a test. If the third failed, there would be no X at all.Definition 2 (Section 3.3.1). Lesson: equality of matricesSolve for and
From the first equation, . Substitute into the second:
and then .
Third equation: ✓. So , .
Substitution reduces two unknowns to one. Dividing by is allowed and reversible, so is the only value; hence is forced too. The third equation is not used to find anything, only to confirm that this pair satisfies all three.Substitution method. Basics: solving equations, one unknown at a timeSolve for and
From the first equation, . Substitute into the second:
and then .
Third equation: ✓. So , .
The same method as Step 4. A zero entry is a perfectly good answer: is the unique solution of .Substitution method. Basics: solving equations, one unknown at a timeAssemble X and check
Check every entry of XA against B:
These are exactly the entries and of B ✓. Because each pair and was forced, this X is the only solution.
The final check multiplies the actual numbers, independently of the algebra, so it would catch any slip in Steps 2 to 5.Row times column. Basics: pair up, multiply, add
and it is the only matrix with . (Textbook answer: the same matrix.)
A quick pattern check: row 2 of B is , which is twice row 1 of A. So row 2 of X should be , "2 of row 1 of A and none of row 2" ✓. Likewise row 1 of B is , which is ✓, matching row 1 of X, .
- Guessing the order of X as or . Only makes XA defined and of order .
- Multiplying in the wrong order (computing AX). The question has X on the left.
- Ignoring the third equation in each system. It must be checked; if it failed, no X would exist.
- Trying to "divide by A". A is not square, so it has no inverse; equating entries is the right tool.
- To find an unknown matrix, first find its order from the product rule, then give it unknown entries and equate.
- Row of XA is "row of X combined with the rows of A". So each row of X can be found separately.
- More equations than unknowns means some equations are tests. Always use them.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| When a product is defined; its order and entries | Steps 1, 2, 6 | Section 3.4.5 (Lesson: matrix multiplication) |
| Equality of matrices | Steps 1, 3 | Definition 2, Section 3.3.1 (Lesson: equality of matrices) |
| Solving two linear equations by substitution | Steps 4, 5 | Algebra (linear equations in two variables) |
| Only square matrices have inverses | Common mistakes | Definition 6, Section 3.7 (Lesson: invertible matrices) |
| The solution and its uniqueness | Steps 4–6 | Solved with sympy (all six equations) 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 →