Exercise 1: From equations to the augmented matrix, and which moves are legal
Before any elimination, the system has to be copied into a matrix, and this is where the first marks are lost: a variable out of order, a missing variable with no written in its place, a constant left on the wrong side. Then comes the only rule of the chapter: a row operation is legal when it can be undone, because only then does the new system have exactly the same solutions as the old one.
Consider the system in the unknowns , taken in that order.
The figure belongs to part e): it shows the lines and , and the line that replaces the second one after the operation .
- a) Write the augmented matrix of the system, columns in the order .
- b) Four operations are proposed on that matrix: (i) ; (ii) ; (iii) ; (iv) . Say which are legal, and name the elementary operations behind each legal one.
- c) Solve the system by Gaussian elimination, naming every row operation, and check the answer in the ORIGINAL equations.
- d) A student applies (iii) and carries on. Show that satisfies the system he now works with but not the original one, and say what went wrong.
- e) On the figure, explain why the new line produced by passes through the crossing point of the other two, and why no new crossing point can appear.
Show the solution
Answers
- a)
- b) (i), (ii) and (iv) are legal; (iii) is illegal, it deletes .
- c)
- d) solves the damaged system but gives : one equation was lost.
- e) Any combination of the two equations holds at , and the move is undone by .
a) Every equation is rewritten as (coefficient of ) (coefficient of ) (coefficient of ) constant BEFORE a single entry is copied. The first equation reads : its terms were out of order, and copying them as written would have put the in the column. The second, , becomes : the variable is absent, and the absence is written as a , never skipped, otherwise every entry to its right slides one column to the left. The third, , becomes : the changes sign as it crosses the equals sign. The augmented matrix is . The bar is not decoration: everything to its left is a coefficient, the last column holds the right-hand sides, and a row operation acts on the whole row, bar included. A column is a VARIABLE, never a position in the sentence.
b) (i) is a swap, the first elementary operation, undone by swapping again: legal. (ii) is legal: it multiplies by , then adds to it, two elementary operations in a row. The row being REPLACED keeps a non-zero coefficient, , so the step is undone by . (iv) is the third elementary operation, adding a multiple of another row, undone by : legal. (iii) is ILLEGAL. The new second row does not contain at all, so the information carried by the equation is thrown away and nothing left in the matrix can bring it back. The test that decides every case, including the ones with a parameter later in this set: the row being replaced must appear in its own replacement with a NON-ZERO coefficient. The multiplier of the OTHER row, on the contrary, can be anything, even .
c) Make the leading entry of equal to : gives . Clear the first column: gives and gives . Rather than dividing by and meeting quarters, use , which gives , then to bring that convenient row up. Now gives and gives . The echelon form is . Back substitution: , , and gives . Check in the ORIGINAL equations: , , . All three hold, so . A check in the echelon form would only test the back substitution; the original system is the only one that also catches a wrong row operation, which is exactly what part d) is about.
d) After (iii) the student works with , and , that is , and . For : , and , so it satisfies all three. But in the original second equation, : it is not a solution of the real system. What went wrong: the middle equation of the new system is the difference of the other two, so it says nothing new, and the student is really solving two equations in three unknowns. The solution set has grown from one point to a whole line through and . Notice the trap inside the trap: the true solution survives the illegal move, so a student who only checks the answer he expected sees nothing wrong. An illegal operation rarely loses the solution; it lets false ones in.
e) Take the crossing point: it satisfies and , so it also satisfies their difference, , that is , or . The crossing point therefore lies on the new line, and the argument works whatever multiple of is subtracted: every operation of the third kind swings the line of around the solution point like a door on its hinge. No new crossing point can appear because the move can be undone: brings the old line back, so a point lying on and on the new line also lies on the old one. The picture is the whole theory of the chapter in one drawing: the lines change at every step, the solution never does, and elimination is nothing more than turning the lines until they are horizontal and vertical, where the solution can be read.